AWS SDK Version 3 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.

A complex type that contains settings for a traffic policy.

Inheritance Hierarchy

System.Object
  Amazon.Route53.Model.TrafficPolicy

Namespace: Amazon.Route53.Model
Assembly: AWSSDK.Route53.dll
Version: 3.x.y.z

Syntax

C#
public class TrafficPolicy

The TrafficPolicy type exposes the following members

Constructors

NameDescription
Public Method TrafficPolicy()

Properties

NameTypeDescription
Public Property Comment System.String

Gets and sets the property Comment.

The comment that you specify in the CreateTrafficPolicy request, if any.

Public Property Document System.String

Gets and sets the property Document.

The definition of a traffic policy in JSON format. You specify the JSON document to use for a new traffic policy in the CreateTrafficPolicy request. For more information about the JSON format, see Traffic Policy Document Format.

Public Property Id System.String

Gets and sets the property Id.

The ID that Amazon Route 53 assigned to a traffic policy when you created it.

Public Property Name System.String

Gets and sets the property Name.

The name that you specified when you created the traffic policy.

Public Property Type Amazon.Route53.RRType

Gets and sets the property Type.

The DNS type of the resource record sets that Amazon Route 53 creates when you use a traffic policy to create a traffic policy instance.

Public Property Version System.Int32

Gets and sets the property Version.

The version number that Amazon Route 53 assigns to a traffic policy. For a new traffic policy, the value of Version is always 1.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

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