@pulumi/aws
Version:
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
125 lines (124 loc) • 4.71 kB
TypeScript
import * as pulumi from "@pulumi/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.
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as aws from "@pulumi/aws";
*
* const example = aws.route53.getResolverFirewallRuleGroupAssociation({
* firewallRuleGroupAssociationId: "rslvr-frgassoc-example",
* });
* ```
*/
export declare function getResolverFirewallRuleGroupAssociation(args: GetResolverFirewallRuleGroupAssociationArgs, opts?: pulumi.InvokeOptions): Promise<GetResolverFirewallRuleGroupAssociationResult>;
/**
* A collection of arguments for invoking getResolverFirewallRuleGroupAssociation.
*/
export interface GetResolverFirewallRuleGroupAssociationArgs {
/**
* The identifier for the association.
*/
firewallRuleGroupAssociationId: string;
/**
* Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
*/
region?: string;
}
/**
* A collection of values returned by getResolverFirewallRuleGroupAssociation.
*/
export interface GetResolverFirewallRuleGroupAssociationResult {
/**
* The Amazon Resource Name (ARN) of the firewall rule group association.
*/
readonly arn: string;
/**
* The date and time that the association was created, in Unix time format and Coordinated Universal Time (UTC).
*/
readonly creationTime: string;
/**
* A unique string defined by you to identify the request.
*/
readonly creatorRequestId: string;
readonly firewallRuleGroupAssociationId: string;
/**
* The unique identifier of the firewall rule group.
*/
readonly firewallRuleGroupId: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* The owner of the association, used only for associations that are not managed by you.
*/
readonly managedOwnerName: string;
/**
* The date and time that the association was last modified, in Unix time format and Coordinated Universal Time (UTC).
*/
readonly modificationTime: string;
/**
* If enabled, this setting disallows modification or removal of the association, to help prevent against accidentally altering DNS firewall protections.
*/
readonly mutationProtection: string;
/**
* The name of the association.
*/
readonly name: string;
/**
* The setting that determines the processing order of the rule group among the rule groups that are associated with a single VPC.
*/
readonly priority: number;
readonly region: string;
/**
* The current status of the association.
*/
readonly status: string;
/**
* Additional information about the status of the response, if available.
*/
readonly statusMessage: string;
/**
* The unique identifier of the VPC that is associated with the rule group.
*/
readonly vpcId: string;
}
/**
* `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.
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as aws from "@pulumi/aws";
*
* const example = aws.route53.getResolverFirewallRuleGroupAssociation({
* firewallRuleGroupAssociationId: "rslvr-frgassoc-example",
* });
* ```
*/
export declare function getResolverFirewallRuleGroupAssociationOutput(args: GetResolverFirewallRuleGroupAssociationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetResolverFirewallRuleGroupAssociationResult>;
/**
* A collection of arguments for invoking getResolverFirewallRuleGroupAssociation.
*/
export interface GetResolverFirewallRuleGroupAssociationOutputArgs {
/**
* The identifier for the association.
*/
firewallRuleGroupAssociationId: pulumi.Input<string>;
/**
* Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
*/
region?: pulumi.Input<string>;
}