route53resolver_associate_resolver_rule: Associates a Resolver rule with a VPC

Description Usage Arguments Value Request syntax

View source: R/route53resolver_operations.R

Description

Associates a Resolver rule with a VPC. When you associate a rule with a VPC, Resolver forwards all DNS queries for the domain name that is specified in the rule and that originate in the VPC. The queries are forwarded to the IP addresses for the DNS resolvers that are specified in the rule. For more information about rules, see create_resolver_rule.

Usage

1
route53resolver_associate_resolver_rule(ResolverRuleId, Name, VPCId)

Arguments

ResolverRuleId

[required] The ID of the Resolver rule that you want to associate with the VPC. To list the existing Resolver rules, use list_resolver_rules.

Name

A name for the association that you're creating between a Resolver rule and a VPC.

VPCId

[required] The ID of the VPC that you want to associate the Resolver rule with.

Value

A list with the following syntax:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
list(
  ResolverRuleAssociation = list(
    Id = "string",
    ResolverRuleId = "string",
    Name = "string",
    VPCId = "string",
    Status = "CREATING"|"COMPLETE"|"DELETING"|"FAILED"|"OVERRIDDEN",
    StatusMessage = "string"
  )
)

Request syntax

1
2
3
4
5
svc$associate_resolver_rule(
  ResolverRuleId = "string",
  Name = "string",
  VPCId = "string"
)

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