aws-cdk-lib.aws_s3outposts.CfnBucket.RuleProperty

interface RuleProperty

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

A container for an Amazon S3 on Outposts bucket lifecycle rule.

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 ruleProperty: s3outposts.CfnBucket.RuleProperty = {
  status: 'status',

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

Properties

NameTypeDescription
statusstringIf Enabled , the rule is currently being applied.
abortIncompleteMultipartUpload?IResolvable | AbortIncompleteMultipartUploadPropertyThe container for the abort incomplete multipart upload rule.
expirationDate?stringSpecifies the expiration for the lifecycle of the object by specifying an expiry date.
expirationInDays?numberSpecifies the expiration for the lifecycle of the object in the form of days that the object has been in the S3 on Outposts bucket.
filter?anyThe container for the filter of the lifecycle rule.
id?stringThe unique identifier for the lifecycle rule.

status

Type: string

If Enabled , the rule is currently being applied.

If Disabled , the rule is not currently being applied.


abortIncompleteMultipartUpload?

Type: IResolvable | AbortIncompleteMultipartUploadProperty (optional)

The container for the abort incomplete multipart upload rule.


expirationDate?

Type: string (optional)

Specifies the expiration for the lifecycle of the object by specifying an expiry date.


expirationInDays?

Type: number (optional)

Specifies the expiration for the lifecycle of the object in the form of days that the object has been in the S3 on Outposts bucket.


filter?

Type: any (optional)

The container for the filter of the lifecycle rule.


id?

Type: string (optional)

The unique identifier for the lifecycle rule.

The value can't be longer than 255 characters.