

# cloudfront-associated-with-waf
<a name="cloudfront-associated-with-waf"></a>

Checks if Amazon CloudFront distributions are associated with either web application firewall (WAF) or WAFv2 web access control lists (ACLs). The rule is NON\$1COMPLIANT if a CloudFront distribution is not associated with a WAF web ACL. 



**Identifier:** CLOUDFRONT\$1ASSOCIATED\$1WITH\$1WAF

**Resource Types:** AWS::CloudFront::Distribution

**Trigger type:** Configuration changes

**AWS Region:** Only available in US East (N. Virginia) Region

**Parameters:**

wafWebAclIds (Optional)Type: CSV  
Comma-separated list of web ACL IDs for WAF or web ACL Amazon Resource Names (ARNs) for WAFV2

## AWS CloudFormation template
<a name="w2aac20c16c17b7d293c19"></a>

To create AWS Config managed rules with AWS CloudFormation templates, see [Creating AWS Config Managed Rules With AWS CloudFormation Templates](aws-config-managed-rules-cloudformation-templates.md).