Skip to content

Instantly share code, notes, and snippets.

@richardgrantserverless
Created May 26, 2022 14:34
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 richardgrantserverless/168ee79e81960339005cdc47daabb8be to your computer and use it in GitHub Desktop.
Save richardgrantserverless/168ee79e81960339005cdc47daabb8be to your computer and use it in GitHub Desktop.
service: cloudwatch-ssm
provider:
name: aws
runtime: python3.6
stage: dev
region: us-east-1
iamRoleStatements:
- Effect: "Allow"
Action:
- "ssm:DescribeParameters"
Resource: "*"
environment:
SLACK_URL: 'INSERT SLACK URL'
functions:
parameter:
handler: handler.parameter
events:
- cloudwatchEvent:
event:
source:
- "aws.ssm"
detail-type:
- "Parameter Store Change"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment