@Stability(value=Stable)
public static interface CfnBucket.DestinationProperty
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.s3.*;
DestinationProperty destinationProperty = DestinationProperty.builder()
.bucketArn("bucketArn")
.format("format")
// the properties below are optional
.bucketAccountId("bucketAccountId")
.prefix("prefix")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnBucket.DestinationProperty.Builder
A builder for
CfnBucket.DestinationProperty |
static class |
CfnBucket.DestinationProperty.Jsii$Proxy
An implementation for
CfnBucket.DestinationProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnBucket.DestinationProperty.Builder |
builder() |
default String |
getBucketAccountId()
The account ID that owns the destination S3 bucket.
|
String |
getBucketArn()
The Amazon Resource Name (ARN) of the bucket to which data is exported.
|
String |
getFormat()
Specifies the file format used when exporting data to Amazon S3.
|
default String |
getPrefix()
The prefix to use when exporting data.
|
@Stability(value=Stable) @NotNull String getBucketArn()
@Stability(value=Stable) @NotNull String getFormat()
Allowed values : CSV | ORC | Parquet
@Stability(value=Stable) @Nullable default String getBucketAccountId()
If no account ID is provided, the owner is not validated before exporting data.
Although this value is optional, we strongly recommend that you set it to help prevent problems if the destination bucket ownership changes.
@Stability(value=Stable) @Nullable default String getPrefix()
The prefix is prepended to all results.
@Stability(value=Stable) static CfnBucket.DestinationProperty.Builder builder()
Copyright © 2022. All rights reserved.