

# cloudfront-accesslogs-enabled
<a name="cloudfront-accesslogs-enabled"></a>

Checks if Amazon CloudFront distributions are configured to deliver access logs to an Amazon S3 bucket using standard logging (legacy). The rule is NON\$1COMPLIANT if a CloudFront distribution does not have legacy logging configured. 



**Identifier:** CLOUDFRONT\$1ACCESSLOGS\$1ENABLED

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

**Trigger type:** Configuration changes

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

**Parameters:**

S3BucketName (Optional)Type: String  
The name of the Amazon S3 bucket for storing server access logs

## AWS CloudFormation template
<a name="w2aac20c16c17b7d291c19"></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).