#This is a comment to ensure comments in custom rules work
AWS::IAM::Role AssumeRolePolicyDocument.Version EQUALS "2012-10-17"
AWS::IAM::Role AssumeRolePolicyDocument.Version IN [2012-10-16,2012-10-17,2012-10-18]
AWS::IAM::Role AssumeRolePolicyDocument.Version NOT_EQUALS "2012-10-15"
AWS::IAM::Role AssumeRolePolicyDocument.Version NOT_IN [2012-10-16,2012-11-20,2012-10-18]
AWS::IAM::Policy PolicyName EQUALS "root" WARN ABC
AWS::IAM::Policy PolicyName IN [2012-10-16,root,2012-10-18] ERROR ABC
AWS::IAM::Policy PolicyName NOT_EQUALS "user" WARN ABC
AWS::IAM::Policy PolicyName NOT_IN [2012-10-16,2012-11-20,2012-10-18] ERROR ABC
# Adding a comment in the middle of custom rules and new line for readability

AWS::EC2::Instance BlockDeviceMappings.Ebs.VolumeSize >= 20 WARN
AWS::EC2::Instance BlockDeviceMappings.Ebs.VolumeSize > 10 ERROR ABC
AWS::EC2::Instance BlockDeviceMappings.Ebs.VolumeSize <= 50 ERROR DEF
AWS::EC2::Instance BlockDeviceMappings.Ebs.VolumeSize < 40 WARN ABC
AWS::CloudFormation::Stack TemplateURL REGEX_MATCH "^https.*$" WARN ABC
AWS::Lambda::Function Environment.Variables.NODE_ENV IS DEFINED
AWS::Lambda::Function Environment.Variables.PRIVATE_KEY IS NOT_DEFINED
