import * as core from "@terrascript/core"; export interface CorsConfigurationArgs 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 CorsConfiguration 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 DsApiArgs { /** * (Required) The API identifier. */ apiId: string | core.StringOut; /** * A map of resource tags. */ tags?: core.Map | core.MapOut; } export declare class DsApi extends core.Data { /** * The URI of the API, of the form `https://{api-id}.execute-api.{region}.amazonaws.com` for HTTP APIs * and `wss://{api-id}.execute-api.{region}.amazonaws.com` for WebSocket APIs. */ apiEndpoint: string | core.StringOut; /** * (Required) The API identifier. */ apiId: string | core.StringOut; /** * An [API key selection expression](https://docs.aws.amazon.com/apigateway/latest/developerguide/apiga * teway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions * ). */ apiKeySelectionExpression: string | core.StringOut; /** * The ARN of the API. */ arn: string | core.StringOut; /** * The cross-origin resource sharing (CORS) [configuration](https://docs.aws.amazon.com/apigateway/late * st/developerguide/http-api-cors.html). */ corsConfiguration: core.Array | core.ArrayOut; /** * The description of the API. */ description: string | core.StringOut; /** * Whether clients can invoke the API by using the default `execute-api` endpoint. */ disableExecuteApiEndpoint: boolean | core.BooleanOut; /** * The ARN prefix to be used in an [`aws_lambda_permission`](/docs/providers/aws/r/lambda_permission.ht * ml)'s `source_arn` attribute */ executionArn: string | core.StringOut; id: string | core.StringOut; /** * The name of the API. */ name: string | core.StringOut; /** * The API protocol. */ protocolType: string | core.StringOut; /** * The [route selection expression](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigat * eway-websocket-api-selection-expressions.html#apigateway-websocket-api-route-selection-expressions) * for the API. */ routeSelectionExpression: string | core.StringOut; /** * A map of resource tags. */ tags?: core.Map | core.MapOut; /** * A version identifier for the API. */ version: string | core.StringOut; constructor(name: string, args?: DsApiArgs); getNamespace(): string; } //# sourceMappingURL=ds_api.d.ts.map