AWS CloudFormation
User Guide (API Version 2010-05-15)

CloudFront Distribution Restrictions

Restrictions is a property of the CloudFront Distribution DistributionConfig property type that lets you limit which viewers can access your content.

Syntax

JSON

{ "GeoRestriction" : GeoRestriction }

YAML

GeoRestriction: GeoRestriction

Properties

Note

For more information about the constraints and valid values of each property, see the Restrictions data type in the Amazon CloudFront API Reference.

GeoRestriction

The countries in which viewers are able to access your content.

Required: Yes

Type: CloudFront Distribution GeoRestriction

On this page: