Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 1.16 KB

File metadata and controls

34 lines (23 loc) · 1.16 KB

Declare FireLens with FireHose Delivery Stream

Very simple example where you set the driver to awsfirelens and the FireHose plugin options. Compose-X will automatically deal with IAM permissions to enable everything for the plugin to work properly.

Warning

When using this method, you will have to ensure the IAM permissions for your Task Role are set properly. You can use the x-iam section to grant access to the delivery stream.

Tip

We highly recommend that you use x-kinesis_firehose.Lookup to let Compose-X automatically set the IAM permissions.

.. literalinclude:: docker-compose.yaml

LogConfiguration:
  LogDriver: awsfirelens
  Options:
    Name: kinesis_firehose
    delivery_stream: my-firehose-stream
    region: us-east-1