AWS CloudFormation
User Guide (API Version 2010-05-15)
« 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.Did this page help you?  Yes | No |  Tell us about it...

CloudFront Logging Type

Logging is an embedded property of the DistributionConfig type.

Syntax

{
   "Bucket" : String,
   "Prefix" : String
}     

Properties

Note

For more information about constraints and values for each property, see DistributionConfig Complex Type.

Bucket

The Amazon S3 bucket to store the access logs in.

Required: Yes

Type: String

Prefix

An optional string that, if defined, will be used as a prefix for the access log file names for this distribution.

Required: No

Type: String

Template Examples

To view AWS::CloudFront::Distribution snippets, see Amazon CloudFront Template Snippets.