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

Class: Aws::Route53::Types::TrafficPolicyInstance

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

Overview

Instance Attribute Summary collapse

Instance Attribute Details

#hosted_zone_idString

The ID of the hosted zone that Amazon Route 53 created resource record sets in.

Returns:

  • (String)

    The ID of the hosted zone that Amazon Route 53 created resource record sets in.

#idString

The ID that Amazon Route 53 assigned to the new traffic policy instance.

Returns:

  • (String)

    The ID that Amazon Route 53 assigned to the new traffic policy instance.

#messageString

If State is Failed, an explanation of the reason for the failure. If State is another value, Message is empty.

Returns:

  • (String)

    If State is Failed, an explanation of the reason for the failure.

#nameString

The DNS name, such as www.example.com, for which Amazon Route 53 responds to queries by using the resource record sets that are associated with this traffic policy instance.

Returns:

  • (String)

    The DNS name, such as www.example.com, for which Amazon Route 53 responds to queries by using the resource record sets that are associated with this traffic policy instance.

#stateString

The value of State is one of the following values:

Applied

Amazon Route 53 has finished creating resource record sets, and changes have propagated to all Amazon Route 53 edge locations.

Creating

Amazon Route 53 is creating the resource record sets. Use GetTrafficPolicyInstance to confirm that the CreateTrafficPolicyInstance request completed successfully.

Failed

Amazon Route 53 wasn\'t able to create or update the resource record sets. When the value of State is Failed, see Message for an explanation of what caused the request to fail.

Returns:

  • (String)

    The value of State is one of the following values:.

#traffic_policy_idString

The ID of the traffic policy that Amazon Route 53 used to create resource record sets in the specified hosted zone.

Returns:

  • (String)

    The ID of the traffic policy that Amazon Route 53 used to create resource record sets in the specified hosted zone.

#traffic_policy_typeString

The DNS type that Amazon Route 53 assigned to all of the resource record sets that it created for this traffic policy instance.

Possible values:

  • SOA
  • A
  • TXT
  • NS
  • CNAME
  • MX
  • NAPTR
  • PTR
  • SRV
  • SPF
  • AAAA
  • CAA

Returns:

  • (String)

    The DNS type that Amazon Route 53 assigned to all of the resource record sets that it created for this traffic policy instance.

#traffic_policy_versionInteger

The version of the traffic policy that Amazon Route 53 used to create resource record sets in the specified hosted zone.

Returns:

  • (Integer)

    The version of the traffic policy that Amazon Route 53 used to create resource record sets in the specified hosted zone.

#ttlInteger

The TTL that Amazon Route 53 assigned to all of the resource record sets that it created in the specified hosted zone.

Returns:

  • (Integer)

    The TTL that Amazon Route 53 assigned to all of the resource record sets that it created in the specified hosted zone.