UNPKG

@alma-cdk/cross-region-parameter

Version:

Store AWS SSM Parameter Store Parameters into another AWS Region with AWS CDK

20 lines (14 loc) 529 B
#!/usr/bin/env node var path = require('path'); /* * Pass optional path to target directory as command line argument. * * The directory must include the apis/ folder and service customizations at * `lib/services`. Clients will be generated in `clients/`. * * If parameter is not passed the repository root will be used. */ var ClientCreator = require('./client-creator'); var cc = new ClientCreator(process.argv[2] || path.join(__dirname, '..')); cc.writeClientServices(); console.log('Finished updating services.');