
Create an EventBridge rule that invokes an SNS topic
git clone https://github.com/aws-samples/serverless-patterns/cd serverless-patterns/eventbridge-snssam deploy --guidedaws sns subscribe --topic-arn ENTER_YOUR_TOPIC_ARN --protocol email-json --notification-endpoint ENTER_YOUR_EMAIL_ADDRESSaws events put-events --entries file://event.json
The event is delivered to your email address.sam delete --stack-name STACK_NAME.aws cloudformation list-stacks --query "StackSummaries[?contains(StackName,'STACK_NAME')].StackStatus"