public synthesize()

in src/index.ts [317:331]


  public synthesize(session: ISynthesisSession): void {
    assertNotNull(this.stack, ERR_MSG_CALL_BIND_FIRST);

    this.synthesizeStackTemplate(this.stack, session);

    // Add the stack's template to the artifact manifest
    const templateManifestUrl = this.addStackTemplateToAssetManifest(session);

    const artifactId = this.writeAssetManifest(session);

    this.emitStackArtifact(this.stack, session, {
      stackTemplateAssetObjectUrl: templateManifestUrl,
      additionalDependencies: [artifactId],
    });
  }