Package software.amazon.awscdk
Class PolicyViolatingResource.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.PolicyViolatingResource.Jsii$Proxy
- All Implemented Interfaces:
PolicyViolatingResource,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
PolicyViolatingResource
@Stability(Stable)
@Internal
public static final class PolicyViolatingResource.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements PolicyViolatingResource
An implementation for
PolicyViolatingResource-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.PolicyViolatingResource
PolicyViolatingResource.Builder, PolicyViolatingResource.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by thePolicyViolatingResource.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal StringThe construct path of the violating construct.The locations in the CloudFormation template that pose the violations.final StringThe logical ID of the resource in the CloudFormation template.final StringThe path to the CloudFormation template that contains this resource.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by thePolicyViolatingResource.Builder.
-
-
Method Details
-
getLocations
Description copied from interface:PolicyViolatingResourceThe locations in the CloudFormation template that pose the violations.- Specified by:
getLocationsin interfacePolicyViolatingResource
-
getConstructPath
Description copied from interface:PolicyViolatingResourceThe construct path of the violating construct.Use this for violations that originate from constructs rather than CloudFormation resources (e.g. annotations added via
Annotations.of()orValidations.of()). When provided, the report will use this path directly instead of deriving it from the resource logical ID. Mutually exclusive withresourceLogicalId.Default: - construct path is derived from the resource logical ID
- Specified by:
getConstructPathin interfacePolicyViolatingResource
-
getResourceLogicalId
Description copied from interface:PolicyViolatingResourceThe logical ID of the resource in the CloudFormation template.Required for plugin-sourced violations that operate on CloudFormation templates. Mutually exclusive with
constructPath.Default: - no resource logical ID
- Specified by:
getResourceLogicalIdin interfacePolicyViolatingResource
-
getTemplatePath
Description copied from interface:PolicyViolatingResourceThe path to the CloudFormation template that contains this resource.Default: - no template path
- Specified by:
getTemplatePathin interfacePolicyViolatingResource
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-