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

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 CreateTrafficPolicyRequest data as a hash:

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

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#commentString

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

Returns:

  • (String)


1954
1955
1956
1957
1958
1959
1960
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb', line 1954

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

#documentString

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

Returns:

  • (String)


1954
1955
1956
1957
1958
1959
1960
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb', line 1954

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

#nameString

The name of the traffic policy.

Returns:

  • (String)


1954
1955
1956
1957
1958
1959
1960
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb', line 1954

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