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.

Constant Summary collapse

SENSITIVE =
[]

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.


12447
12448
12449
12450
12451
# File 'lib/aws-sdk-cloudfront/types.rb', line 12447

class Restrictions < Struct.new(
  :geo_restriction)
  SENSITIVE = []
  include Aws::Structure
end