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
 
An invalidation batch.

Inheritance Hierarchy

System.Object
  Amazon.CloudFront.Model.InvalidationBatch

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

Syntax

C#
public class InvalidationBatch : Object

The InvalidationBatch type exposes the following members

Constructors

NameDescription
Public Method InvalidationBatch() Empty constructor used to set properties independently even when a simple constructor is available
Public Method InvalidationBatch(Paths, string) Instantiates InvalidationBatch with the parameterized properties
Public Method InvalidationBatch(string) Instantiates InvalidationBatch with the parameterized properties

Properties

NameTypeDescription
Public Property CallerReference System.String Gets and sets the property CallerReference. A unique name that ensures the request can't be replayed. If the CallerReference is new (no matter the content of the Path object), a new distribution is created. If the CallerReference is a value you already sent in a previous request to create an invalidation batch, and the content of each Path element is identical to the original request, the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create a distribution but the content of any Path is different from the original request, CloudFront returns an InvalidationBatchAlreadyExists error.
Public Property Paths Amazon.CloudFront.Model.Paths Gets and sets the property Paths. The path of the object to invalidate. The path is relative to the distribution and must begin with a slash (/). You must enclose each invalidation object with the Path element tags. If the path includes non-ASCII characters or unsafe characters as defined in RFC 1783 (http://www.ietf.org/rfc/rfc1738.txt), URL encode those characters. Do not URL encode any other characters in the path, or CloudFront will not invalidate the old version of the updated object.

Version Information

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

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