Skip to content
v2.274.0

PolicyValidationStack Struct ​

Information about a single stack that is being validated.

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 policyValidationStack: cdk.PolicyValidationStack = {
  stackConstructPath: 'stackConstructPath',
  templatePath: 'templatePath',

  // the properties below are optional
  accountId: 'accountId',
  region: 'region',
};

Properties ​

accountIdstringaccount_idstraccountIdStringAccountIdstringAccountId*string#
The account ID for this stack, if known.

Default: the account ID is unknown

regionstringregionstrregionStringRegionstringRegion*string#
The region for this stack, if known.

Default: the region is unknown

stackConstructPathstringstack_construct_pathstrstackConstructPathStringStackConstructPathstringStackConstructPath*stringrequired#
The Stack's construct path.
templatePathstringtemplate_pathstrtemplatePathStringTemplatePathstringTemplatePath*stringrequired#
The path to the template file on disk.