DistributionRestrictionsGeoRestriction class

Constructors

DistributionRestrictionsGeoRestriction({Input<List<String>?>? locations, required Input<String> restrictionType})
Creates a new DistributionRestrictionsGeoRestriction. locations ISO 3166-1-alpha-2 codes for which you want CloudFront either to distribute your content (whitelist) or not distribute your content (blacklist). If the type is specified as none an empty array can be used. restrictionType Method that you want to use to restrict distribution of your content by country: none, whitelist, or blacklist.
const
DistributionRestrictionsGeoRestriction.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
locations → Input<List<String>?>?
ISO 3166-1-alpha-2 codes for which you want CloudFront either to distribute your content (whitelist) or not distribute your content (blacklist). If the type is specified as none an empty array can be used.
final
restrictionType → Input<String>
Method that you want to use to restrict distribution of your content by country: none, whitelist, or blacklist.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited