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 the new traffic policy instance.

Inheritance Hierarchy

System.Object
  Amazon.Route53.Model.TrafficPolicyInstance

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

Syntax

C#
public class TrafficPolicyInstance

The TrafficPolicyInstance type exposes the following members

Constructors

NameDescription
Public Method TrafficPolicyInstance()

Properties

NameTypeDescription
Public Property HostedZoneId System.String

Gets and sets the property HostedZoneId.

The ID of the hosted zone that Amazon Route 53 created resource record sets in.

Public Property Id System.String

Gets and sets the property Id.

The ID that Amazon Route 53 assigned to the new traffic policy instance.

Public Property Message System.String

Gets and sets the property Message.

If State is Failed, an explanation of the reason for the failure. If State is another value, Message is empty.

Public Property Name System.String

Gets and sets the property Name.

The DNS name, such as www.example.com, for which Amazon Route 53 responds to queries by using the resource record sets that are associated with this traffic policy instance.

Public Property State System.String

Gets and sets the property State.

The value of State is one of the following values:

Applied

Amazon Route 53 has finished creating resource record sets, and changes have propagated to all Amazon Route 53 edge locations.

Creating

Amazon Route 53 is creating the resource record sets. Use GetTrafficPolicyInstance to confirm that the CreateTrafficPolicyInstance request completed successfully.

Failed

Amazon Route 53 wasn't able to create or update the resource record sets. When the value of State is Failed, see Message for an explanation of what caused the request to fail.

Public Property TrafficPolicyId System.String

Gets and sets the property TrafficPolicyId.

The ID of the traffic policy that Amazon Route 53 used to create resource record sets in the specified hosted zone.

Public Property TrafficPolicyType Amazon.Route53.RRType

Gets and sets the property TrafficPolicyType.

The DNS type that Amazon Route 53 assigned to all of the resource record sets that it created for this traffic policy instance.

Public Property TrafficPolicyVersion System.Int32

Gets and sets the property TrafficPolicyVersion.

The version of the traffic policy that Amazon Route 53 used to create resource record sets in the specified hosted zone.

Public Property TTL System.Int64

Gets and sets the property TTL.

The TTL that Amazon Route 53 assigned to all of the resource record sets that it created in the specified hosted zone.

Version Information

.NET Standard:
Supported in: 1.3

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

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms