A Construct that contains a Service Catalog product stack with its previous deployments maintained.
import { ProductStackHistory } from 'aws-cdk-lib/aws-servicecatalog';Or use the module namespace:
import * as servicecatalog from 'aws-cdk-lib/aws-servicecatalog';
// servicecatalog.ProductStackHistoryConfiguration passed to the constructor as ProductStackHistoryProps.
currentVersionLockedRequiredbooleanIf this is set to true, the ProductStack will not be overwritten if a snapshot is found for the currentVersionName.
currentVersionNameRequiredstringThe current version name of the ProductStack.
productStackRequiredProductStackThe ProductStack whose history will be retained as a snapshot.
descriptionOptionalstringThe description of the product version.
Default: - No description provided
directoryOptionalstringThe directory where template snapshots will be stored.
Default: 'product-stack-snapshots'
validateTemplateOptionalbooleanWhether the specified product template will be validated by CloudFormation. If turned off, an invalid template configuration can be stored.
Default: true
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-servicecatalog