Add lambda perms
This commit is contained in:
@ -25,6 +25,15 @@ Parameters:
|
|||||||
|
|
||||||
Resources:
|
Resources:
|
||||||
|
|
||||||
|
CloudWatchLambdaPermission:
|
||||||
|
Type: AWS::Lambda::Permission
|
||||||
|
Condition: Automated
|
||||||
|
Properties:
|
||||||
|
Action: lambda:InvokeFunction
|
||||||
|
Principal: events.amazonaws.com
|
||||||
|
SourceArn: !GetAtt TaskListRule.Arn
|
||||||
|
FunctionName: !Ref LambdaArn
|
||||||
|
|
||||||
TaskListRule:
|
TaskListRule:
|
||||||
Type: AWS::Events::Rule
|
Type: AWS::Events::Rule
|
||||||
Properties:
|
Properties:
|
||||||
|
Reference in New Issue
Block a user