Class: Aws::CloudFront::Types::Restrictions

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-cloudfront/types.rb

Overview

Note:

When making an API call, you may pass Restrictions data as a hash:

{
  geo_restriction: { # required
    restriction_type: "blacklist", # required, accepts blacklist, whitelist, none
    quantity: 1, # required
    items: ["string"],
  },
}

A complex type that identifies ways in which you want to restrict distribution of your content.

Instance Attribute Summary collapse

Instance Attribute Details

#geo_restrictionTypes::GeoRestriction

A complex type that controls the countries in which your content is distributed. CloudFront determines the location of your users using ‘MaxMind` GeoIP databases.



6163
6164
6165
6166
# File 'lib/aws-sdk-cloudfront/types.rb', line 6163

class Restrictions < Struct.new(
  :geo_restriction)
  include Aws::Structure
end