interface RecordExpirationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.S3.Mixins.CfnBucketPropsMixin.RecordExpirationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awss3/mixins#CfnBucketPropsMixin_RecordExpirationProperty |
Java | software.amazon.awscdk.mixins.preview.services.s3.mixins.CfnBucketPropsMixin.RecordExpirationProperty |
Python | aws_cdk.mixins_preview.aws_s3.mixins.CfnBucketPropsMixin.RecordExpirationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_s3 » mixins » CfnBucketPropsMixin » RecordExpirationProperty |
The journal table record expiration settings for a journal table in an S3 Metadata configuration.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as s3_mixins } from '@aws-cdk/mixins-preview/aws-s3';
const recordExpirationProperty: s3_mixins.CfnBucketPropsMixin.RecordExpirationProperty = {
days: 123,
expiration: 'expiration',
};
Properties
| Name | Type | Description |
|---|---|---|
| days? | number | If you enable journal table record expiration, you can set the number of days to retain your journal table records. |
| expiration? | string | Specifies whether journal table record expiration is enabled or disabled. |
days?
Type:
number
(optional)
If you enable journal table record expiration, you can set the number of days to retain your journal table records.
Journal table records must be retained for a minimum of 7 days. To set this value, specify any whole number from 7 to 2147483647 . For example, to retain your journal table records for one year, set this value to 365 .
expiration?
Type:
string
(optional)
Specifies whether journal table record expiration is enabled or disabled.

.NET
Go
Java
Python
TypeScript