DistributionRestrictionsGeoRestriction class
Constructors
-
DistributionRestrictionsGeoRestriction({Input<
List< ? locations, required Input<String> ?>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 asnonean empty array can be used.restrictionTypeMethod that you want to use to restrict distribution of your content by country:none,whitelist, orblacklist.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 asnonean 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, orblacklist.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