aws-cdk-study.ts 966 B

123456789101112131415161718192021
  1. #!/usr/bin/env node
  2. import 'source-map-support/register';
  3. import * as cdk from 'aws-cdk-lib';
  4. import { AwsCdkStudyStack } from '../lib/aws-cdk-study-stack';
  5. const app = new cdk.App();
  6. new AwsCdkStudyStack(app, 'AwsCdkStudyStack', {
  7. /* If you don't specify 'env', this stack will be environment-agnostic.
  8. * Account/Region-dependent features and context lookups will not work,
  9. * but a single synthesized template can be deployed anywhere. */
  10. /* Uncomment the next line to specialize this stack for the AWS Account
  11. * and Region that are implied by the current CLI configuration. */
  12. // env: { account: process.env.CDK_DEFAULT_ACCOUNT, region: process.env.CDK_DEFAULT_REGION },
  13. /* Uncomment the next line if you know exactly what Account and Region you
  14. * want to deploy the stack to. */
  15. // env: { account: '123456789012', region: 'us-east-1' },
  16. /* For more information, see https://docs.aws.amazon.com/cdk/latest/guide/environments.html */
  17. });