getResolverFirewallRules

aws.route53.getResolverFirewallRules Provides details about rules in a specific Route53 Resolver Firewall rule group.

Example Usage

The following example shows how to get Route53 Resolver Firewall rules based on its associated firewall group id.

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.route53.Route53Functions;
import com.pulumi.aws.route53.inputs.GetResolverFirewallRulesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = Route53Functions.getResolverFirewallRules(GetResolverFirewallRulesArgs.builder()
.firewallRuleGroupId(aws_route53_resolver_firewall_rule_group.example().id())
.build());
}
}

Return

A collection of values returned by getResolverFirewallRules.

Parameters

argument

A collection of arguments for invoking getResolverFirewallRules.


suspend fun getResolverFirewallRules(action: String? = null, firewallRuleGroupId: String, priority: Int? = null): GetResolverFirewallRulesResult

Return

A collection of values returned by getResolverFirewallRules.

Parameters

action

The action that DNS Firewall should take on a DNS query when it matches one of the domains in the rule's domain list.

firewallRuleGroupId

The unique identifier of the firewall rule group that you want to retrieve the rules for.

priority

The setting that determines the processing order of the rules in a rule group.

See also


Return

A collection of values returned by getResolverFirewallRules.

Parameters

argument

Builder for com.pulumi.aws.route53.kotlin.inputs.GetResolverFirewallRulesPlainArgs.

See also