AWS::CloudFront::DistributionTenant GeoRestrictionCustomization - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon CloudFormation User Guide.

AWS::CloudFront::DistributionTenant GeoRestrictionCustomization

The customizations that you specified for the distribution tenant for geographic restrictions.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "Locations" : [ String, ... ], "RestrictionType" : String }

YAML

Locations: - String RestrictionType: String

Properties

Locations

The locations for geographic restrictions.

Required: No

Type: Array of String

Update requires: No interruption

RestrictionType

The method that you want to use to restrict distribution of your content by country:

  • none: No geographic restriction is enabled, meaning access to content is not restricted by client geo location.

  • blacklist: The Location elements specify the countries in which you don't want CloudFront to distribute your content.

  • whitelist: The Location elements specify the countries in which you want CloudFront to distribute your content.

Required: No

Type: String

Allowed values: blacklist | whitelist | none

Update requires: No interruption