resolver_rule
Gets an individual resolver_rule
resource
Overview
Name | resolver_rule |
Type | Resource |
Description | resolver_rule |
Id | awscc.route53resolver.resolver_rule |
Fields
Name | Datatype | Description |
---|---|---|
resolver_endpoint_id | string | The ID of the endpoint that the rule is associated with. |
domain_name | string | DNS queries for this domain name are forwarded to the IP addresses that are specified in TargetIps |
name | string | The name for the Resolver rule |
rule_type | string | When you want to forward DNS queries for specified domain name to resolvers on your network, specify FORWARD. When you have a forwarding rule to forward DNS queries for a domain to your network and you want Resolver to process queries for a subdomain of that domain, specify SYSTEM. |
tags | array | An array of key-value pairs to apply to this resource. |
target_ips | array | An array that contains the IP addresses and ports that an outbound endpoint forwards DNS queries to. Typically, these are the IP addresses of DNS resolvers on your network. Specify IPv4 addresses. IPv6 is not supported. |
arn | string | The Amazon Resource Name (ARN) of the resolver rule. |
resolver_rule_id | string | The ID of the endpoint that the rule is associated with. |
region | string | AWS region. |
Methods
Currently only SELECT
is supported for this resource resource.
Example
SELECT
region,
resolver_endpoint_id,
domain_name,
name,
rule_type,
tags,
target_ips,
arn,
resolver_rule_id
FROM awscc.route53resolver.resolver_rule
WHERE data__Identifier = '<ResolverRuleId>';
Permissions
To operate on the resolver_rule
resource, the following permissions are required:
Read
route53resolver:GetResolverRule,
route53resolver:ListTagsForResource
Update
route53resolver:UpdateResolverRule,
route53resolver:GetResolverRule,
route53resolver:ListTagsForResource,
route53resolver:TagResource,
route53resolver:UntagResource
Delete
route53resolver:DeleteResolverRule,
route53resolver:GetResolverRule