Interface CfnBucket.DestinationProperty

All Superinterfaces:
All Known Implementing Classes:
Enclosing class:

@Stability(Stable) public static interface CfnBucket.DestinationProperty extends
Specifies information about where to publish analysis or configuration results for an Amazon S3 bucket.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 DestinationProperty destinationProperty = DestinationProperty.builder()
         // the properties below are optional
  • 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()
      a CfnBucket.DestinationProperty.Builder of CfnBucket.DestinationProperty