import * as core from "@terrascript/core"; export interface CorsArgs extends core.SchemaArgs { allowCredentials?: boolean | core.BooleanOut; allowHeaders?: core.Array | core.ArrayOut; allowMethods?: core.Array | core.ArrayOut; allowOrigins?: core.Array | core.ArrayOut; exposeHeaders?: core.Array | core.ArrayOut; maxAge?: number | core.NumberOut; } export declare class Cors extends core.Schema { allowCredentials?: boolean | core.BooleanOut; allowHeaders?: core.Array | core.ArrayOut; allowMethods?: core.Array | core.ArrayOut; allowOrigins?: core.Array | core.ArrayOut; exposeHeaders?: core.Array | core.ArrayOut; maxAge?: number | core.NumberOut; } export interface FunctionUrlArgs extends core.ResourceArgs { /** * (Required) The type of authentication that the function URL uses. Set to `"AWS_IAM"` to restrict acc * ess to authenticated IAM users only. Set to `"NONE"` to bypass IAM authentication and create a publi * c endpoint. See the [AWS documentation](https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html) * for more details. */ authorizationType: string | core.StringOut; /** * (Optional) The [cross-origin resource sharing (CORS)](https://developer.mozilla.org/en-US/docs/Web/H * TTP/CORS) settings for the function URL. Documented below. */ cors?: Cors; /** * (Required) The name (or ARN) of the Lambda function. */ functionName: string | core.StringOut; /** * (Optional) The alias name or `"$LATEST"`. */ qualifier?: string | core.StringOut; } export declare class FunctionUrl extends core.Resource { /** * (Required) The type of authentication that the function URL uses. Set to `"AWS_IAM"` to restrict acc * ess to authenticated IAM users only. Set to `"NONE"` to bypass IAM authentication and create a publi * c endpoint. See the [AWS documentation](https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html) * for more details. */ authorizationType: string | core.StringOut; /** * (Optional) The [cross-origin resource sharing (CORS)](https://developer.mozilla.org/en-US/docs/Web/H * TTP/CORS) settings for the function URL. Documented below. */ cors?: Cors; /** * The Amazon Resource Name (ARN) of the function. */ functionArn: string | core.StringOut; /** * (Required) The name (or ARN) of the Lambda function. */ functionName: string | core.StringOut; /** * The HTTP URL endpoint for the function in the format `https://.lambda-url..on.aws`. */ functionUrl: string | core.StringOut; id: string | core.StringOut; /** * (Optional) The alias name or `"$LATEST"`. */ qualifier?: string | core.StringOut; /** * A generated ID for the endpoint. */ urlId: string | core.StringOut; constructor(name: string, args?: FunctionUrlArgs); getNamespace(): string; } //# sourceMappingURL=function_url.d.ts.map