This commit is contained in:
Layla 2020-05-14 05:39:02 -04:00
parent 5c491f97a2
commit bc66b14208
No known key found for this signature in database
GPG Key ID: A494D9357BA1BE31

View File

@ -26,14 +26,16 @@ Parameters:
Resources:
TaskListRule:
EventPattern:
source:
- "aws.ecs"
detail-type:
- "ECS Task State Change"
detail:
clusterArn:
- !Ref Cluster
Targets:
- Id: RedisUpdater
Arn: !Ref LambdaArn
Type: AWS::Events::Rule
Properties:
EventPattern:
source:
- "aws.ecs"
detail-type:
- "ECS Task State Change"
detail:
clusterArn:
- !Ref Cluster
Targets:
- Id: RedisUpdater
Arn: !Ref LambdaArn