logs_monitoring をカスタマイズして使用するのが目的です
Datadog Forwarder
以外の使用は想定していません
Datadog Forwarder Lambdaに設定されるIAMポリシー
- Effect: Allow
Action:
- s3:GetObject
Resource: 'arn:aws:s3:::*'
を削除して使用しています
aws/logs_monitoring/template.yamlをAWSコンソールからCloudFormationに入力してリソースの作成を行いました
作成さた tapple-datadog-forwarder-Forwarder
というLambdaにAWSコンソールからトリガーの追加を行っています
subscribeするCloudWatch Log Groupを追加したい場合はコンソールから設定してください