import 'source-map-support/register' ; import * as cdk from '@aws-cdk/core' ; import { SampleApp } from '../lib/sample-app' ; import { PipelineStack } from '../lib/pipeline-stack' ; const app = new cdk . App ( ) ; const delivery = new PipelineStack ( app , 'sample-DeliveryPipeline' , { name : 'sample-app' , env : { account : 'REPLACE_WITH_SHARED_SERVICES_ACCOUNT_ID' , region : 'us-east-2' , } } ) ; delivery . pipeline . addApplicationStage ( new SampleApp ( app , 'devSampleApp' , { env : { account : 'REPLACE_WITH_DEV_ACCOUNT_ID' , region : 'us-east-2' } } ) ) ; delivery . pipeline . addApplicationStage ( new SampleApp ( app , 'prodSampleApp' , { env : { account : 'REPLACE_WITH_PROD_ACCOUNT_ID' , region : 'us-east-1' } } ) ) ;