TemplateParsingOptions Struct
Options to configure template parsing behavior, such as disregarding circular dependencies.
| Source | assertions/lib/template.ts |
|---|---|
| Type last changed |
Example
ts
// 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,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import assertions
template_parsing_options = assertions.TemplateParsingOptions(
skip_cyclical_dependencies_check=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.assertions.*;
TemplateParsingOptions templateParsingOptions = TemplateParsingOptions.builder()
.skipCyclicalDependenciesCheck(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.Assertions;
var templateParsingOptions = new TemplateParsingOptions {
SkipCyclicalDependenciesCheck = 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 "github.com/aws/aws-cdk-go/awscdk"
templateParsingOptions := &TemplateParsingOptions{
SkipCyclicalDependenciesCheck: jsii.Boolean(false),
}
Properties
skipCyclicalDependenciesCheckoptionalbooleanskip_cyclical_dependencies_checkoptionalboolskipCyclicalDependenciesCheckoptionalBooleanSkipCyclicalDependenciesCheckoptionalboolSkipCyclicalDependenciesCheckoptional*bool = 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.