import * as pulumi from "@pulumi/pulumi"; /** * * * * Provides details about an AWS Lambda Web function. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.lambdaweb.getFunction({ * functionName: "example", * }); * ``` */ export declare function getFunction(args: GetFunctionArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getFunction. */ export interface GetFunctionArgs { /** * Name of the function. * * The following arguments are optional: */ functionName: string; /** * Region where this resource will be managed. Defaults to the Region set in the provider configuration. */ region?: string; } /** * A collection of values returned by getFunction. */ export interface GetFunctionResult { /** * ARN of the function. */ readonly arn: string; readonly functionName: string; /** * ID of the newest revision of the function. */ readonly latestRevisionId: string; readonly region: string; /** * Current state of the function. */ readonly state: string; /** * Reason for the current state. */ readonly stateReason: string; /** * Map of tags assigned to the function. */ readonly tags: { [key: string]: string; }; } /** * * * * Provides details about an AWS Lambda Web function. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.lambdaweb.getFunction({ * functionName: "example", * }); * ``` */ export declare function getFunctionOutput(args: GetFunctionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getFunction. */ export interface GetFunctionOutputArgs { /** * Name of the function. * * The following arguments are optional: */ functionName: pulumi.Input; /** * Region where this resource will be managed. Defaults to the Region set in the provider configuration. */ region?: pulumi.Input; } //# sourceMappingURL=getFunction.d.ts.map