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