aws-cdk-study.test.ts 597 B

1234567891011121314151617
  1. // import * as cdk from 'aws-cdk-lib';
  2. // import { Template } from 'aws-cdk-lib/assertions';
  3. // import * as AwsCdkStudy from '../lib/aws-cdk-study-stack';
  4. // example test. To run these tests, uncomment this file along with the
  5. // example resource in lib/aws-cdk-study-stack.ts
  6. test('SQS Queue Created', () => {
  7. // const app = new cdk.App();
  8. // // WHEN
  9. // const stack = new AwsCdkStudy.AwsCdkStudyStack(app, 'MyTestStack');
  10. // // THEN
  11. // const template = Template.fromStack(stack);
  12. // template.hasResourceProperties('AWS::SQS::Queue', {
  13. // VisibilityTimeout: 300
  14. // });
  15. });