aws-cdk-lib.ResolveChangeContextOptions

interface ResolveChangeContextOptions

LanguageType name
.NETAmazon.CDK.ResolveChangeContextOptions
Gogithub.com/aws/aws-cdk-go/awscdk/v2#ResolveChangeContextOptions
Javasoftware.amazon.awscdk.ResolveChangeContextOptions
Pythonaws_cdk.ResolveChangeContextOptions
TypeScript (source)aws-cdk-lib » ResolveChangeContextOptions

Options that can be changed while doing a recursive resolve.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cdk from 'aws-cdk-lib';
const resolveChangeContextOptions: cdk.ResolveChangeContextOptions = {
  allowIntrinsicKeys: false,
  removeEmpty: false,
};

Properties

NameTypeDescription
allowIntrinsicKeys?booleanChange the 'allowIntrinsicKeys' option.
removeEmpty?booleanWhether to remove undefined elements from arrays and objects when resolving.

allowIntrinsicKeys?

Type: boolean (optional, default: Unchanged)

Change the 'allowIntrinsicKeys' option.


removeEmpty?

Type: boolean (optional, default: Unchanged)

Whether to remove undefined elements from arrays and objects when resolving.