Class BucketPolicyProps.Jsii$Proxy

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

@Stability(Stable) @Internal public static final class BucketPolicyProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements BucketPolicyProps
An implementation for BucketPolicyProps
  • 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(BucketPolicyProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the BucketPolicyProps.Builder.
  • Method Details

    • getBucket

      public final IBucket getBucket()
      Description copied from interface: BucketPolicyProps
      The Amazon S3 bucket that the policy applies to.
      Specified by:
      getBucket in interface BucketPolicyProps
    • getDocument

      public final PolicyDocument getDocument()
      Description copied from interface: BucketPolicyProps
      Policy document to apply to the bucket.

      Default: - A new empty PolicyDocument will be created.

      Specified by:
      getDocument in interface BucketPolicyProps
    • getRemovalPolicy

      public final RemovalPolicy getRemovalPolicy()
      Description copied from interface: BucketPolicyProps
      Policy to apply when the policy is removed from this stack.

      Default: - RemovalPolicy.DESTROY.

      Specified by:
      getRemovalPolicy in interface BucketPolicyProps
    • $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