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
已提问 1 个月前295 查看次数
1 回答
1
已接受的回答

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
已回答 1 个月前
profile picture
专家
已审核 1 个月前
  • Will this incur additional pricing if I try to do it without dynamic partitioning?

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则