UnreferencedFileRemovalProperty
Struct External
The unreferenced file removal settings for your table bucket.
Unreferenced file removal identifies and deletes all objects that are not referenced by any table snapshots. For more information, see the Amazon S3 User Guide .
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_s3tables as s3tables } from 'aws-cdk-lib';
const unreferencedFileRemovalProperty: s3tables.CfnTableBucket.UnreferencedFileRemovalProperty = {
noncurrentDays: 123,
status: 'status',
unreferencedDays: 123,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_s3tables as s3tables
unreferenced_file_removal_property = s3tables.CfnTableBucket.UnreferencedFileRemovalProperty(
noncurrent_days=123,
status="status",
unreferenced_days=123
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.s3tables.*;
UnreferencedFileRemovalProperty unreferencedFileRemovalProperty = UnreferencedFileRemovalProperty.builder()
.noncurrentDays(123)
.status("status")
.unreferencedDays(123)
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.S3Tables;
var unreferencedFileRemovalProperty = new UnreferencedFileRemovalProperty {
NoncurrentDays = 123,
Status = "status",
UnreferencedDays = 123
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
unreferencedFileRemovalProperty := &UnreferencedFileRemovalProperty{
NoncurrentDays: jsii.Number(123),
Status: jsii.String("status"),
UnreferencedDays: jsii.Number(123),
}
Properties
noncurrentDaysoptionalnumbernoncurrent_daysoptionalint | floatnoncurrentDaysoptionalNumberNoncurrentDaysoptionaldoubleNoncurrentDaysoptional*float64 #The number of days an object can be noncurrent before Amazon S3 deletes it.
statusoptionalstringstatusoptionalstrstatusoptionalStringStatusoptionalstringStatusoptional*string #The status of the unreferenced file removal configuration for your table bucket.
unreferencedDaysoptionalnumberunreferenced_daysoptionalint | floatunreferencedDaysoptionalNumberUnreferencedDaysoptionaldoubleUnreferencedDaysoptional*float64 #The number of days an object must be unreferenced by your table before Amazon S3 marks the object as noncurrent.