import * as cdk from '@aws-cdk/core' ; import { AppStack } from '../lib/app-stack' ; import { SchemaTransformer } from '../transform/schema-transformer' ; const transformer = new SchemaTransformer ( ) ; const outputs = transformer . transform ( ) ; const resolvers = transformer . getResolvers ( ) ; const STAGE = process . env . STAGE || 'demo' ; const app = new cdk . App ( { context : { STAGE : STAGE } } ) ; new AppStack ( app , 'AppStack' , outputs , resolvers ) ;