package awscdk // Properties for defining a `CfnHookDefaultVersion`. // // 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" // // cfnHookDefaultVersionProps := &CfnHookDefaultVersionProps{ // TypeName: jsii.String("typeName"), // TypeVersionArn: jsii.String("typeVersionArn"), // VersionId: jsii.String("versionId"), // } // // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-hookdefaultversion.html // type CfnHookDefaultVersionProps struct { // The name of the hook. // // You must specify either `TypeVersionArn` , or `TypeName` and `VersionId` . // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-hookdefaultversion.html#cfn-cloudformation-hookdefaultversion-typename // TypeName *string `field:"optional" json:"typeName" yaml:"typeName"` // The version ID of the type configuration. // // You must specify either `TypeVersionArn` , or `TypeName` and `VersionId` . // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-hookdefaultversion.html#cfn-cloudformation-hookdefaultversion-typeversionarn // TypeVersionArn *string `field:"optional" json:"typeVersionArn" yaml:"typeVersionArn"` // The version ID of the type specified. // // You must specify either `TypeVersionArn` , or `TypeName` and `VersionId` . // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-hookdefaultversion.html#cfn-cloudformation-hookdefaultversion-versionid // VersionId *string `field:"optional" json:"versionId" yaml:"versionId"` }