class Aws::Route53::Types::CreateTrafficPolicyRequest

A complex type that contains information about the traffic policy that you want to create.

@note When making an API call, you may pass CreateTrafficPolicyRequest

data as a hash:

    {
      name: "TrafficPolicyName", # required
      document: "TrafficPolicyDocument", # required
      comment: "TrafficPolicyComment",
    }

@!attribute [rw] name

The name of the traffic policy.
@return [String]

@!attribute [rw] document

The definition of this traffic policy in JSON format. For more
information, 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

(Optional) Any comments that you want to include about the traffic
policy.
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateTrafficPolicyRequest AWS API Documentation

Constants

SENSITIVE