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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cloudfront/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.



10198
10199
10200
10201
10202
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 10198

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