Interface CfnBucketPropsMixin.RuleProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnBucketPropsMixin.RuleProperty.Jsii$Proxy
- Enclosing class:
CfnBucketPropsMixin
@Stability(Stable)
public static interface CfnBucketPropsMixin.RuleProperty
extends software.amazon.jsii.JsiiSerializable
A container for an Amazon S3 on Outposts bucket lifecycle rule.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.mixins.preview.services.s3outposts.mixins.*;
Object filter;
RuleProperty ruleProperty = RuleProperty.builder()
.abortIncompleteMultipartUpload(AbortIncompleteMultipartUploadProperty.builder()
.daysAfterInitiation(123)
.build())
.expirationDate("expirationDate")
.expirationInDays(123)
.filter(filter)
.id("id")
.status("status")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnBucketPropsMixin.RulePropertystatic final classAn implementation forCfnBucketPropsMixin.RuleProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectThe container for the abort incomplete multipart upload rule.default StringSpecifies the expiration for the lifecycle of the object by specifying an expiry date.default NumberSpecifies the expiration for the lifecycle of the object in the form of days that the object has been in the S3 on Outposts bucket.default ObjectThe container for the filter of the lifecycle rule.default StringgetId()Unique identifier for the lifecycle rule.default StringIfEnabled, the rule is currently being applied.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAbortIncompleteMultipartUpload
The container for the abort incomplete multipart upload rule.Returns union: either
IResolvableorCfnBucketPropsMixin.AbortIncompleteMultipartUploadProperty- See Also:
-
getExpirationDate
Specifies the expiration for the lifecycle of the object by specifying an expiry date.- See Also:
-
getExpirationInDays
Specifies the expiration for the lifecycle of the object in the form of days that the object has been in the S3 on Outposts bucket.- See Also:
-
getFilter
The container for the filter of the lifecycle rule.- See Also:
-
getId
Unique identifier for the lifecycle rule.The value can't be longer than 255 characters.
- See Also:
-
getStatus
IfEnabled, the rule is currently being applied.If
Disabled, the rule is not currently being applied.- See Also:
-
builder
-