Add lambda perms
This commit is contained in:
parent
a10c9c20b2
commit
36e1bba05b
@ -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:
|
||||
|
Reference in New Issue
Block a user