AtfHttpApiProps
Defined in: packages/constructs/src/api/http-api.ts:79
Extends
Section titled “Extends”Omit<apigatewayv2.HttpApiProps,"apiName"|"corsPreflight"|"createDefaultStage"|"defaultAuthorizer">
Properties
Section titled “Properties”corsAllowedOrigins?
Section titled “corsAllowedOrigins?”
optionalcorsAllowedOrigins?:string[]
Defined in: packages/constructs/src/api/http-api.ts:92
CORS allowed origins — Axis wires the preflight automatically.
defaultAuthorizationScopes?
Section titled “defaultAuthorizationScopes?”
readonlyoptionaldefaultAuthorizationScopes?:string[]
Defined in: node_modules/.pnpm/aws-cdk-lib@2.261.0_constructs@10.7.0/node_modules/aws-cdk-lib/aws-apigatewayv2/lib/http/api.d.ts:165
Default OIDC scopes attached to all routes in the gateway, unless explicitly configured on the route. The scopes are used with a COGNITO_USER_POOLS authorizer to authorize the method invocation.
Default
Section titled “Default”- no default authorization scopesInherited from
Section titled “Inherited from”Omit.defaultAuthorizationScopes
defaultDomainMapping?
Section titled “defaultDomainMapping?”
readonlyoptionaldefaultDomainMapping?:DomainMappingOptions
Defined in: node_modules/.pnpm/aws-cdk-lib@2.261.0_constructs@10.7.0/node_modules/aws-cdk-lib/aws-apigatewayv2/lib/http/api.d.ts:144
Configure a custom domain with the API mapping resource to the HTTP API
Default
Section titled “Default”- no default domain mapping configured. meaningless if
createDefaultStageisfalse.
Inherited from
Section titled “Inherited from”Omit.defaultDomainMapping
defaultIntegration?
Section titled “defaultIntegration?”
readonlyoptionaldefaultIntegration?:HttpRouteIntegration
Defined in: node_modules/.pnpm/aws-cdk-lib@2.261.0_constructs@10.7.0/node_modules/aws-cdk-lib/aws-apigatewayv2/lib/http/api.d.ts:127
An integration that will be configured on the catch-all route ($default).
Default
Section titled “Default”- noneInherited from
Section titled “Inherited from”Omit.defaultIntegration
description?
Section titled “description?”
readonlyoptionaldescription?:string
Defined in: node_modules/.pnpm/aws-cdk-lib@2.261.0_constructs@10.7.0/node_modules/aws-cdk-lib/aws-apigatewayv2/lib/http/api.d.ts:122
The description of the API.
Default
Section titled “Default”- noneInherited from
Section titled “Inherited from”Omit.description
disableExecuteApiEndpoint?
Section titled “disableExecuteApiEndpoint?”
readonlyoptionaldisableExecuteApiEndpoint?:boolean
Defined in: node_modules/.pnpm/aws-cdk-lib@2.261.0_constructs@10.7.0/node_modules/aws-cdk-lib/aws-apigatewayv2/lib/http/api.d.ts:152
Specifies whether clients can invoke your API using the default endpoint.
By default, clients can invoke your API with the default
https://{api_id}.execute-api.{region}.amazonaws.com endpoint. Set this to
true if you would like clients to use your custom domain name.
Default
Section titled “Default”false execute-api endpoint enabled.Inherited from
Section titled “Inherited from”Omit.disableExecuteApiEndpoint
domain?
Section titled “domain?”
optionaldomain?:HttpApiDomainConfig
Defined in: packages/constructs/src/api/http-api.ts:100
Optional custom domain.
envConfig
Section titled “envConfig”envConfig:
BaseEnvConfig
Defined in: packages/constructs/src/api/http-api.ts:86
ipAddressType?
Section titled “ipAddressType?”
readonlyoptionalipAddressType?:IpAddressType
Defined in: node_modules/.pnpm/aws-cdk-lib@2.261.0_constructs@10.7.0/node_modules/aws-cdk-lib/aws-apigatewayv2/lib/http/api.d.ts:181
The IP address types that can invoke the API.
https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-ip-address-type.html
Default
Section titled “Default”undefined - AWS default is IPV4Inherited from
Section titled “Inherited from”Omit.ipAddressType
lambdaAuthorizer?
Section titled “lambdaAuthorizer?”
optionallambdaAuthorizer?:AtfLambdaAuthorizerConfig
Defined in: packages/constructs/src/api/http-api.ts:102
Optional Lambda (REQUEST) authorizer for routes with authorizer:“lambda”.
lambdaConfigs
Section titled “lambdaConfigs”lambdaConfigs:
HttpApiLambdaConfig[]
Defined in: packages/constructs/src/api/http-api.ts:94
HTTP API route configs.
projectRoot
Section titled “projectRoot”projectRoot:
string
Defined in: packages/constructs/src/api/http-api.ts:98
Project root for entry-path resolution.
registry
Section titled “registry”registry:
ResourceRegistry
Defined in: packages/constructs/src/api/http-api.ts:96
Resource registry for token resolution.
routeSelectionExpression?
Section titled “routeSelectionExpression?”
readonlyoptionalrouteSelectionExpression?:boolean
Defined in: node_modules/.pnpm/aws-cdk-lib@2.261.0_constructs@10.7.0/node_modules/aws-cdk-lib/aws-apigatewayv2/lib/http/api.d.ts:173
Whether to set the default route selection expression for the API.
When enabled, ”${request.method} ${request.path}” is set as the default route selection expression.
Default
Section titled “Default”falseInherited from
Section titled “Inherited from”Omit.routeSelectionExpression
userPool?
Section titled “userPool?”
optionaluserPool?:IUserPool
Defined in: packages/constructs/src/api/http-api.ts:88
Cognito User Pool for the JWT authorizer.
userPoolClient?
Section titled “userPoolClient?”
optionaluserPoolClient?:IUserPoolClient
Defined in: packages/constructs/src/api/http-api.ts:90
Cognito User Pool client — the JWT audience. Required for the authorizer.
© 2026 Axis Tech. Powered by axis-tech.co.