aws-cdk-lib.aws_s3outposts.CfnBucket.LifecycleConfigurationProperty

interface LifecycleConfigurationProperty

LanguageType name
.NETAmazon.CDK.AWS.S3Outposts.CfnBucket.LifecycleConfigurationProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awss3outposts#CfnBucket_LifecycleConfigurationProperty
Javasoftware.amazon.awscdk.services.s3outposts.CfnBucket.LifecycleConfigurationProperty
Pythonaws_cdk.aws_s3outposts.CfnBucket.LifecycleConfigurationProperty
TypeScript aws-cdk-lib » aws_s3outposts » CfnBucket » LifecycleConfigurationProperty

The container for the lifecycle configuration for the objects stored in an S3 on Outposts bucket.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_s3outposts as s3outposts } from 'aws-cdk-lib';

declare const filter: any;
const lifecycleConfigurationProperty: s3outposts.CfnBucket.LifecycleConfigurationProperty = {
  rules: [{
    status: 'status',

    // the properties below are optional
    abortIncompleteMultipartUpload: {
      daysAfterInitiation: 123,
    },
    expirationDate: 'expirationDate',
    expirationInDays: 123,
    filter: filter,
    id: 'id',
  }],
};

Properties

NameTypeDescription
rulesIResolvable | IResolvable | RuleProperty[]The container for the lifecycle configuration rules for the objects stored in the S3 on Outposts bucket.

rules

Type: IResolvable | IResolvable | RuleProperty[]

The container for the lifecycle configuration rules for the objects stored in the S3 on Outposts bucket.