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

Class: Aws::Route53::Types::CreateTrafficPolicyInstanceRequest

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

{
  hosted_zone_id: "ResourceId", # required
  name: "DNSName", # 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 create based on a specified traffic policy.

Instance Attribute Summary collapse

Instance Attribute Details

#hosted_zone_idString

The ID of the hosted zone in which you want Amazon Route 53 to create resource record sets by using the configuration in a traffic policy.

Returns:

  • (String)


1166
1167
1168
1169
1170
1171
1172
1173
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb', line 1166

class CreateTrafficPolicyInstanceRequest < Struct.new(
  :hosted_zone_id,
  :name,
  :ttl,
  :traffic_policy_id,
  :traffic_policy_version)
  include Aws::Structure
end

#nameString

The domain name (such as example.com) or subdomain name (such as www.example.com) for which Amazon Route 53 responds to DNS queries by using the resource record sets that Amazon Route 53 creates for this traffic policy instance.

Returns:

  • (String)


1166
1167
1168
1169
1170
1171
1172
1173
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb', line 1166

class CreateTrafficPolicyInstanceRequest < Struct.new(
  :hosted_zone_id,
  :name,
  :ttl,
  :traffic_policy_id,
  :traffic_policy_version)
  include Aws::Structure
end

#traffic_policy_idString

The ID of the traffic policy that you want to use to create resource record sets in the specified hosted zone.

Returns:

  • (String)


1166
1167
1168
1169
1170
1171
1172
1173
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb', line 1166

class CreateTrafficPolicyInstanceRequest < Struct.new(
  :hosted_zone_id,
  :name,
  :ttl,
  :traffic_policy_id,
  :traffic_policy_version)
  include Aws::Structure
end

#traffic_policy_versionInteger

The version of the traffic policy that you want to use to create resource record sets in the specified hosted zone.

Returns:

  • (Integer)


1166
1167
1168
1169
1170
1171
1172
1173
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb', line 1166

class CreateTrafficPolicyInstanceRequest < Struct.new(
  :hosted_zone_id,
  :name,
  :ttl,
  :traffic_policy_id,
  :traffic_policy_version)
  include Aws::Structure
end

#ttlInteger

(Optional) The TTL that you want Amazon Route 53 to assign to all of the resource record sets that it creates in the specified hosted zone.

Returns:

  • (Integer)


1166
1167
1168
1169
1170
1171
1172
1173
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb', line 1166

class CreateTrafficPolicyInstanceRequest < Struct.new(
  :hosted_zone_id,
  :name,
  :ttl,
  :traffic_policy_id,
  :traffic_policy_version)
  include Aws::Structure
end