GeoRestrictionResponse

data class GeoRestrictionResponse(val locations: List<String>? = null, val restrictionType: String? = null)

Definition of GeoRestriction

Constructors

Link copied to clipboard
constructor(locations: List<String>? = null, restrictionType: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val locations: List<String>? = null

A complex type that contains a `Location` element for each country in which you want CloudFront either to distribute your content or not distribute your content.

Link copied to clipboard
val restrictionType: String? = null

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