Menu
AWS Systems Manager
User Guide

Setting Up Notifications and Events for Systems Manager Parameters

You can use Amazon CloudWatch Events and Amazon SNS to notify you about changes to Systems Manager Parameters. You can be notified when a parameter is accessed, updated, or deleted. You can also be notified when a parameter has not been updated or accessed for a period of time.

You can also use CloudWatch to perform an action on a target for specific parameter events. This means, for example, that you can execute an AWS Lambda function to recreate a parameter when it is deleted. You can also set up a notification to trigger a Lambda function when your database password is updated. The Lambda fuction can force your database connections to reset or reconnect with the new password.

Before You Begin

Create an Amazon SNS topic. For more information, see Getting Started with Amazon SNS in the Amazon Simple Notification Service Developer Guide.

To configure CloudWatch Events for Systems Manager Parameters

  1. Sign in to the AWS Management Console and open the CloudWatch console at https://console.aws.amazon.com/cloudwatch/.

  2. In the left navigation pane, choose Events, and then choose Create rule.

  3. Under Event Source, verify that Event Pattern is selected.

  4. In the Service Name field, choose EC2 Simple Systems Manager (SSM)

  5. In the Event Type field, choose Parameter Store.

  6. Choose the detail types and statuses for which you want to receive notifications, and then choose Add targets.

  7. In the Targets list, choose a target type. For example, choose Lambda fuction or choose SNS topic. For information about the different types of targets, see the corresponding AWS Help documentation.

  8. Scroll down on the page, and then choose Configure details.

  9. Specify the rule details, and then choose Create rule.