Skip to content

REST_API_IDS

Open in ChatGPTOpen in Claude

const REST_API_IDS: object

Defined in: packages/constructs/src/construct-ids.ts:56

readonly apiKey: "ApiKey" = "ApiKey"

Phase 3N: API key — present only when ≥1 route opts in (apiKey:true). NEVER rename.

readonly cognitoAuthorizer: "CognitoAuthorizer" = "CognitoAuthorizer"

Cognito authorizer — NEVER rename. Renaming this causes API Gateway to drop + recreate the authorizer, which briefly invalidates all authenticated endpoints.

readonly gw4xx: "Gw4xx" = "Gw4xx"

Gateway response for 4xx CORS headers

readonly gw5xx: "Gw5xx" = "Gw5xx"

Gateway response for 5xx CORS headers

readonly requestAuthorizer: "RequestAuthorizer" = "RequestAuthorizer"

Phase 3N: Lambda (REQUEST) authorizer — present only when a lambdaAuthorizer is supplied (authorizer:“custom” routes). NEVER rename.

readonly restApi: "RestApi" = "RestApi"

Main REST API

readonly usagePlan: "UsagePlan" = "UsagePlan"

Phase 3N: minimal usage plan binding the API key to the stage. NEVER rename.

© 2026 Axis Tech. Powered by axis-tech.co.