Associates a Resolver rule with a VPC¶
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¶
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. -
NameA name for the association that you're creating between a Resolver rule and a VPC.
The name can be up to 64 characters long and can contain letters (a-z, A-Z), numbers (0-9), hyphens (-), underscores (_), and spaces. The name cannot consist of only numbers.
-
VPCId[required] The ID of the VPC that you want to associate the Resolver rule with.
Value¶
A list with the following syntax:
list(
ResolverRuleAssociation = list(
Id = "string",
ResolverRuleId = "string",
Name = "string",
VPCId = "string",
Status = "CREATING"|"COMPLETE"|"DELETING"|"FAILED"|"OVERRIDDEN",
StatusMessage = "string"
)
)