You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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.

Instance Attribute Summary collapse

Instance Attribute Details

#commentString

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

Returns:

  • (String)


1284
1285
1286
1287
1288
1289
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb', line 1284

class CreateTrafficPolicyVersionRequest < Struct.new(
  :id,
  :document,
  :comment)
  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)


1284
1285
1286
1287
1288
1289
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb', line 1284

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

#idString

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

Returns:

  • (String)


1284
1285
1286
1287
1288
1289
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb', line 1284

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