public static final class CfnResourcePolicyProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnResourcePolicyProps
CfnResourcePolicyProps
CfnResourcePolicyProps.Builder, CfnResourcePolicyProps.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(java.lang.Object o) |
java.lang.Object |
getBlockPublicPolicy()
Specifies whether to block resource-based policies that allow broad access to the secret.
|
java.lang.Object |
getResourcePolicy()
A JSON-formatted string for an AWS resource-based policy.
|
java.lang.String |
getSecretId()
The ARN or name of the secret to attach the resource-based policy.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final java.lang.Object getResourcePolicy()
CfnResourcePolicyProps
For example policies, see Permissions policy examples .
getResourcePolicy
in interface CfnResourcePolicyProps
public final java.lang.String getSecretId()
CfnResourcePolicyProps
For an ARN, we recommend that you specify a complete ARN rather than a partial ARN.
getSecretId
in interface CfnResourcePolicyProps
public final java.lang.Object getBlockPublicPolicy()
CfnResourcePolicyProps
By default, Secrets Manager blocks policies that allow broad access, for example those that use a wildcard for the principal.
getBlockPublicPolicy
in interface CfnResourcePolicyProps
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()