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

CloudFront DistributionConfiguration Restrictions

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

Syntax

JSON

Copy
{ "GeoRestriction" : GeoRestriction }

YAML

Copy
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 DistributionConfig Restrictions GeoRestriction