PolicyViolatingResourceBeta1

class aws_cdk.PolicyViolatingResourceBeta1(*, locations, resource_logical_id, template_path)

Bases: object

(deprecated) Resource violating a specific rule.

Parameters:
  • locations (Sequence[str]) – (deprecated) The locations in the CloudFormation template that pose the violations.

  • resource_logical_id (str) – (deprecated) The logical ID of the resource in the CloudFormation template.

  • template_path (str) – (deprecated) The path to the CloudFormation template that contains this resource.

Deprecated:

Use PolicyViolatingResource instead.

Stability:

deprecated

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_violating_resource_beta1 = cdk.PolicyViolatingResourceBeta1(
    locations=["locations"],
    resource_logical_id="resourceLogicalId",
    template_path="templatePath"
)

Attributes

locations

(deprecated) The locations in the CloudFormation template that pose the violations.

Stability:

deprecated

resource_logical_id

(deprecated) The logical ID of the resource in the CloudFormation template.

Stability:

deprecated

template_path

(deprecated) The path to the CloudFormation template that contains this resource.

Stability:

deprecated