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.
To create a traffic policy, send a POST
request to the
/Route 53 API version/trafficpolicyresource. The request body must include a document with a
CreateTrafficPolicyRequest
element. The response includes
the CreateTrafficPolicyResponse
element, which contains information about
the new traffic policy.
Namespace: Amazon.Route53.Model
Assembly: AWSSDK.dll
Version: (assembly version)
public class CreateTrafficPolicyRequest : AmazonRoute53Request IRequestEvents
The CreateTrafficPolicyRequest type exposes the following members
Name | Description | |
---|---|---|
CreateTrafficPolicyRequest() |
Name | Type | Description | |
---|---|---|---|
Comment | System.String |
Gets and sets the property Comment.
Any comments that you want to include about the traffic policy. |
|
Document | System.String |
Gets and sets the property Document.
The definition of this traffic policy in JSON format. |
|
Name | System.String |
Gets and sets the property Name.
The name of the traffic policy. |
.NET Framework:
Supported in: 4.5, 4.0, 3.5
.NET for Windows Store apps:
Supported in: Windows 8