UNPKG

@pulumi/aws

Version:

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

69 lines (68 loc) 1.99 kB
import * as pulumi from "@pulumi/pulumi"; /** * `aws.wafregional.WebAcl` Retrieves a WAF Regional Web ACL Resource Id. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.wafregional.getWebAcl({ * name: "tfWAFRegionalWebACL", * }); * ``` */ export declare function getWebAcl(args: GetWebAclArgs, opts?: pulumi.InvokeOptions): Promise<GetWebAclResult>; /** * A collection of arguments for invoking getWebAcl. */ export interface GetWebAclArgs { /** * Name of the WAF Regional Web ACL. */ name: 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 getWebAcl. */ export interface GetWebAclResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly name: string; readonly region: string; } /** * `aws.wafregional.WebAcl` Retrieves a WAF Regional Web ACL Resource Id. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.wafregional.getWebAcl({ * name: "tfWAFRegionalWebACL", * }); * ``` */ export declare function getWebAclOutput(args: GetWebAclOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetWebAclResult>; /** * A collection of arguments for invoking getWebAcl. */ export interface GetWebAclOutputArgs { /** * Name of the WAF Regional Web ACL. */ name: 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>; }