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
 
Container for the parameters to the CreateTrafficPolicyInstance operation. Creates resource record sets in a specified hosted zone based on the settings in a specified traffic policy version. In addition, CreateTrafficPolicyInstance associates the resource record sets with a specified domain name (such as example.com) or subdomain name (such as www.example.com). Amazon Route 53 responds to DNS queries for the domain or subdomain name by using the resource record sets that CreateTrafficPolicyInstance created.

To create a traffic policy instance, send a POST request to the

/Route
            53 API version/trafficpolicyinstance
resource. The request body must include a document with a CreateTrafficPolicyRequest element. The response returns the CreateTrafficPolicyInstanceResponse element, which contains information about the traffic policy instance.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.Route53.AmazonRoute53Request
      Amazon.Route53.Model.CreateTrafficPolicyInstanceRequest

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

Syntax

C#
public class CreateTrafficPolicyInstanceRequest : AmazonRoute53Request
         IRequestEvents

The CreateTrafficPolicyInstanceRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property HostedZoneId System.String Gets and sets the property HostedZoneId.

The ID of the hosted zone in which you want Amazon Route 53 to create resource record sets by using the configuration in a traffic policy.

Public Property Name System.String Gets and sets the property Name.

The domain name (such as example.com) or subdomain name (such as www.example.com) for which Amazon Route 53 responds to DNS queries by using the resource record sets that Amazon Route 53 creates for this traffic policy instance.

Public Property TrafficPolicyId System.String Gets and sets the property TrafficPolicyId.

The ID of the traffic policy that you want to use to create resource record sets in the specified hosted zone.

Public Property TrafficPolicyVersion System.Int32 Gets and sets the property TrafficPolicyVersion.

The version of the traffic policy that you want to use to create resource record sets in the specified hosted zone.

Public Property TTL System.Int64 Gets and sets the property TTL.

The TTL that you want Amazon Route 53 to assign to all of the resource record sets that it creates in the specified hosted zone.

Version Information

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

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