class Aws::Route53::Types::TrafficPolicy
A complex type that contains settings for a traffic policy.
@!attribute [rw] id
The ID that Amazon Route 53 assigned to a traffic policy when you created it. @return [String]
@!attribute [rw] 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. @return [Integer]
@!attribute [rw] name
The name that you specified when you created the traffic policy. @return [String]
@!attribute [rw] 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. @return [String]
@!attribute [rw] 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][1]. [1]: https://docs.aws.amazon.com/Route53/latest/APIReference/api-policies-traffic-policy-document-format.html @return [String]
@!attribute [rw] comment
The comment that you specify in the `CreateTrafficPolicy` request, if any. @return [String]
@see docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/TrafficPolicy AWS API Documentation
Constants
- SENSITIVE