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

Class: Aws::Route53::Types::UpdateTrafficPolicyInstanceRequest

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

{
  id: "TrafficPolicyInstanceId", # required
  ttl: 1, # required
  traffic_policy_id: "TrafficPolicyId", # required
  traffic_policy_version: 1, # required
}

A complex type that contains information about the resource record sets that you want to update based on a specified traffic policy instance.

Instance Attribute Summary collapse

Instance Attribute Details

#idString

The ID of the traffic policy instance that you want to update.

Returns:

  • (String)


5429
5430
5431
5432
5433
5434
5435
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb', line 5429

class UpdateTrafficPolicyInstanceRequest < Struct.new(
  :id,
  :ttl,
  :traffic_policy_id,
  :traffic_policy_version)
  include Aws::Structure
end

#traffic_policy_idString

The ID of the traffic policy that you want Amazon Route 53 to use to update resource record sets for the specified traffic policy instance.

Returns:

  • (String)


5429
5430
5431
5432
5433
5434
5435
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb', line 5429

class UpdateTrafficPolicyInstanceRequest < Struct.new(
  :id,
  :ttl,
  :traffic_policy_id,
  :traffic_policy_version)
  include Aws::Structure
end

#traffic_policy_versionInteger

The version of the traffic policy that you want Amazon Route 53 to use to update resource record sets for the specified traffic policy instance.

Returns:

  • (Integer)


5429
5430
5431
5432
5433
5434
5435
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb', line 5429

class UpdateTrafficPolicyInstanceRequest < Struct.new(
  :id,
  :ttl,
  :traffic_policy_id,
  :traffic_policy_version)
  include Aws::Structure
end

#ttlInteger

The TTL that you want Amazon Route 53 to assign to all of the updated resource record sets.

Returns:

  • (Integer)


5429
5430
5431
5432
5433
5434
5435
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb', line 5429

class UpdateTrafficPolicyInstanceRequest < Struct.new(
  :id,
  :ttl,
  :traffic_policy_id,
  :traffic_policy_version)
  include Aws::Structure
end