infrastructure-stack.ts 390 B

12345678910111213
  1. import * as cdk from '@aws-cdk/core';
  2. import * as sqs from '@aws-cdk/aws-sqs';
  3. export class InfrastructureStack extends cdk.Stack {
  4. constructor(scope: cdk.Construct, id: string, props?: cdk.StackProps) {
  5. super(scope, id, props);
  6. new sqs.Queue(this, 'spring-aws', { queueName: `${id}-spring-aws` });
  7. new sqs.Queue(this, 'aws-pojo', { queueName: `${id}-aws-pojo` });
  8. }
  9. }