Class: Aws::Route53::Types::CreateTrafficPolicyVersionRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb

Overview

Note:

When making an API call, you may pass CreateTrafficPolicyVersionRequest data as a 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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#commentString

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

Returns:

  • (String)


2017
2018
2019
2020
2021
2022
2023
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb', line 2017

class CreateTrafficPolicyVersionRequest < Struct.new(
  :id,
  :document,
  :comment)
  SENSITIVE = []
  include Aws::Structure
end

#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)


2017
2018
2019
2020
2021
2022
2023
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb', line 2017

class CreateTrafficPolicyVersionRequest < Struct.new(
  :id,
  :document,
  :comment)
  SENSITIVE = []
  include Aws::Structure
end

#idString

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

Returns:

  • (String)


2017
2018
2019
2020
2021
2022
2023
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb', line 2017

class CreateTrafficPolicyVersionRequest < Struct.new(
  :id,
  :document,
  :comment)
  SENSITIVE = []
  include Aws::Structure
end