UNPKG

@pulumi/aws

Version:

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

117 lines (116 loc) 4.11 kB
import * as pulumi from "@pulumi/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. * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.route53.getResolverFirewallRuleGroup({ * firewallRuleGroupId: "rslvr-frg-example", * }); * ``` */ export declare function getResolverFirewallRuleGroup(args: GetResolverFirewallRuleGroupArgs, opts?: pulumi.InvokeOptions): Promise<GetResolverFirewallRuleGroupResult>; /** * A collection of arguments for invoking getResolverFirewallRuleGroup. */ export interface GetResolverFirewallRuleGroupArgs { /** * The ID of the rule group. */ firewallRuleGroupId: 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 getResolverFirewallRuleGroup. */ export interface GetResolverFirewallRuleGroupResult { /** * The ARN (Amazon Resource Name) of the rule group. */ readonly arn: string; /** * The date and time that the rule group 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 firewallRuleGroupId: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The date and time that the rule group was last modified, in Unix time format and Coordinated Universal Time (UTC). */ readonly modificationTime: string; /** * The name of the rule group. */ readonly name: 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. */ readonly ownerId: string; readonly region: string; /** * The number of rules in the rule group. */ readonly ruleCount: number; /** * 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. */ readonly shareStatus: string; /** * The status of the rule group. */ readonly status: string; /** * Additional information about the status of the rule group, if available. */ readonly statusMessage: string; } /** * `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. * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.route53.getResolverFirewallRuleGroup({ * firewallRuleGroupId: "rslvr-frg-example", * }); * ``` */ export declare function getResolverFirewallRuleGroupOutput(args: GetResolverFirewallRuleGroupOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetResolverFirewallRuleGroupResult>; /** * A collection of arguments for invoking getResolverFirewallRuleGroup. */ export interface GetResolverFirewallRuleGroupOutputArgs { /** * The ID of the rule group. */ firewallRuleGroupId: 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>; }