Interface ProductStackHistoryProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ProductStackHistoryProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.109.0 (build c221850)",
date="2025-03-26T23:01:13.322Z")
@Stability(Stable)
public interface ProductStackHistoryProps
extends software.amazon.jsii.JsiiSerializable
Properties for a ProductStackHistory.
Example:
public class S3BucketProduct extends ProductStack { public S3BucketProduct(Construct scope, String id) { super(scope, id); new Bucket(this, "BucketProductV2"); } } ProductStackHistory productStackHistory = ProductStackHistory.Builder.create(this, "ProductStackHistory") .productStack(new S3BucketProduct(this, "S3BucketProduct")) .currentVersionName("v2") .currentVersionLocked(true) .build(); CloudFormationProduct product = CloudFormationProduct.Builder.create(this, "MyFirstProduct") .productName("My Product") .owner("Product Owner") .productVersions(List.of(productStackHistory.currentVersion())) .build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forProductStackHistoryProps
static final class
An implementation forProductStackHistoryProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
If this is set to true, the ProductStack will not be overwritten if a snapshot is found for the currentVersionName.The current version name of the ProductStack.default String
The description of the product version.default String
The directory where template snapshots will be stored.The ProductStack whose history will be retained as a snapshot.default Boolean
Whether the specified product template will be validated by CloudFormation.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCurrentVersionLocked
If this is set to true, the ProductStack will not be overwritten if a snapshot is found for the currentVersionName. -
getCurrentVersionName
The current version name of the ProductStack. -
getProductStack
The ProductStack whose history will be retained as a snapshot. -
getDescription
The description of the product version.Default: - No description provided
-
getDirectory
The directory where template snapshots will be stored.Default: 'product-stack-snapshots'
-
getValidateTemplate
Whether the specified product template will be validated by CloudFormation.If turned off, an invalid template configuration can be stored.
Default: true
-
builder
- Returns:
- a
ProductStackHistoryProps.Builder
ofProductStackHistoryProps
-