interface RuleProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.S3Outposts.CfnBucket.RuleProperty |
Java | software.amazon.awscdk.services.s3outposts.CfnBucket.RuleProperty |
Python | aws_cdk.aws_s3outposts.CfnBucket.RuleProperty |
TypeScript | @aws-cdk/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 * as s3outposts from '@aws-cdk/aws-s3outposts';
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
Name | Type | Description |
---|---|---|
status | string | If Enabled , the rule is currently being applied. |
abort | IResolvable | Abort | The container for the abort incomplete multipart upload rule. |
expiration | string | Specifies the expiration for the lifecycle of the object by specifying an expiry date. |
expiration | number | 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? | any | The container for the filter of the lifecycle rule. |
id? | string | The 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
|
Abort
(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.