Notify SNS subscriber on S3 bucket policy changes
- Send notification to DL on S3 bucket policy changes.
- Checks bucket policy actions if it has 's3:*' in it.
- Checks the bucket policy principal to know which role ARN or Account has been given acces.
- Checks who initiate the bucket policy change.
- Notifies if the policy change action is success or failed.
- Removed hardcoding of SNS topic name and others
Rajdeep Das