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.

Container for the parameters to the CreateTrafficPolicyVersion operation. Creates a new version of an existing traffic policy. When you create a new version of a traffic policy, you specify the ID of the traffic policy that you want to update and a JSON-formatted document that describes the new version. You use traffic policies to create multiple DNS resource record sets for one domain name (such as example.com) or one subdomain name (such as www.example.com). You can create a maximum of 1000 versions of a traffic policy. If you reach the limit and need to create another version, you'll need to start a new traffic policy.

Inheritance Hierarchy

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

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

Syntax

C#
public class CreateTrafficPolicyVersionRequest : AmazonRoute53Request
         IAmazonWebServiceRequest

The CreateTrafficPolicyVersionRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property Comment System.String

Gets and sets the property Comment.

The comment that you specified in the CreateTrafficPolicyVersion request, if any.

Public Property Document System.String

Gets and sets the property Document.

The definition of this version of the traffic policy, in JSON format. You specified the JSON in the CreateTrafficPolicyVersion request. For more information about the JSON format, see CreateTrafficPolicy.

Public Property Id System.String

Gets and sets the property Id.

The ID of the traffic policy for which you want to create a new version.

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