Skip to main content

resolver_rule_associations

Creates, updates, deletes, gets or lists a resolver_rule_associations resource.

Overview

Nameresolver_rule_associations
TypeResource
Idaws.route53resolver.resolver_rule_associations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe ID of the association between a Resolver rule and a VPC. Resolver assigns this value when you submit an AssociateResolverRule request.
namestringThe name of an association 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. (pattern: <code>(?!^[0-9]+$)([a-zA-Z0-9-' ']+)</code>)
resolver_rule_idstringThe ID of the Resolver rule that you associated with the VPC that is specified by VPCId.
statusstringA code that specifies the current status of the association between a Resolver rule and a VPC. (CREATING, COMPLETE, DELETING, FAILED, OVERRIDDEN)
status_messagestringA detailed description of the status of the association between a Resolver rule and a VPC.
vpc_idstringThe ID of the VPC that you associated the Resolver rule with.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_resolver_rule_associationselectregionGets information about an association between a specified Resolver rule and a VPC. You associate a Resolver rule and a VPC using AssociateResolverRule.
list_resolver_rule_associationsselectregionLists the associations that were created between Resolver rules and VPCs using the current Amazon Web Services account.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Gets information about an association between a specified Resolver rule and a VPC. You associate a Resolver rule and a VPC using AssociateResolverRule.

SELECT
id,
name,
resolver_rule_id,
status,
status_message,
vpc_id
FROM aws.route53resolver.resolver_rule_associations
WHERE region = '{{ region }}' -- required
;