Interface CfnBucket.RecordExpirationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnBucket.RecordExpirationProperty.Jsii$Proxy
- Enclosing class:
CfnBucket
@Stability(Stable)
public static interface CfnBucket.RecordExpirationProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.s3.*; RecordExpirationProperty recordExpirationProperty = RecordExpirationProperty.builder() .expiration("expiration") // the properties below are optional .days(123) .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnBucket.RecordExpirationProperty
static final class
An implementation forCfnBucket.RecordExpirationProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getExpiration
Specifies whether journal table record expiration is enabled or disabled.- See Also:
-
getDays
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
to2147483647
. For example, to retain your journal table records for one year, set this value to365
.- See Also:
-
builder
-