Skip to content

Get Traffic Policy Instance

route53_get_traffic_policy_instance R Documentation

Gets information about a specified traffic policy instance

Description

Gets information about a specified traffic policy instance.

Use get_traffic_policy_instance with the id of new traffic policy instance to confirm that the create_traffic_policy_instance or an update_traffic_policy_instance request completed successfully. For more information, see the State response element.

In the Route 53 console, traffic policy instances are known as policy records.

Usage

route53_get_traffic_policy_instance(Id)

Arguments

Id

[required] The ID of the traffic policy instance that you want to get information about.

Value

A list with the following syntax:

list(
  TrafficPolicyInstance = list(
    Id = "string",
    HostedZoneId = "string",
    Name = "string",
    TTL = 123,
    State = "string",
    Message = "string",
    TrafficPolicyId = "string",
    TrafficPolicyVersion = 123,
    TrafficPolicyType = "SOA"|"A"|"TXT"|"NS"|"CNAME"|"MX"|"NAPTR"|"PTR"|"SRV"|"SPF"|"AAAA"|"CAA"|"DS"
  )
)

Request syntax

svc$get_traffic_policy_instance(
  Id = "string"
)