Data Source: aws_route53_resolver_rule

aws_route53_resolver_rule provides details about a specific Route53 Resolver rule.

Example Usage

The following example shows how to get a Route53 Resolver rule based on its associated domain name and rule type.

data "aws_route53_resolver_rule" "example" {
  domain_name = "subdomain.example.com"
  rule_type   = "SYSTEM"
}

Argument Reference

The arguments of this data source act as filters for querying the available resolver rules in the current region. The given filters must match exactly one resolver rule whose data will be exported as attributes.

Attribute Reference

This data source exports the following attributes in addition to the arguments above: