Class PolicyViolatingResource.Jsii$Proxy
- All Implemented Interfaces:
PolicyViolatingResource,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
PolicyViolatingResource
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.This is a location in the CloudFormation template, relative to the resource that this violation is about. For example, if the violation is about a property of a resource, this will contain something like
Properties.MyProperty. If the violation is about the Stack itself, it will contain something likeParameters.MyParameter.- 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.Intended for plugin-sourced violations that operate on CloudFormation templates.
If set, the
constructPathwill be added later.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()
-