Try AWS Native preview for resources not in the classic version.
aws.route53.getResolverFirewallRuleGroupAssociation
Explore with Pulumi AI
Try AWS Native preview for resources not in the classic version.
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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws:route53/getResolverFirewallRuleGroupAssociation:getResolverFirewallRuleGroupAssociation
arguments:
# arguments dictionary
The following arguments are supported:
- Firewall
Rule stringGroup Association Id The identifier for the association.
The following attribute is additionally exported:
- Firewall
Rule stringGroup Association Id The identifier for the association.
The following attribute is additionally exported:
- firewall
Rule StringGroup Association Id The identifier for the association.
The following attribute is additionally exported:
- firewall
Rule stringGroup Association Id The identifier for the association.
The following attribute is additionally exported:
- firewall_
rule_ strgroup_ association_ id The identifier for the association.
The following attribute is additionally exported:
- firewall
Rule StringGroup Association Id The identifier for the association.
The following attribute is additionally exported:
getResolverFirewallRuleGroupAssociation Result
The following output properties are available:
- Arn string
- Creation
Time string - Creator
Request stringId - Firewall
Rule stringGroup Association Id - Firewall
Rule stringGroup Id - Id string
- The provider-assigned unique ID for this managed resource.
- Managed
Owner stringName - Modification
Time string - Mutation
Protection string - Name string
- Priority int
- Status string
- Status
Message string - Vpc
Id string
- Arn string
- Creation
Time string - Creator
Request stringId - Firewall
Rule stringGroup Association Id - Firewall
Rule stringGroup Id - Id string
- The provider-assigned unique ID for this managed resource.
- Managed
Owner stringName - Modification
Time string - Mutation
Protection string - Name string
- Priority int
- Status string
- Status
Message string - Vpc
Id string
- arn String
- creation
Time String - creator
Request StringId - firewall
Rule StringGroup Association Id - firewall
Rule StringGroup Id - id String
- The provider-assigned unique ID for this managed resource.
- managed
Owner StringName - modification
Time String - mutation
Protection String - name String
- priority Integer
- status String
- status
Message String - vpc
Id String
- arn string
- creation
Time string - creator
Request stringId - firewall
Rule stringGroup Association Id - firewall
Rule stringGroup Id - id string
- The provider-assigned unique ID for this managed resource.
- managed
Owner stringName - modification
Time string - mutation
Protection string - name string
- priority number
- status string
- status
Message string - vpc
Id string
- arn str
- creation_
time str - creator_
request_ strid - firewall_
rule_ strgroup_ association_ id - firewall_
rule_ strgroup_ id - id str
- The provider-assigned unique ID for this managed resource.
- managed_
owner_ strname - modification_
time str - mutation_
protection str - name str
- priority int
- status str
- status_
message str - vpc_
id str
- arn String
- creation
Time String - creator
Request StringId - firewall
Rule StringGroup Association Id - firewall
Rule StringGroup Id - id String
- The provider-assigned unique ID for this managed resource.
- managed
Owner StringName - modification
Time String - mutation
Protection String - name String
- priority Number
- status String
- status
Message String - vpc
Id String
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aws
Terraform Provider.
Try AWS Native preview for resources not in the classic version.