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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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)

1685
1686
1687
1688
1689
1690
1691
# File 'lib/aws-sdk-route53/types.rb', line 1685

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

[1]: docs.aws.amazon.com/Route53/latest/APIReference/API_CreateTrafficPolicy.html

Returns:

  • (String)

1685
1686
1687
1688
1689
1690
1691
# File 'lib/aws-sdk-route53/types.rb', line 1685

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)

1685
1686
1687
1688
1689
1690
1691
# File 'lib/aws-sdk-route53/types.rb', line 1685

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