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.

You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Route53::Types::CreateTrafficPolicyRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CreateTrafficPolicyRequest as input to an Aws::Client method, you can use a vanilla Hash:

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

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

Instance Attribute Summary collapse

Instance Attribute Details

#commentString

(Optional) Any comments that you want to include about the traffic policy.

Returns:

  • (String)

    (Optional) Any comments that you want to include about the traffic policy.

#documentString

The definition of this traffic policy in JSON format. For more information, see Traffic Policy Document Format.

Returns:

  • (String)

    The definition of this traffic policy in JSON format.

#nameString

The name of the traffic policy.

Returns:

  • (String)

    The name of the traffic policy.