aws-cdk-lib.assertions.TemplateParsingOptions

interface TemplateParsingOptions

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

Options to configure template parsing behavior, such as disregarding circular dependencies.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { assertions } from 'aws-cdk-lib';
const templateParsingOptions: assertions.TemplateParsingOptions = {
  skipCyclicalDependenciesCheck: false,
};

Properties

NameTypeDescription
skipCyclicalDependenciesCheck?booleanIf set to true, will skip checking for cyclical / circular dependencies.

skipCyclicalDependenciesCheck?

Type: boolean (optional, default: false)

If set to true, will skip checking for cyclical / circular dependencies.

Should be set to false other than for templates that are valid despite containing cycles, such as unprocessed transform stacks.