How to enable Kinesis Firehose new line delimiter via CloudFormation?

0

There is a relatively new feature for Firehose to append new line at the end of records before saving them to S3: https://docs.aws.amazon.com/firehose/latest/dev/create-destination.html

by enabling "new line delimiter" option. I can see this option in the console, but I cannot see anything mentioned about it in the KinesisFirehose CF documentations:

Is it possible to enable the "new line delimiter" option via CloudFormation? If yes, then how?

hRed
gefragt vor einem Monat295 Aufrufe
1 Antwort
1
Akzeptierte Antwort

The new line delimiter configuration is a type under the Processing Configuration within your Cloud Formation Template for your S3 Destination.

For JSON this will look like:

{ "Type": "AppendDelimiterToRecord", "Parameters": [ { "ParameterName": "Delimiter", "ParameterValue": "\n" } ]

For the YAML this will look like:

  • Type: AppendDelimiterToRecord Parameters: - ParameterName: Delimiter ParameterValue: "\n"

For a more detailed example of how this should look from a higher level within your template, please refer to the documentation [1] below:

[1] AWS::KinesisFirehose::DeliveryStream - Specify an Amazon S3 Destination for the Delivery Stream - https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisfirehose-deliverystream.html#aws-resource-kinesisfirehose-deliverystream--examples--Specify_an_Amazon_S3_Destination_for_the_Delivery_Stream

For a list of all Processor type configurations, please refer to the documentation [2] below:

[2] https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-processor.html#:~:text=AppendDelimiterToRecord

AWS
beantwortet vor einem Monat
profile picture
EXPERTE
überprüft vor einem Monat
  • Will this incur additional pricing if I try to do it without dynamic partitioning?

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen