1. Packages
  2. AWS
  3. API Docs
  4. route53
  5. getResolverFirewallRuleGroup
AWS v6.83.0 published on Monday, Jun 16, 2025 by Pulumi

aws.route53.getResolverFirewallRuleGroup

Explore with Pulumi AI

aws logo
AWS v6.83.0 published on Monday, Jun 16, 2025 by Pulumi

    aws.route53.ResolverFirewallRuleGroup Retrieves the specified firewall rule group.

    This data source allows to retrieve details about a specific a Route 53 Resolver DNS Firewall rule group.

    Example Usage

    The following example shows how to get a firewall rule group from its ID.

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = aws.route53.getResolverFirewallRuleGroup({
        firewallRuleGroupId: "rslvr-frg-example",
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.route53.get_resolver_firewall_rule_group(firewall_rule_group_id="rslvr-frg-example")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/route53"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := route53.LookupResolverFirewallRuleGroup(ctx, &route53.LookupResolverFirewallRuleGroupArgs{
    			FirewallRuleGroupId: "rslvr-frg-example",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Aws.Route53.GetResolverFirewallRuleGroup.Invoke(new()
        {
            FirewallRuleGroupId = "rslvr-frg-example",
        });
    
    });
    
    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.GetResolverFirewallRuleGroupArgs;
    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.getResolverFirewallRuleGroup(GetResolverFirewallRuleGroupArgs.builder()
                .firewallRuleGroupId("rslvr-frg-example")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: aws:route53:getResolverFirewallRuleGroup
          arguments:
            firewallRuleGroupId: rslvr-frg-example
    

    Using getResolverFirewallRuleGroup

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getResolverFirewallRuleGroup(args: GetResolverFirewallRuleGroupArgs, opts?: InvokeOptions): Promise<GetResolverFirewallRuleGroupResult>
    function getResolverFirewallRuleGroupOutput(args: GetResolverFirewallRuleGroupOutputArgs, opts?: InvokeOptions): Output<GetResolverFirewallRuleGroupResult>
    def get_resolver_firewall_rule_group(firewall_rule_group_id: Optional[str] = None,
                                         opts: Optional[InvokeOptions] = None) -> GetResolverFirewallRuleGroupResult
    def get_resolver_firewall_rule_group_output(firewall_rule_group_id: Optional[pulumi.Input[str]] = None,
                                         opts: Optional[InvokeOptions] = None) -> Output[GetResolverFirewallRuleGroupResult]
    func LookupResolverFirewallRuleGroup(ctx *Context, args *LookupResolverFirewallRuleGroupArgs, opts ...InvokeOption) (*LookupResolverFirewallRuleGroupResult, error)
    func LookupResolverFirewallRuleGroupOutput(ctx *Context, args *LookupResolverFirewallRuleGroupOutputArgs, opts ...InvokeOption) LookupResolverFirewallRuleGroupResultOutput

    > Note: This function is named LookupResolverFirewallRuleGroup in the Go SDK.

    public static class GetResolverFirewallRuleGroup 
    {
        public static Task<GetResolverFirewallRuleGroupResult> InvokeAsync(GetResolverFirewallRuleGroupArgs args, InvokeOptions? opts = null)
        public static Output<GetResolverFirewallRuleGroupResult> Invoke(GetResolverFirewallRuleGroupInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetResolverFirewallRuleGroupResult> getResolverFirewallRuleGroup(GetResolverFirewallRuleGroupArgs args, InvokeOptions options)
    public static Output<GetResolverFirewallRuleGroupResult> getResolverFirewallRuleGroup(GetResolverFirewallRuleGroupArgs args, InvokeOptions options)
    
    fn::invoke:
      function: aws:route53/getResolverFirewallRuleGroup:getResolverFirewallRuleGroup
      arguments:
        # arguments dictionary

    The following arguments are supported:

    FirewallRuleGroupId string
    The ID of the rule group.
    FirewallRuleGroupId string
    The ID of the rule group.
    firewallRuleGroupId String
    The ID of the rule group.
    firewallRuleGroupId string
    The ID of the rule group.
    firewall_rule_group_id str
    The ID of the rule group.
    firewallRuleGroupId String
    The ID of the rule group.

    getResolverFirewallRuleGroup Result

    The following output properties are available:

    Arn string
    The ARN (Amazon Resource Name) of the rule group.
    CreationTime string
    The date and time that the rule group was created, in Unix time format and Coordinated Universal Time (UTC).
    CreatorRequestId string
    A unique string defined by you to identify the request.
    FirewallRuleGroupId string
    Id string
    The provider-assigned unique ID for this managed resource.
    ModificationTime string
    The date and time that the rule group was last modified, in Unix time format and Coordinated Universal Time (UTC).
    Name string
    The name of the rule group.
    OwnerId string
    The Amazon Web Services account ID for the account that created the rule group. When a rule group is shared with your account, this is the account that has shared the rule group with you.
    RuleCount int
    The number of rules in the rule group.
    ShareStatus string
    Whether the rule group is shared with other Amazon Web Services accounts, or was shared with the current account by another Amazon Web Services account.
    Status string
    The status of the rule group.
    StatusMessage string
    Additional information about the status of the rule group, if available.
    Arn string
    The ARN (Amazon Resource Name) of the rule group.
    CreationTime string
    The date and time that the rule group was created, in Unix time format and Coordinated Universal Time (UTC).
    CreatorRequestId string
    A unique string defined by you to identify the request.
    FirewallRuleGroupId string
    Id string
    The provider-assigned unique ID for this managed resource.
    ModificationTime string
    The date and time that the rule group was last modified, in Unix time format and Coordinated Universal Time (UTC).
    Name string
    The name of the rule group.
    OwnerId string
    The Amazon Web Services account ID for the account that created the rule group. When a rule group is shared with your account, this is the account that has shared the rule group with you.
    RuleCount int
    The number of rules in the rule group.
    ShareStatus string
    Whether the rule group is shared with other Amazon Web Services accounts, or was shared with the current account by another Amazon Web Services account.
    Status string
    The status of the rule group.
    StatusMessage string
    Additional information about the status of the rule group, if available.
    arn String
    The ARN (Amazon Resource Name) of the rule group.
    creationTime String
    The date and time that the rule group was created, in Unix time format and Coordinated Universal Time (UTC).
    creatorRequestId String
    A unique string defined by you to identify the request.
    firewallRuleGroupId String
    id String
    The provider-assigned unique ID for this managed resource.
    modificationTime String
    The date and time that the rule group was last modified, in Unix time format and Coordinated Universal Time (UTC).
    name String
    The name of the rule group.
    ownerId String
    The Amazon Web Services account ID for the account that created the rule group. When a rule group is shared with your account, this is the account that has shared the rule group with you.
    ruleCount Integer
    The number of rules in the rule group.
    shareStatus String
    Whether the rule group is shared with other Amazon Web Services accounts, or was shared with the current account by another Amazon Web Services account.
    status String
    The status of the rule group.
    statusMessage String
    Additional information about the status of the rule group, if available.
    arn string
    The ARN (Amazon Resource Name) of the rule group.
    creationTime string
    The date and time that the rule group was created, in Unix time format and Coordinated Universal Time (UTC).
    creatorRequestId string
    A unique string defined by you to identify the request.
    firewallRuleGroupId string
    id string
    The provider-assigned unique ID for this managed resource.
    modificationTime string
    The date and time that the rule group was last modified, in Unix time format and Coordinated Universal Time (UTC).
    name string
    The name of the rule group.
    ownerId string
    The Amazon Web Services account ID for the account that created the rule group. When a rule group is shared with your account, this is the account that has shared the rule group with you.
    ruleCount number
    The number of rules in the rule group.
    shareStatus string
    Whether the rule group is shared with other Amazon Web Services accounts, or was shared with the current account by another Amazon Web Services account.
    status string
    The status of the rule group.
    statusMessage string
    Additional information about the status of the rule group, if available.
    arn str
    The ARN (Amazon Resource Name) of the rule group.
    creation_time str
    The date and time that the rule group was created, in Unix time format and Coordinated Universal Time (UTC).
    creator_request_id str
    A unique string defined by you to identify the request.
    firewall_rule_group_id str
    id str
    The provider-assigned unique ID for this managed resource.
    modification_time str
    The date and time that the rule group was last modified, in Unix time format and Coordinated Universal Time (UTC).
    name str
    The name of the rule group.
    owner_id str
    The Amazon Web Services account ID for the account that created the rule group. When a rule group is shared with your account, this is the account that has shared the rule group with you.
    rule_count int
    The number of rules in the rule group.
    share_status str
    Whether the rule group is shared with other Amazon Web Services accounts, or was shared with the current account by another Amazon Web Services account.
    status str
    The status of the rule group.
    status_message str
    Additional information about the status of the rule group, if available.
    arn String
    The ARN (Amazon Resource Name) of the rule group.
    creationTime String
    The date and time that the rule group was created, in Unix time format and Coordinated Universal Time (UTC).
    creatorRequestId String
    A unique string defined by you to identify the request.
    firewallRuleGroupId String
    id String
    The provider-assigned unique ID for this managed resource.
    modificationTime String
    The date and time that the rule group was last modified, in Unix time format and Coordinated Universal Time (UTC).
    name String
    The name of the rule group.
    ownerId String
    The Amazon Web Services account ID for the account that created the rule group. When a rule group is shared with your account, this is the account that has shared the rule group with you.
    ruleCount Number
    The number of rules in the rule group.
    shareStatus String
    Whether the rule group is shared with other Amazon Web Services accounts, or was shared with the current account by another Amazon Web Services account.
    status String
    The status of the rule group.
    statusMessage String
    Additional information about the status of the rule group, if available.

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aws Terraform Provider.
    aws logo
    AWS v6.83.0 published on Monday, Jun 16, 2025 by Pulumi