interface LifecycleConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.S3Express.CfnDirectoryBucketPropsMixin.LifecycleConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awss3express#CfnDirectoryBucketPropsMixin_LifecycleConfigurationProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.s3express.CfnDirectoryBucketPropsMixin.LifecycleConfigurationProperty |
Python | aws_cdk.cfn_property_mixins.aws_s3express.CfnDirectoryBucketPropsMixin.LifecycleConfigurationProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_s3express » CfnDirectoryBucketPropsMixin » LifecycleConfigurationProperty |
Container for lifecycle rules. You can add as many as 1000 rules.
For more information see, Creating and managing a lifecycle configuration for directory buckets in the Amazon S3 User Guide .
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_s3express as s3express } from '@aws-cdk/cfn-property-mixins';
const lifecycleConfigurationProperty: s3express.CfnDirectoryBucketPropsMixin.LifecycleConfigurationProperty = {
rules: [{
abortIncompleteMultipartUpload: {
daysAfterInitiation: 123,
},
expirationInDays: 123,
id: 'id',
objectSizeGreaterThan: 'objectSizeGreaterThan',
objectSizeLessThan: 'objectSizeLessThan',
prefix: 'prefix',
status: 'status',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| rules? | IResolvable | (IResolvable | Rule)[] | A lifecycle rule for individual objects in an Amazon S3 Express bucket. |
rules?
Type:
IResolvable | (IResolvable | Rule)[]
(optional)
A lifecycle rule for individual objects in an Amazon S3 Express bucket.

.NET
Go
Java
Python
TypeScript