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

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

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)


1618
1619
1620
1621
1622
1623
1624
1625
1626
# File 'lib/aws-sdk-route53/types.rb', line 1618

class CreateTrafficPolicyInstanceRequest < Struct.new(
  :hosted_zone_id,
  :name,
  :ttl,
  :traffic_policy_id,
  :traffic_policy_version)
  SENSITIVE = []
  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 Route 53 creates for this traffic policy instance.

Returns:

  • (String)


1618
1619
1620
1621
1622
1623
1624
1625
1626
# File 'lib/aws-sdk-route53/types.rb', line 1618

class CreateTrafficPolicyInstanceRequest < Struct.new(
  :hosted_zone_id,
  :name,
  :ttl,
  :traffic_policy_id,
  :traffic_policy_version)
  SENSITIVE = []
  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)


1618
1619
1620
1621
1622
1623
1624
1625
1626
# File 'lib/aws-sdk-route53/types.rb', line 1618

class CreateTrafficPolicyInstanceRequest < Struct.new(
  :hosted_zone_id,
  :name,
  :ttl,
  :traffic_policy_id,
  :traffic_policy_version)
  SENSITIVE = []
  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)


1618
1619
1620
1621
1622
1623
1624
1625
1626
# File 'lib/aws-sdk-route53/types.rb', line 1618

class CreateTrafficPolicyInstanceRequest < Struct.new(
  :hosted_zone_id,
  :name,
  :ttl,
  :traffic_policy_id,
  :traffic_policy_version)
  SENSITIVE = []
  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)


1618
1619
1620
1621
1622
1623
1624
1625
1626
# File 'lib/aws-sdk-route53/types.rb', line 1618

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