Add lambda perms

This commit is contained in:
Layla 2020-05-15 20:25:01 -04:00
parent a10c9c20b2
commit 36e1bba05b
No known key found for this signature in database
GPG Key ID: A494D9357BA1BE31

View File

@ -25,6 +25,15 @@ Parameters:
Resources:
CloudWatchLambdaPermission:
Type: AWS::Lambda::Permission
Condition: Automated
Properties:
Action: lambda:InvokeFunction
Principal: events.amazonaws.com
SourceArn: !GetAtt TaskListRule.Arn
FunctionName: !Ref LambdaArn
TaskListRule:
Type: AWS::Events::Rule
Properties: