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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CreateTrafficPolicyInstanceRequest as input to an Aws::Client method, you can use a vanilla 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)

    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.

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

    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.

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

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

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

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

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

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