interface UnreferencedFileRemoval
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.S3Tables.Alpha.UnreferencedFileRemoval |
Java | software.amazon.awscdk.services.s3tables.alpha.UnreferencedFileRemoval |
Python | aws_cdk.aws_s3tables_alpha.UnreferencedFileRemoval |
TypeScript (source) | @aws-cdk/aws-s3tables-alpha ยป UnreferencedFileRemoval |
Unreferenced file removal settings for the this table bucket.
Example
// Build a Table bucket
const sampleTableBucket = new TableBucket(scope, 'ExampleTableBucket', {
tableBucketName: 'example-bucket-1',
// optional fields:
unreferencedFileRemoval: {
status: UnreferencedFileRemovalStatus.ENABLED,
noncurrentDays: 20,
unreferencedDays: 20,
}
});
Properties
| Name | Type | Description |
|---|---|---|
| noncurrent | number | Duration after which noncurrent files should be removed. |
| status? | Unreferenced | Status of unreferenced file removal. |
| unreferenced | number | Duration after which unreferenced files should be removed. |
noncurrentDays?
Type:
number
(optional, default: See S3 Tables User Guide)
Duration after which noncurrent files should be removed.
Should be at least one day.
status?
Type:
Unreferenced
(optional, default: See S3 Tables User Guide)
Status of unreferenced file removal.
Can be Enabled or Disabled.
unreferencedDays?
Type:
number
(optional, default: See S3 Tables User Guide)
Duration after which unreferenced files should be removed.
Should be at least one day.

.NET
Java
Python
TypeScript (