CloudFormation guard rules template for SNS resources

The following rules are included: 

  • Encryption Enabled

let sns_topics = Resources.*[
	Type == "AWS::SNS::Topic"
]

rule sns_encryption when %sns_topics !empty {
	%sns_topics {
		Properties {
			KmsMasterKeyId exists <<Encryption is disabled.>>
		}
	}
}


Actions



Customize Template

* Required field