AWS Fundamentals Logo
AWS Fundamentals
L2 Construct

ProductStack

A Service Catalog product stack, which is similar in form to a Cloudformation nested stack. You can add the resources to this stack that you want to define for your service catalog product. This stack will not be treated as an independent deployment artifact (won't be listed in "cdk list" or deployable through "cdk deploy"), but rather only synthesized as a template and uploaded as an asset to S3.

Import

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

Or use the module namespace:

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

Properties

Configuration passed to the constructor as ProductStackProps.

analyticsReportingOptional
boolean

Include runtime versioning information in this Stack.

Default: - `analyticsReporting` setting of containing `App`, or value of 'aws:cdk:version-reporting' context key

assetBucketOptional
IBucket

A Bucket can be passed to store assets, enabling ProductStack Asset support.

Default: - No Bucket provided and Assets will not be supported.

descriptionOptional
string

A description of the stack.

Default: - No description.

memoryLimitOptional
number

The amount of memory (in MiB) to allocate to the AWS Lambda function which replicates the files from the CDK bucket to the destination bucket. If you are deploying large files, you will need to increase this number accordingly.

Default: 128

serverSideEncryptionOptional
ServerSideEncryption

A ServerSideEncryption can be enabled to encrypt assets that are put into assetBucket.

Default: - No encryption is used

serverSideEncryptionAwsKmsKeyIdOptional
string

For AWS_KMS ServerSideEncryption a KMS KeyId must be provided which will be used to encrypt assets.

Default: - No KMS KeyId and SSE_KMS encryption cannot be used

Learn AWS the Practical Way

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

Subscribe to Newsletter