-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnResourceDefaultVersionProps.go
41 lines (38 loc) · 1.97 KB
/
CfnResourceDefaultVersionProps.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
package awscloudformation
// Properties for defining a `CfnResourceDefaultVersion`.
//
// Example:
// // The code below shows an example of how to instantiate this type.
// // The values are placeholders you should change.
// import "github.com/aws/aws-cdk-go/awscdk"
//
// cfnResourceDefaultVersionProps := &CfnResourceDefaultVersionProps{
// TypeName: jsii.String("typeName"),
// TypeVersionArn: jsii.String("typeVersionArn"),
// VersionId: jsii.String("versionId"),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-resourcedefaultversion.html
//
type CfnResourceDefaultVersionProps struct {
// The name of the resource.
//
// Conditional: You must specify either `TypeVersionArn` , or `TypeName` and `VersionId` .
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-resourcedefaultversion.html#cfn-cloudformation-resourcedefaultversion-typename
//
TypeName *string `field:"optional" json:"typeName" yaml:"typeName"`
// The Amazon Resource Name (ARN) of the resource version.
//
// Conditional: You must specify either `TypeVersionArn` , or `TypeName` and `VersionId` .
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-resourcedefaultversion.html#cfn-cloudformation-resourcedefaultversion-typeversionarn
//
TypeVersionArn *string `field:"optional" json:"typeVersionArn" yaml:"typeVersionArn"`
// The ID of a specific version of the resource.
//
// The version ID is the value at the end of the Amazon Resource Name (ARN) assigned to the resource version when it's registered.
//
// Conditional: You must specify either `TypeVersionArn` , or `TypeName` and `VersionId` .
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-resourcedefaultversion.html#cfn-cloudformation-resourcedefaultversion-versionid
//
VersionId *string `field:"optional" json:"versionId" yaml:"versionId"`
}