package awsservicecatalog // Properties for a ProductStackHistory. // // Example: // type s3BucketProduct struct { // productStack // } // // func newS3BucketProduct(scope construct, id *string) *s3BucketProduct { // this := &s3BucketProduct{} // servicecatalog.NewProductStack_Override(this, scope, id) // // s3.NewBucket(this, jsii.String("BucketProductV2")) // return this // } // // productStackHistory := servicecatalog.NewProductStackHistory(this, jsii.String("ProductStackHistory"), &ProductStackHistoryProps{ // ProductStack: NewS3BucketProduct(this, jsii.String("S3BucketProduct")), // CurrentVersionName: jsii.String("v2"), // CurrentVersionLocked: jsii.Boolean(true), // }) // // product := servicecatalog.NewCloudFormationProduct(this, jsii.String("MyFirstProduct"), &CloudFormationProductProps{ // ProductName: jsii.String("My Product"), // Owner: jsii.String("Product Owner"), // ProductVersions: []cloudFormationProductVersion{ // productStackHistory.CurrentVersion(), // }, // }) // type ProductStackHistoryProps struct { // If this is set to true, the ProductStack will not be overwritten if a snapshot is found for the currentVersionName. CurrentVersionLocked *bool `field:"required" json:"currentVersionLocked" yaml:"currentVersionLocked"` // The current version name of the ProductStack. CurrentVersionName *string `field:"required" json:"currentVersionName" yaml:"currentVersionName"` // The ProductStack whose history will be retained as a snapshot. ProductStack ProductStack `field:"required" json:"productStack" yaml:"productStack"` // The description of the product version. Description *string `field:"optional" json:"description" yaml:"description"` // The directory where template snapshots will be stored. Directory *string `field:"optional" json:"directory" yaml:"directory"` // Whether the specified product template will be validated by CloudFormation. // // If turned off, an invalid template configuration can be stored. ValidateTemplate *bool `field:"optional" json:"validateTemplate" yaml:"validateTemplate"` }