interface PolicyViolatingResourceBeta1
Language | Type name |
---|---|
![]() | Amazon.CDK.PolicyViolatingResourceBeta1 |
![]() | github.com/aws/aws-cdk-go/awscdk/v2#PolicyViolatingResourceBeta1 |
![]() | software.amazon.awscdk.PolicyViolatingResourceBeta1 |
![]() | aws_cdk.PolicyViolatingResourceBeta1 |
![]() | aws-cdk-lib » PolicyViolatingResourceBeta1 |
Resource violating a specific rule.
Example
// 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 policyViolatingResourceBeta1: cdk.PolicyViolatingResourceBeta1 = {
locations: ['locations'],
resourceLogicalId: 'resourceLogicalId',
templatePath: 'templatePath',
};
Properties
Name | Type | Description |
---|---|---|
locations | string[] | The locations in the CloudFormation template that pose the violations. |
resource | string | The logical ID of the resource in the CloudFormation template. |
template | string | The path to the CloudFormation template that contains this resource. |
locations
Type:
string[]
The locations in the CloudFormation template that pose the violations.
resourceLogicalId
Type:
string
The logical ID of the resource in the CloudFormation template.
templatePath
Type:
string
The path to the CloudFormation template that contains this resource.