Interface CfnDataLake.LifecycleConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDataLake.LifecycleConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnDataLake
To manage your data so that it is stored cost effectively, you can configure retention settings for the data. You can specify your preferred Amazon S3 storage class and the time period for Amazon S3 objects to stay in that storage class before they transition to a different storage class or expire. For more information about Amazon S3 Lifecycle configurations, see Managing your storage lifecycle in the Amazon Simple Storage Service User Guide .
In Security Lake , you specify retention settings at the Region level. For example, you might choose to transition all S3 objects in a specific AWS Region to the S3 Standard-IA storage class 30 days after they're written to the data lake. The default Amazon S3 storage class is S3 Standard.
Security Lake doesn't support Amazon S3 Object Lock. When the data lake buckets are created, S3 Object Lock is disabled by default. Enabling S3 Object Lock with default retention mode interrupts the delivery of normalized log data to the data lake.
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.securitylake.*;
LifecycleConfigurationProperty lifecycleConfigurationProperty = LifecycleConfigurationProperty.builder()
.expiration(ExpirationProperty.builder()
.days(123)
.build())
.transitions(List.of(TransitionsProperty.builder()
.days(123)
.storageClass("storageClass")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDataLake.LifecycleConfigurationPropertystatic final classAn implementation forCfnDataLake.LifecycleConfigurationProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getExpiration
Provides data expiration details of the Amazon Security Lake object.Returns union: either
IResolvableorCfnDataLake.ExpirationProperty- See Also:
-
getTransitions
Provides data storage transition details of Amazon Security Lake object.By configuring these settings, you can specify your preferred Amazon S3 storage class and the time period for S3 objects to stay in that storage class before they transition to a different storage class.
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnDataLake.TransitionsProperty>- See Also:
-
builder
-