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 DefaultCacheBehavior Type

Describes the default cache behavior for an Amazon CloudFront distribution. This is an embedded property of the DistributionConfig type.

Syntax

{
   "TargetOriginId" : String,
   "ForwardedValues" : ForwardedValues,
   "TrustedSigners" : [ String, ... ],
   "ViewerProtocolPolicy" : String,
   "MinTTL" : String
}     

Properties

TargetOriginId

The value of ID for the origin that you want CloudFront to route requests to when the default cache behavior is applicable to a request.

Required: Yes

Type: String

ForwardedValues

Specifies how CloudFront handles query strings.

Required: Yes

Type: ForwardedValues type

TrustedSigners

A list of AWS accounts that you want to allow to create signed URLs for private content.

Required: No

Type: list of Strings

ViewerProtocolPolicy

Specifies the protocol that users can use to access the files in the origin specified by TargetOriginId when the default cache behavior is applicable to a request.

Required: Yes

Type: String

MinTTL

The minimum amount of time that you want objects to stay in the cache before CloudFront queries your origin to see whether the object has been updated.

Required: No

Type: String

Template Examples

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