Skip to content

AppSyncDomainConfig

Open in ChatGPTOpen in Claude

Defined in: packages/core/src/config/types.ts:137

Custom domain for the GraphQL + realtime endpoints. One CfnDomainName serves BOTH https:///graphql and wss:///graphql/realtime.

optional certificateArn?: string

Defined in: packages/core/src/config/types.ts:148

ACM certificate ARN. MUST be in us-east-1 (AppSync custom domains are CloudFront-fronted). Literal or ${ssm:/path} (resolved by the existing resolveConfigValue path, like every other ARN). Defaults to envConfig.cloudFrontCertificateArn ?? envConfig.certificateArn.


constructId: string

Defined in: packages/core/src/config/types.ts:139

CloudFormation logical ID — NEVER change once deployed. Must differ from the API constructId.


optional description?: string

Defined in: packages/core/src/config/types.ts:157

Optional domain description.


domainName: string

Defined in: packages/core/src/config/types.ts:141

Fully-qualified domain, e.g. “api.myapp.co”.


optional hostedZoneId?: string

Defined in: packages/core/src/config/types.ts:155

Route53 hosted zone for the CNAME record. Present ⇒ the module creates the record; absent ⇒ the CloudFront target is surfaced via SSM + CfnOutput for a separate / external domain manager to wire (this is the escape hatch for “DNS managed elsewhere”). Defaults to envConfig.hostedZoneId.

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