resolver_rule_associations
Creates, updates, deletes, gets or lists a resolver_rule_associations resource.
Overview
| Name | resolver_rule_associations |
| Type | Resource |
| Id | aws.route53resolver.resolver_rule_associations |
Fields
The following fields are returned by SELECT queries:
- get_resolver_rule_association
- list_resolver_rule_associations
| Name | Datatype | Description |
|---|---|---|
id | string | The ID of the association between a Resolver rule and a VPC. Resolver assigns this value when you submit an AssociateResolverRule request. |
name | string | The 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_id | string | The ID of the Resolver rule that you associated with the VPC that is specified by VPCId. |
status | string | A code that specifies the current status of the association between a Resolver rule and a VPC. (CREATING, COMPLETE, DELETING, FAILED, OVERRIDDEN) |
status_message | string | A detailed description of the status of the association between a Resolver rule and a VPC. |
vpc_id | string | The ID of the VPC that you associated the Resolver rule with. |
| Name | Datatype | Description |
|---|---|---|
id | string | The ID of the association between a Resolver rule and a VPC. Resolver assigns this value when you submit an AssociateResolverRule request. |
name | string | The 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_id | string | The ID of the Resolver rule that you associated with the VPC that is specified by VPCId. |
status | string | A code that specifies the current status of the association between a Resolver rule and a VPC. (CREATING, COMPLETE, DELETING, FAILED, OVERRIDDEN) |
status_message | string | A detailed description of the status of the association between a Resolver rule and a VPC. |
vpc_id | string | The ID of the VPC that you associated the Resolver rule with. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_resolver_rule_association | select | region | Gets 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_associations | select | region | Lists 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.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- get_resolver_rule_association
- list_resolver_rule_associations
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
;
Lists the associations that were created between Resolver rules and VPCs using the current Amazon Web Services account.
SELECT
id,
name,
resolver_rule_id,
status,
status_message,
vpc_id
FROM aws.route53resolver.resolver_rule_associations
WHERE region = '{{ region }}' -- required
;