Class CfnResourcePolicyProps.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.secretsmanager.CfnResourcePolicyProps.Jsii$Proxy
All Implemented Interfaces:
CfnResourcePolicyProps, software.amazon.jsii.JsiiSerializable
Enclosing interface:
CfnResourcePolicyProps

@Stability(Stable) @Internal public static final class CfnResourcePolicyProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnResourcePolicyProps
An implementation for CfnResourcePolicyProps
  • 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

      protected Jsii$Proxy(CfnResourcePolicyProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the CfnResourcePolicyProps.Builder.
  • Method Details

    • getResourcePolicy

      public final Object getResourcePolicy()
      Description copied from interface: CfnResourcePolicyProps
      A JSON-formatted string for an AWS resource-based policy.

      For example policies, see Permissions policy examples .

      Specified by:
      getResourcePolicy in interface CfnResourcePolicyProps
    • getSecretId

      public final String getSecretId()
      Description copied from interface: CfnResourcePolicyProps
      The ARN or name of the secret to attach the resource-based policy.

      For an ARN, we recommend that you specify a complete ARN rather than a partial ARN.

      Specified by:
      getSecretId in interface CfnResourcePolicyProps
    • getBlockPublicPolicy

      public final Object getBlockPublicPolicy()
      Description copied from interface: CfnResourcePolicyProps
      Specifies whether to block resource-based policies that allow broad access to the secret.

      By default, Secrets Manager blocks policies that allow broad access, for example those that use a wildcard for the principal.

      Specified by:
      getBlockPublicPolicy in interface CfnResourcePolicyProps
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object