@Generated(value="jsii-pacmak/1.46.0 (build cd08c55)", date="2021-11-25T20:11:07.793Z") @Stability(value=Stable) public interface CfnBucketProps extends software.amazon.jsii.JsiiSerializable
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;
CfnBucketProps cfnBucketProps = CfnBucketProps.builder()
.bucketName("bucketName")
.outpostId("outpostId")
// the properties below are optional
.lifecycleConfiguration(LifecycleConfigurationProperty.builder()
.rules(List.of(RuleProperty.builder()
.abortIncompleteMultipartUpload(AbortIncompleteMultipartUploadProperty.builder()
.daysAfterInitiation(123)
.build())
.expirationDate("expirationDate")
.expirationInDays(123)
.filter(filter)
.id("id")
.status("status")
.build()))
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnBucketProps.Builder
A builder for
CfnBucketProps |
static class |
CfnBucketProps.Jsii$Proxy
An implementation for
CfnBucketProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnBucketProps.Builder |
builder() |
String |
getBucketName()
`AWS::S3Outposts::Bucket.BucketName`.
|
default Object |
getLifecycleConfiguration()
`AWS::S3Outposts::Bucket.LifecycleConfiguration`.
|
String |
getOutpostId()
`AWS::S3Outposts::Bucket.OutpostId`.
|
default List<CfnTag> |
getTags()
`AWS::S3Outposts::Bucket.Tags`.
|
@Stability(value=Stable) @NotNull String getBucketName()
@Stability(value=Stable) @Nullable default Object getLifecycleConfiguration()
@Stability(value=Stable) @NotNull String getOutpostId()
@Stability(value=Stable) @Nullable default List<CfnTag> getTags()
@Stability(value=Stable) static CfnBucketProps.Builder builder()
CfnBucketProps.Builder of CfnBucketPropsCopyright © 2021. All rights reserved.