Class CfnDeliveryStream.DeserializerProperty
The deserializer you want Kinesis Data Firehose to use for converting the input data from JSON.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.KinesisFirehose
Assembly: Amazon.CDK.AWS.KinesisFirehose.dll
Syntax (csharp)
public class DeserializerProperty : Object, CfnDeliveryStream.IDeserializerProperty
Syntax (vb)
Public Class DeserializerProperty
Inherits Object
Implements CfnDeliveryStream.IDeserializerProperty
Remarks
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 .
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.KinesisFirehose;
var deserializerProperty = new DeserializerProperty {
HiveJsonSerDe = new HiveJsonSerDeProperty {
TimestampFormats = new [] { "timestampFormats" }
},
OpenXJsonSerDe = new OpenXJsonSerDeProperty {
CaseInsensitive = false,
ColumnToJsonKeyMappings = new Dictionary<string, string> {
{ "columnToJsonKeyMappingsKey", "columnToJsonKeyMappings" }
},
ConvertDotsInJsonKeysToUnderscores = false
}
};
Synopsis
Constructors
DeserializerProperty() |
Properties
HiveJsonSerDe | The native Hive / HCatalog JsonSerDe. |
OpenXJsonSerDe | The OpenX SerDe. |
Constructors
DeserializerProperty()
public DeserializerProperty()
Properties
HiveJsonSerDe
The native Hive / HCatalog JsonSerDe.
public object HiveJsonSerDe { get; set; }
Property Value
System.Object
Remarks
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.
OpenXJsonSerDe
The OpenX SerDe.
public object OpenXJsonSerDe { get; set; }
Property Value
System.Object
Remarks
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.