interface IPolicyValidationContext
| Language | Type name |
|---|---|
.NET | Amazon.CDK.IPolicyValidationContext |
Go | github.com/aws/aws-cdk-go/awscdk/v2#IPolicyValidationContext |
Java | software.amazon.awscdk.IPolicyValidationContext |
Python | aws_cdk.IPolicyValidationContext |
TypeScript (source) | aws-cdk-lib » IPolicyValidationContext |
Context available to the validation plugin.
Properties
| Name | Type | Description |
|---|---|---|
| app | IConstruct | The root construct of the app being validated. |
| stack | Policy[] | The absolute path of all templates to be processed, along with the stack construct path for each template. |
| template | string[] | The absolute path of all templates to be processed. |
| account | string | The account ID for these templates, if known. |
| region? | string | The region for these templates, if known. |
appConstruct
Type:
IConstruct
The root construct of the app being validated.
Plugins may walk this tree for typed L1 property access and token
resolution via Stack.of(node).resolve(). The tree is finalized and
should be treated as read-only; mutations have no effect on synthesized
output.
stackTemplates
Type:
Policy[]
The absolute path of all templates to be processed, along with the stack construct path for each template.
templatePaths
Type:
string[]
The absolute path of all templates to be processed.
accountId?
Type:
string
(optional)
The account ID for these templates, if known.
region?
Type:
string
(optional)
The region for these templates, if known.

.NET
Go
Java
Python
TypeScript (