import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * * * * Provides details about an AWS Lambda Web function endpoint, including its HTTPS domain names. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.lambdaweb.getFunctionEndpoint({ * functionName: "example", * endpointName: "default", * }); * ``` */ export declare function getFunctionEndpoint(args: GetFunctionEndpointArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getFunctionEndpoint. */ export interface GetFunctionEndpointArgs { /** * Name of the endpoint. */ endpointName: string; /** * Name of the function the endpoint belongs to. * * 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 getFunctionEndpoint. */ export interface GetFunctionEndpointResult { /** * ARN of the endpoint. */ readonly arn: string; /** * Authentication mode of the endpoint. */ readonly authType: string; /** * Deployment mode of the endpoint. */ readonly autoDeploymentMode: string; /** * Description of the endpoint. */ readonly description: string; /** * HTTPS domain of the endpoint. Empty for `PerRegion` endpoints, which only expose `regionalDomainNames`. */ readonly domainName: string; readonly endpointName: string; /** * Endpoint type (`HomeRegion`, `MultiRegion` or `PerRegion`). */ readonly endpointType: string; readonly functionName: string; readonly region: string; /** * Map of Region to that Region's independent domain name. */ readonly regionalDomainNames: { [key: string]: string; }; /** * Regions the endpoint spans. */ readonly regions: string[]; /** * Revisions the endpoint routes to, each with `revisionId` and `weight`. Under `autoDeploymentMode = "Disabled"` these are the weights a canary or blue/green shift set; under `LatestRevision` the service reports its own ephemeral routing. */ readonly revisionWeights: outputs.lambdaweb.GetFunctionEndpointRevisionWeight[]; /** * Scaling limits of the endpoint. See below. */ readonly scalingConfigs: outputs.lambdaweb.GetFunctionEndpointScalingConfig[]; /** * Current state of the endpoint. */ readonly state: string; /** * Reason for the current state, which names the failing Region when a `MultiRegion` or `PerRegion` endpoint could not deploy everywhere. */ readonly stateReason: string; /** * Request throttling of the endpoint. See below. */ readonly throttleConfigs: outputs.lambdaweb.GetFunctionEndpointThrottleConfig[]; } /** * * * * Provides details about an AWS Lambda Web function endpoint, including its HTTPS domain names. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.lambdaweb.getFunctionEndpoint({ * functionName: "example", * endpointName: "default", * }); * ``` */ export declare function getFunctionEndpointOutput(args: GetFunctionEndpointOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getFunctionEndpoint. */ export interface GetFunctionEndpointOutputArgs { /** * Name of the endpoint. */ endpointName: pulumi.Input; /** * Name of the function the endpoint belongs to. * * 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=getFunctionEndpoint.d.ts.map