Class CfnBucketProps.Jsii$Proxy

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

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

    • getAccelerateConfiguration

      public final Object getAccelerateConfiguration()
      Description copied from interface: CfnBucketProps
      Configures the transfer acceleration state for an Amazon S3 bucket.

      For more information, see Amazon S3 Transfer Acceleration in the Amazon S3 User Guide .

      Specified by:
      getAccelerateConfiguration in interface CfnBucketProps
    • getAccessControl

      public final String getAccessControl()
      Description copied from interface: CfnBucketProps
      A canned access control list (ACL) that grants predefined permissions to the bucket.

      For more information about canned ACLs, see Canned ACL in the Amazon S3 User Guide .

      Be aware that the syntax for this property differs from the information provided in the Amazon S3 User Guide . The AccessControl property is case-sensitive and must be one of the following values: Private, PublicRead, PublicReadWrite, AuthenticatedRead, LogDeliveryWrite, BucketOwnerRead, BucketOwnerFullControl, or AwsExecRead.

      Specified by:
      getAccessControl in interface CfnBucketProps
    • getAnalyticsConfigurations

      public final Object getAnalyticsConfigurations()
      Description copied from interface: CfnBucketProps
      Specifies the configuration and any analyses for the analytics filter of an Amazon S3 bucket.
      Specified by:
      getAnalyticsConfigurations in interface CfnBucketProps
    • getBucketEncryption

      public final Object getBucketEncryption()
      Description copied from interface: CfnBucketProps
      Specifies default encryption for a bucket using server-side encryption with Amazon S3-managed keys (SSE-S3) or AWS KMS-managed keys (SSE-KMS) bucket.

      For information about the Amazon S3 default encryption feature, see Amazon S3 Default Encryption for S3 Buckets in the Amazon S3 User Guide .

      Specified by:
      getBucketEncryption in interface CfnBucketProps
    • getBucketName

      public final String getBucketName()
      Description copied from interface: CfnBucketProps
      A name for the bucket.

      If you don't specify a name, AWS CloudFormation generates a unique ID and uses that ID for the bucket name. The bucket name must contain only lowercase letters, numbers, periods (.), and dashes (-) and must follow Amazon S3 bucket restrictions and limitations . For more information, see Rules for naming Amazon S3 buckets in the Amazon S3 User Guide .

      If you specify a name, you can't perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you need to replace the resource, specify a new name.

      Specified by:
      getBucketName in interface CfnBucketProps
    • getCorsConfiguration

      public final Object getCorsConfiguration()
      Description copied from interface: CfnBucketProps
      Describes the cross-origin access configuration for objects in an Amazon S3 bucket.

      For more information, see Enabling Cross-Origin Resource Sharing in the Amazon S3 User Guide .

      Specified by:
      getCorsConfiguration in interface CfnBucketProps
    • getIntelligentTieringConfigurations

      public final Object getIntelligentTieringConfigurations()
      Description copied from interface: CfnBucketProps
      Defines how Amazon S3 handles Intelligent-Tiering storage.
      Specified by:
      getIntelligentTieringConfigurations in interface CfnBucketProps
    • getInventoryConfigurations

      public final Object getInventoryConfigurations()
      Description copied from interface: CfnBucketProps
      Specifies the inventory configuration for an Amazon S3 bucket.

      For more information, see GET Bucket inventory in the Amazon S3 API Reference .

      Specified by:
      getInventoryConfigurations in interface CfnBucketProps
    • getLifecycleConfiguration

      public final Object getLifecycleConfiguration()
      Description copied from interface: CfnBucketProps
      Specifies the lifecycle configuration for objects in an Amazon S3 bucket.

      For more information, see Object Lifecycle Management in the Amazon S3 User Guide .

      Specified by:
      getLifecycleConfiguration in interface CfnBucketProps
    • getLoggingConfiguration

      public final Object getLoggingConfiguration()
      Description copied from interface: CfnBucketProps
      Settings that define where logs are stored.
      Specified by:
      getLoggingConfiguration in interface CfnBucketProps
    • getMetricsConfigurations

      public final Object getMetricsConfigurations()
      Description copied from interface: CfnBucketProps
      Specifies a metrics configuration for the CloudWatch request metrics (specified by the metrics configuration ID) from an Amazon S3 bucket.

      If you're updating an existing metrics configuration, note that this is a full replacement of the existing metrics configuration. If you don't include the elements you want to keep, they are erased. For more information, see PutBucketMetricsConfiguration .

      Specified by:
      getMetricsConfigurations in interface CfnBucketProps
    • getNotificationConfiguration

      public final Object getNotificationConfiguration()
      Description copied from interface: CfnBucketProps
      Configuration that defines how Amazon S3 handles bucket notifications.
      Specified by:
      getNotificationConfiguration in interface CfnBucketProps
    • getObjectLockConfiguration

      public final Object getObjectLockConfiguration()
      Description copied from interface: CfnBucketProps
      Places an Object Lock configuration on the specified bucket.

      The rule specified in the Object Lock configuration will be applied by default to every new object placed in the specified bucket. For more information, see Locking Objects .

      • The DefaultRetention settings require both a mode and a period.
      • The DefaultRetention period can be either Days or Years but you must select one. You cannot specify Days and Years at the same time.
      • You can only enable Object Lock for new buckets. If you want to turn on Object Lock for an existing bucket, contact AWS Support.

      Specified by:
      getObjectLockConfiguration in interface CfnBucketProps
    • getObjectLockEnabled

      public final Object getObjectLockEnabled()
      Description copied from interface: CfnBucketProps
      Indicates whether this bucket has an Object Lock configuration enabled.

      Enable ObjectLockEnabled when you apply ObjectLockConfiguration to a bucket.

      Specified by:
      getObjectLockEnabled in interface CfnBucketProps
    • getOwnershipControls

      public final Object getOwnershipControls()
      Description copied from interface: CfnBucketProps
      Configuration that defines how Amazon S3 handles Object Ownership rules.
      Specified by:
      getOwnershipControls in interface CfnBucketProps
    • getPublicAccessBlockConfiguration

      public final Object getPublicAccessBlockConfiguration()
      Description copied from interface: CfnBucketProps
      Configuration that defines how Amazon S3 handles public access.
      Specified by:
      getPublicAccessBlockConfiguration in interface CfnBucketProps
    • getReplicationConfiguration

      public final Object getReplicationConfiguration()
      Description copied from interface: CfnBucketProps
      Configuration for replicating objects in an S3 bucket.

      To enable replication, you must also enable versioning by using the VersioningConfiguration property.

      Amazon S3 can store replicated objects in a single destination bucket or multiple destination buckets. The destination bucket or buckets must already exist.

      Specified by:
      getReplicationConfiguration in interface CfnBucketProps
    • getTags

      public final List<CfnTag> getTags()
      Description copied from interface: CfnBucketProps
      An arbitrary set of tags (key-value pairs) for this S3 bucket.
      Specified by:
      getTags in interface CfnBucketProps
    • getVersioningConfiguration

      public final Object getVersioningConfiguration()
      Description copied from interface: CfnBucketProps
      Enables multiple versions of all objects in this bucket.

      You might enable versioning to prevent objects from being deleted or overwritten by mistake or to archive objects so that you can retrieve previous versions of them.

      Specified by:
      getVersioningConfiguration in interface CfnBucketProps
    • getWebsiteConfiguration

      public final Object getWebsiteConfiguration()
      Description copied from interface: CfnBucketProps
      Information used to configure the bucket as a static website.

      For more information, see Hosting Websites on Amazon S3 .

      Specified by:
      getWebsiteConfiguration in interface CfnBucketProps
    • $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