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: Resources:
TaskListRule: TaskListRule:
EventPattern: Type: AWS::Events::Rule
source: Properties:
- "aws.ecs" EventPattern:
detail-type: source:
- "ECS Task State Change" - "aws.ecs"
detail: detail-type:
clusterArn: - "ECS Task State Change"
- !Ref Cluster detail:
Targets: clusterArn:
- Id: RedisUpdater - !Ref Cluster
Arn: !Ref LambdaArn Targets:
- Id: RedisUpdater
Arn: !Ref LambdaArn