Class: Aws::CloudFront::Types::GeoRestrictionCustomization
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudFront::Types::GeoRestrictionCustomization
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-cloudfront/types.rb
Overview
The customizations that you specified for the distribution tenant for geographic restrictions.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#locations ⇒ Array<String>
The locations for geographic restrictions.
-
#restriction_type ⇒ String
The method that you want to use to restrict distribution of your content by country:.
Instance Attribute Details
#locations ⇒ Array<String>
The locations for geographic restrictions.
6195 6196 6197 6198 6199 6200 |
# File 'lib/aws-sdk-cloudfront/types.rb', line 6195 class GeoRestrictionCustomization < Struct.new( :restriction_type, :locations) SENSITIVE = [] include Aws::Structure end |
#restriction_type ⇒ String
The method that you want to use to restrict distribution of your content by country:
-
‘none`: No geographic restriction is enabled, meaning access to content is not restricted by client geo location.
-
‘blacklist`: The `Location` elements specify the countries in which you don’t want CloudFront to distribute your content.
-
‘whitelist`: The `Location` elements specify the countries in which you want CloudFront to distribute your content.
6195 6196 6197 6198 6199 6200 |
# File 'lib/aws-sdk-cloudfront/types.rb', line 6195 class GeoRestrictionCustomization < Struct.new( :restriction_type, :locations) SENSITIVE = [] include Aws::Structure end |