Using Console
Using CLI
<ARN_of_SNS_Topic>
with the ARN of the SNS topic to which you want to send the alarm notifications.<ARN_of_AWS_Lambda_Function>
with the ARN of the AWS Lambda function that performs the action on the RDS instances.<IAM_Role_for_Lambda_Function>
with the IAM role assigned to the Lambda function and <Bucket_Name>
and <Lambda_Zip_File>
with the S3 bucket name and Lambda zip file respectively.Using Python
AmazonRDSReadOnlyAccess
: Allows read-only access to RDS instances.AmazonRDSFullAccess
: Allows full access to RDS instances (for stopping them).