AppSyncApiConfig
Defined in: packages/core/src/config/types.ts:181
One AppSync GraphQL API (Phase 3D — schema-first + Lambda data sources). Extends the full CDK GraphqlApiProps minus the props Axis controls, so every other CDK option is available directly (“Axis IS CDK”).
Extends
Section titled “Extends”Omit<appsync.GraphqlApiProps,"name"|"definition"|"schema"|"authorizationConfig"|"xrayEnabled"|"logConfig">
Properties
Section titled “Properties”authModes?
Section titled “authModes?”
optionalauthModes?:AppSyncAuthMode[]
Defined in: packages/core/src/config/types.ts:197
First = defaultAuthorization, rest = additional. Default: [{ type: “userPool” }].
baseName
Section titled “baseName”baseName:
string
Defined in: packages/core/src/config/types.ts:188
Stable base name; the API name becomes ${baseName}-${stageName}.
cache?
Section titled “cache?”
optionalcache?:AppSyncCacheConfig
Defined in: packages/core/src/config/types.ts:203
API-level server-side cache (Phase 3D3). Absent ⇒ no cache.
constructId
Section titled “constructId”constructId:
string
Defined in: packages/core/src/config/types.ts:186
NEVER-rename construct id (logical-ID stability).
dataSources?
Section titled “dataSources?”
optionaldataSources?:AppSyncDataSourceConfig[]
Defined in: packages/core/src/config/types.ts:195
Non-Lambda data sources (DynamoDB/HTTP/None), referenced by name.
domain?
Section titled “domain?”
optionaldomain?:AppSyncDomainConfig
Defined in: packages/core/src/config/types.ts:205
Custom domain for the GraphQL + realtime endpoints (Phase 3D3).
domainName?
Section titled “domainName?”
readonlyoptionaldomainName?:DomainOptions
Defined in: node_modules/.pnpm/aws-cdk-lib@2.261.0_constructs@10.7.0/node_modules/aws-cdk-lib/aws-appsync/lib/graphqlapi.d.ts:420
The domain name configuration for the GraphQL API
The Route 53 hosted zone and CName DNS record must be configured in addition to this setting to enable custom domain URL
Default
Section titled “Default”- no domain nameInherited from
Section titled “Inherited from”Omit.domainName
enhancedMetricsConfig?
Section titled “enhancedMetricsConfig?”
readonlyoptionalenhancedMetricsConfig?:EnhancedMetricsConfig
Defined in: node_modules/.pnpm/aws-cdk-lib@2.261.0_constructs@10.7.0/node_modules/aws-cdk-lib/aws-appsync/lib/graphqlapi.d.ts:469
Enables and controls the enhanced metrics feature.
Default
Section titled “Default”- Enhanced metrics disabled.Inherited from
Section titled “Inherited from”Omit.enhancedMetricsConfig
environmentVariables?
Section titled “environmentVariables?”
readonlyoptionalenvironmentVariables?:object
Defined in: node_modules/.pnpm/aws-cdk-lib@2.261.0_constructs@10.7.0/node_modules/aws-cdk-lib/aws-appsync/lib/graphqlapi.d.ts:453
A map containing the list of resources with their properties and environment variables.
There are a few rules you must follow when creating keys and values:
- Keys must begin with a letter.
- Keys must be between 2 and 64 characters long.
- Keys can only contain letters, numbers, and the underscore character (_).
- Values can be up to 512 characters long.
- You can configure up to 50 key-value pairs in a GraphQL API.
Index Signature
Section titled “Index Signature”[key: string]: string
Default
Section titled “Default”- No environment variables.Inherited from
Section titled “Inherited from”Omit.environmentVariables
fieldLogLevel?
Section titled “fieldLogLevel?”
optionalfieldLogLevel?:AppSyncFieldLogLevel
Defined in: packages/core/src/config/types.ts:199
Field-level logging. Default “ERROR”; “NONE” disables logConfig.
introspectionConfig?
Section titled “introspectionConfig?”
readonlyoptionalintrospectionConfig?:IntrospectionConfig
Defined in: node_modules/.pnpm/aws-cdk-lib@2.261.0_constructs@10.7.0/node_modules/aws-cdk-lib/aws-appsync/lib/graphqlapi.d.ts:426
A value indicating whether the API to enable (ENABLED) or disable (DISABLED) introspection.
Default
Section titled “Default”IntrospectionConfig.ENABLEDInherited from
Section titled “Inherited from”Omit.introspectionConfig
ownerContact?
Section titled “ownerContact?”
readonlyoptionalownerContact?:string
Defined in: node_modules/.pnpm/aws-cdk-lib@2.261.0_constructs@10.7.0/node_modules/aws-cdk-lib/aws-appsync/lib/graphqlapi.d.ts:463
The owner contact information for an API resource.
This field accepts any string input with a length of 0 - 256 characters.
Default
Section titled “Default”- No owner contact.Inherited from
Section titled “Inherited from”Omit.ownerContact
privateVpc?
Section titled “privateVpc?”
optionalprivateVpc?:AppSyncPrivateVpcConfig
Defined in: packages/core/src/config/types.ts:207
VPC interface-endpoint wiring when visibility is PRIVATE (Phase 3D3).
queryDepthLimit?
Section titled “queryDepthLimit?”
readonlyoptionalqueryDepthLimit?:number
Defined in: node_modules/.pnpm/aws-cdk-lib@2.261.0_constructs@10.7.0/node_modules/aws-cdk-lib/aws-appsync/lib/graphqlapi.d.ts:433
A number indicating the maximum depth resolvers should be accepted when handling queries. Value must be withing range of 0 to 75
Default
Section titled “Default”- The default value is 0 (or unspecified) which indicates no maximum depth.Inherited from
Section titled “Inherited from”Omit.queryDepthLimit
resolverCountLimit?
Section titled “resolverCountLimit?”
readonlyoptionalresolverCountLimit?:number
Defined in: node_modules/.pnpm/aws-cdk-lib@2.261.0_constructs@10.7.0/node_modules/aws-cdk-lib/aws-appsync/lib/graphqlapi.d.ts:440
A number indicating the maximum number of resolvers that should be accepted when handling queries. Value must be withing range of 0 to 10000
Default
Section titled “Default”- The default value is 0 (or unspecified), which will set the limit to 10000Inherited from
Section titled “Inherited from”Omit.resolverCountLimit
resolvers
Section titled “resolvers”resolvers:
AppSyncResolverConfig[]
Defined in: packages/core/src/config/types.ts:193
Resolvers. Untyped / type:“lambda” → frozen 3D Lambda path; vtl/js/pipeline are 3D2. Bare GraphqlLambdaConfig[] from a 3D project still type-checks.
schemaPath
Section titled “schemaPath”schemaPath:
string
Defined in: packages/core/src/config/types.ts:190
Path (relative to projectRoot) to the .graphql SDL schema.
visibility?
Section titled “visibility?”
readonlyoptionalvisibility?:Visibility
Defined in: node_modules/.pnpm/aws-cdk-lib@2.261.0_constructs@10.7.0/node_modules/aws-cdk-lib/aws-appsync/lib/graphqlapi.d.ts:411
A value indicating whether the API is accessible from anywhere (GLOBAL) or can only be access from a VPC (PRIVATE).
Default
Section titled “Default”- GLOBALInherited from
Section titled “Inherited from”Omit.visibility
optionalxray?:boolean
Defined in: packages/core/src/config/types.ts:201
X-Ray tracing. Default true.
© 2026 Axis Tech. Powered by axis-tech.co.