From d48a693cd28afcb50bf784b7ad12349fa586dec6 Mon Sep 17 00:00:00 2001 From: Michael Sambol Date: Sun, 28 Jan 2024 13:34:13 -0800 Subject: [PATCH] clean up --- .../Dockerfile | 3 -- .../index.py | 6 --- .../test/app-staging-synthesizer.test.ts | 30 -------------- ...c2a01b7f7965833643ab37e62799f19a37f650.zip | Bin 319 -> 0 bytes packages/aws-cdk-lib/amzn-sdc/.jsiirc.json | 13 ------ packages/aws-cdk-lib/amzn-sdc/README.md | 39 ------------------ packages/aws-cdk-lib/amzn-sdc/index.ts | 1 - packages/aws-cdk-lib/amzn-sdc/lib/index.ts | 2 - .../aws-cdk-lib/aws-codetest/.jsiirc.json | 13 ------ packages/aws-cdk-lib/aws-codetest/README.md | 39 ------------------ packages/aws-cdk-lib/aws-codetest/index.ts | 1 - .../aws-cdk-lib/aws-codetest/lib/index.ts | 2 - 12 files changed, 149 deletions(-) delete mode 100644 packages/@aws-cdk-testing/framework-integ/test/aws-events-targets/test/ecs/integ.event-ec2-task.js.snapshot/asset.68200e526120bbfea5d40f029ba8f890b9bf2d12e5a5284a9a8ddd798ee33a76/Dockerfile delete mode 100644 packages/@aws-cdk-testing/framework-integ/test/aws-events-targets/test/ecs/integ.event-ec2-task.js.snapshot/asset.68200e526120bbfea5d40f029ba8f890b9bf2d12e5a5284a9a8ddd798ee33a76/index.py delete mode 100644 packages/@aws-cdk/app-staging-synthesizer-alpha/test/integ.synth-default-resources.js.snapshot/.cache/68539effc3f7ad46fff9765606c2a01b7f7965833643ab37e62799f19a37f650.zip delete mode 100644 packages/aws-cdk-lib/amzn-sdc/.jsiirc.json delete mode 100644 packages/aws-cdk-lib/amzn-sdc/README.md delete mode 100644 packages/aws-cdk-lib/amzn-sdc/index.ts delete mode 100644 packages/aws-cdk-lib/amzn-sdc/lib/index.ts delete mode 100644 packages/aws-cdk-lib/aws-codetest/.jsiirc.json delete mode 100644 packages/aws-cdk-lib/aws-codetest/README.md delete mode 100644 packages/aws-cdk-lib/aws-codetest/index.ts delete mode 100644 packages/aws-cdk-lib/aws-codetest/lib/index.ts diff --git a/packages/@aws-cdk-testing/framework-integ/test/aws-events-targets/test/ecs/integ.event-ec2-task.js.snapshot/asset.68200e526120bbfea5d40f029ba8f890b9bf2d12e5a5284a9a8ddd798ee33a76/Dockerfile b/packages/@aws-cdk-testing/framework-integ/test/aws-events-targets/test/ecs/integ.event-ec2-task.js.snapshot/asset.68200e526120bbfea5d40f029ba8f890b9bf2d12e5a5284a9a8ddd798ee33a76/Dockerfile deleted file mode 100644 index 23cf9b3e22f5d..0000000000000 --- a/packages/@aws-cdk-testing/framework-integ/test/aws-events-targets/test/ecs/integ.event-ec2-task.js.snapshot/asset.68200e526120bbfea5d40f029ba8f890b9bf2d12e5a5284a9a8ddd798ee33a76/Dockerfile +++ /dev/null @@ -1,3 +0,0 @@ -FROM public.ecr.aws/docker/library/python:3.12 -ADD index.py . -CMD [ "python3", "./index.py" ] diff --git a/packages/@aws-cdk-testing/framework-integ/test/aws-events-targets/test/ecs/integ.event-ec2-task.js.snapshot/asset.68200e526120bbfea5d40f029ba8f890b9bf2d12e5a5284a9a8ddd798ee33a76/index.py b/packages/@aws-cdk-testing/framework-integ/test/aws-events-targets/test/ecs/integ.event-ec2-task.js.snapshot/asset.68200e526120bbfea5d40f029ba8f890b9bf2d12e5a5284a9a8ddd798ee33a76/index.py deleted file mode 100644 index c4cab119afc2d..0000000000000 --- a/packages/@aws-cdk-testing/framework-integ/test/aws-events-targets/test/ecs/integ.event-ec2-task.js.snapshot/asset.68200e526120bbfea5d40f029ba8f890b9bf2d12e5a5284a9a8ddd798ee33a76/index.py +++ /dev/null @@ -1,6 +0,0 @@ -#!/usr/bin/python -import os -import pprint - -print('Hello from ECS!') -pprint.pprint(dict(os.environ)) diff --git a/packages/@aws-cdk/app-staging-synthesizer-alpha/test/app-staging-synthesizer.test.ts b/packages/@aws-cdk/app-staging-synthesizer-alpha/test/app-staging-synthesizer.test.ts index 894ce8b53ea23..9b0b502a967b1 100644 --- a/packages/@aws-cdk/app-staging-synthesizer-alpha/test/app-staging-synthesizer.test.ts +++ b/packages/@aws-cdk/app-staging-synthesizer-alpha/test/app-staging-synthesizer.test.ts @@ -560,36 +560,6 @@ describe(AppStagingSynthesizer, () => { expect(getStagingResourceStack(asm, prefix).template).toBeDefined(); }); - // test('staging bucket with SSE-S3 encryption', () => { - // // GIVEN - // new CfnResource(stack, 'Resource', { - // type: 'Some::Resource', - // }); - - // app = new App({ - // defaultStackSynthesizer: AppStagingSynthesizer.defaultResources({ - // appId: APP_ID, - // stagingBucketEncryption: BucketEncryption.S3_MANAGED, - // }), - // }); - - // // WHEN - // const asm = app.synth(); - - // // THEN - // Template.fromJSON(getStagingResourceStack(asm).template).hasResourceProperties('AWS::S3::Bucket', { - // BucketEncryption: { - // ServerSideEncryptionConfiguration: [ - // { - // ServerSideEncryptionByDefault: { - // SSEAlgorithm: 'AES256', - // }, - // }, - // ], - // }, - // }); - // }); - describe('environment specifics', () => { test('throws if App includes env-agnostic and specific env stacks', () => { // GIVEN - App with Stack with specific environment diff --git a/packages/@aws-cdk/app-staging-synthesizer-alpha/test/integ.synth-default-resources.js.snapshot/.cache/68539effc3f7ad46fff9765606c2a01b7f7965833643ab37e62799f19a37f650.zip b/packages/@aws-cdk/app-staging-synthesizer-alpha/test/integ.synth-default-resources.js.snapshot/.cache/68539effc3f7ad46fff9765606c2a01b7f7965833643ab37e62799f19a37f650.zip deleted file mode 100644 index a8d776d324631f1285fc1859ce8a48c372ba2f8e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 319 zcmWIWW@Zs#-~d7f21Ou704^ZYB|kYkwJ0q!C$*US)Avvf4c}8IeXe=?>Rs~I(Z6=y z^Ng>T=N0`GIwwz@-)wZv*yKUcx6(il-*YFzPk5X?c`{t%y#6UqMuq@yc8>YS8hCAi zMp^@L08UFm&dAJ5Nv+T;sMOXtbw>MQz - ---- - -![cfn-resources: Stable](https://img.shields.io/badge/cfn--resources-stable-success.svg?style=for-the-badge) - -> All classes with the `Cfn` prefix in this module ([CFN Resources]) are always stable and safe to use. -> -> [CFN Resources]: https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib - ---- - - - -This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project. - -```ts nofixture -import * as amzn_sdc from 'aws-cdk-lib/amzn-sdc'; -``` - - - -There are no official hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet. Here are some suggestions on how to proceed: - -- Search [Construct Hub for SDC construct libraries](https://constructs.dev/search?q=sdc) -- Use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, in the same way you would use [the CloudFormation AMZN::SDC resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AMZN_SDC.html) directly. - - - - -There are no hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet. -However, you can still use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, and use this service exactly as you would using CloudFormation directly. - -For more information on the resources and properties available for this service, see the [CloudFormation documentation for AMZN::SDC](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AMZN_SDC.html). - -(Read the [CDK Contributing Guide](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and submit an RFC if you are interested in contributing to this construct library.) - - diff --git a/packages/aws-cdk-lib/amzn-sdc/index.ts b/packages/aws-cdk-lib/amzn-sdc/index.ts deleted file mode 100644 index f41a696fd204d..0000000000000 --- a/packages/aws-cdk-lib/amzn-sdc/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './lib'; diff --git a/packages/aws-cdk-lib/amzn-sdc/lib/index.ts b/packages/aws-cdk-lib/amzn-sdc/lib/index.ts deleted file mode 100644 index 35a2984cc24f3..0000000000000 --- a/packages/aws-cdk-lib/amzn-sdc/lib/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -// AMZN::SDC Cloudformation Resources -export * from './sdc.generated'; diff --git a/packages/aws-cdk-lib/aws-codetest/.jsiirc.json b/packages/aws-cdk-lib/aws-codetest/.jsiirc.json deleted file mode 100644 index c2f229e5beedf..0000000000000 --- a/packages/aws-cdk-lib/aws-codetest/.jsiirc.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "targets": { - "java": { - "package": "software.amazon.awscdk.services.codetest" - }, - "dotnet": { - "package": "Amazon.CDK.AWS.CodeTest" - }, - "python": { - "module": "aws_cdk.aws_codetest" - } - } -} diff --git a/packages/aws-cdk-lib/aws-codetest/README.md b/packages/aws-cdk-lib/aws-codetest/README.md deleted file mode 100644 index 57a3722006d41..0000000000000 --- a/packages/aws-cdk-lib/aws-codetest/README.md +++ /dev/null @@ -1,39 +0,0 @@ -# AWS::CodeTest Construct Library - - ---- - -![cfn-resources: Stable](https://img.shields.io/badge/cfn--resources-stable-success.svg?style=for-the-badge) - -> All classes with the `Cfn` prefix in this module ([CFN Resources]) are always stable and safe to use. -> -> [CFN Resources]: https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib - ---- - - - -This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project. - -```ts nofixture -import * as codetest from 'aws-cdk-lib/aws-codetest'; -``` - - - -There are no official hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet. Here are some suggestions on how to proceed: - -- Search [Construct Hub for CodeTest construct libraries](https://constructs.dev/search?q=codetest) -- Use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, in the same way you would use [the CloudFormation AWS::CodeTest resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_CodeTest.html) directly. - - - - -There are no hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet. -However, you can still use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, and use this service exactly as you would using CloudFormation directly. - -For more information on the resources and properties available for this service, see the [CloudFormation documentation for AWS::CodeTest](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_CodeTest.html). - -(Read the [CDK Contributing Guide](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and submit an RFC if you are interested in contributing to this construct library.) - - diff --git a/packages/aws-cdk-lib/aws-codetest/index.ts b/packages/aws-cdk-lib/aws-codetest/index.ts deleted file mode 100644 index f41a696fd204d..0000000000000 --- a/packages/aws-cdk-lib/aws-codetest/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './lib'; diff --git a/packages/aws-cdk-lib/aws-codetest/lib/index.ts b/packages/aws-cdk-lib/aws-codetest/lib/index.ts deleted file mode 100644 index f2606fb9ca317..0000000000000 --- a/packages/aws-cdk-lib/aws-codetest/lib/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -// AWS::CodeTest Cloudformation Resources -export * from './codetest.generated';