GeoRestrictionArgs

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

Definition of GeoRestriction

Constructors

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

Properties

Link copied to clipboard
val locations: Output<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: Output<String>? = null

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

Functions

Link copied to clipboard
open override fun toJava(): GeoRestrictionArgs