/
CfnModuleDefaultVersionProps.go
39 lines (36 loc) · 1.76 KB
/
CfnModuleDefaultVersionProps.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
package awscdk
// Properties for defining a `CfnModuleDefaultVersion`.
//
// 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"
//
// cfnModuleDefaultVersionProps := &CfnModuleDefaultVersionProps{
// Arn: jsii.String("arn"),
// ModuleName: jsii.String("moduleName"),
// VersionId: jsii.String("versionId"),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-moduledefaultversion.html
//
type CfnModuleDefaultVersionProps struct {
// The Amazon Resource Name (ARN) of the module version to set as the default version.
//
// Conditional: You must specify either `Arn` , or `ModuleName` and `VersionId` .
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-moduledefaultversion.html#cfn-cloudformation-moduledefaultversion-arn
//
Arn *string `field:"optional" json:"arn" yaml:"arn"`
// The name of the module.
//
// Conditional: You must specify either `Arn` , or `ModuleName` and `VersionId` .
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-moduledefaultversion.html#cfn-cloudformation-moduledefaultversion-modulename
//
ModuleName *string `field:"optional" json:"moduleName" yaml:"moduleName"`
// The ID for the specific version of the module.
//
// Conditional: You must specify either `Arn` , or `ModuleName` and `VersionId` .
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-moduledefaultversion.html#cfn-cloudformation-moduledefaultversion-versionid
//
VersionId *string `field:"optional" json:"versionId" yaml:"versionId"`
}