Skip to content

Commit

Permalink
rollout OAM Link StackSet
Browse files Browse the repository at this point in the history
  • Loading branch information
tmclaugh committed Aug 17, 2024
1 parent 6420938 commit 2e9ccdc
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion stacksets/datadog-shipping/logs-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -143,4 +143,16 @@ Resources:
CloudWatchLoggingOptions:
Enabled: true
LogGroupName: !Ref DeliveryStreamLogGroup
LogStreamName: !Ref BackupDeliveryLogStream
LogStreamName: !Ref BackupDeliveryLogStream

CloudWatchAccountPolicy:
Type: AWS::Logs::AccountPolicy
Properties:
PolicyName: Datadog-firegose
PolicyDocument: !Sub '{
"RoleArn":"${CloudWatchLogsRole.Arn}",
"DestinationArn":"${DatadogDeliveryStream.Arn}"
}'
SelectionCriteria: !Sub 'LogGroupName NOT IN ["${DeliveryStreamLogGroup}", "${BackupDeliveryLogStream}"]'
PolicyType: "SUBSCRIPTION_FILTER_POLICY"
Scope: "ALL"

0 comments on commit 2e9ccdc

Please sign in to comment.