AWS SDK Version 2 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

Inheritance Hierarchy

System.Object
  Amazon.CloudFront.Model.Restrictions

Namespace: Amazon.CloudFront.Model
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public class Restrictions : Object

The Restrictions type exposes the following members

Constructors

NameDescription
Public Method Restrictions() Empty constructor used to set properties independently even when a simple constructor is available
Public Method Restrictions(GeoRestriction) Instantiates Restrictions with the parameterized properties

Properties

NameTypeDescription
Public Property GeoRestriction Amazon.CloudFront.Model.GeoRestriction Gets and sets the property GeoRestriction.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

.NET for Windows Store apps:
Supported in: Windows 8