Class CfnBucketPolicyProps.Jsii$Proxy

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

@Stability(Stable) @Internal public static final class CfnBucketPolicyProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnBucketPolicyProps
An implementation for CfnBucketPolicyProps
  • Nested Class Summary

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode

    Nested classes/interfaces inherited from interface software.amazon.awscdk.services.s3outposts.CfnBucketPolicyProps

    CfnBucketPolicyProps.Builder, CfnBucketPolicyProps.Jsii$Proxy
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the CfnBucketPolicyProps.Builder.
    protected
    Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
    Constructor that initializes the object based on values retrieved from the JsiiObject.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.fasterxml.jackson.databind.JsonNode
     
    final boolean
     
    final String
    The name of the Amazon S3 Outposts bucket to which the policy applies.
    final Object
    A policy document containing permissions to add to the specified bucket.
    final int
     

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • 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(CfnBucketPolicyProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the CfnBucketPolicyProps.Builder.
  • Method Details

    • getBucket

      public final String getBucket()
      Description copied from interface: CfnBucketPolicyProps
      The name of the Amazon S3 Outposts bucket to which the policy applies.
      Specified by:
      getBucket in interface CfnBucketPolicyProps
    • getPolicyDocument

      public final Object getPolicyDocument()
      Description copied from interface: CfnBucketPolicyProps
      A policy document containing permissions to add to the specified bucket.

      In IAM, you must provide policy documents in JSON format. However, in CloudFormation, you can provide the policy in JSON or YAML format because CloudFormation converts YAML to JSON before submitting it to IAM. For more information, see the AWS::IAM::Policy PolicyDocument resource description in this guide and Access Policy Language Overview .

      Specified by:
      getPolicyDocument in interface CfnBucketPolicyProps
    • $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