Interface CfnStorageLens.S3BucketDestinationProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnStorageLens.S3BucketDestinationProperty.Jsii$Proxy
Enclosing class:
CfnStorageLens

@Stability(Stable) public static interface CfnStorageLens.S3BucketDestinationProperty extends software.amazon.jsii.JsiiSerializable
This resource contains the details of the bucket where the Amazon S3 Storage Lens metrics export will be placed.

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.*;
 Object sses3;
 S3BucketDestinationProperty s3BucketDestinationProperty = S3BucketDestinationProperty.builder()
         .accountId("accountId")
         .arn("arn")
         .format("format")
         .outputSchemaVersion("outputSchemaVersion")
         // the properties below are optional
         .encryption(EncryptionProperty.builder()
                 .ssekms(SSEKMSProperty.builder()
                         .keyId("keyId")
                         .build())
                 .sses3(sses3)
                 .build())
         .prefix("prefix")
         .build();
 
  • Method Details

    • getAccountId

      @Stability(Stable) @NotNull String getAccountId()
      This property contains the details of the AWS account ID of the S3 Storage Lens export bucket destination.
    • getArn

      @Stability(Stable) @NotNull String getArn()
      This property contains the details of the ARN of the bucket destination of the S3 Storage Lens export.
    • getFormat

      @Stability(Stable) @NotNull String getFormat()
      This property contains the details of the format of the S3 Storage Lens export bucket destination.
    • getOutputSchemaVersion

      @Stability(Stable) @NotNull String getOutputSchemaVersion()
      This property contains the details of the output schema version of the S3 Storage Lens export bucket destination.
    • getEncryption

      @Stability(Stable) @Nullable default Object getEncryption()
      This property contains the details of the encryption of the bucket destination of the Amazon S3 Storage Lens metrics export.
    • getPrefix

      @Stability(Stable) @Nullable default String getPrefix()
      This property contains the details of the prefix of the bucket destination of the S3 Storage Lens export .
    • builder

      @Stability(Stable) static CfnStorageLens.S3BucketDestinationProperty.Builder builder()
      Returns:
      a CfnStorageLens.S3BucketDestinationProperty.Builder of CfnStorageLens.S3BucketDestinationProperty