/
CfnPublicTypeVersionProps.go
68 lines (65 loc) · 3.54 KB
/
CfnPublicTypeVersionProps.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
package awscdk
// Properties for defining a `CfnPublicTypeVersion`.
//
// Example:
// // The code below shows an example of how to instantiate this type.
// // The values are placeholders you should change.
// import cdk "github.com/aws/aws-cdk-go/awscdk"
//
// cfnPublicTypeVersionProps := &CfnPublicTypeVersionProps{
// Arn: jsii.String("arn"),
// LogDeliveryBucket: jsii.String("logDeliveryBucket"),
// PublicVersionNumber: jsii.String("publicVersionNumber"),
// Type: jsii.String("type"),
// TypeName: jsii.String("typeName"),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-publictypeversion.html
//
type CfnPublicTypeVersionProps struct {
// The Amazon Resource Number (ARN) of the extension.
//
// Conditional: You must specify `Arn` , or `TypeName` and `Type` .
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-publictypeversion.html#cfn-cloudformation-publictypeversion-arn
//
Arn *string `field:"optional" json:"arn" yaml:"arn"`
// The S3 bucket to which CloudFormation delivers the contract test execution logs.
//
// CloudFormation delivers the logs by the time contract testing has completed and the extension has been assigned a test type status of `PASSED` or `FAILED` .
//
// The user initiating the stack operation must be able to access items in the specified S3 bucket. Specifically, the user needs the following permissions:
//
// - GetObject
// - PutObject
//
// For more information, see [Actions, Resources, and Condition Keys for Amazon S3](https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazons3.html) in the *AWS Identity and Access Management User Guide* .
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-publictypeversion.html#cfn-cloudformation-publictypeversion-logdeliverybucket
//
LogDeliveryBucket *string `field:"optional" json:"logDeliveryBucket" yaml:"logDeliveryBucket"`
// The version number to assign to this version of the extension.
//
// Use the following format, and adhere to semantic versioning when assigning a version number to your extension:
//
// `MAJOR.MINOR.PATCH`
//
// For more information, see [Semantic Versioning 2.0.0](https://docs.aws.amazon.com/https://semver.org/) .
//
// If you don't specify a version number, CloudFormation increments the version number by one minor version release.
//
// You cannot specify a version number the first time you publish a type. AWS CloudFormation automatically sets the first version number to be `1.0.0` .
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-publictypeversion.html#cfn-cloudformation-publictypeversion-publicversionnumber
//
PublicVersionNumber *string `field:"optional" json:"publicVersionNumber" yaml:"publicVersionNumber"`
// The type of the extension to test.
//
// Conditional: You must specify `Arn` , or `TypeName` and `Type` .
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-publictypeversion.html#cfn-cloudformation-publictypeversion-type
//
Type *string `field:"optional" json:"type" yaml:"type"`
// The name of the extension to test.
//
// Conditional: You must specify `Arn` , or `TypeName` and `Type` .
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-publictypeversion.html#cfn-cloudformation-publictypeversion-typename
//
TypeName *string `field:"optional" json:"typeName" yaml:"typeName"`
}