route53_create_traffic_policy_instance: Creates resource record sets in a specified hosted zone based...

Description Usage Arguments Value Request syntax

View source: R/route53_operations.R

Description

Creates resource record sets in a specified hosted zone based on the settings in a specified traffic policy version. In addition, create_traffic_policy_instance associates the resource record sets with a specified domain name (such as example.com) or subdomain name (such as www.example.com). Amazon Route 53 responds to DNS queries for the domain or subdomain name by using the resource record sets that create_traffic_policy_instance created.

Usage

1
2
route53_create_traffic_policy_instance(HostedZoneId, Name, TTL,
  TrafficPolicyId, TrafficPolicyVersion)

Arguments

HostedZoneId

[required] 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.

Name

[required] 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.

TTL

[required] (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.

TrafficPolicyId

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

TrafficPolicyVersion

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

Value

A list with the following syntax:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
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"
  ),
  Location = "string"
)

Request syntax

1
2
3
4
5
6
7
svc$create_traffic_policy_instance(
  HostedZoneId = "string",
  Name = "string",
  TTL = 123,
  TrafficPolicyId = "string",
  TrafficPolicyVersion = 123
)

paws.networking documentation built on March 7, 2021, 5:08 p.m.