Skip to content

Instantly share code, notes, and snippets.

@deegloo
Created October 15, 2018 11:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save deegloo/4f7298f33c55109bfcde4899f4875de5 to your computer and use it in GitHub Desktop.
Save deegloo/4f7298f33c55109bfcde4899f4875de5 to your computer and use it in GitHub Desktop.
AWS Lambda invoke permission for CloudWatch scheduled rule
NotifierLambdaInvokePermission:
Type: AWS::Lambda::Permission
Properties:
FunctionName: !Ref NotifierLambda
Action: lambda:InvokeFunction
Principal: events.amazonaws.com
SourceArn: !GetAtt NotifierLambdaScheduledRule.Arn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment