PolicyViolatingResourceBeta1
- class aws_cdk.PolicyViolatingResourceBeta1(*, locations, resource_logical_id, template_path)
Bases:
object
Resource violating a specific rule.
- Parameters:
locations (
Sequence
[str
]) – The locations in the CloudFormation template that pose the violations.resource_logical_id (
str
) – The logical ID of the resource in the CloudFormation template.template_path (
str
) – The path to the CloudFormation template that contains this resource.
- 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
The locations in the CloudFormation template that pose the violations.
- resource_logical_id
The logical ID of the resource in the CloudFormation template.
- template_path
The path to the CloudFormation template that contains this resource.