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();
 
  • Method Details

    • getBucketArn

      @Stability(Stable) @NotNull String getBucketArn()
      The Amazon Resource Name (ARN) of the bucket to which data is exported.
    • getFormat

      @Stability(Stable) @NotNull String getFormat()
      Specifies the file format used when exporting data to Amazon S3.

      Allowed values : CSV | ORC | Parquet

    • getBucketAccountId

      @Stability(Stable) @Nullable default String 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.

    • getPrefix

      @Stability(Stable) @Nullable default String getPrefix()
      The prefix to use when exporting data.

      The prefix is prepended to all results.

    • builder

      @Stability(Stable) static CfnBucket.DestinationProperty.Builder builder()
      Returns:
      a CfnBucket.DestinationProperty.Builder of CfnBucket.DestinationProperty