---
type: resource-type
title: CfDistribution
description: aws resource type AWS::CloudFront::Distribution
name: CfDistribution
lexicon: aws
resource_type: AWS::CloudFront::Distribution
---
`AWS::CloudFront::Distribution`, a resource type of the aws lexicon.

## Properties

- `DistributionConfig` (`CfDistribution_DistributionConfig`, required): The distribution's configuration.
- `DomainName` (`string`, optional)
- `Id` (`string`, optional)
- `Tags` (`CfDistribution_Tag[]`, optional): A complex type that contains zero or more ``Tag`` elements.

## Attributes

- `DomainName`
- `Id`

## Governed by

- [WAW023](/rules/WAW023.md): CloudFront distribution has no WAF web ACL — consider attaching one for protection
