Skip to content
v2.277.0

ResolveChangeContextOptions Struct ​

Options that can be changed while doing a recursive resolve.

Example ​

ts
// 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,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk as cdk

resolve_change_context_options = cdk.ResolveChangeContextOptions(
    allow_intrinsic_keys=False,
    remove_empty=False
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.*;

ResolveChangeContextOptions resolveChangeContextOptions = ResolveChangeContextOptions.builder()
        .allowIntrinsicKeys(false)
        .removeEmpty(false)
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK;

var resolveChangeContextOptions = new ResolveChangeContextOptions {
    AllowIntrinsicKeys = false,
    RemoveEmpty = false
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import cdk "github.com/aws/aws-cdk-go/awscdk"

resolveChangeContextOptions := &ResolveChangeContextOptions{
	AllowIntrinsicKeys: jsii.Boolean(false),
	RemoveEmpty: jsii.Boolean(false),
}

Properties ​

allowIntrinsicKeysoptionalbooleanallow_intrinsic_keysoptionalboolallowIntrinsicKeysoptionalBooleanAllowIntrinsicKeysoptionalboolAllowIntrinsicKeysoptional*bool= Unchanged#
Change the 'allowIntrinsicKeys' option.
removeEmptyoptionalbooleanremove_emptyoptionalboolremoveEmptyoptionalBooleanRemoveEmptyoptionalboolRemoveEmptyoptional*bool= Unchanged#
Whether to remove undefined elements from arrays and objects when resolving.