Menu
Amazon Route 53
API Reference

TrafficPolicyInstance

A complex type that contains settings for the new traffic policy instance.

Contents

HostedZoneId

The ID of the hosted zone that Amazon Route 53 created resource record sets in.

Type: String

Length Constraints: Maximum length of 32.

Required: Yes

Id

The ID that Amazon Route 53 assigned to the new traffic policy instance.

Type: String

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

Required: Yes

Message

If State is Failed, an explanation of the reason for the failure. If State is another value, Message is empty.

Type: String

Length Constraints: Maximum length of 1024.

Required: Yes

Name

The DNS name, such as www.example.com, for which Amazon Route 53 responds to queries by using the resource record sets that are associated with this traffic policy instance.

Type: String

Length Constraints: Maximum length of 1024.

Required: Yes

State

The value of State is one of the following values:

Applied

Amazon Route 53 has finished creating resource record sets, and changes have propagated to all Amazon Route 53 edge locations.

Creating

Amazon Route 53 is creating the resource record sets. Use GetTrafficPolicyInstance to confirm that the CreateTrafficPolicyInstance request completed successfully.

Failed

Amazon Route 53 wasn't able to create or update the resource record sets. When the value of State is Failed, see Message for an explanation of what caused the request to fail.

Type: String

Required: Yes

TrafficPolicyId

The ID of the traffic policy that Amazon Route 53 used to create resource record sets in the specified hosted zone.

Type: String

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

Required: Yes

TrafficPolicyType

The DNS type that Amazon Route 53 assigned to all of the resource record sets that it created for this traffic policy instance.

Type: String

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

Required: Yes

TrafficPolicyVersion

The version of the traffic policy that Amazon Route 53 used to create resource record sets in the specified hosted zone.

Type: Integer

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

Required: Yes

TTL

The TTL that Amazon Route 53 assigned to all of the resource record sets that it created in the specified hosted zone.

Type: Long

Valid Range: Minimum value of 0. Maximum value of 2147483647.

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: