Interface ProductStackHistoryProps

All Superinterfaces:
All Known Implementing Classes:

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:39.801Z") @Stability(Stable) public interface ProductStackHistoryProps extends
Properties for a ProductStackHistory.


 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"))
 CloudFormationProduct product = CloudFormationProduct.Builder.create(this, "MyFirstProduct")
         .productName("My Product")
         .owner("Product Owner")
  • Method Details

    • getCurrentVersionLocked

      @Stability(Stable) @NotNull Boolean getCurrentVersionLocked()
      If this is set to true, the ProductStack will not be overwritten if a snapshot is found for the currentVersionName.
    • getCurrentVersionName

      @Stability(Stable) @NotNull String getCurrentVersionName()
      The current version name of the ProductStack.
    • getProductStack

      @Stability(Stable) @NotNull ProductStack getProductStack()
      The ProductStack whose history will be retained as a snapshot.
    • getDescription

      @Stability(Stable) @Nullable default String getDescription()
      The description of the product version.

      Default: - No description provided

    • getDirectory

      @Stability(Stable) @Nullable default String getDirectory()
      The directory where template snapshots will be stored.

      Default: 'product-stack-snapshots'

    • getValidateTemplate

      @Stability(Stable) @Nullable default Boolean getValidateTemplate()
      Whether the specified product template will be validated by CloudFormation.

      If turned off, an invalid template configuration can be stored.

      Default: true

    • builder

      @Stability(Stable) static ProductStackHistoryProps.Builder builder()
      a ProductStackHistoryProps.Builder of ProductStackHistoryProps