Skip to content

AtfAppSync

Open in ChatGPTOpen in Claude

Defined in: packages/constructs/src/api/appsync.ts:173

  • Construct

new AtfAppSync(scope, id, props): AtfAppSync

Defined in: packages/constructs/src/api/appsync.ts:192

Construct

string

AtfAppSyncProps

AtfAppSync

Construct.constructor

readonly apiKeys: Record<string, string> = {}

Defined in: packages/constructs/src/api/appsync.ts:181

baseName → generated API-key VALUE (an unresolved token). Surfaced here so the stack can emit it via CfnOutput. NEVER written to SSM.


readonly apis: Record<string, appsync.GraphqlApi> = {}

Defined in: packages/constructs/src/api/appsync.ts:175

Created GraphQL APIs, keyed by baseName.


readonly customDomainTargets: Record<string, string> = {}

Defined in: packages/constructs/src/api/appsync.ts:190

Phase 3D3 — baseName → custom-domain CloudFront target (CfnDomainName.attrAppSyncDomainName). Populated only for APIs with a domain config. GraphqlStack folds this into SSM so a separate same-account DNS-manager stack can read the target. The target is a public DNS name (never secret material — the no-key-in-SSM rule holds).


readonly node: Node

Defined in: node_modules/.pnpm/constructs@10.7.0/node_modules/constructs/lib/construct.d.ts:311

The tree node.

Construct.node

toString(): string

Defined in: node_modules/.pnpm/constructs@10.7.0/node_modules/constructs/lib/construct.d.ts:336

Returns a string representation of this construct.

string

Construct.toString


with(…mixins): IConstruct

Defined in: node_modules/.pnpm/constructs@10.7.0/node_modules/constructs/lib/construct.d.ts:332

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the start of the call, so constructs added by a mixin will not be visited. Use multiple with() calls if subsequent mixins should apply to added constructs.

IMixin[]

The mixins to apply

IConstruct

This construct for chaining

Construct.with


static isConstruct(x): x is Construct

Defined in: node_modules/.pnpm/constructs@10.7.0/node_modules/constructs/lib/construct.d.ts:307

Checks if x is a construct.

Use this method instead of instanceof to properly detect Construct instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the constructs library on disk are seen as independent, completely different libraries. As a consequence, the class Construct in each copy of the constructs library is seen as a different class, and an instance of one class will not test as instanceof the other class. npm install will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the constructs library can be accidentally installed, and instanceof will behave unpredictably. It is safest to avoid using instanceof, and using this type-testing method instead.

any

Any object

x is Construct

true if x is an object created from a class which extends Construct.

Construct.isConstruct

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