Skip to content
v2.273.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 is unknown#
The account ID for this stack, if known.
regionstringregionstrregionStringRegionstringRegion*string= the region is unknown#
The region for this stack, if known.
stackConstructPathstringstack_construct_pathstrstackConstructPathStringStackConstructPathstringStackConstructPath*stringrequired#
The Stack's construct path.
templatePathstringtemplate_pathstrtemplatePathStringTemplatePathstringTemplatePath*stringrequired#
The path to the template file on disk.