Class CfnResourcePolicyProps.Jsii$Proxy

All Implemented Interfaces:
Enclosing interface:

@Stability(Stable) @Internal public static final class CfnResourcePolicyProps.Jsii$Proxy extends implements CfnResourcePolicyProps
An implementation for CfnResourcePolicyProps
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy( objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      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
    • equals

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

      public final int hashCode()
      hashCode in class Object