Interface CfnDeliveryStream.DeserializerProperty

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

@Stability(Stable) public static interface CfnDeliveryStream.DeserializerProperty extends software.amazon.jsii.JsiiSerializable
The deserializer you want Kinesis Data Firehose to use for converting the input data from JSON.

Kinesis Data Firehose then serializes the data to its final format using the Serializer . Kinesis Data Firehose supports two types of deserializers: the Apache Hive JSON SerDe and the OpenX JSON SerDe .

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.*;
 DeserializerProperty deserializerProperty = DeserializerProperty.builder()
         .hiveJsonSerDe(HiveJsonSerDeProperty.builder()
                 .timestampFormats(List.of("timestampFormats"))
                 .build())
         .openXJsonSerDe(OpenXJsonSerDeProperty.builder()
                 .caseInsensitive(false)
                 .columnToJsonKeyMappings(Map.of(
                         "columnToJsonKeyMappingsKey", "columnToJsonKeyMappings"))
                 .convertDotsInJsonKeysToUnderscores(false)
                 .build())
         .build();
 
  • Method Details

    • getHiveJsonSerDe

      @Stability(Stable) @Nullable default Object getHiveJsonSerDe()
      The native Hive / HCatalog JsonSerDe.

      Used by Kinesis Data Firehose for deserializing data, which means converting it from the JSON format in preparation for serializing it to the Parquet or ORC format. This is one of two deserializers you can choose, depending on which one offers the functionality you need. The other option is the OpenX SerDe.

    • getOpenXJsonSerDe

      @Stability(Stable) @Nullable default Object getOpenXJsonSerDe()
      The OpenX SerDe.

      Used by Kinesis Data Firehose for deserializing data, which means converting it from the JSON format in preparation for serializing it to the Parquet or ORC format. This is one of two deserializers you can choose, depending on which one offers the functionality you need. The other option is the native Hive / HCatalog JsonSerDe.

    • builder

      @Stability(Stable) static CfnDeliveryStream.DeserializerProperty.Builder builder()
      Returns:
      a CfnDeliveryStream.DeserializerProperty.Builder of CfnDeliveryStream.DeserializerProperty