Package software.amazon.awscdk
Interface PolicyViolatingResource
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
PolicyViolatingResource.Jsii$Proxy
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-04-24T20:29:21.064Z")
@Stability(Stable)
public interface PolicyViolatingResource
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.*;
PolicyViolatingResource policyViolatingResource = PolicyViolatingResource.builder()
.locations(List.of("locations"))
.resourceLogicalId("resourceLogicalId")
.templatePath("templatePath")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forPolicyViolatingResourcestatic final classAn implementation forPolicyViolatingResource -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The locations in the CloudFormation template that pose the violations.The logical ID of the resource in the CloudFormation template.The path to the CloudFormation template that contains this resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getLocations
The locations in the CloudFormation template that pose the violations. -
getResourceLogicalId
The logical ID of the resource in the CloudFormation template. -
getTemplatePath
The path to the CloudFormation template that contains this resource. -
builder
- Returns:
- a
PolicyViolatingResource.BuilderofPolicyViolatingResource
-