interface RuleProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.S3Outposts.Mixins.CfnBucketPropsMixin.RuleProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awss3outposts/mixins#CfnBucketPropsMixin_RuleProperty |
Java | software.amazon.awscdk.mixins.preview.services.s3outposts.mixins.CfnBucketPropsMixin.RuleProperty |
Python | aws_cdk.mixins_preview.aws_s3outposts.mixins.CfnBucketPropsMixin.RuleProperty |
TypeScript | @aws-cdk/mixins-preview » aws_s3outposts » mixins » CfnBucketPropsMixin » 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 { mixins as s3outposts_mixins } from '@aws-cdk/mixins-preview/aws-s3outposts';
declare const filter: any;
const ruleProperty: s3outposts_mixins.CfnBucketPropsMixin.RuleProperty = {
abortIncompleteMultipartUpload: {
daysAfterInitiation: 123,
},
expirationDate: 'expirationDate',
expirationInDays: 123,
filter: filter,
id: 'id',
status: 'status',
};
Properties
| Name | Type | Description |
|---|---|---|
| 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 | Unique identifier for the lifecycle rule. |
| status? | string | If Enabled , the rule is 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)
Unique identifier for the lifecycle rule.
The value can't be longer than 255 characters.
status?
Type:
string
(optional)
If Enabled , the rule is currently being applied.
If Disabled , the rule is not currently being applied.

.NET
Go
Java
Python
TypeScript