Class: Aws::Route53::Types::TrafficPolicy
- Inherits:
-
Struct
- Object
- Struct
- Aws::Route53::Types::TrafficPolicy
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-route53/types.rb
Overview
A complex type that contains settings for a traffic policy.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#comment ⇒ String
The comment that you specify in the ‘CreateTrafficPolicy` request, if any.
-
#document ⇒ String
The definition of a traffic policy in JSON format.
-
#id ⇒ String
The ID that Amazon Route 53 assigned to a traffic policy when you created it.
-
#name ⇒ String
The name that you specified when you created the traffic policy.
-
#type ⇒ String
The DNS type of the resource record sets that Amazon Route 53 creates when you use a traffic policy to create a traffic policy instance.
-
#version ⇒ Integer
The version number that Amazon Route 53 assigns to a traffic policy.
Instance Attribute Details
#comment ⇒ String
The comment that you specify in the ‘CreateTrafficPolicy` request, if any.
7350 7351 7352 7353 7354 7355 7356 7357 7358 7359 |
# File 'lib/aws-sdk-route53/types.rb', line 7350 class TrafficPolicy < Struct.new( :id, :version, :name, :type, :document, :comment) SENSITIVE = [] include Aws::Structure end |
#document ⇒ String
The definition of a traffic policy in JSON format. You specify the JSON document to use for a new traffic policy in the ‘CreateTrafficPolicy` request. For more information about the JSON format, see [Traffic Policy Document Format].
[1]: docs.aws.amazon.com/Route53/latest/APIReference/api-policies-traffic-policy-document-format.html
7350 7351 7352 7353 7354 7355 7356 7357 7358 7359 |
# File 'lib/aws-sdk-route53/types.rb', line 7350 class TrafficPolicy < Struct.new( :id, :version, :name, :type, :document, :comment) SENSITIVE = [] include Aws::Structure end |
#id ⇒ String
The ID that Amazon Route 53 assigned to a traffic policy when you created it.
7350 7351 7352 7353 7354 7355 7356 7357 7358 7359 |
# File 'lib/aws-sdk-route53/types.rb', line 7350 class TrafficPolicy < Struct.new( :id, :version, :name, :type, :document, :comment) SENSITIVE = [] include Aws::Structure end |
#name ⇒ String
The name that you specified when you created the traffic policy.
7350 7351 7352 7353 7354 7355 7356 7357 7358 7359 |
# File 'lib/aws-sdk-route53/types.rb', line 7350 class TrafficPolicy < Struct.new( :id, :version, :name, :type, :document, :comment) SENSITIVE = [] include Aws::Structure end |
#type ⇒ String
The DNS type of the resource record sets that Amazon Route 53 creates when you use a traffic policy to create a traffic policy instance.
7350 7351 7352 7353 7354 7355 7356 7357 7358 7359 |
# File 'lib/aws-sdk-route53/types.rb', line 7350 class TrafficPolicy < Struct.new( :id, :version, :name, :type, :document, :comment) SENSITIVE = [] include Aws::Structure end |
#version ⇒ Integer
The version number that Amazon Route 53 assigns to a traffic policy. For a new traffic policy, the value of ‘Version` is always 1.
7350 7351 7352 7353 7354 7355 7356 7357 7358 7359 |
# File 'lib/aws-sdk-route53/types.rb', line 7350 class TrafficPolicy < Struct.new( :id, :version, :name, :type, :document, :comment) SENSITIVE = [] include Aws::Structure end |