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

aws.route53.getResolverFirewallRuleGroupAssociation

Explore with Pulumi AI

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

    aws.route53.ResolverFirewallRuleGroupAssociation Retrieves the specified firewall rule group association.

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

    Example Usage

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

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = aws.route53.getResolverFirewallRuleGroupAssociation({
        firewallRuleGroupAssociationId: "rslvr-frgassoc-example",
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.route53.get_resolver_firewall_rule_group_association(firewall_rule_group_association_id="rslvr-frgassoc-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.LookupResolverFirewallRuleGroupAssociation(ctx, &route53.LookupResolverFirewallRuleGroupAssociationArgs{
    			FirewallRuleGroupAssociationId: "rslvr-frgassoc-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.GetResolverFirewallRuleGroupAssociation.Invoke(new()
        {
            FirewallRuleGroupAssociationId = "rslvr-frgassoc-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.GetResolverFirewallRuleGroupAssociationArgs;
    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.getResolverFirewallRuleGroupAssociation(GetResolverFirewallRuleGroupAssociationArgs.builder()
                .firewallRuleGroupAssociationId("rslvr-frgassoc-example")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: aws:route53:getResolverFirewallRuleGroupAssociation
          arguments:
            firewallRuleGroupAssociationId: rslvr-frgassoc-example
    

    Using getResolverFirewallRuleGroupAssociation

    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 getResolverFirewallRuleGroupAssociation(args: GetResolverFirewallRuleGroupAssociationArgs, opts?: InvokeOptions): Promise<GetResolverFirewallRuleGroupAssociationResult>
    function getResolverFirewallRuleGroupAssociationOutput(args: GetResolverFirewallRuleGroupAssociationOutputArgs, opts?: InvokeOptions): Output<GetResolverFirewallRuleGroupAssociationResult>
    def get_resolver_firewall_rule_group_association(firewall_rule_group_association_id: Optional[str] = None,
                                                     opts: Optional[InvokeOptions] = None) -> GetResolverFirewallRuleGroupAssociationResult
    def get_resolver_firewall_rule_group_association_output(firewall_rule_group_association_id: Optional[pulumi.Input[str]] = None,
                                                     opts: Optional[InvokeOptions] = None) -> Output[GetResolverFirewallRuleGroupAssociationResult]
    func LookupResolverFirewallRuleGroupAssociation(ctx *Context, args *LookupResolverFirewallRuleGroupAssociationArgs, opts ...InvokeOption) (*LookupResolverFirewallRuleGroupAssociationResult, error)
    func LookupResolverFirewallRuleGroupAssociationOutput(ctx *Context, args *LookupResolverFirewallRuleGroupAssociationOutputArgs, opts ...InvokeOption) LookupResolverFirewallRuleGroupAssociationResultOutput

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

    public static class GetResolverFirewallRuleGroupAssociation 
    {
        public static Task<GetResolverFirewallRuleGroupAssociationResult> InvokeAsync(GetResolverFirewallRuleGroupAssociationArgs args, InvokeOptions? opts = null)
        public static Output<GetResolverFirewallRuleGroupAssociationResult> Invoke(GetResolverFirewallRuleGroupAssociationInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetResolverFirewallRuleGroupAssociationResult> getResolverFirewallRuleGroupAssociation(GetResolverFirewallRuleGroupAssociationArgs args, InvokeOptions options)
    public static Output<GetResolverFirewallRuleGroupAssociationResult> getResolverFirewallRuleGroupAssociation(GetResolverFirewallRuleGroupAssociationArgs args, InvokeOptions options)
    
    fn::invoke:
      function: aws:route53/getResolverFirewallRuleGroupAssociation:getResolverFirewallRuleGroupAssociation
      arguments:
        # arguments dictionary

    The following arguments are supported:

    FirewallRuleGroupAssociationId string
    The identifier for the association.
    FirewallRuleGroupAssociationId string
    The identifier for the association.
    firewallRuleGroupAssociationId String
    The identifier for the association.
    firewallRuleGroupAssociationId string
    The identifier for the association.
    firewall_rule_group_association_id str
    The identifier for the association.
    firewallRuleGroupAssociationId String
    The identifier for the association.

    getResolverFirewallRuleGroupAssociation Result

    The following output properties are available:

    Arn string
    The Amazon Resource Name (ARN) of the firewall rule group association.
    CreationTime string
    The date and time that the association was created, in Unix time format and Coordinated Universal Time (UTC).
    CreatorRequestId string
    A unique string defined by you to identify the request.
    FirewallRuleGroupAssociationId string
    FirewallRuleGroupId string
    The unique identifier of the firewall rule group.
    Id string
    The provider-assigned unique ID for this managed resource.
    ManagedOwnerName string
    The owner of the association, used only for associations that are not managed by you.
    ModificationTime string
    The date and time that the association was last modified, in Unix time format and Coordinated Universal Time (UTC).
    MutationProtection string
    If enabled, this setting disallows modification or removal of the association, to help prevent against accidentally altering DNS firewall protections.
    Name string
    The name of the association.
    Priority int
    The setting that determines the processing order of the rule group among the rule groups that are associated with a single VPC.
    Status string
    The current status of the association.
    StatusMessage string
    Additional information about the status of the response, if available.
    VpcId string
    The unique identifier of the VPC that is associated with the rule group.
    Arn string
    The Amazon Resource Name (ARN) of the firewall rule group association.
    CreationTime string
    The date and time that the association was created, in Unix time format and Coordinated Universal Time (UTC).
    CreatorRequestId string
    A unique string defined by you to identify the request.
    FirewallRuleGroupAssociationId string
    FirewallRuleGroupId string
    The unique identifier of the firewall rule group.
    Id string
    The provider-assigned unique ID for this managed resource.
    ManagedOwnerName string
    The owner of the association, used only for associations that are not managed by you.
    ModificationTime string
    The date and time that the association was last modified, in Unix time format and Coordinated Universal Time (UTC).
    MutationProtection string
    If enabled, this setting disallows modification or removal of the association, to help prevent against accidentally altering DNS firewall protections.
    Name string
    The name of the association.
    Priority int
    The setting that determines the processing order of the rule group among the rule groups that are associated with a single VPC.
    Status string
    The current status of the association.
    StatusMessage string
    Additional information about the status of the response, if available.
    VpcId string
    The unique identifier of the VPC that is associated with the rule group.
    arn String
    The Amazon Resource Name (ARN) of the firewall rule group association.
    creationTime String
    The date and time that the association was created, in Unix time format and Coordinated Universal Time (UTC).
    creatorRequestId String
    A unique string defined by you to identify the request.
    firewallRuleGroupAssociationId String
    firewallRuleGroupId String
    The unique identifier of the firewall rule group.
    id String
    The provider-assigned unique ID for this managed resource.
    managedOwnerName String
    The owner of the association, used only for associations that are not managed by you.
    modificationTime String
    The date and time that the association was last modified, in Unix time format and Coordinated Universal Time (UTC).
    mutationProtection String
    If enabled, this setting disallows modification or removal of the association, to help prevent against accidentally altering DNS firewall protections.
    name String
    The name of the association.
    priority Integer
    The setting that determines the processing order of the rule group among the rule groups that are associated with a single VPC.
    status String
    The current status of the association.
    statusMessage String
    Additional information about the status of the response, if available.
    vpcId String
    The unique identifier of the VPC that is associated with the rule group.
    arn string
    The Amazon Resource Name (ARN) of the firewall rule group association.
    creationTime string
    The date and time that the association was created, in Unix time format and Coordinated Universal Time (UTC).
    creatorRequestId string
    A unique string defined by you to identify the request.
    firewallRuleGroupAssociationId string
    firewallRuleGroupId string
    The unique identifier of the firewall rule group.
    id string
    The provider-assigned unique ID for this managed resource.
    managedOwnerName string
    The owner of the association, used only for associations that are not managed by you.
    modificationTime string
    The date and time that the association was last modified, in Unix time format and Coordinated Universal Time (UTC).
    mutationProtection string
    If enabled, this setting disallows modification or removal of the association, to help prevent against accidentally altering DNS firewall protections.
    name string
    The name of the association.
    priority number
    The setting that determines the processing order of the rule group among the rule groups that are associated with a single VPC.
    status string
    The current status of the association.
    statusMessage string
    Additional information about the status of the response, if available.
    vpcId string
    The unique identifier of the VPC that is associated with the rule group.
    arn str
    The Amazon Resource Name (ARN) of the firewall rule group association.
    creation_time str
    The date and time that the association 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_association_id str
    firewall_rule_group_id str
    The unique identifier of the firewall rule group.
    id str
    The provider-assigned unique ID for this managed resource.
    managed_owner_name str
    The owner of the association, used only for associations that are not managed by you.
    modification_time str
    The date and time that the association was last modified, in Unix time format and Coordinated Universal Time (UTC).
    mutation_protection str
    If enabled, this setting disallows modification or removal of the association, to help prevent against accidentally altering DNS firewall protections.
    name str
    The name of the association.
    priority int
    The setting that determines the processing order of the rule group among the rule groups that are associated with a single VPC.
    status str
    The current status of the association.
    status_message str
    Additional information about the status of the response, if available.
    vpc_id str
    The unique identifier of the VPC that is associated with the rule group.
    arn String
    The Amazon Resource Name (ARN) of the firewall rule group association.
    creationTime String
    The date and time that the association was created, in Unix time format and Coordinated Universal Time (UTC).
    creatorRequestId String
    A unique string defined by you to identify the request.
    firewallRuleGroupAssociationId String
    firewallRuleGroupId String
    The unique identifier of the firewall rule group.
    id String
    The provider-assigned unique ID for this managed resource.
    managedOwnerName String
    The owner of the association, used only for associations that are not managed by you.
    modificationTime String
    The date and time that the association was last modified, in Unix time format and Coordinated Universal Time (UTC).
    mutationProtection String
    If enabled, this setting disallows modification or removal of the association, to help prevent against accidentally altering DNS firewall protections.
    name String
    The name of the association.
    priority Number
    The setting that determines the processing order of the rule group among the rule groups that are associated with a single VPC.
    status String
    The current status of the association.
    statusMessage String
    Additional information about the status of the response, if available.
    vpcId String
    The unique identifier of the VPC that is associated with the rule group.

    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