# AwsCommunity::CloudFront::WebACLAssociation An example resource schema demonstrating some basic constructs and validation rules. ## Syntax To declare this entity in your AWS CloudFormation template, use the following syntax: ### JSON
{
"Type" : "AwsCommunity::CloudFront::WebACLAssociation",
"Properties" : {
"DistributionArn" : String,
"WebAclArn" : String,
}
}
### YAML
Type: AwsCommunity::CloudFront::WebACLAssociation
Properties:
Title: String
WebAclArn: String
## Properties
#### DistributionArn
ARN of the CloudFront Distribution to which the webACL needs to be associatied.
_Required_: Yes
_Type_: String
_Minimum_: 20
_Maximum_: 250
_Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)
#### WebAclArn
ARN of the WebACL that needs to be associated with the CloudFront Distribution.
_Required_: Yes
_Type_: String
_Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)