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::CreateTrafficPolicyVersionRequest

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

Overview

Note:

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

{
  id: "TrafficPolicyId", # required
  document: "TrafficPolicyDocument", # required
  comment: "TrafficPolicyComment",
}

A complex type that contains information about the traffic policy that you want to create a new version for.

Instance Attribute Summary collapse

Instance Attribute Details

#commentString

The comment that you specified in the CreateTrafficPolicyVersion request, if any.

Returns:

  • (String)

    The comment that you specified in the CreateTrafficPolicyVersion request, if any.

#documentString

The definition of this version of the traffic policy, in JSON format. You specified the JSON in the CreateTrafficPolicyVersion request. For more information about the JSON format, see CreateTrafficPolicy.

Returns:

  • (String)

    The definition of this version of the traffic policy, in JSON format.

#idString

The ID of the traffic policy for which you want to create a new version.

Returns:

  • (String)

    The ID of the traffic policy for which you want to create a new version.