Interface CfnBucket.DestinationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnBucket.DestinationProperty.Jsii$Proxy
- Enclosing class:
CfnBucket
@Stability(Stable)
public static interface CfnBucket.DestinationProperty
extends software.amazon.jsii.JsiiSerializable
Specifies information about where to publish analysis or configuration results for an Amazon S3 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.s3.*; DestinationProperty destinationProperty = DestinationProperty.builder() .bucketArn("bucketArn") .format("format") // the properties below are optional .bucketAccountId("bucketAccountId") .prefix("prefix") .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnBucket.DestinationProperty
static final class
An implementation forCfnBucket.DestinationProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default String
The account ID that owns the destination S3 bucket.The Amazon Resource Name (ARN) of the bucket to which data is exported.Specifies the file format used when exporting data to Amazon S3.default String
The prefix to use when exporting data.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getBucketArn
The Amazon Resource Name (ARN) of the bucket to which data is exported.- See Also:
-
getFormat
Specifies the file format used when exporting data to Amazon S3.Allowed values :
CSV
|ORC
|Parquet
- See Also:
-
getBucketAccountId
The account ID that owns the destination S3 bucket.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.
- See Also:
-
getPrefix
The prefix to use when exporting data.The prefix is prepended to all results.
- See Also:
-
builder
-