Menu
Amazon Route 53
API Reference

TrafficPolicy

A complex type that contains settings for a traffic policy.

Contents

Comment

The comment that you specify in the CreateTrafficPolicy request, if any.

Type: String

Length Constraints: Maximum length of 1024.

Required: No

Document

The definition of a traffic policy in JSON format. You specify the JSON document to use for a new traffic policy in the CreateTrafficPolicy request. For more information about the JSON format, see Traffic Policy Document Format.

Type: String

Length Constraints: Maximum length of 102400.

Required: Yes

Id

The ID that Amazon Route 53 assigned to a traffic policy when you created it.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 36.

Required: Yes

Name

The name that you specified when you created the traffic policy.

Type: String

Length Constraints: Maximum length of 512.

Required: Yes

Type

The DNS type of the resource record sets that Amazon Route 53 creates when you use a traffic policy to create a traffic policy instance.

Type: String

Valid Values: SOA | A | TXT | NS | CNAME | MX | NAPTR | PTR | SRV | SPF | AAAA | CAA

Required: Yes

Version

The version number that Amazon Route 53 assigns to a traffic policy. For a new traffic policy, the value of Version is always 1.

Type: Integer

Valid Range: Minimum value of 1. Maximum value of 1000.

Required: Yes

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

On this page: