AWS Fundamentals Logo
AWS Fundamentals
L2 Construct

ProductStackHistory

A Construct that contains a Service Catalog product stack with its previous deployments maintained.

Import

import { ProductStackHistory } from 'aws-cdk-lib/aws-servicecatalog';

Or use the module namespace:

import * as servicecatalog from 'aws-cdk-lib/aws-servicecatalog';
// servicecatalog.ProductStackHistory

Properties

Configuration passed to the constructor as ProductStackHistoryProps.

currentVersionLockedRequired
boolean

If this is set to true, the ProductStack will not be overwritten if a snapshot is found for the currentVersionName.

currentVersionNameRequired
string

The current version name of the ProductStack.

productStackRequired
ProductStack

The ProductStack whose history will be retained as a snapshot.

descriptionOptional
string

The description of the product version.

Default: - No description provided

directoryOptional
string

The directory where template snapshots will be stored.

Default: 'product-stack-snapshots'

validateTemplateOptional
boolean

Whether the specified product template will be validated by CloudFormation. If turned off, an invalid template configuration can be stored.

Default: true

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter