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 DsFunctionUrlArgs { /** * (Required) he name (or ARN) of the Lambda function. */ functionName: string | core.StringOut; /** * (Optional) The alias name or `"$LATEST"`. */ qualifier?: string | core.StringOut; } export declare class DsFunctionUrl extends core.Data { /** * The type of authentication that the function URL uses. */ authorizationType: string | core.StringOut; /** * The [cross-origin resource sharing (CORS)](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) s * ettings for the function URL. See the [`aws_lambda_function_url` resource](/docs/providers/aws/r/lam * bda_function_url.html) documentation for more details. */ cors: core.Array | core.ArrayOut; /** * When the function URL was created, in [ISO-8601 format](https://www.w3.org/TR/NOTE-datetime). */ creationTime: string | core.StringOut; /** * The Amazon Resource Name (ARN) of the function. */ functionArn: string | core.StringOut; /** * (Required) he 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; /** * When the function URL configuration was last updated, in [ISO-8601 format](https://www.w3.org/TR/NOT * E-datetime). */ lastModifiedTime: 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?: DsFunctionUrlArgs); getNamespace(): string; } //# sourceMappingURL=ds_function_url.d.ts.map