Interface CfnBucket.LifecycleConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnBucket.LifecycleConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnBucket
@Stability(Stable)
public static interface CfnBucket.LifecycleConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
The container for the lifecycle configuration for the objects stored in an S3 on Outposts bucket.
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.s3outposts.*;
Object filter;
LifecycleConfigurationProperty lifecycleConfigurationProperty = LifecycleConfigurationProperty.builder()
.rules(List.of(RuleProperty.builder()
.status("status")
// the properties below are optional
.abortIncompleteMultipartUpload(AbortIncompleteMultipartUploadProperty.builder()
.daysAfterInitiation(123)
.build())
.expirationDate("expirationDate")
.expirationInDays(123)
.filter(filter)
.id("id")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnBucket.LifecycleConfigurationPropertystatic final classAn implementation forCfnBucket.LifecycleConfigurationProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getRules
The container for the lifecycle configuration rules for the objects stored in the S3 on Outposts bucket.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnBucket.RuleProperty>- See Also:
-
builder
-