Class: CloudFrontDistributionConfigRestrictionsGeoRestriction

Types~CloudFrontDistributionConfigRestrictionsGeoRestriction

new CloudFrontDistributionConfigRestrictionsGeoRestriction()

Properties:
Name Type Description
Locations String Required: Conditional. The two-letter, uppercase country code for a country that you want to include in your blacklist or whitelist.
RestrictionType String Required: Yes. The method to restrict distribution of your content:Prevents viewers in the countries that you specified from accessing your content.Allows viewers in the countries that you specified to access your content.No distribution restrictions by country.
blacklist undefined Required: undefined. Prevents viewers in the countries that you specified from accessing your content.
whitelist undefined Required: undefined. Allows viewers in the countries that you specified to access your content.
none undefined Required: undefined. No distribution restrictions by country.
Source: