class Aws::CloudFront::Types::Restrictions

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

@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"],
      },
    }

@!attribute [rw] geo_restriction

A complex type that controls the countries in which your content is
distributed. CloudFront determines the location of your users using
`MaxMind` GeoIP databases.
@return [Types::GeoRestriction]

@see docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/Restrictions AWS API Documentation

Constants

SENSITIVE