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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb

Overview

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#hosted_zone_id ⇒ String

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

Returns:

  • (String)


1672
1673
1674
1675
1676
1677
1678
1679
1680
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb', line 1672

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

#name ⇒ String

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 Route 53 creates for this traffic policy instance.

Returns:

  • (String)


1672
1673
1674
1675
1676
1677
1678
1679
1680
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb', line 1672

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

#traffic_policy_id ⇒ String

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

Returns:

  • (String)


1672
1673
1674
1675
1676
1677
1678
1679
1680
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb', line 1672

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

#traffic_policy_version ⇒ Integer

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

Returns:

  • (Integer)


1672
1673
1674
1675
1676
1677
1678
1679
1680
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb', line 1672

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

#ttl ⇒ Integer

(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)


1672
1673
1674
1675
1676
1677
1678
1679
1680
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb', line 1672

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