Skip to content

TrafficPolicyInstance

Source code in docs_src/capo_route_53/types/traffic_policy_instance.py
class TrafficPolicyInstance(TypedDict, closed=True):
    id: "capo_route_53.types.traffic_policy_instance_id.TrafficPolicyInstanceId"
    """<p>The ID that Amazon Route 53 assigned to the new traffic policy instance.</p>"""
    hosted_zone_id: "capo_route_53.types.resource_id.ResourceId"
    """<p>The ID of the hosted zone that Amazon Route 53 created resource record sets in.</p>"""
    name: "capo_route_53.types.dns_name.DNSName"
    """<p>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. </p>"""
    ttl: "capo_route_53.types.ttl.TTL"
    """<p>The TTL that Amazon Route 53 assigned to all of the resource record sets that it created in the specified hosted zone.</p>"""
    state: (
        "capo_route_53.types.traffic_policy_instance_state.TrafficPolicyInstanceState"
    )
    """<p>The value of <code>State</code> is one of the following values:</p> <dl> <dt>Applied</dt> <dd> <p>Amazon Route 53 has finished creating resource record sets, and changes have propagated to all Route 53 edge locations.</p> </dd> <dt>Creating</dt> <dd> <p>Route 53 is creating the resource record sets. Use <code>GetTrafficPolicyInstance</code> to confirm that the <code>CreateTrafficPolicyInstance</code> request completed successfully.</p> </dd> <dt>Failed</dt> <dd> <p>Route 53 wasn't able to create or update the resource record sets. When the value of <code>State</code> is <code>Failed</code>, see <code>Message</code> for an explanation of what caused the request to fail.</p> </dd> </dl>"""
    message: "capo_route_53.types.message.Message"
    """<p>If <code>State</code> is <code>Failed</code>, an explanation of the reason for the failure. If <code>State</code> is another value, <code>Message</code> is empty.</p>"""
    traffic_policy_id: "capo_route_53.types.traffic_policy_id.TrafficPolicyId"
    """<p>The ID of the traffic policy that Amazon Route 53 used to create resource record sets in the specified hosted zone.</p>"""
    traffic_policy_version: (
        "capo_route_53.types.traffic_policy_version.TrafficPolicyVersion"
    )
    """<p>The version of the traffic policy that Amazon Route 53 used to create resource record sets in the specified hosted zone.</p>"""
    traffic_policy_type: "capo_route_53.types.rr_type.RRType"
    """<p>The DNS type that Amazon Route 53 assigned to all of the resource record sets that it created for this traffic policy instance. </p>"""

hosted_zone_id instance-attribute

hosted_zone_id: ResourceId

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

id instance-attribute

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

message instance-attribute

message: Message

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

name instance-attribute

name: DNSName

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.

state instance-attribute

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 Route 53 edge locations.

Creating

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

Failed

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.

traffic_policy_id instance-attribute

traffic_policy_id: TrafficPolicyId

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

traffic_policy_type instance-attribute

traffic_policy_type: RRType

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_version instance-attribute

traffic_policy_version: TrafficPolicyVersion

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

ttl instance-attribute

ttl: TTL

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