interface VersioningConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.S3.Mixins.CfnBucketPropsMixin.VersioningConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awss3/mixins#CfnBucketPropsMixin_VersioningConfigurationProperty |
Java | software.amazon.awscdk.mixins.preview.services.s3.mixins.CfnBucketPropsMixin.VersioningConfigurationProperty |
Python | aws_cdk.mixins_preview.aws_s3.mixins.CfnBucketPropsMixin.VersioningConfigurationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_s3 » mixins » CfnBucketPropsMixin » VersioningConfigurationProperty |
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 { mixins as s3_mixins } from '@aws-cdk/mixins-preview/aws-s3';
const versioningConfigurationProperty: s3_mixins.CfnBucketPropsMixin.VersioningConfigurationProperty = {
status: 'status',
};
Properties
| Name | Type | Description |
|---|---|---|
| status? | string | The versioning state of the bucket. |
status?
Type:
string
(optional, default: "Suspended")
The versioning state of the bucket.

.NET
Go
Java
Python
TypeScript