interface HiveJsonInputFormatProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.KinesisFirehose.HiveJsonInputFormatProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awskinesisfirehose#HiveJsonInputFormatProps |
Java | software.amazon.awscdk.services.kinesisfirehose.HiveJsonInputFormatProps |
Python | aws_cdk.aws_kinesisfirehose.HiveJsonInputFormatProps |
TypeScript (source) | aws-cdk-lib » aws_kinesisfirehose » HiveJsonInputFormatProps |
Props for Hive JSON input format for data record format conversion.
Example
const inputFormat = new firehose.HiveJsonInputFormat({
timestampParsers: [
firehose.TimestampParser.fromFormatString('yyyy-MM-dd'),
firehose.TimestampParser.EPOCH_MILLIS,
]
})
Properties
| Name | Type | Description |
|---|---|---|
| timestamp | Timestamp[] | List of TimestampParsers. |
timestampParsers?
Type:
Timestamp[]
(optional, default: the default timestamp parser is used)
List of TimestampParsers.
These are used to parse custom timestamp strings from input JSON into dates.
Note: Specifying a parser will override the default timestamp parser. If the default timestamp parser is required,
include TimestampParser.DEFAULT in the list of parsers along with the custom parser.

.NET
Go
Java
Python
TypeScript (