RuleProperty Struct
A container for an Amazon S3 on Outposts bucket lifecycle rule.
Example
ts
// 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
abortIncompleteMultipartUploadIResolvable | CfnBucket.AbortIncompleteMultipartUploadPropertyabort_incomplete_multipart_uploadtyping.Union[IResolvable, AbortIncompleteMultipartUploadProperty]abortIncompleteMultipartUploadIResolvableAbortIncompleteMultipartUploadIResolvableAbortIncompleteMultipartUploadinterface{}#The container for the abort incomplete multipart upload rule.
expirationDatestringexpiration_datestrexpirationDateStringExpirationDatestringExpirationDate*string#Specifies the expiration for the lifecycle of the object by specifying an expiry date.
expirationInDaysnumberexpiration_in_daysint | floatexpirationInDaysNumberExpirationInDaysdoubleExpirationInDays*float64#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.
The container for the filter of the lifecycle rule.
Unique identifier for the lifecycle rule.
The value can't be longer than 255 characters.
If `Enabled` , the rule is currently being applied.
If Disabled , the rule is not currently being applied.