AWS CloudFormation
User Guide (API Version 2010-05-15)
Did this page help you?  Yes | No |  Tell us about it...
« PreviousNext »
View the PDF for this guide.Go to the AWS Discussion Forum for this product.Go to the Kindle Store to download this guide in Kindle format.

CloudFront Logging

Logging is a property of the DistributionConfig property that enables Amazon CloudFront to deliver access logs for each distribution to an Amazon Simple Storage Service (S3) bucket.


  "Bucket" : String,
  "IncludeCookies" : Boolean,
  "Prefix" : String



For more information about the constraints and valid values of each property, see the elements table in the DistributionConfig Complex Type topic in the Amazon CloudFront API Reference.


The Amazon S3 bucket address where access logs are stored, for example,

Required: Yes

Type: String


Indicates whether CloudFront includes cookies in access logs.

Required: No

Type: Boolean


A prefix for the access log file names for this distribution.

Required: No

Type: String