(Optional) Configure record transformation and format conversion - Amazon Data Firehose
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Firehose supports database as a source in all Amazon Web Services Regions except China Regions, Amazon GovCloud (US) Regions, and Asia Pacific (Malaysia). This feature is in preview and is subject to change. Do not use it for your production workloads.

(Optional) Configure record transformation and format conversion

Configure Amazon Data Firehose to transform and convert your record data.

In the Transform source records with Amazon Lambda section, provide values for the following field.
  1. Data transformation

    To create a Firehose stream that doesn't transform incoming data, do not check the Enable data transformation checkbox.

    To specify a Lambda function for Firehose to invoke and use to transform incoming data before delivering it, check the Enable data transformation checkbox. You can configure a new Lambda function using one of the Lambda blueprints or choose an existing Lambda function. Your Lambda function must contain the status model that is required by Firehose. For more information, see Transform source data in Amazon Data Firehose.

  2. In the Convert record format section, provide values for the following field:

    Record format conversion

    To create a Firehose stream that doesn't convert the format of the incoming data records, choose Disabled.

    To convert the format of the incoming records, choose Enabled, then specify the output format you want. You need to specify an Amazon Glue table that holds the schema that you want Firehose to use to convert your record format. For more information, see Convert input data format in Amazon Data Firehose.

    For an example of how to set up record format conversion with Amazon CloudFormation, see Amazon::KinesisFirehose::DeliveryStream.

In the Source settings section, provide the following fields.
  1. Under Transform records, choose one of the following:

    1. If your destination is Amazon S3 or Splunk, in the Decompress source records Amazon CloudWatch Logs section, choose Turn on decompression.

    2. In the Transform source records with Amazon Lambda section, provide values for the following field:

      Data transformation

      To create a Firehose stream that doesn't transform incoming data, do not check the Enable data transformation checkbox.

      To specify a Lambda function for Amazon Data Firehose to invoke and use to transform incoming data before delivering it, check the Enable data transformation checkbox. You can configure a new Lambda function using one of the Lambda blueprints or choose an existing Lambda function. Your Lambda function must contain the status model that is required by Amazon Data Firehose. For more information, see Transform source data in Amazon Data Firehose.

  2. In the Convert record format section, provide values for the following field:

    Record format conversion

    To create a Firehose stream that doesn't convert the format of the incoming data records, choose Disabled.

    To convert the format of the incoming records, choose Enabled, then specify the output format you want. You need to specify an Amazon Glue table that holds the schema that you want Amazon Data Firehose to use to convert your record format. For more information, see Convert input data format in Amazon Data Firehose.

    For an example of how to set up record format conversion with Amazon CloudFormation, see Amazon::KinesisFirehose::DeliveryStream.