PolicyValidationStack

class aws_cdk.PolicyValidationStack(*, stack_construct_path, template_path, account_id=None, region=None)

Bases: object

Information about a single stack that is being validated.

Parameters:
  • stack_construct_path (str) – The Stack’s construct path.

  • template_path (str) – The path to the template file on disk.

  • account_id (Optional[str]) – The account ID for this stack, if known. Default: - the account ID is unknown

  • region (Optional[str]) – The region for this stack, if known. Default: - the region is unknown

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk as cdk

policy_validation_stack = cdk.PolicyValidationStack(
    stack_construct_path="stackConstructPath",
    template_path="templatePath",

    # the properties below are optional
    account_id="accountId",
    region="region"
)

Attributes

account_id

The account ID for this stack, if known.

Default:
  • the account ID is unknown

region

The region for this stack, if known.

Default:
  • the region is unknown

stack_construct_path

The Stack’s construct path.

template_path

The path to the template file on disk.