interface RecordExpirationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.S3.CfnBucket.RecordExpirationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awss3#CfnBucket_RecordExpirationProperty |
Java | software.amazon.awscdk.services.s3.CfnBucket.RecordExpirationProperty |
Python | aws_cdk.aws_s3.CfnBucket.RecordExpirationProperty |
TypeScript | aws-cdk-lib » aws_s3 » CfnBucket » 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 { aws_s3 as s3 } from 'aws-cdk-lib';
const recordExpirationProperty: s3.CfnBucket.RecordExpirationProperty = {
expiration: 'expiration',
// the properties below are optional
days: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| expiration | string | Specifies whether journal table record expiration is enabled or disabled. |
| days? | number | If you enable journal table record expiration, you can set the number of days to retain your journal table records. |
expiration
Type:
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 .

.NET
Go
Java
Python
TypeScript