Interface CfnDeliveryStream.ExtendedS3DestinationConfigurationProperty

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

@Stability(Stable) public static interface CfnDeliveryStream.ExtendedS3DestinationConfigurationProperty extends software.amazon.jsii.JsiiSerializable
The ExtendedS3DestinationConfiguration property type configures an Amazon S3 destination for an Amazon Kinesis Data Firehose delivery stream.

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.kinesisfirehose.*;
 ExtendedS3DestinationConfigurationProperty extendedS3DestinationConfigurationProperty = ExtendedS3DestinationConfigurationProperty.builder()
         .bucketArn("bucketArn")
         .roleArn("roleArn")
         // the properties below are optional
         .bufferingHints(BufferingHintsProperty.builder()
                 .intervalInSeconds(123)
                 .sizeInMBs(123)
                 .build())
         .cloudWatchLoggingOptions(CloudWatchLoggingOptionsProperty.builder()
                 .enabled(false)
                 .logGroupName("logGroupName")
                 .logStreamName("logStreamName")
                 .build())
         .compressionFormat("compressionFormat")
         .dataFormatConversionConfiguration(DataFormatConversionConfigurationProperty.builder()
                 .enabled(false)
                 .inputFormatConfiguration(InputFormatConfigurationProperty.builder()
                         .deserializer(DeserializerProperty.builder()
                                 .hiveJsonSerDe(HiveJsonSerDeProperty.builder()
                                         .timestampFormats(List.of("timestampFormats"))
                                         .build())
                                 .openXJsonSerDe(OpenXJsonSerDeProperty.builder()
                                         .caseInsensitive(false)
                                         .columnToJsonKeyMappings(Map.of(
                                                 "columnToJsonKeyMappingsKey", "columnToJsonKeyMappings"))
                                         .convertDotsInJsonKeysToUnderscores(false)
                                         .build())
                                 .build())
                         .build())
                 .outputFormatConfiguration(OutputFormatConfigurationProperty.builder()
                         .serializer(SerializerProperty.builder()
                                 .orcSerDe(OrcSerDeProperty.builder()
                                         .blockSizeBytes(123)
                                         .bloomFilterColumns(List.of("bloomFilterColumns"))
                                         .bloomFilterFalsePositiveProbability(123)
                                         .compression("compression")
                                         .dictionaryKeyThreshold(123)
                                         .enablePadding(false)
                                         .formatVersion("formatVersion")
                                         .paddingTolerance(123)
                                         .rowIndexStride(123)
                                         .stripeSizeBytes(123)
                                         .build())
                                 .parquetSerDe(ParquetSerDeProperty.builder()
                                         .blockSizeBytes(123)
                                         .compression("compression")
                                         .enableDictionaryCompression(false)
                                         .maxPaddingBytes(123)
                                         .pageSizeBytes(123)
                                         .writerVersion("writerVersion")
                                         .build())
                                 .build())
                         .build())
                 .schemaConfiguration(SchemaConfigurationProperty.builder()
                         .catalogId("catalogId")
                         .databaseName("databaseName")
                         .region("region")
                         .roleArn("roleArn")
                         .tableName("tableName")
                         .versionId("versionId")
                         .build())
                 .build())
         .dynamicPartitioningConfiguration(DynamicPartitioningConfigurationProperty.builder()
                 .enabled(false)
                 .retryOptions(RetryOptionsProperty.builder()
                         .durationInSeconds(123)
                         .build())
                 .build())
         .encryptionConfiguration(EncryptionConfigurationProperty.builder()
                 .kmsEncryptionConfig(KMSEncryptionConfigProperty.builder()
                         .awskmsKeyArn("awskmsKeyArn")
                         .build())
                 .noEncryptionConfig("noEncryptionConfig")
                 .build())
         .errorOutputPrefix("errorOutputPrefix")
         .prefix("prefix")
         .processingConfiguration(ProcessingConfigurationProperty.builder()
                 .enabled(false)
                 .processors(List.of(ProcessorProperty.builder()
                         .type("type")
                         // the properties below are optional
                         .parameters(List.of(ProcessorParameterProperty.builder()
                                 .parameterName("parameterName")
                                 .parameterValue("parameterValue")
                                 .build()))
                         .build()))
                 .build())
         .s3BackupConfiguration(S3DestinationConfigurationProperty.builder()
                 .bucketArn("bucketArn")
                 .roleArn("roleArn")
                 // the properties below are optional
                 .bufferingHints(BufferingHintsProperty.builder()
                         .intervalInSeconds(123)
                         .sizeInMBs(123)
                         .build())
                 .cloudWatchLoggingOptions(CloudWatchLoggingOptionsProperty.builder()
                         .enabled(false)
                         .logGroupName("logGroupName")
                         .logStreamName("logStreamName")
                         .build())
                 .compressionFormat("compressionFormat")
                 .encryptionConfiguration(EncryptionConfigurationProperty.builder()
                         .kmsEncryptionConfig(KMSEncryptionConfigProperty.builder()
                                 .awskmsKeyArn("awskmsKeyArn")
                                 .build())
                         .noEncryptionConfig("noEncryptionConfig")
                         .build())
                 .errorOutputPrefix("errorOutputPrefix")
                 .prefix("prefix")
                 .build())
         .s3BackupMode("s3BackupMode")
         .build();
 
  • Method Details

    • getBucketArn

      @Stability(Stable) @NotNull String getBucketArn()
      The Amazon Resource Name (ARN) of the Amazon S3 bucket.

      For constraints, see ExtendedS3DestinationConfiguration in the Amazon Kinesis Data Firehose API Reference .

    • getRoleArn

      @Stability(Stable) @NotNull String getRoleArn()
      The Amazon Resource Name (ARN) of the AWS credentials.

      For constraints, see ExtendedS3DestinationConfiguration in the Amazon Kinesis Data Firehose API Reference .

    • getBufferingHints

      @Stability(Stable) @Nullable default Object getBufferingHints()
      The buffering option.
    • getCloudWatchLoggingOptions

      @Stability(Stable) @Nullable default Object getCloudWatchLoggingOptions()
      The Amazon CloudWatch logging options for your delivery stream.
    • getCompressionFormat

      @Stability(Stable) @Nullable default String getCompressionFormat()
      The compression format.

      If no value is specified, the default is UNCOMPRESSED .

    • getDataFormatConversionConfiguration

      @Stability(Stable) @Nullable default Object getDataFormatConversionConfiguration()
      The serializer, deserializer, and schema for converting data from the JSON format to the Parquet or ORC format before writing it to Amazon S3.
    • getDynamicPartitioningConfiguration

      @Stability(Stable) @Nullable default Object getDynamicPartitioningConfiguration()
      The configuration of the dynamic partitioning mechanism that creates targeted data sets from the streaming data by partitioning it based on partition keys.
    • getEncryptionConfiguration

      @Stability(Stable) @Nullable default Object getEncryptionConfiguration()
      The encryption configuration for the Kinesis Data Firehose delivery stream.

      The default value is NoEncryption .

    • getErrorOutputPrefix

      @Stability(Stable) @Nullable default String getErrorOutputPrefix()
      A prefix that Kinesis Data Firehose evaluates and adds to failed records before writing them to S3.

      This prefix appears immediately following the bucket name. For information about how to specify this prefix, see Custom Prefixes for Amazon S3 Objects .

    • getPrefix

      @Stability(Stable) @Nullable default String getPrefix()
      The YYYY/MM/DD/HH time format prefix is automatically used for delivered Amazon S3 files.

      For more information, see ExtendedS3DestinationConfiguration in the Amazon Kinesis Data Firehose API Reference .

    • getProcessingConfiguration

      @Stability(Stable) @Nullable default Object getProcessingConfiguration()
      The data processing configuration for the Kinesis Data Firehose delivery stream.
    • getS3BackupConfiguration

      @Stability(Stable) @Nullable default Object getS3BackupConfiguration()
      The configuration for backup in Amazon S3.
    • getS3BackupMode

      @Stability(Stable) @Nullable default String getS3BackupMode()
      The Amazon S3 backup mode.

      After you create a delivery stream, you can update it to enable Amazon S3 backup if it is disabled. If backup is enabled, you can't update the delivery stream to disable it.

    • builder

      Returns:
      a CfnDeliveryStream.ExtendedS3DestinationConfigurationProperty.Builder of CfnDeliveryStream.ExtendedS3DestinationConfigurationProperty