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 .
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.
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
-