Interface CfnBucket.VersioningConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnBucket.VersioningConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnBucket
@Stability(Stable)
public static interface CfnBucket.VersioningConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Describes the versioning state of an Amazon S3 bucket.
For more information, see PUT Bucket versioning in the Amazon S3 API Reference .
Keep the following timing in mind when enabling, suspending, or transitioning between versioning states:
- Enabling versioning - Changes may take up to 15 minutes to propagate across all AWS regions for full consistency.
- Suspending versioning - Takes effect immediately with no propagation delay.
- Transitioning between states - Any change from Suspended to Enabled has a 15-minute delay.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.s3.*;
VersioningConfigurationProperty versioningConfigurationProperty = VersioningConfigurationProperty.builder()
.status("status")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnBucket.VersioningConfigurationPropertystatic final classAn implementation forCfnBucket.VersioningConfigurationProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getStatus
The versioning state of the bucket.Default: - "Suspended"
- See Also:
-
builder
-