Class DistributionRestrictionsGeoRestriction
- java.lang.Object
-
- com.pulumi.aws.cloudfront.outputs.DistributionRestrictionsGeoRestriction
-
public final class DistributionRestrictionsGeoRestriction extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDistributionRestrictionsGeoRestriction.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DistributionRestrictionsGeoRestriction.Builderbuilder()static DistributionRestrictionsGeoRestriction.Builderbuilder(DistributionRestrictionsGeoRestriction defaults)java.util.List<java.lang.String>locations()java.lang.StringrestrictionType()
-
-
-
Method Detail
-
locations
public java.util.List<java.lang.String> locations()
- Returns:
- [ISO 3166-1-alpha-2 codes](http://www.iso.org/iso/country_codes/iso_3166_code_lists/country_names_and_code_elements.htm) 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
public java.lang.String restrictionType()
- Returns:
- Method that you want to use to restrict distribution of your content by country: `none`, `whitelist`, or `blacklist`.
-
builder
public static DistributionRestrictionsGeoRestriction.Builder builder()
-
builder
public static DistributionRestrictionsGeoRestriction.Builder builder(DistributionRestrictionsGeoRestriction defaults)
-
-