Class CfnBucketMixinProps.Jsii$Proxy
- All Implemented Interfaces:
CfnBucketMixinProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnBucketMixinProps
CfnBucketMixinProps-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.cfnpropertymixins.services.s3.CfnBucketMixinProps
CfnBucketMixinProps.Builder, CfnBucketMixinProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(CfnBucketMixinProps.Builder builder) Constructor that initializes the object based on literal property values passed by theCfnBucketMixinProps.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal StringThe ABAC status of the general purpose bucket.final ObjectConfigures the transfer acceleration state for an Amazon S3 bucket.final Stringfinal ObjectSpecifies the configuration and any analyses for the analytics filter of an Amazon S3 bucket.final ObjectSpecifies default encryption for a bucket using server-side encryption with Amazon S3-managed keys (SSE-S3), AWS KMS-managed keys (SSE-KMS), or dual-layer server-side encryption with KMS-managed keys (DSSE-KMS).final StringA name for the bucket.final ObjectDescribes the cross-origin access configuration for objects in an Amazon S3 bucket.final ObjectDefines how Amazon S3 handles Intelligent-Tiering storage.final ObjectSpecifies the S3 Inventory configuration for an Amazon S3 bucket.final ObjectSpecifies the lifecycle configuration for objects in an Amazon S3 bucket.final ObjectSettings that define where logs are stored.final ObjectThe S3 Metadata configuration for a general purpose bucket.final ObjectThe metadata table configuration of an Amazon S3 general purpose bucket.final ObjectSpecifies a metrics configuration for the CloudWatch request metrics (specified by the metrics configuration ID) from an Amazon S3 bucket.final ObjectConfiguration that defines how Amazon S3 handles bucket notifications.final Objectfinal ObjectIndicates whether this bucket has an Object Lock configuration enabled.final ObjectConfiguration that defines how Amazon S3 handles Object Ownership rules.final ObjectConfiguration that defines how Amazon S3 handles public access.final ObjectConfiguration for replicating objects in an S3 bucket.getTags()An arbitrary set of tags (key-value pairs) for this S3 bucket.final ObjectEnables multiple versions of all objects in this bucket.final ObjectInformation used to configure the bucket as a static website.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
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
Constructor that initializes the object based on literal property values passed by theCfnBucketMixinProps.Builder.
-
-
Method Details
-
getAbacStatus
Description copied from interface:CfnBucketMixinPropsThe ABAC status of the general purpose bucket.When ABAC is enabled for the general purpose bucket, you can use tags to manage access to the general purpose buckets as well as for cost tracking purposes. When ABAC is disabled for the general purpose buckets, you can only use tags for cost tracking purposes. For more information, see Using tags with S3 general purpose buckets .
- Specified by:
getAbacStatusin interfaceCfnBucketMixinProps- See Also:
-
getAccelerateConfiguration
Description copied from interface:CfnBucketMixinPropsConfigures the transfer acceleration state for an Amazon S3 bucket.For more information, see Amazon S3 Transfer Acceleration in the Amazon S3 User Guide .
Returns union: either
IResolvableorCfnBucketPropsMixin.AccelerateConfigurationProperty- Specified by:
getAccelerateConfigurationin interfaceCfnBucketMixinProps- See Also:
-
getAccessControl
Description copied from interface:CfnBucketMixinPropsThis is a legacy property, and it is not recommended for most use cases.
A majority of modern use cases in Amazon S3 no longer require the use of ACLs, and we recommend that you keep ACLs disabled. For more information, see Controlling object ownership in the Amazon S3 User Guide .
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 .
S3 buckets are created with ACLs disabled by default. Therefore, unless you explicitly set the AWS::S3::OwnershipControls property to enable ACLs, your resource will fail to deploy with any value other than Private. Use cases requiring ACLs are uncommon.
The majority of access control configurations can be successfully and more easily achieved with bucket policies. For more information, see AWS::S3::BucketPolicy . For examples of common policy configurations, including S3 Server Access Logs buckets and more, see Bucket policy examples in the Amazon S3 User Guide .
- Specified by:
getAccessControlin interfaceCfnBucketMixinProps- See Also:
-
getAnalyticsConfigurations
Description copied from interface:CfnBucketMixinPropsSpecifies the configuration and any analyses for the analytics filter of an Amazon S3 bucket.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnBucketPropsMixin.AnalyticsConfigurationProperty>- Specified by:
getAnalyticsConfigurationsin interfaceCfnBucketMixinProps- See Also:
-
getBucketEncryption
Description copied from interface:CfnBucketMixinPropsSpecifies default encryption for a bucket using server-side encryption with Amazon S3-managed keys (SSE-S3), AWS KMS-managed keys (SSE-KMS), or dual-layer server-side encryption with KMS-managed keys (DSSE-KMS).For information about the Amazon S3 default encryption feature, see Amazon S3 Default Encryption for S3 Buckets in the Amazon S3 User Guide .
Returns union: either
IResolvableorCfnBucketPropsMixin.BucketEncryptionProperty- Specified by:
getBucketEncryptionin interfaceCfnBucketMixinProps- See Also:
-
getBucketName
Description copied from interface:CfnBucketMixinPropsA 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:
getBucketNamein interfaceCfnBucketMixinProps- See Also:
-
getCorsConfiguration
Description copied from interface:CfnBucketMixinPropsDescribes 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 .
Returns union: either
IResolvableorCfnBucketPropsMixin.CorsConfigurationProperty- Specified by:
getCorsConfigurationin interfaceCfnBucketMixinProps- See Also:
-
getIntelligentTieringConfigurations
Description copied from interface:CfnBucketMixinPropsDefines how Amazon S3 handles Intelligent-Tiering storage.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnBucketPropsMixin.IntelligentTieringConfigurationProperty>- Specified by:
getIntelligentTieringConfigurationsin interfaceCfnBucketMixinProps- See Also:
-
getInventoryConfigurations
Description copied from interface:CfnBucketMixinPropsSpecifies the S3 Inventory configuration for an Amazon S3 bucket.For more information, see GET Bucket inventory in the Amazon S3 API Reference .
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnBucketPropsMixin.InventoryConfigurationProperty>- Specified by:
getInventoryConfigurationsin interfaceCfnBucketMixinProps- See Also:
-
getLifecycleConfiguration
Description copied from interface:CfnBucketMixinPropsSpecifies the lifecycle configuration for objects in an Amazon S3 bucket.For more information, see Object Lifecycle Management in the Amazon S3 User Guide .
Returns union: either
IResolvableorCfnBucketPropsMixin.LifecycleConfigurationProperty- Specified by:
getLifecycleConfigurationin interfaceCfnBucketMixinProps- See Also:
-
getLoggingConfiguration
Description copied from interface:CfnBucketMixinPropsSettings that define where logs are stored.Returns union: either
IResolvableorCfnBucketPropsMixin.LoggingConfigurationProperty- Specified by:
getLoggingConfigurationin interfaceCfnBucketMixinProps- See Also:
-
getMetadataConfiguration
Description copied from interface:CfnBucketMixinPropsThe S3 Metadata configuration for a general purpose bucket.Returns union: either
IResolvableorCfnBucketPropsMixin.MetadataConfigurationProperty- Specified by:
getMetadataConfigurationin interfaceCfnBucketMixinProps- See Also:
-
getMetadataTableConfiguration
Description copied from interface:CfnBucketMixinPropsThe metadata table configuration of an Amazon S3 general purpose bucket.Returns union: either
IResolvableorCfnBucketPropsMixin.MetadataTableConfigurationProperty- Specified by:
getMetadataTableConfigurationin interfaceCfnBucketMixinProps- See Also:
-
getMetricsConfigurations
Description copied from interface:CfnBucketMixinPropsSpecifies 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 .
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnBucketPropsMixin.MetricsConfigurationProperty>- Specified by:
getMetricsConfigurationsin interfaceCfnBucketMixinProps- See Also:
-
getNotificationConfiguration
Description copied from interface:CfnBucketMixinPropsConfiguration that defines how Amazon S3 handles bucket notifications.Returns union: either
IResolvableorCfnBucketPropsMixin.NotificationConfigurationProperty- Specified by:
getNotificationConfigurationin interfaceCfnBucketMixinProps- See Also:
-
getObjectLockConfiguration
Description copied from interface:CfnBucketMixinPropsThis operation is not supported for directory buckets.
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
DefaultRetentionsettings require both a mode and a period. - The
DefaultRetentionperiod can be eitherDaysorYearsbut you must select one. You cannot specifyDaysandYearsat the same time. - You can enable Object Lock for new or existing buckets. For more information, see Configuring Object Lock . > You must URL encode any signed header values that contain spaces. For example, if your header value is
my file.txt, containing two spaces aftermy, you must URL encode this value tomy%20%20file.txt.
Returns union: either
IResolvableorCfnBucketPropsMixin.ObjectLockConfigurationProperty- Specified by:
getObjectLockConfigurationin interfaceCfnBucketMixinProps- See Also:
- The
-
getObjectLockEnabled
Description copied from interface:CfnBucketMixinPropsIndicates whether this bucket has an Object Lock configuration enabled.Enable
ObjectLockEnabledwhen you applyObjectLockConfigurationto a bucket.Returns union: either
BooleanorIResolvable- Specified by:
getObjectLockEnabledin interfaceCfnBucketMixinProps- See Also:
-
getOwnershipControls
Description copied from interface:CfnBucketMixinPropsConfiguration that defines how Amazon S3 handles Object Ownership rules.Returns union: either
IResolvableorCfnBucketPropsMixin.OwnershipControlsProperty- Specified by:
getOwnershipControlsin interfaceCfnBucketMixinProps- See Also:
-
getPublicAccessBlockConfiguration
Description copied from interface:CfnBucketMixinPropsConfiguration that defines how Amazon S3 handles public access.Returns union: either
IResolvableorCfnBucketPropsMixin.PublicAccessBlockConfigurationProperty- Specified by:
getPublicAccessBlockConfigurationin interfaceCfnBucketMixinProps- See Also:
-
getReplicationConfiguration
Description copied from interface:CfnBucketMixinPropsConfiguration for replicating objects in an S3 bucket.To enable replication, you must also enable versioning by using the
VersioningConfigurationproperty.Amazon S3 can store replicated objects in a single destination bucket or multiple destination buckets. The destination bucket or buckets must already exist.
Returns union: either
IResolvableorCfnBucketPropsMixin.ReplicationConfigurationProperty- Specified by:
getReplicationConfigurationin interfaceCfnBucketMixinProps- See Also:
-
getTags
Description copied from interface:CfnBucketMixinPropsAn arbitrary set of tags (key-value pairs) for this S3 bucket.- Specified by:
getTagsin interfaceCfnBucketMixinProps- See Also:
-
getVersioningConfiguration
Description copied from interface:CfnBucketMixinPropsEnables 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.
When you enable versioning on a bucket for the first time, it might take a short amount of time for the change to be fully propagated. We recommend that you wait for 15 minutes after enabling versioning before issuing write operations (
PUTorDELETE) on objects in the bucket.Returns union: either
IResolvableorCfnBucketPropsMixin.VersioningConfigurationProperty- Specified by:
getVersioningConfigurationin interfaceCfnBucketMixinProps- See Also:
-
getWebsiteConfiguration
Description copied from interface:CfnBucketMixinPropsInformation used to configure the bucket as a static website.For more information, see Hosting Websites on Amazon S3 .
Returns union: either
IResolvableorCfnBucketPropsMixin.WebsiteConfigurationProperty- Specified by:
getWebsiteConfigurationin interfaceCfnBucketMixinProps- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-