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.
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/trafficpolicyinstanceresource. 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.
Namespace: Amazon.Route53.Model
Assembly: AWSSDK.dll
Version: (assembly version)
public class CreateTrafficPolicyInstanceRequest : AmazonRoute53Request IRequestEvents
The CreateTrafficPolicyInstanceRequest type exposes the following members
Name | Description | |
---|---|---|
CreateTrafficPolicyInstanceRequest() |
Name | Type | Description | |
---|---|---|---|
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. |
|
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. |
|
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. |
|
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. |
|
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. |
.NET Framework:
Supported in: 4.5, 4.0, 3.5
.NET for Windows Store apps:
Supported in: Windows 8