aws-cdk-lib.aws_s3.CfnBucket.VersioningConfigurationProperty

interface VersioningConfigurationProperty

LanguageType name
.NETAmazon.CDK.AWS.S3.CfnBucket.VersioningConfigurationProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awss3#CfnBucket_VersioningConfigurationProperty
Javasoftware.amazon.awscdk.services.s3.CfnBucket.VersioningConfigurationProperty
Pythonaws_cdk.aws_s3.CfnBucket.VersioningConfigurationProperty
TypeScript aws-cdk-lib » aws_s3 » CfnBucket » VersioningConfigurationProperty

Describes the versioning state of an Amazon S3 bucket.

For more information, see PUT Bucket versioning in the Amazon S3 API Reference .

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_s3 as s3 } from 'aws-cdk-lib';
const versioningConfigurationProperty: s3.CfnBucket.VersioningConfigurationProperty = {
  status: 'status',
};

Properties

NameTypeDescription
statusstringThe versioning state of the bucket.

status

Type: string

The versioning state of the bucket.