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

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

Overview

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)


1672
1673
1674
1675
1676
1677
1678
# File 'lib/aws-sdk-route53/types.rb', line 1672

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].

[1]: docs.aws.amazon.com/Route53/latest/APIReference/api-policies-traffic-policy-document-format.html

Returns:

  • (String)


1672
1673
1674
1675
1676
1677
1678
# File 'lib/aws-sdk-route53/types.rb', line 1672

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

#nameString

The name of the traffic policy.

Returns:

  • (String)


1672
1673
1674
1675
1676
1677
1678
# File 'lib/aws-sdk-route53/types.rb', line 1672

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