aws-cdk-lib.PolicyViolatingResourceBeta1

interface PolicyViolatingResourceBeta1

LanguageType name
.NETAmazon.CDK.PolicyViolatingResourceBeta1
Gogithub.com/aws/aws-cdk-go/awscdk/v2#PolicyViolatingResourceBeta1
Javasoftware.amazon.awscdk.PolicyViolatingResourceBeta1
Pythonaws_cdk.PolicyViolatingResourceBeta1
TypeScript (source)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

NameTypeDescription
locationsstring[]The locations in the CloudFormation template that pose the violations.
resourceLogicalIdstringThe logical ID of the resource in the CloudFormation template.
templatePathstringThe 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.