Skip to content

Commit

Permalink
Add stack set status change rule
Browse files Browse the repository at this point in the history
  • Loading branch information
farski committed Apr 22, 2024
1 parent f331b6b commit b191ebb
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions event-rules/org-sink-rules/template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,20 @@ Resources:
- Arn: arn:aws:events:us-east-2:578003269847:event-bus/CloudFormation-org-sink
Id: org-sink-cfn-state-change
RoleArn: !Sub arn:${AWS::Partition}:iam::${AWS::AccountId}:role/PRX-CloudFormationOrgSinkRole
CloudFormationStackSetStateChangeRule:
Type: AWS::Events::Rule
Properties:
EventPattern:
detail-type:
- CloudFormation StackSet Status Change
- CloudFormation StackSet Operation Status Change
source:
- aws.cloudformation
State: ENABLED
Targets:
- Arn: arn:aws:events:us-east-2:578003269847:event-bus/CloudFormation-org-sink
Id: org-sink-cfn-stackset-change
RoleArn: !Sub arn:${AWS::Partition}:iam::${AWS::AccountId}:role/PRX-CloudFormationOrgSinkRole

CloudTrailRootActivityRule:
Type: AWS::Events::Rule
Expand Down

0 comments on commit b191ebb

Please sign in to comment.