@aws-cdk/aws-cloud9-alpha 2.9.0-alpha.0 → 2.13.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.jsii CHANGED
@@ -8,7 +8,7 @@
8
8
  "url": "https://aws.amazon.com"
9
9
  },
10
10
  "dependencies": {
11
- "aws-cdk-lib": "^2.9.0",
11
+ "aws-cdk-lib": "^2.13.0",
12
12
  "constructs": "^10.0.0"
13
13
  },
14
14
  "dependencyClosure": {
@@ -1523,6 +1523,19 @@
1523
1523
  }
1524
1524
  }
1525
1525
  },
1526
+ "aws-cdk-lib.aws_kafkaconnect": {
1527
+ "targets": {
1528
+ "dotnet": {
1529
+ "namespace": "Amazon.CDK.AWS.KafkaConnect"
1530
+ },
1531
+ "java": {
1532
+ "package": "software.amazon.awscdk.services.kafkaconnect"
1533
+ },
1534
+ "python": {
1535
+ "module": "aws_cdk.aws_kafkaconnect"
1536
+ }
1537
+ }
1538
+ },
1526
1539
  "aws-cdk-lib.aws_kendra": {
1527
1540
  "targets": {
1528
1541
  "dotnet": {
@@ -2907,7 +2920,7 @@
2907
2920
  "stability": "experimental"
2908
2921
  },
2909
2922
  "homepage": "https://github.com/aws/aws-cdk",
2910
- "jsiiVersion": "1.52.1 (build 5ccc8f6)",
2923
+ "jsiiVersion": "1.54.0 (build b1b977a)",
2911
2924
  "keywords": [
2912
2925
  "aws",
2913
2926
  "cdk",
@@ -2920,12 +2933,15 @@
2920
2933
  "compiledWithDeprecationWarnings": true,
2921
2934
  "pacmak": {
2922
2935
  "hasDefaultInterfaces": true
2936
+ },
2937
+ "rosetta": {
2938
+ "strict": true
2923
2939
  }
2924
2940
  }
2925
2941
  },
2926
2942
  "name": "@aws-cdk/aws-cloud9-alpha",
2927
2943
  "readme": {
2928
- "markdown": "# AWS Cloud9 Construct Library\n<!--BEGIN STABILITY BANNER-->\n\n---\n\n![cdk-constructs: Experimental](https://img.shields.io/badge/cdk--constructs-experimental-important.svg?style=for-the-badge)\n\n> The APIs of higher level constructs in this module are experimental and under active development.\n> They are subject to non-backward compatible changes or removal in any future version. These are\n> not subject to the [Semantic Versioning](https://semver.org/) model and breaking changes will be\n> announced in the release notes. This means that while you may use them, you may need to update\n> your source code when upgrading to a newer version of this package.\n\n---\n\n<!--END STABILITY BANNER-->\n\nThis module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.\n\nAWS Cloud9 is a cloud-based integrated development environment (IDE) that lets you write, run, and debug your code with just a browser. It includes a code editor, debugger, and terminal. Cloud9 comes prepackaged with essential tools for popular programming languages, including JavaScript, Python, PHP, and more, so you don’t need to install files or configure your development machine to start new projects. Since your Cloud9 IDE is cloud-based, you can work on your projects from your office, home, or anywhere using an internet-connected machine. Cloud9 also provides a seamless experience for developing serverless applications enabling you to easily define resources, debug, and switch between local and remote execution of serverless applications. With Cloud9, you can quickly share your development environment with your team, enabling you to pair program and track each other's inputs in real time.\n\n\n## Creating EC2 Environment\n\nEC2 Environments are defined with `Ec2Environment`. To create an EC2 environment in the private subnet, specify `subnetSelection` with private `subnetType`.\n\n\n```ts\nimport * as cloud9 from '@aws-cdk/aws-cloud9-alpha';\n\n// create a cloud9 ec2 environment in a new VPC\nconst vpc = new ec2.Vpc(this, 'VPC', { maxAzs: 3});\nnew cloud9.Ec2Environment(this, 'Cloud9Env', { vpc });\n\n// or create the cloud9 environment in the default VPC with specific instanceType\nconst defaultVpc = ec2.Vpc.fromLookup(this, 'DefaultVPC', { isDefault: true });\nnew cloud9.Ec2Environment(this, 'Cloud9Env2', {\n vpc: defaultVpc,\n instanceType: new ec2.InstanceType('t3.large')\n});\n\n// or specify in a different subnetSelection\nconst c9env = new cloud9.Ec2Environment(this, 'Cloud9Env3', {\n vpc,\n subnetSelection: {\n subnetType: ec2.SubnetType.PRIVATE\n }\n});\n\n// print the Cloud9 IDE URL in the output\nnew cdk.CfnOutput(this, 'URL', { value: c9env.ideUrl });\n```\n\n## Cloning Repositories\n\nUse `clonedRepositories` to clone one or multiple AWS Codecommit repositories into the environment:\n\n```ts\n// create a codecommit repository to clone into the cloud9 environment\nconst repoNew = new codecommit.Repository(this, 'RepoNew', {\n repositoryName: 'new-repo',\n});\n\n// import an existing codecommit repository to clone into the cloud9 environment\nconst repoExisting = codecommit.Repository.fromRepositoryName(stack, 'RepoExisting', 'existing-repo');\n\n// create a new Cloud9 environment and clone the two repositories\nnew cloud9.Ec2Environment(stack, 'C9Env', {\n vpc,\n clonedRepositories: [\n cloud9.CloneRepository.fromCodeCommit(repoNew, '/src/new-repo'),\n cloud9.CloneRepository.fromCodeCommit(repoExisting, '/src/existing-repo'),\n ],\n});\n```\n"
2944
+ "markdown": "# AWS Cloud9 Construct Library\n<!--BEGIN STABILITY BANNER-->\n\n---\n\n![cdk-constructs: Experimental](https://img.shields.io/badge/cdk--constructs-experimental-important.svg?style=for-the-badge)\n\n> The APIs of higher level constructs in this module are experimental and under active development.\n> They are subject to non-backward compatible changes or removal in any future version. These are\n> not subject to the [Semantic Versioning](https://semver.org/) model and breaking changes will be\n> announced in the release notes. This means that while you may use them, you may need to update\n> your source code when upgrading to a newer version of this package.\n\n---\n\n<!--END STABILITY BANNER-->\n\nThis module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.\n\nAWS Cloud9 is a cloud-based integrated development environment (IDE) that lets you write, run, and debug your code with just a\nbrowser. It includes a code editor, debugger, and terminal. Cloud9 comes prepackaged with essential tools for popular\nprogramming languages, including JavaScript, Python, PHP, and more, so you don’t need to install files or configure your\ndevelopment machine to start new projects. Since your Cloud9 IDE is cloud-based, you can work on your projects from your\noffice, home, or anywhere using an internet-connected machine. Cloud9 also provides a seamless experience for developing\nserverless applications enabling you to easily define resources, debug, and switch between local and remote execution of\nserverless applications. With Cloud9, you can quickly share your development environment with your team, enabling you to pair\nprogram and track each other's inputs in real time.\n\n\n## Creating EC2 Environment\n\nEC2 Environments are defined with `Ec2Environment`. To create an EC2 environment in the private subnet, specify\n`subnetSelection` with private `subnetType`.\n\n\n```ts\n// create a cloud9 ec2 environment in a new VPC\nconst vpc = new ec2.Vpc(this, 'VPC', { maxAzs: 3});\nnew cloud9.Ec2Environment(this, 'Cloud9Env', { vpc });\n\n// or create the cloud9 environment in the default VPC with specific instanceType\nconst defaultVpc = ec2.Vpc.fromLookup(this, 'DefaultVPC', { isDefault: true });\nnew cloud9.Ec2Environment(this, 'Cloud9Env2', {\n vpc: defaultVpc,\n instanceType: new ec2.InstanceType('t3.large'),\n});\n\n// or specify in a different subnetSelection\nconst c9env = new cloud9.Ec2Environment(this, 'Cloud9Env3', {\n vpc,\n subnetSelection: {\n subnetType: ec2.SubnetType.PRIVATE,\n },\n});\n\n// print the Cloud9 IDE URL in the output\nnew CfnOutput(this, 'URL', { value: c9env.ideUrl });\n```\n\n## Cloning Repositories\n\nUse `clonedRepositories` to clone one or multiple AWS Codecommit repositories into the environment:\n\n```ts\nimport * as codecommit from 'aws-cdk-lib/aws-codecommit';\n\n// create a codecommit repository to clone into the cloud9 environment\nconst repoNew = new codecommit.Repository(this, 'RepoNew', {\n repositoryName: 'new-repo',\n});\n\n// import an existing codecommit repository to clone into the cloud9 environment\nconst repoExisting = codecommit.Repository.fromRepositoryName(this, 'RepoExisting', 'existing-repo');\n\n// create a new Cloud9 environment and clone the two repositories\ndeclare const vpc: ec2.Vpc;\nnew cloud9.Ec2Environment(this, 'C9Env', {\n vpc,\n clonedRepositories: [\n cloud9.CloneRepository.fromCodeCommit(repoNew, '/src/new-repo'),\n cloud9.CloneRepository.fromCodeCommit(repoExisting, '/src/existing-repo'),\n ],\n});\n```\n"
2929
2945
  },
2930
2946
  "repository": {
2931
2947
  "directory": "packages/individual-packages/aws-cloud9",
@@ -2966,12 +2982,12 @@
2966
2982
  "@aws-cdk/aws-cloud9-alpha.CloneRepository": {
2967
2983
  "assembly": "@aws-cdk/aws-cloud9-alpha",
2968
2984
  "docs": {
2969
- "stability": "experimental",
2970
- "summary": "The class for different repository providers.",
2971
- "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as cloud9_alpha from '@aws-cdk/aws-cloud9-alpha';\nimport { aws_codecommit as codecommit } from 'aws-cdk-lib';\n\ndeclare const repository: codecommit.Repository;\nconst cloneRepository = cloud9_alpha.CloneRepository.fromCodeCommit(repository, 'path');",
2972
2985
  "custom": {
2973
- "exampleMetadata": "fixture=_generated"
2974
- }
2986
+ "exampleMetadata": "infused"
2987
+ },
2988
+ "example": "import * as codecommit from 'aws-cdk-lib/aws-codecommit';\n\n// create a codecommit repository to clone into the cloud9 environment\nconst repoNew = new codecommit.Repository(this, 'RepoNew', {\n repositoryName: 'new-repo',\n});\n\n// import an existing codecommit repository to clone into the cloud9 environment\nconst repoExisting = codecommit.Repository.fromRepositoryName(this, 'RepoExisting', 'existing-repo');\n\n// create a new Cloud9 environment and clone the two repositories\ndeclare const vpc: ec2.Vpc;\nnew cloud9.Ec2Environment(this, 'C9Env', {\n vpc,\n clonedRepositories: [\n cloud9.CloneRepository.fromCodeCommit(repoNew, '/src/new-repo'),\n cloud9.CloneRepository.fromCodeCommit(repoExisting, '/src/existing-repo'),\n ],\n});",
2989
+ "stability": "experimental",
2990
+ "summary": "The class for different repository providers."
2975
2991
  },
2976
2992
  "fqn": "@aws-cdk/aws-cloud9-alpha.CloneRepository",
2977
2993
  "kind": "class",
@@ -3059,7 +3075,7 @@
3059
3075
  "exampleMetadata": "infused",
3060
3076
  "resource": "AWS::Cloud9::EnvironmentEC2"
3061
3077
  },
3062
- "example": "import * as cloud9 from '@aws-cdk/aws-cloud9-alpha';\n\n// create a cloud9 ec2 environment in a new VPC\nconst vpc = new ec2.Vpc(this, 'VPC', { maxAzs: 3});\nnew cloud9.Ec2Environment(this, 'Cloud9Env', { vpc });\n\n// or create the cloud9 environment in the default VPC with specific instanceType\nconst defaultVpc = ec2.Vpc.fromLookup(this, 'DefaultVPC', { isDefault: true });\nnew cloud9.Ec2Environment(this, 'Cloud9Env2', {\n vpc: defaultVpc,\n instanceType: new ec2.InstanceType('t3.large')\n});\n\n// or specify in a different subnetSelection\nconst c9env = new cloud9.Ec2Environment(this, 'Cloud9Env3', {\n vpc,\n subnetSelection: {\n subnetType: ec2.SubnetType.PRIVATE\n }\n});\n\n// print the Cloud9 IDE URL in the output\nnew cdk.CfnOutput(this, 'URL', { value: c9env.ideUrl });",
3078
+ "example": "// create a cloud9 ec2 environment in a new VPC\nconst vpc = new ec2.Vpc(this, 'VPC', { maxAzs: 3});\nnew cloud9.Ec2Environment(this, 'Cloud9Env', { vpc });\n\n// or create the cloud9 environment in the default VPC with specific instanceType\nconst defaultVpc = ec2.Vpc.fromLookup(this, 'DefaultVPC', { isDefault: true });\nnew cloud9.Ec2Environment(this, 'Cloud9Env2', {\n vpc: defaultVpc,\n instanceType: new ec2.InstanceType('t3.large'),\n});\n\n// or specify in a different subnetSelection\nconst c9env = new cloud9.Ec2Environment(this, 'Cloud9Env3', {\n vpc,\n subnetSelection: {\n subnetType: ec2.SubnetType.PRIVATE,\n },\n});\n\n// print the Cloud9 IDE URL in the output\nnew CfnOutput(this, 'URL', { value: c9env.ideUrl });",
3063
3079
  "stability": "experimental",
3064
3080
  "summary": "A Cloud9 Environment with Amazon EC2."
3065
3081
  },
@@ -3235,7 +3251,7 @@
3235
3251
  "custom": {
3236
3252
  "exampleMetadata": "infused"
3237
3253
  },
3238
- "example": "import * as cloud9 from '@aws-cdk/aws-cloud9-alpha';\n\n// create a cloud9 ec2 environment in a new VPC\nconst vpc = new ec2.Vpc(this, 'VPC', { maxAzs: 3});\nnew cloud9.Ec2Environment(this, 'Cloud9Env', { vpc });\n\n// or create the cloud9 environment in the default VPC with specific instanceType\nconst defaultVpc = ec2.Vpc.fromLookup(this, 'DefaultVPC', { isDefault: true });\nnew cloud9.Ec2Environment(this, 'Cloud9Env2', {\n vpc: defaultVpc,\n instanceType: new ec2.InstanceType('t3.large')\n});\n\n// or specify in a different subnetSelection\nconst c9env = new cloud9.Ec2Environment(this, 'Cloud9Env3', {\n vpc,\n subnetSelection: {\n subnetType: ec2.SubnetType.PRIVATE\n }\n});\n\n// print the Cloud9 IDE URL in the output\nnew cdk.CfnOutput(this, 'URL', { value: c9env.ideUrl });",
3254
+ "example": "// create a cloud9 ec2 environment in a new VPC\nconst vpc = new ec2.Vpc(this, 'VPC', { maxAzs: 3});\nnew cloud9.Ec2Environment(this, 'Cloud9Env', { vpc });\n\n// or create the cloud9 environment in the default VPC with specific instanceType\nconst defaultVpc = ec2.Vpc.fromLookup(this, 'DefaultVPC', { isDefault: true });\nnew cloud9.Ec2Environment(this, 'Cloud9Env2', {\n vpc: defaultVpc,\n instanceType: new ec2.InstanceType('t3.large'),\n});\n\n// or specify in a different subnetSelection\nconst c9env = new cloud9.Ec2Environment(this, 'Cloud9Env3', {\n vpc,\n subnetSelection: {\n subnetType: ec2.SubnetType.PRIVATE,\n },\n});\n\n// print the Cloud9 IDE URL in the output\nnew CfnOutput(this, 'URL', { value: c9env.ideUrl });",
3239
3255
  "stability": "experimental",
3240
3256
  "summary": "Properties for Ec2Environment."
3241
3257
  },
@@ -3420,6 +3436,6 @@
3420
3436
  "symbolId": "lib/environment:IEc2Environment"
3421
3437
  }
3422
3438
  },
3423
- "version": "2.9.0-alpha.0",
3439
+ "version": "2.13.0-alpha.0",
3424
3440
  "fingerprint": "**********"
3425
3441
  }
package/.jsii.tabl.json CHANGED
@@ -1,23 +1,23 @@
1
1
  {
2
2
  "version": "2",
3
- "toolVersion": "1.52.1",
3
+ "toolVersion": "1.54.0",
4
4
  "snippets": {
5
- "ad1f121510250ca21059885de54ec9d8f1776a76d0dda5302efe892ceda9e9a2": {
5
+ "1b216746db9846122e1a9d6e622e905410fadc439d9abddb42d6bc429715a28d": {
6
6
  "translations": {
7
7
  "python": {
8
- "source": "from aws_cdk.aws_ec2 import SubnetSelection\nimport aws_cdk.aws_cloud9_alpha as cloud9\n\n# create a cloud9 ec2 environment in a new VPC\nvpc = ec2.Vpc(self, \"VPC\", max_azs=3)\ncloud9.Ec2Environment(self, \"Cloud9Env\", vpc=vpc)\n\n# or create the cloud9 environment in the default VPC with specific instanceType\ndefault_vpc = ec2.Vpc.from_lookup(self, \"DefaultVPC\", is_default=True)\ncloud9.Ec2Environment(self, \"Cloud9Env2\",\n vpc=default_vpc,\n instance_type=ec2.InstanceType(\"t3.large\")\n)\n\n# or specify in a different subnetSelection\nc9env = cloud9.Ec2Environment(self, \"Cloud9Env3\",\n vpc=vpc,\n subnet_selection=SubnetSelection(\n subnet_type=ec2.SubnetType.PRIVATE\n )\n)\n\n# print the Cloud9 IDE URL in the output\ncdk.CfnOutput(self, \"URL\", value=c9env.ide_url)",
8
+ "source": "# create a cloud9 ec2 environment in a new VPC\nvpc = ec2.Vpc(self, \"VPC\", max_azs=3)\ncloud9.Ec2Environment(self, \"Cloud9Env\", vpc=vpc)\n\n# or create the cloud9 environment in the default VPC with specific instanceType\ndefault_vpc = ec2.Vpc.from_lookup(self, \"DefaultVPC\", is_default=True)\ncloud9.Ec2Environment(self, \"Cloud9Env2\",\n vpc=default_vpc,\n instance_type=ec2.InstanceType(\"t3.large\")\n)\n\n# or specify in a different subnetSelection\nc9env = cloud9.Ec2Environment(self, \"Cloud9Env3\",\n vpc=vpc,\n subnet_selection=ec2.SubnetSelection(\n subnet_type=ec2.SubnetType.PRIVATE\n )\n)\n\n# print the Cloud9 IDE URL in the output\nCfnOutput(self, \"URL\", value=c9env.ide_url)",
9
9
  "version": "2"
10
10
  },
11
11
  "csharp": {
12
- "source": "using Amazon.CDK.AWS.Cloud9.Alpha;\n\n// create a cloud9 ec2 environment in a new VPC\nvar vpc = new ec2.Vpc(this, \"VPC\", new Struct { MaxAzs = 3 });\nnew Ec2Environment(this, \"Cloud9Env\", new Ec2EnvironmentProps { Vpc = vpc });\n\n// or create the cloud9 environment in the default VPC with specific instanceType\nvar defaultVpc = ec2.Vpc.FromLookup(this, \"DefaultVPC\", new Struct { IsDefault = true });\nnew Ec2Environment(this, \"Cloud9Env2\", new Ec2EnvironmentProps {\n Vpc = defaultVpc,\n InstanceType = new ec2.InstanceType(\"t3.large\")\n});\n\n// or specify in a different subnetSelection\nEc2Environment c9env = new Ec2Environment(this, \"Cloud9Env3\", new Ec2EnvironmentProps {\n Vpc = vpc,\n SubnetSelection = new SubnetSelection {\n SubnetType = ec2.SubnetType.PRIVATE\n }\n});\n\n// print the Cloud9 IDE URL in the output\n// print the Cloud9 IDE URL in the output\nnew cdk.CfnOutput(this, \"URL\", new Struct { Value = c9env.IdeUrl });",
12
+ "source": "// create a cloud9 ec2 environment in a new VPC\nVpc vpc = new Vpc(this, \"VPC\", new VpcProps { MaxAzs = 3 });\nnew Ec2Environment(this, \"Cloud9Env\", new Ec2EnvironmentProps { Vpc = vpc });\n\n// or create the cloud9 environment in the default VPC with specific instanceType\nIVpc defaultVpc = Vpc.FromLookup(this, \"DefaultVPC\", new VpcLookupOptions { IsDefault = true });\nnew Ec2Environment(this, \"Cloud9Env2\", new Ec2EnvironmentProps {\n Vpc = defaultVpc,\n InstanceType = new InstanceType(\"t3.large\")\n});\n\n// or specify in a different subnetSelection\nEc2Environment c9env = new Ec2Environment(this, \"Cloud9Env3\", new Ec2EnvironmentProps {\n Vpc = vpc,\n SubnetSelection = new SubnetSelection {\n SubnetType = SubnetType.PRIVATE\n }\n});\n\n// print the Cloud9 IDE URL in the output\n// print the Cloud9 IDE URL in the output\nnew CfnOutput(this, \"URL\", new CfnOutputProps { Value = c9env.IdeUrl });",
13
13
  "version": "1"
14
14
  },
15
15
  "java": {
16
- "source": "import software.amazon.awscdk.services.cloud9.alpha.*;\n\n// create a cloud9 ec2 environment in a new VPC\nObject vpc = Vpc.Builder.create(this, \"VPC\").maxAzs(3).build();\nEc2Environment.Builder.create(this, \"Cloud9Env\").vpc(vpc).build();\n\n// or create the cloud9 environment in the default VPC with specific instanceType\nObject defaultVpc = ec2.Vpc.fromLookup(this, \"DefaultVPC\", Map.of(\"isDefault\", true));\nEc2Environment.Builder.create(this, \"Cloud9Env2\")\n .vpc(defaultVpc)\n .instanceType(new InstanceType(\"t3.large\"))\n .build();\n\n// or specify in a different subnetSelection\nEc2Environment c9env = Ec2Environment.Builder.create(this, \"Cloud9Env3\")\n .vpc(vpc)\n .subnetSelection(SubnetSelection.builder()\n .subnetType(ec2.getSubnetType().getPRIVATE())\n .build())\n .build();\n\n// print the Cloud9 IDE URL in the output\n// print the Cloud9 IDE URL in the output\nCfnOutput.Builder.create(this, \"URL\").value(c9env.getIdeUrl()).build();",
16
+ "source": "// create a cloud9 ec2 environment in a new VPC\nVpc vpc = Vpc.Builder.create(this, \"VPC\").maxAzs(3).build();\nEc2Environment.Builder.create(this, \"Cloud9Env\").vpc(vpc).build();\n\n// or create the cloud9 environment in the default VPC with specific instanceType\nIVpc defaultVpc = Vpc.fromLookup(this, \"DefaultVPC\", VpcLookupOptions.builder().isDefault(true).build());\nEc2Environment.Builder.create(this, \"Cloud9Env2\")\n .vpc(defaultVpc)\n .instanceType(new InstanceType(\"t3.large\"))\n .build();\n\n// or specify in a different subnetSelection\nEc2Environment c9env = Ec2Environment.Builder.create(this, \"Cloud9Env3\")\n .vpc(vpc)\n .subnetSelection(SubnetSelection.builder()\n .subnetType(SubnetType.PRIVATE)\n .build())\n .build();\n\n// print the Cloud9 IDE URL in the output\n// print the Cloud9 IDE URL in the output\nCfnOutput.Builder.create(this, \"URL\").value(c9env.getIdeUrl()).build();",
17
17
  "version": "1"
18
18
  },
19
19
  "$": {
20
- "source": "import * as cloud9 from '@aws-cdk/aws-cloud9-alpha';\n\n// create a cloud9 ec2 environment in a new VPC\nconst vpc = new ec2.Vpc(this, 'VPC', { maxAzs: 3});\nnew cloud9.Ec2Environment(this, 'Cloud9Env', { vpc });\n\n// or create the cloud9 environment in the default VPC with specific instanceType\nconst defaultVpc = ec2.Vpc.fromLookup(this, 'DefaultVPC', { isDefault: true });\nnew cloud9.Ec2Environment(this, 'Cloud9Env2', {\n vpc: defaultVpc,\n instanceType: new ec2.InstanceType('t3.large')\n});\n\n// or specify in a different subnetSelection\nconst c9env = new cloud9.Ec2Environment(this, 'Cloud9Env3', {\n vpc,\n subnetSelection: {\n subnetType: ec2.SubnetType.PRIVATE\n }\n});\n\n// print the Cloud9 IDE URL in the output\nnew cdk.CfnOutput(this, 'URL', { value: c9env.ideUrl });",
20
+ "source": "// create a cloud9 ec2 environment in a new VPC\nconst vpc = new ec2.Vpc(this, 'VPC', { maxAzs: 3});\nnew cloud9.Ec2Environment(this, 'Cloud9Env', { vpc });\n\n// or create the cloud9 environment in the default VPC with specific instanceType\nconst defaultVpc = ec2.Vpc.fromLookup(this, 'DefaultVPC', { isDefault: true });\nnew cloud9.Ec2Environment(this, 'Cloud9Env2', {\n vpc: defaultVpc,\n instanceType: new ec2.InstanceType('t3.large'),\n});\n\n// or specify in a different subnetSelection\nconst c9env = new cloud9.Ec2Environment(this, 'Cloud9Env3', {\n vpc,\n subnetSelection: {\n subnetType: ec2.SubnetType.PRIVATE,\n },\n});\n\n// print the Cloud9 IDE URL in the output\nnew CfnOutput(this, 'URL', { value: c9env.ideUrl });",
21
21
  "version": "0"
22
22
  }
23
23
  },
@@ -28,59 +28,62 @@
28
28
  },
29
29
  "field": {
30
30
  "field": "markdown",
31
- "line": 28
31
+ "line": 36
32
32
  }
33
33
  },
34
- "didCompile": false,
34
+ "didCompile": true,
35
35
  "fqnsReferenced": [
36
36
  "@aws-cdk/aws-cloud9-alpha.Ec2Environment",
37
37
  "@aws-cdk/aws-cloud9-alpha.Ec2Environment#ideUrl",
38
38
  "@aws-cdk/aws-cloud9-alpha.Ec2EnvironmentProps",
39
+ "aws-cdk-lib.CfnOutput",
40
+ "aws-cdk-lib.CfnOutputProps",
39
41
  "aws-cdk-lib.aws_ec2.IVpc",
40
42
  "aws-cdk-lib.aws_ec2.InstanceType",
41
43
  "aws-cdk-lib.aws_ec2.SubnetSelection",
42
- "aws-cdk-lib.aws_ec2.SubnetType"
44
+ "aws-cdk-lib.aws_ec2.SubnetType",
45
+ "aws-cdk-lib.aws_ec2.SubnetType#PRIVATE",
46
+ "aws-cdk-lib.aws_ec2.Vpc",
47
+ "aws-cdk-lib.aws_ec2.Vpc#fromLookup",
48
+ "aws-cdk-lib.aws_ec2.VpcLookupOptions",
49
+ "aws-cdk-lib.aws_ec2.VpcProps"
43
50
  ],
44
- "fullSource": "import * as cloud9 from '@aws-cdk/aws-cloud9-alpha';\n\n// create a cloud9 ec2 environment in a new VPC\nconst vpc = new ec2.Vpc(this, 'VPC', { maxAzs: 3});\nnew cloud9.Ec2Environment(this, 'Cloud9Env', { vpc });\n\n// or create the cloud9 environment in the default VPC with specific instanceType\nconst defaultVpc = ec2.Vpc.fromLookup(this, 'DefaultVPC', { isDefault: true });\nnew cloud9.Ec2Environment(this, 'Cloud9Env2', {\n vpc: defaultVpc,\n instanceType: new ec2.InstanceType('t3.large')\n});\n\n// or specify in a different subnetSelection\nconst c9env = new cloud9.Ec2Environment(this, 'Cloud9Env3', {\n vpc,\n subnetSelection: {\n subnetType: ec2.SubnetType.PRIVATE\n }\n});\n\n// print the Cloud9 IDE URL in the output\nnew cdk.CfnOutput(this, 'URL', { value: c9env.ideUrl });",
51
+ "fullSource": "// Fixture with packages imported, but nothing else\nimport { CfnOutput, Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as cloud9 from '@aws-cdk/aws-cloud9-alpha';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n// create a cloud9 ec2 environment in a new VPC\nconst vpc = new ec2.Vpc(this, 'VPC', { maxAzs: 3});\nnew cloud9.Ec2Environment(this, 'Cloud9Env', { vpc });\n\n// or create the cloud9 environment in the default VPC with specific instanceType\nconst defaultVpc = ec2.Vpc.fromLookup(this, 'DefaultVPC', { isDefault: true });\nnew cloud9.Ec2Environment(this, 'Cloud9Env2', {\n vpc: defaultVpc,\n instanceType: new ec2.InstanceType('t3.large'),\n});\n\n// or specify in a different subnetSelection\nconst c9env = new cloud9.Ec2Environment(this, 'Cloud9Env3', {\n vpc,\n subnetSelection: {\n subnetType: ec2.SubnetType.PRIVATE,\n },\n});\n\n// print the Cloud9 IDE URL in the output\nnew CfnOutput(this, 'URL', { value: c9env.ideUrl });\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
45
52
  "syntaxKindCounter": {
46
53
  "8": 1,
47
- "10": 8,
48
- "75": 34,
54
+ "10": 7,
55
+ "75": 32,
49
56
  "104": 6,
50
57
  "106": 1,
51
58
  "193": 7,
52
- "194": 11,
59
+ "194": 10,
53
60
  "196": 1,
54
61
  "197": 6,
55
62
  "225": 3,
56
63
  "226": 3,
57
64
  "242": 3,
58
65
  "243": 3,
59
- "254": 1,
60
- "255": 1,
61
- "256": 1,
62
66
  "281": 7,
63
- "282": 2,
64
- "290": 1
67
+ "282": 2
65
68
  },
66
- "fqnsFingerprint": "0bf6bdf4c8c00e4c0592ddf4b6a240cbdef139780fd8d95b2d33afa32fcfdf98"
69
+ "fqnsFingerprint": "d8764925aff5f9272c3b3205f8e05488b8484f95773ea046def85570a177bf26"
67
70
  },
68
- "02590fe9925a58cb5dd64de9a46bf7abb6ae9e0896b901bde01bee5df8c884b4": {
71
+ "93a932e90f905bfa284ca83b68018b7f540af9f71f97049f6b05b2012c2d6fc6": {
69
72
  "translations": {
70
73
  "python": {
71
- "source": "# create a codecommit repository to clone into the cloud9 environment\nrepo_new = codecommit.Repository(self, \"RepoNew\",\n repository_name=\"new-repo\"\n)\n\n# import an existing codecommit repository to clone into the cloud9 environment\nrepo_existing = codecommit.Repository.from_repository_name(stack, \"RepoExisting\", \"existing-repo\")\n\n# create a new Cloud9 environment and clone the two repositories\ncloud9.Ec2Environment(stack, \"C9Env\",\n vpc=vpc,\n cloned_repositories=[\n cloud9.CloneRepository.from_code_commit(repo_new, \"/src/new-repo\"),\n cloud9.CloneRepository.from_code_commit(repo_existing, \"/src/existing-repo\")\n ]\n)",
74
+ "source": "import aws_cdk.aws_codecommit as codecommit\n\n# create a new Cloud9 environment and clone the two repositories\n# vpc: ec2.Vpc\n\n\n# create a codecommit repository to clone into the cloud9 environment\nrepo_new = codecommit.Repository(self, \"RepoNew\",\n repository_name=\"new-repo\"\n)\n\n# import an existing codecommit repository to clone into the cloud9 environment\nrepo_existing = codecommit.Repository.from_repository_name(self, \"RepoExisting\", \"existing-repo\")\ncloud9.Ec2Environment(self, \"C9Env\",\n vpc=vpc,\n cloned_repositories=[\n cloud9.CloneRepository.from_code_commit(repo_new, \"/src/new-repo\"),\n cloud9.CloneRepository.from_code_commit(repo_existing, \"/src/existing-repo\")\n ]\n)",
72
75
  "version": "2"
73
76
  },
74
77
  "csharp": {
75
- "source": "// create a codecommit repository to clone into the cloud9 environment\nvar repoNew = new codecommit.Repository(this, \"RepoNew\", new Struct {\n RepositoryName = \"new-repo\"\n});\n\n// import an existing codecommit repository to clone into the cloud9 environment\nvar repoExisting = codecommit.Repository.FromRepositoryName(stack, \"RepoExisting\", \"existing-repo\");\n\n// create a new Cloud9 environment and clone the two repositories\n// create a new Cloud9 environment and clone the two repositories\nnew cloud9.Ec2Environment(stack, \"C9Env\", new Struct {\n Vpc = vpc,\n ClonedRepositories = new [] { cloud9.CloneRepository.FromCodeCommit(repoNew, \"/src/new-repo\"), cloud9.CloneRepository.FromCodeCommit(repoExisting, \"/src/existing-repo\") }\n});",
78
+ "source": "using Amazon.CDK.AWS.CodeCommit;\n\n// create a new Cloud9 environment and clone the two repositories\nVpc vpc;\n\n\n// create a codecommit repository to clone into the cloud9 environment\nRepository repoNew = new Repository(this, \"RepoNew\", new RepositoryProps {\n RepositoryName = \"new-repo\"\n});\n\n// import an existing codecommit repository to clone into the cloud9 environment\nIRepository repoExisting = Repository.FromRepositoryName(this, \"RepoExisting\", \"existing-repo\");\nnew Ec2Environment(this, \"C9Env\", new Ec2EnvironmentProps {\n Vpc = vpc,\n ClonedRepositories = new [] { CloneRepository.FromCodeCommit(repoNew, \"/src/new-repo\"), CloneRepository.FromCodeCommit(repoExisting, \"/src/existing-repo\") }\n});",
76
79
  "version": "1"
77
80
  },
78
81
  "java": {
79
- "source": "// create a codecommit repository to clone into the cloud9 environment\nObject repoNew = Repository.Builder.create(this, \"RepoNew\")\n .repositoryName(\"new-repo\")\n .build();\n\n// import an existing codecommit repository to clone into the cloud9 environment\nObject repoExisting = codecommit.Repository.fromRepositoryName(stack, \"RepoExisting\", \"existing-repo\");\n\n// create a new Cloud9 environment and clone the two repositories\n// create a new Cloud9 environment and clone the two repositories\nEc2Environment.Builder.create(stack, \"C9Env\")\n .vpc(vpc)\n .clonedRepositories(List.of(cloud9.CloneRepository.fromCodeCommit(repoNew, \"/src/new-repo\"), cloud9.CloneRepository.fromCodeCommit(repoExisting, \"/src/existing-repo\")))\n .build();",
82
+ "source": "import software.amazon.awscdk.services.codecommit.*;\n\n// create a new Cloud9 environment and clone the two repositories\nVpc vpc;\n\n\n// create a codecommit repository to clone into the cloud9 environment\nRepository repoNew = Repository.Builder.create(this, \"RepoNew\")\n .repositoryName(\"new-repo\")\n .build();\n\n// import an existing codecommit repository to clone into the cloud9 environment\nIRepository repoExisting = Repository.fromRepositoryName(this, \"RepoExisting\", \"existing-repo\");\nEc2Environment.Builder.create(this, \"C9Env\")\n .vpc(vpc)\n .clonedRepositories(List.of(CloneRepository.fromCodeCommit(repoNew, \"/src/new-repo\"), CloneRepository.fromCodeCommit(repoExisting, \"/src/existing-repo\")))\n .build();",
80
83
  "version": "1"
81
84
  },
82
85
  "$": {
83
- "source": "// create a codecommit repository to clone into the cloud9 environment\nconst repoNew = new codecommit.Repository(this, 'RepoNew', {\n repositoryName: 'new-repo',\n});\n\n// import an existing codecommit repository to clone into the cloud9 environment\nconst repoExisting = codecommit.Repository.fromRepositoryName(stack, 'RepoExisting', 'existing-repo');\n\n// create a new Cloud9 environment and clone the two repositories\nnew cloud9.Ec2Environment(stack, 'C9Env', {\n vpc,\n clonedRepositories: [\n cloud9.CloneRepository.fromCodeCommit(repoNew, '/src/new-repo'),\n cloud9.CloneRepository.fromCodeCommit(repoExisting, '/src/existing-repo'),\n ],\n});",
86
+ "source": "import * as codecommit from 'aws-cdk-lib/aws-codecommit';\n\n// create a codecommit repository to clone into the cloud9 environment\nconst repoNew = new codecommit.Repository(this, 'RepoNew', {\n repositoryName: 'new-repo',\n});\n\n// import an existing codecommit repository to clone into the cloud9 environment\nconst repoExisting = codecommit.Repository.fromRepositoryName(this, 'RepoExisting', 'existing-repo');\n\n// create a new Cloud9 environment and clone the two repositories\ndeclare const vpc: ec2.Vpc;\nnew cloud9.Ec2Environment(this, 'C9Env', {\n vpc,\n clonedRepositories: [\n cloud9.CloneRepository.fromCodeCommit(repoNew, '/src/new-repo'),\n cloud9.CloneRepository.fromCodeCommit(repoExisting, '/src/existing-repo'),\n ],\n});",
84
87
  "version": "0"
85
88
  }
86
89
  },
@@ -91,47 +94,63 @@
91
94
  },
92
95
  "field": {
93
96
  "field": "markdown",
94
- "line": 58
97
+ "line": 64
95
98
  }
96
99
  },
97
- "didCompile": false,
98
- "fqnsReferenced": [],
99
- "fullSource": "// create a codecommit repository to clone into the cloud9 environment\nconst repoNew = new codecommit.Repository(this, 'RepoNew', {\n repositoryName: 'new-repo',\n});\n\n// import an existing codecommit repository to clone into the cloud9 environment\nconst repoExisting = codecommit.Repository.fromRepositoryName(stack, 'RepoExisting', 'existing-repo');\n\n// create a new Cloud9 environment and clone the two repositories\nnew cloud9.Ec2Environment(stack, 'C9Env', {\n vpc,\n clonedRepositories: [\n cloud9.CloneRepository.fromCodeCommit(repoNew, '/src/new-repo'),\n cloud9.CloneRepository.fromCodeCommit(repoExisting, '/src/existing-repo'),\n ],\n});",
100
+ "didCompile": true,
101
+ "fqnsReferenced": [
102
+ "@aws-cdk/aws-cloud9-alpha.CloneRepository",
103
+ "@aws-cdk/aws-cloud9-alpha.CloneRepository#fromCodeCommit",
104
+ "@aws-cdk/aws-cloud9-alpha.Ec2Environment",
105
+ "@aws-cdk/aws-cloud9-alpha.Ec2EnvironmentProps",
106
+ "aws-cdk-lib.aws_codecommit.IRepository",
107
+ "aws-cdk-lib.aws_codecommit.Repository",
108
+ "aws-cdk-lib.aws_codecommit.Repository#fromRepositoryName",
109
+ "aws-cdk-lib.aws_codecommit.RepositoryProps",
110
+ "aws-cdk-lib.aws_ec2.IVpc"
111
+ ],
112
+ "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\nimport * as codecommit from 'aws-cdk-lib/aws-codecommit';\n\n// create a new Cloud9 environment and clone the two repositories\ndeclare const vpc: ec2.Vpc;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { CfnOutput, Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as cloud9 from '@aws-cdk/aws-cloud9-alpha';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\n\n// create a codecommit repository to clone into the cloud9 environment\nconst repoNew = new codecommit.Repository(this, 'RepoNew', {\n repositoryName: 'new-repo',\n});\n\n// import an existing codecommit repository to clone into the cloud9 environment\nconst repoExisting = codecommit.Repository.fromRepositoryName(this, 'RepoExisting', 'existing-repo');\nnew cloud9.Ec2Environment(this, 'C9Env', {\n vpc,\n clonedRepositories: [\n cloud9.CloneRepository.fromCodeCommit(repoNew, '/src/new-repo'),\n cloud9.CloneRepository.fromCodeCommit(repoExisting, '/src/existing-repo'),\n ],\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
100
113
  "syntaxKindCounter": {
101
- "10": 7,
102
- "75": 22,
103
- "104": 1,
114
+ "10": 8,
115
+ "75": 24,
116
+ "104": 3,
117
+ "130": 1,
118
+ "153": 1,
119
+ "169": 1,
104
120
  "192": 1,
105
121
  "193": 2,
106
122
  "194": 8,
107
123
  "196": 3,
108
124
  "197": 2,
109
- "225": 2,
125
+ "225": 3,
110
126
  "226": 1,
111
- "242": 2,
112
- "243": 2,
127
+ "242": 3,
128
+ "243": 3,
129
+ "254": 1,
130
+ "255": 1,
131
+ "256": 1,
113
132
  "281": 2,
114
133
  "282": 1,
115
134
  "290": 1
116
135
  },
117
- "fqnsFingerprint": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
136
+ "fqnsFingerprint": "80da016784f00d15c096e039c3ab4fc581925e18f249b7657de8fc6cb51d4260"
118
137
  },
119
- "74560afbc32178e4c56103c946f16a8b671db9d2ed2aee471685a55e64d50a58": {
138
+ "5e4731564f447a01fe8f35d82b6c3455215296dbdbb9206298f0dbb103cb9e44": {
120
139
  "translations": {
121
140
  "python": {
122
- "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_cloud9_alpha as cloud9_alpha\nfrom aws_cdk import aws_codecommit as codecommit\n\n# repository: codecommit.Repository\n\nclone_repository = cloud9_alpha.CloneRepository.from_code_commit(repository, \"path\")",
141
+ "source": "import aws_cdk.aws_codecommit as codecommit\n\n# create a new Cloud9 environment and clone the two repositories\n# vpc: ec2.Vpc\n\n\n# create a codecommit repository to clone into the cloud9 environment\nrepo_new = codecommit.Repository(self, \"RepoNew\",\n repository_name=\"new-repo\"\n)\n\n# import an existing codecommit repository to clone into the cloud9 environment\nrepo_existing = codecommit.Repository.from_repository_name(self, \"RepoExisting\", \"existing-repo\")\ncloud9.Ec2Environment(self, \"C9Env\",\n vpc=vpc,\n cloned_repositories=[\n cloud9.CloneRepository.from_code_commit(repo_new, \"/src/new-repo\"),\n cloud9.CloneRepository.from_code_commit(repo_existing, \"/src/existing-repo\")\n ]\n)",
123
142
  "version": "2"
124
143
  },
125
144
  "csharp": {
126
- "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.Cloud9.Alpha;\nusing Amazon.CDK.AWS.CodeCommit;\n\nRepository repository;\n\nCloneRepository cloneRepository = CloneRepository.FromCodeCommit(repository, \"path\");",
145
+ "source": "using Amazon.CDK.AWS.CodeCommit;\n\n// create a new Cloud9 environment and clone the two repositories\nVpc vpc;\n\n\n// create a codecommit repository to clone into the cloud9 environment\nRepository repoNew = new Repository(this, \"RepoNew\", new RepositoryProps {\n RepositoryName = \"new-repo\"\n});\n\n// import an existing codecommit repository to clone into the cloud9 environment\nIRepository repoExisting = Repository.FromRepositoryName(this, \"RepoExisting\", \"existing-repo\");\nnew Ec2Environment(this, \"C9Env\", new Ec2EnvironmentProps {\n Vpc = vpc,\n ClonedRepositories = new [] { CloneRepository.FromCodeCommit(repoNew, \"/src/new-repo\"), CloneRepository.FromCodeCommit(repoExisting, \"/src/existing-repo\") }\n});",
127
146
  "version": "1"
128
147
  },
129
148
  "java": {
130
- "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.cloud9.alpha.*;\nimport software.amazon.awscdk.services.codecommit.*;\n\nRepository repository;\n\nCloneRepository cloneRepository = CloneRepository.fromCodeCommit(repository, \"path\");",
149
+ "source": "import software.amazon.awscdk.services.codecommit.*;\n\n// create a new Cloud9 environment and clone the two repositories\nVpc vpc;\n\n\n// create a codecommit repository to clone into the cloud9 environment\nRepository repoNew = Repository.Builder.create(this, \"RepoNew\")\n .repositoryName(\"new-repo\")\n .build();\n\n// import an existing codecommit repository to clone into the cloud9 environment\nIRepository repoExisting = Repository.fromRepositoryName(this, \"RepoExisting\", \"existing-repo\");\nEc2Environment.Builder.create(this, \"C9Env\")\n .vpc(vpc)\n .clonedRepositories(List.of(CloneRepository.fromCodeCommit(repoNew, \"/src/new-repo\"), CloneRepository.fromCodeCommit(repoExisting, \"/src/existing-repo\")))\n .build();",
131
150
  "version": "1"
132
151
  },
133
152
  "$": {
134
- "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as cloud9_alpha from '@aws-cdk/aws-cloud9-alpha';\nimport { aws_codecommit as codecommit } from 'aws-cdk-lib';\n\ndeclare const repository: codecommit.Repository;\nconst cloneRepository = cloud9_alpha.CloneRepository.fromCodeCommit(repository, 'path');",
153
+ "source": "import * as codecommit from 'aws-cdk-lib/aws-codecommit';\n\n// create a codecommit repository to clone into the cloud9 environment\nconst repoNew = new codecommit.Repository(this, 'RepoNew', {\n repositoryName: 'new-repo',\n});\n\n// import an existing codecommit repository to clone into the cloud9 environment\nconst repoExisting = codecommit.Repository.fromRepositoryName(this, 'RepoExisting', 'existing-repo');\n\n// create a new Cloud9 environment and clone the two repositories\ndeclare const vpc: ec2.Vpc;\nnew cloud9.Ec2Environment(this, 'C9Env', {\n vpc,\n clonedRepositories: [\n cloud9.CloneRepository.fromCodeCommit(repoNew, '/src/new-repo'),\n cloud9.CloneRepository.fromCodeCommit(repoExisting, '/src/existing-repo'),\n ],\n});",
135
154
  "version": "0"
136
155
  }
137
156
  },
@@ -148,45 +167,56 @@
148
167
  "fqnsReferenced": [
149
168
  "@aws-cdk/aws-cloud9-alpha.CloneRepository",
150
169
  "@aws-cdk/aws-cloud9-alpha.CloneRepository#fromCodeCommit",
151
- "aws-cdk-lib.aws_codecommit.IRepository"
170
+ "@aws-cdk/aws-cloud9-alpha.Ec2Environment",
171
+ "@aws-cdk/aws-cloud9-alpha.Ec2EnvironmentProps",
172
+ "aws-cdk-lib.aws_codecommit.IRepository",
173
+ "aws-cdk-lib.aws_codecommit.Repository",
174
+ "aws-cdk-lib.aws_codecommit.Repository#fromRepositoryName",
175
+ "aws-cdk-lib.aws_codecommit.RepositoryProps",
176
+ "aws-cdk-lib.aws_ec2.IVpc"
152
177
  ],
153
- "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as cloud9_alpha from '@aws-cdk/aws-cloud9-alpha';\nimport { aws_codecommit as codecommit } from 'aws-cdk-lib';\n\ndeclare const repository: codecommit.Repository;\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"constructs\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst cloneRepository = cloud9_alpha.CloneRepository.fromCodeCommit(repository, 'path');\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
178
+ "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\nimport * as codecommit from 'aws-cdk-lib/aws-codecommit';\n\n// create a new Cloud9 environment and clone the two repositories\ndeclare const vpc: ec2.Vpc;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { CfnOutput, Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as cloud9 from '@aws-cdk/aws-cloud9-alpha';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\n\n// create a codecommit repository to clone into the cloud9 environment\nconst repoNew = new codecommit.Repository(this, 'RepoNew', {\n repositoryName: 'new-repo',\n});\n\n// import an existing codecommit repository to clone into the cloud9 environment\nconst repoExisting = codecommit.Repository.fromRepositoryName(this, 'RepoExisting', 'existing-repo');\nnew cloud9.Ec2Environment(this, 'C9Env', {\n vpc,\n clonedRepositories: [\n cloud9.CloneRepository.fromCodeCommit(repoNew, '/src/new-repo'),\n cloud9.CloneRepository.fromCodeCommit(repoExisting, '/src/existing-repo'),\n ],\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
154
179
  "syntaxKindCounter": {
155
- "10": 3,
156
- "75": 11,
180
+ "10": 8,
181
+ "75": 24,
182
+ "104": 3,
157
183
  "130": 1,
158
184
  "153": 1,
159
185
  "169": 1,
160
- "194": 2,
161
- "196": 1,
162
- "225": 2,
163
- "242": 2,
164
- "243": 2,
165
- "254": 2,
166
- "255": 2,
186
+ "192": 1,
187
+ "193": 2,
188
+ "194": 8,
189
+ "196": 3,
190
+ "197": 2,
191
+ "225": 3,
192
+ "226": 1,
193
+ "242": 3,
194
+ "243": 3,
195
+ "254": 1,
196
+ "255": 1,
167
197
  "256": 1,
168
- "257": 1,
169
- "258": 1,
198
+ "281": 2,
199
+ "282": 1,
170
200
  "290": 1
171
201
  },
172
- "fqnsFingerprint": "d8994b3635e51677e9721a8ad9291b57f4e4e99b020d95fd93ea6f89d4cd7523"
202
+ "fqnsFingerprint": "80da016784f00d15c096e039c3ab4fc581925e18f249b7657de8fc6cb51d4260"
173
203
  },
174
- "0a67b4a022389fdb53f9c952abe76411996bf5e2c7ed79e9437ecdea0c52e006": {
204
+ "f8df58ff83217d8b266901e453be5095f010b87e06cd9adeeaf6a2d44b9fce46": {
175
205
  "translations": {
176
206
  "python": {
177
- "source": "from aws_cdk.aws_ec2 import SubnetSelection\nimport aws_cdk.aws_cloud9_alpha as cloud9\n\n# create a cloud9 ec2 environment in a new VPC\nvpc = ec2.Vpc(self, \"VPC\", max_azs=3)\ncloud9.Ec2Environment(self, \"Cloud9Env\", vpc=vpc)\n\n# or create the cloud9 environment in the default VPC with specific instanceType\ndefault_vpc = ec2.Vpc.from_lookup(self, \"DefaultVPC\", is_default=True)\ncloud9.Ec2Environment(self, \"Cloud9Env2\",\n vpc=default_vpc,\n instance_type=ec2.InstanceType(\"t3.large\")\n)\n\n# or specify in a different subnetSelection\nc9env = cloud9.Ec2Environment(self, \"Cloud9Env3\",\n vpc=vpc,\n subnet_selection=SubnetSelection(\n subnet_type=ec2.SubnetType.PRIVATE\n )\n)\n\n# print the Cloud9 IDE URL in the output\ncdk.CfnOutput(self, \"URL\", value=c9env.ide_url)",
207
+ "source": "# create a cloud9 ec2 environment in a new VPC\nvpc = ec2.Vpc(self, \"VPC\", max_azs=3)\ncloud9.Ec2Environment(self, \"Cloud9Env\", vpc=vpc)\n\n# or create the cloud9 environment in the default VPC with specific instanceType\ndefault_vpc = ec2.Vpc.from_lookup(self, \"DefaultVPC\", is_default=True)\ncloud9.Ec2Environment(self, \"Cloud9Env2\",\n vpc=default_vpc,\n instance_type=ec2.InstanceType(\"t3.large\")\n)\n\n# or specify in a different subnetSelection\nc9env = cloud9.Ec2Environment(self, \"Cloud9Env3\",\n vpc=vpc,\n subnet_selection=ec2.SubnetSelection(\n subnet_type=ec2.SubnetType.PRIVATE\n )\n)\n\n# print the Cloud9 IDE URL in the output\nCfnOutput(self, \"URL\", value=c9env.ide_url)",
178
208
  "version": "2"
179
209
  },
180
210
  "csharp": {
181
- "source": "using Amazon.CDK.AWS.Cloud9.Alpha;\n\n// create a cloud9 ec2 environment in a new VPC\nvar vpc = new ec2.Vpc(this, \"VPC\", new Struct { MaxAzs = 3 });\nnew Ec2Environment(this, \"Cloud9Env\", new Ec2EnvironmentProps { Vpc = vpc });\n\n// or create the cloud9 environment in the default VPC with specific instanceType\nvar defaultVpc = ec2.Vpc.FromLookup(this, \"DefaultVPC\", new Struct { IsDefault = true });\nnew Ec2Environment(this, \"Cloud9Env2\", new Ec2EnvironmentProps {\n Vpc = defaultVpc,\n InstanceType = new ec2.InstanceType(\"t3.large\")\n});\n\n// or specify in a different subnetSelection\nEc2Environment c9env = new Ec2Environment(this, \"Cloud9Env3\", new Ec2EnvironmentProps {\n Vpc = vpc,\n SubnetSelection = new SubnetSelection {\n SubnetType = ec2.SubnetType.PRIVATE\n }\n});\n\n// print the Cloud9 IDE URL in the output\n// print the Cloud9 IDE URL in the output\nnew cdk.CfnOutput(this, \"URL\", new Struct { Value = c9env.IdeUrl });",
211
+ "source": "// create a cloud9 ec2 environment in a new VPC\nVpc vpc = new Vpc(this, \"VPC\", new VpcProps { MaxAzs = 3 });\nnew Ec2Environment(this, \"Cloud9Env\", new Ec2EnvironmentProps { Vpc = vpc });\n\n// or create the cloud9 environment in the default VPC with specific instanceType\nIVpc defaultVpc = Vpc.FromLookup(this, \"DefaultVPC\", new VpcLookupOptions { IsDefault = true });\nnew Ec2Environment(this, \"Cloud9Env2\", new Ec2EnvironmentProps {\n Vpc = defaultVpc,\n InstanceType = new InstanceType(\"t3.large\")\n});\n\n// or specify in a different subnetSelection\nEc2Environment c9env = new Ec2Environment(this, \"Cloud9Env3\", new Ec2EnvironmentProps {\n Vpc = vpc,\n SubnetSelection = new SubnetSelection {\n SubnetType = SubnetType.PRIVATE\n }\n});\n\n// print the Cloud9 IDE URL in the output\n// print the Cloud9 IDE URL in the output\nnew CfnOutput(this, \"URL\", new CfnOutputProps { Value = c9env.IdeUrl });",
182
212
  "version": "1"
183
213
  },
184
214
  "java": {
185
- "source": "import software.amazon.awscdk.services.cloud9.alpha.*;\n\n// create a cloud9 ec2 environment in a new VPC\nObject vpc = Vpc.Builder.create(this, \"VPC\").maxAzs(3).build();\nEc2Environment.Builder.create(this, \"Cloud9Env\").vpc(vpc).build();\n\n// or create the cloud9 environment in the default VPC with specific instanceType\nObject defaultVpc = ec2.Vpc.fromLookup(this, \"DefaultVPC\", Map.of(\"isDefault\", true));\nEc2Environment.Builder.create(this, \"Cloud9Env2\")\n .vpc(defaultVpc)\n .instanceType(new InstanceType(\"t3.large\"))\n .build();\n\n// or specify in a different subnetSelection\nEc2Environment c9env = Ec2Environment.Builder.create(this, \"Cloud9Env3\")\n .vpc(vpc)\n .subnetSelection(SubnetSelection.builder()\n .subnetType(ec2.getSubnetType().getPRIVATE())\n .build())\n .build();\n\n// print the Cloud9 IDE URL in the output\n// print the Cloud9 IDE URL in the output\nCfnOutput.Builder.create(this, \"URL\").value(c9env.getIdeUrl()).build();",
215
+ "source": "// create a cloud9 ec2 environment in a new VPC\nVpc vpc = Vpc.Builder.create(this, \"VPC\").maxAzs(3).build();\nEc2Environment.Builder.create(this, \"Cloud9Env\").vpc(vpc).build();\n\n// or create the cloud9 environment in the default VPC with specific instanceType\nIVpc defaultVpc = Vpc.fromLookup(this, \"DefaultVPC\", VpcLookupOptions.builder().isDefault(true).build());\nEc2Environment.Builder.create(this, \"Cloud9Env2\")\n .vpc(defaultVpc)\n .instanceType(new InstanceType(\"t3.large\"))\n .build();\n\n// or specify in a different subnetSelection\nEc2Environment c9env = Ec2Environment.Builder.create(this, \"Cloud9Env3\")\n .vpc(vpc)\n .subnetSelection(SubnetSelection.builder()\n .subnetType(SubnetType.PRIVATE)\n .build())\n .build();\n\n// print the Cloud9 IDE URL in the output\n// print the Cloud9 IDE URL in the output\nCfnOutput.Builder.create(this, \"URL\").value(c9env.getIdeUrl()).build();",
186
216
  "version": "1"
187
217
  },
188
218
  "$": {
189
- "source": "import * as cloud9 from '@aws-cdk/aws-cloud9-alpha';\n\n// create a cloud9 ec2 environment in a new VPC\nconst vpc = new ec2.Vpc(this, 'VPC', { maxAzs: 3});\nnew cloud9.Ec2Environment(this, 'Cloud9Env', { vpc });\n\n// or create the cloud9 environment in the default VPC with specific instanceType\nconst defaultVpc = ec2.Vpc.fromLookup(this, 'DefaultVPC', { isDefault: true });\nnew cloud9.Ec2Environment(this, 'Cloud9Env2', {\n vpc: defaultVpc,\n instanceType: new ec2.InstanceType('t3.large')\n});\n\n// or specify in a different subnetSelection\nconst c9env = new cloud9.Ec2Environment(this, 'Cloud9Env3', {\n vpc,\n subnetSelection: {\n subnetType: ec2.SubnetType.PRIVATE\n }\n});\n\n// print the Cloud9 IDE URL in the output\nnew cdk.CfnOutput(this, 'URL', { value: c9env.ideUrl });",
219
+ "source": "// create a cloud9 ec2 environment in a new VPC\nconst vpc = new ec2.Vpc(this, 'VPC', { maxAzs: 3});\nnew cloud9.Ec2Environment(this, 'Cloud9Env', { vpc });\n\n// or create the cloud9 environment in the default VPC with specific instanceType\nconst defaultVpc = ec2.Vpc.fromLookup(this, 'DefaultVPC', { isDefault: true });\nnew cloud9.Ec2Environment(this, 'Cloud9Env2', {\n vpc: defaultVpc,\n instanceType: new ec2.InstanceType('t3.large'),\n});\n\n// or specify in a different subnetSelection\nconst c9env = new cloud9.Ec2Environment(this, 'Cloud9Env3', {\n vpc,\n subnetSelection: {\n subnetType: ec2.SubnetType.PRIVATE,\n },\n});\n\n// print the Cloud9 IDE URL in the output\nnew CfnOutput(this, 'URL', { value: c9env.ideUrl });",
190
220
  "version": "0"
191
221
  }
192
222
  },
@@ -199,56 +229,59 @@
199
229
  "field": "example"
200
230
  }
201
231
  },
202
- "didCompile": false,
232
+ "didCompile": true,
203
233
  "fqnsReferenced": [
204
234
  "@aws-cdk/aws-cloud9-alpha.Ec2Environment",
205
235
  "@aws-cdk/aws-cloud9-alpha.Ec2Environment#ideUrl",
206
236
  "@aws-cdk/aws-cloud9-alpha.Ec2EnvironmentProps",
237
+ "aws-cdk-lib.CfnOutput",
238
+ "aws-cdk-lib.CfnOutputProps",
207
239
  "aws-cdk-lib.aws_ec2.IVpc",
208
240
  "aws-cdk-lib.aws_ec2.InstanceType",
209
241
  "aws-cdk-lib.aws_ec2.SubnetSelection",
210
- "aws-cdk-lib.aws_ec2.SubnetType"
242
+ "aws-cdk-lib.aws_ec2.SubnetType",
243
+ "aws-cdk-lib.aws_ec2.SubnetType#PRIVATE",
244
+ "aws-cdk-lib.aws_ec2.Vpc",
245
+ "aws-cdk-lib.aws_ec2.Vpc#fromLookup",
246
+ "aws-cdk-lib.aws_ec2.VpcLookupOptions",
247
+ "aws-cdk-lib.aws_ec2.VpcProps"
211
248
  ],
212
- "fullSource": "import * as cloud9 from '@aws-cdk/aws-cloud9-alpha';\n\n// create a cloud9 ec2 environment in a new VPC\nconst vpc = new ec2.Vpc(this, 'VPC', { maxAzs: 3});\nnew cloud9.Ec2Environment(this, 'Cloud9Env', { vpc });\n\n// or create the cloud9 environment in the default VPC with specific instanceType\nconst defaultVpc = ec2.Vpc.fromLookup(this, 'DefaultVPC', { isDefault: true });\nnew cloud9.Ec2Environment(this, 'Cloud9Env2', {\n vpc: defaultVpc,\n instanceType: new ec2.InstanceType('t3.large')\n});\n\n// or specify in a different subnetSelection\nconst c9env = new cloud9.Ec2Environment(this, 'Cloud9Env3', {\n vpc,\n subnetSelection: {\n subnetType: ec2.SubnetType.PRIVATE\n }\n});\n\n// print the Cloud9 IDE URL in the output\nnew cdk.CfnOutput(this, 'URL', { value: c9env.ideUrl });",
249
+ "fullSource": "// Fixture with packages imported, but nothing else\nimport { CfnOutput, Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as cloud9 from '@aws-cdk/aws-cloud9-alpha';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n// create a cloud9 ec2 environment in a new VPC\nconst vpc = new ec2.Vpc(this, 'VPC', { maxAzs: 3});\nnew cloud9.Ec2Environment(this, 'Cloud9Env', { vpc });\n\n// or create the cloud9 environment in the default VPC with specific instanceType\nconst defaultVpc = ec2.Vpc.fromLookup(this, 'DefaultVPC', { isDefault: true });\nnew cloud9.Ec2Environment(this, 'Cloud9Env2', {\n vpc: defaultVpc,\n instanceType: new ec2.InstanceType('t3.large'),\n});\n\n// or specify in a different subnetSelection\nconst c9env = new cloud9.Ec2Environment(this, 'Cloud9Env3', {\n vpc,\n subnetSelection: {\n subnetType: ec2.SubnetType.PRIVATE,\n },\n});\n\n// print the Cloud9 IDE URL in the output\nnew CfnOutput(this, 'URL', { value: c9env.ideUrl });\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
213
250
  "syntaxKindCounter": {
214
251
  "8": 1,
215
- "10": 8,
216
- "75": 34,
252
+ "10": 7,
253
+ "75": 32,
217
254
  "104": 6,
218
255
  "106": 1,
219
256
  "193": 7,
220
- "194": 11,
257
+ "194": 10,
221
258
  "196": 1,
222
259
  "197": 6,
223
260
  "225": 3,
224
261
  "226": 3,
225
262
  "242": 3,
226
263
  "243": 3,
227
- "254": 1,
228
- "255": 1,
229
- "256": 1,
230
264
  "281": 7,
231
- "282": 2,
232
- "290": 1
265
+ "282": 2
233
266
  },
234
- "fqnsFingerprint": "0bf6bdf4c8c00e4c0592ddf4b6a240cbdef139780fd8d95b2d33afa32fcfdf98"
267
+ "fqnsFingerprint": "d8764925aff5f9272c3b3205f8e05488b8484f95773ea046def85570a177bf26"
235
268
  },
236
- "5ea307caa250e7df8fd1d09bbc34210019fa67dfeb44c1990d349bf6ac353418": {
269
+ "22d49d77b3d16e6942029202e5a043780eafd85d1a2c28481ec250083555f82e": {
237
270
  "translations": {
238
271
  "python": {
239
- "source": "from aws_cdk.aws_ec2 import SubnetSelection\nimport aws_cdk.aws_cloud9_alpha as cloud9\n\n# create a cloud9 ec2 environment in a new VPC\nvpc = ec2.Vpc(self, \"VPC\", max_azs=3)\ncloud9.Ec2Environment(self, \"Cloud9Env\", vpc=vpc)\n\n# or create the cloud9 environment in the default VPC with specific instanceType\ndefault_vpc = ec2.Vpc.from_lookup(self, \"DefaultVPC\", is_default=True)\ncloud9.Ec2Environment(self, \"Cloud9Env2\",\n vpc=default_vpc,\n instance_type=ec2.InstanceType(\"t3.large\")\n)\n\n# or specify in a different subnetSelection\nc9env = cloud9.Ec2Environment(self, \"Cloud9Env3\",\n vpc=vpc,\n subnet_selection=SubnetSelection(\n subnet_type=ec2.SubnetType.PRIVATE\n )\n)\n\n# print the Cloud9 IDE URL in the output\ncdk.CfnOutput(self, \"URL\", value=c9env.ide_url)",
272
+ "source": "# create a cloud9 ec2 environment in a new VPC\nvpc = ec2.Vpc(self, \"VPC\", max_azs=3)\ncloud9.Ec2Environment(self, \"Cloud9Env\", vpc=vpc)\n\n# or create the cloud9 environment in the default VPC with specific instanceType\ndefault_vpc = ec2.Vpc.from_lookup(self, \"DefaultVPC\", is_default=True)\ncloud9.Ec2Environment(self, \"Cloud9Env2\",\n vpc=default_vpc,\n instance_type=ec2.InstanceType(\"t3.large\")\n)\n\n# or specify in a different subnetSelection\nc9env = cloud9.Ec2Environment(self, \"Cloud9Env3\",\n vpc=vpc,\n subnet_selection=ec2.SubnetSelection(\n subnet_type=ec2.SubnetType.PRIVATE\n )\n)\n\n# print the Cloud9 IDE URL in the output\nCfnOutput(self, \"URL\", value=c9env.ide_url)",
240
273
  "version": "2"
241
274
  },
242
275
  "csharp": {
243
- "source": "using Amazon.CDK.AWS.Cloud9.Alpha;\n\n// create a cloud9 ec2 environment in a new VPC\nvar vpc = new ec2.Vpc(this, \"VPC\", new Struct { MaxAzs = 3 });\nnew Ec2Environment(this, \"Cloud9Env\", new Ec2EnvironmentProps { Vpc = vpc });\n\n// or create the cloud9 environment in the default VPC with specific instanceType\nvar defaultVpc = ec2.Vpc.FromLookup(this, \"DefaultVPC\", new Struct { IsDefault = true });\nnew Ec2Environment(this, \"Cloud9Env2\", new Ec2EnvironmentProps {\n Vpc = defaultVpc,\n InstanceType = new ec2.InstanceType(\"t3.large\")\n});\n\n// or specify in a different subnetSelection\nEc2Environment c9env = new Ec2Environment(this, \"Cloud9Env3\", new Ec2EnvironmentProps {\n Vpc = vpc,\n SubnetSelection = new SubnetSelection {\n SubnetType = ec2.SubnetType.PRIVATE\n }\n});\n\n// print the Cloud9 IDE URL in the output\n// print the Cloud9 IDE URL in the output\nnew cdk.CfnOutput(this, \"URL\", new Struct { Value = c9env.IdeUrl });",
276
+ "source": "// create a cloud9 ec2 environment in a new VPC\nVpc vpc = new Vpc(this, \"VPC\", new VpcProps { MaxAzs = 3 });\nnew Ec2Environment(this, \"Cloud9Env\", new Ec2EnvironmentProps { Vpc = vpc });\n\n// or create the cloud9 environment in the default VPC with specific instanceType\nIVpc defaultVpc = Vpc.FromLookup(this, \"DefaultVPC\", new VpcLookupOptions { IsDefault = true });\nnew Ec2Environment(this, \"Cloud9Env2\", new Ec2EnvironmentProps {\n Vpc = defaultVpc,\n InstanceType = new InstanceType(\"t3.large\")\n});\n\n// or specify in a different subnetSelection\nEc2Environment c9env = new Ec2Environment(this, \"Cloud9Env3\", new Ec2EnvironmentProps {\n Vpc = vpc,\n SubnetSelection = new SubnetSelection {\n SubnetType = SubnetType.PRIVATE\n }\n});\n\n// print the Cloud9 IDE URL in the output\n// print the Cloud9 IDE URL in the output\nnew CfnOutput(this, \"URL\", new CfnOutputProps { Value = c9env.IdeUrl });",
244
277
  "version": "1"
245
278
  },
246
279
  "java": {
247
- "source": "import software.amazon.awscdk.services.cloud9.alpha.*;\n\n// create a cloud9 ec2 environment in a new VPC\nObject vpc = Vpc.Builder.create(this, \"VPC\").maxAzs(3).build();\nEc2Environment.Builder.create(this, \"Cloud9Env\").vpc(vpc).build();\n\n// or create the cloud9 environment in the default VPC with specific instanceType\nObject defaultVpc = ec2.Vpc.fromLookup(this, \"DefaultVPC\", Map.of(\"isDefault\", true));\nEc2Environment.Builder.create(this, \"Cloud9Env2\")\n .vpc(defaultVpc)\n .instanceType(new InstanceType(\"t3.large\"))\n .build();\n\n// or specify in a different subnetSelection\nEc2Environment c9env = Ec2Environment.Builder.create(this, \"Cloud9Env3\")\n .vpc(vpc)\n .subnetSelection(SubnetSelection.builder()\n .subnetType(ec2.getSubnetType().getPRIVATE())\n .build())\n .build();\n\n// print the Cloud9 IDE URL in the output\n// print the Cloud9 IDE URL in the output\nCfnOutput.Builder.create(this, \"URL\").value(c9env.getIdeUrl()).build();",
280
+ "source": "// create a cloud9 ec2 environment in a new VPC\nVpc vpc = Vpc.Builder.create(this, \"VPC\").maxAzs(3).build();\nEc2Environment.Builder.create(this, \"Cloud9Env\").vpc(vpc).build();\n\n// or create the cloud9 environment in the default VPC with specific instanceType\nIVpc defaultVpc = Vpc.fromLookup(this, \"DefaultVPC\", VpcLookupOptions.builder().isDefault(true).build());\nEc2Environment.Builder.create(this, \"Cloud9Env2\")\n .vpc(defaultVpc)\n .instanceType(new InstanceType(\"t3.large\"))\n .build();\n\n// or specify in a different subnetSelection\nEc2Environment c9env = Ec2Environment.Builder.create(this, \"Cloud9Env3\")\n .vpc(vpc)\n .subnetSelection(SubnetSelection.builder()\n .subnetType(SubnetType.PRIVATE)\n .build())\n .build();\n\n// print the Cloud9 IDE URL in the output\n// print the Cloud9 IDE URL in the output\nCfnOutput.Builder.create(this, \"URL\").value(c9env.getIdeUrl()).build();",
248
281
  "version": "1"
249
282
  },
250
283
  "$": {
251
- "source": "import * as cloud9 from '@aws-cdk/aws-cloud9-alpha';\n\n// create a cloud9 ec2 environment in a new VPC\nconst vpc = new ec2.Vpc(this, 'VPC', { maxAzs: 3});\nnew cloud9.Ec2Environment(this, 'Cloud9Env', { vpc });\n\n// or create the cloud9 environment in the default VPC with specific instanceType\nconst defaultVpc = ec2.Vpc.fromLookup(this, 'DefaultVPC', { isDefault: true });\nnew cloud9.Ec2Environment(this, 'Cloud9Env2', {\n vpc: defaultVpc,\n instanceType: new ec2.InstanceType('t3.large')\n});\n\n// or specify in a different subnetSelection\nconst c9env = new cloud9.Ec2Environment(this, 'Cloud9Env3', {\n vpc,\n subnetSelection: {\n subnetType: ec2.SubnetType.PRIVATE\n }\n});\n\n// print the Cloud9 IDE URL in the output\nnew cdk.CfnOutput(this, 'URL', { value: c9env.ideUrl });",
284
+ "source": "// create a cloud9 ec2 environment in a new VPC\nconst vpc = new ec2.Vpc(this, 'VPC', { maxAzs: 3});\nnew cloud9.Ec2Environment(this, 'Cloud9Env', { vpc });\n\n// or create the cloud9 environment in the default VPC with specific instanceType\nconst defaultVpc = ec2.Vpc.fromLookup(this, 'DefaultVPC', { isDefault: true });\nnew cloud9.Ec2Environment(this, 'Cloud9Env2', {\n vpc: defaultVpc,\n instanceType: new ec2.InstanceType('t3.large'),\n});\n\n// or specify in a different subnetSelection\nconst c9env = new cloud9.Ec2Environment(this, 'Cloud9Env3', {\n vpc,\n subnetSelection: {\n subnetType: ec2.SubnetType.PRIVATE,\n },\n});\n\n// print the Cloud9 IDE URL in the output\nnew CfnOutput(this, 'URL', { value: c9env.ideUrl });",
252
285
  "version": "0"
253
286
  }
254
287
  },
@@ -261,39 +294,42 @@
261
294
  "field": "example"
262
295
  }
263
296
  },
264
- "didCompile": false,
297
+ "didCompile": true,
265
298
  "fqnsReferenced": [
266
299
  "@aws-cdk/aws-cloud9-alpha.Ec2Environment",
267
300
  "@aws-cdk/aws-cloud9-alpha.Ec2Environment#ideUrl",
268
301
  "@aws-cdk/aws-cloud9-alpha.Ec2EnvironmentProps",
302
+ "aws-cdk-lib.CfnOutput",
303
+ "aws-cdk-lib.CfnOutputProps",
269
304
  "aws-cdk-lib.aws_ec2.IVpc",
270
305
  "aws-cdk-lib.aws_ec2.InstanceType",
271
306
  "aws-cdk-lib.aws_ec2.SubnetSelection",
272
- "aws-cdk-lib.aws_ec2.SubnetType"
307
+ "aws-cdk-lib.aws_ec2.SubnetType",
308
+ "aws-cdk-lib.aws_ec2.SubnetType#PRIVATE",
309
+ "aws-cdk-lib.aws_ec2.Vpc",
310
+ "aws-cdk-lib.aws_ec2.Vpc#fromLookup",
311
+ "aws-cdk-lib.aws_ec2.VpcLookupOptions",
312
+ "aws-cdk-lib.aws_ec2.VpcProps"
273
313
  ],
274
- "fullSource": "import * as cloud9 from '@aws-cdk/aws-cloud9-alpha';\n\n// create a cloud9 ec2 environment in a new VPC\nconst vpc = new ec2.Vpc(this, 'VPC', { maxAzs: 3});\nnew cloud9.Ec2Environment(this, 'Cloud9Env', { vpc });\n\n// or create the cloud9 environment in the default VPC with specific instanceType\nconst defaultVpc = ec2.Vpc.fromLookup(this, 'DefaultVPC', { isDefault: true });\nnew cloud9.Ec2Environment(this, 'Cloud9Env2', {\n vpc: defaultVpc,\n instanceType: new ec2.InstanceType('t3.large')\n});\n\n// or specify in a different subnetSelection\nconst c9env = new cloud9.Ec2Environment(this, 'Cloud9Env3', {\n vpc,\n subnetSelection: {\n subnetType: ec2.SubnetType.PRIVATE\n }\n});\n\n// print the Cloud9 IDE URL in the output\nnew cdk.CfnOutput(this, 'URL', { value: c9env.ideUrl });",
314
+ "fullSource": "// Fixture with packages imported, but nothing else\nimport { CfnOutput, Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as cloud9 from '@aws-cdk/aws-cloud9-alpha';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n// create a cloud9 ec2 environment in a new VPC\nconst vpc = new ec2.Vpc(this, 'VPC', { maxAzs: 3});\nnew cloud9.Ec2Environment(this, 'Cloud9Env', { vpc });\n\n// or create the cloud9 environment in the default VPC with specific instanceType\nconst defaultVpc = ec2.Vpc.fromLookup(this, 'DefaultVPC', { isDefault: true });\nnew cloud9.Ec2Environment(this, 'Cloud9Env2', {\n vpc: defaultVpc,\n instanceType: new ec2.InstanceType('t3.large'),\n});\n\n// or specify in a different subnetSelection\nconst c9env = new cloud9.Ec2Environment(this, 'Cloud9Env3', {\n vpc,\n subnetSelection: {\n subnetType: ec2.SubnetType.PRIVATE,\n },\n});\n\n// print the Cloud9 IDE URL in the output\nnew CfnOutput(this, 'URL', { value: c9env.ideUrl });\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
275
315
  "syntaxKindCounter": {
276
316
  "8": 1,
277
- "10": 8,
278
- "75": 34,
317
+ "10": 7,
318
+ "75": 32,
279
319
  "104": 6,
280
320
  "106": 1,
281
321
  "193": 7,
282
- "194": 11,
322
+ "194": 10,
283
323
  "196": 1,
284
324
  "197": 6,
285
325
  "225": 3,
286
326
  "226": 3,
287
327
  "242": 3,
288
328
  "243": 3,
289
- "254": 1,
290
- "255": 1,
291
- "256": 1,
292
329
  "281": 7,
293
- "282": 2,
294
- "290": 1
330
+ "282": 2
295
331
  },
296
- "fqnsFingerprint": "0bf6bdf4c8c00e4c0592ddf4b6a240cbdef139780fd8d95b2d33afa32fcfdf98"
332
+ "fqnsFingerprint": "d8764925aff5f9272c3b3205f8e05488b8484f95773ea046def85570a177bf26"
297
333
  }
298
334
  }
299
335
  }
package/README.md CHANGED
@@ -17,17 +17,23 @@
17
17
 
18
18
  This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.
19
19
 
20
- AWS Cloud9 is a cloud-based integrated development environment (IDE) that lets you write, run, and debug your code with just a browser. It includes a code editor, debugger, and terminal. Cloud9 comes prepackaged with essential tools for popular programming languages, including JavaScript, Python, PHP, and more, so you don’t need to install files or configure your development machine to start new projects. Since your Cloud9 IDE is cloud-based, you can work on your projects from your office, home, or anywhere using an internet-connected machine. Cloud9 also provides a seamless experience for developing serverless applications enabling you to easily define resources, debug, and switch between local and remote execution of serverless applications. With Cloud9, you can quickly share your development environment with your team, enabling you to pair program and track each other's inputs in real time.
20
+ AWS Cloud9 is a cloud-based integrated development environment (IDE) that lets you write, run, and debug your code with just a
21
+ browser. It includes a code editor, debugger, and terminal. Cloud9 comes prepackaged with essential tools for popular
22
+ programming languages, including JavaScript, Python, PHP, and more, so you don’t need to install files or configure your
23
+ development machine to start new projects. Since your Cloud9 IDE is cloud-based, you can work on your projects from your
24
+ office, home, or anywhere using an internet-connected machine. Cloud9 also provides a seamless experience for developing
25
+ serverless applications enabling you to easily define resources, debug, and switch between local and remote execution of
26
+ serverless applications. With Cloud9, you can quickly share your development environment with your team, enabling you to pair
27
+ program and track each other's inputs in real time.
21
28
 
22
29
 
23
30
  ## Creating EC2 Environment
24
31
 
25
- EC2 Environments are defined with `Ec2Environment`. To create an EC2 environment in the private subnet, specify `subnetSelection` with private `subnetType`.
32
+ EC2 Environments are defined with `Ec2Environment`. To create an EC2 environment in the private subnet, specify
33
+ `subnetSelection` with private `subnetType`.
26
34
 
27
35
 
28
36
  ```ts
29
- import * as cloud9 from '@aws-cdk/aws-cloud9-alpha';
30
-
31
37
  // create a cloud9 ec2 environment in a new VPC
32
38
  const vpc = new ec2.Vpc(this, 'VPC', { maxAzs: 3});
33
39
  new cloud9.Ec2Environment(this, 'Cloud9Env', { vpc });
@@ -36,19 +42,19 @@ new cloud9.Ec2Environment(this, 'Cloud9Env', { vpc });
36
42
  const defaultVpc = ec2.Vpc.fromLookup(this, 'DefaultVPC', { isDefault: true });
37
43
  new cloud9.Ec2Environment(this, 'Cloud9Env2', {
38
44
  vpc: defaultVpc,
39
- instanceType: new ec2.InstanceType('t3.large')
45
+ instanceType: new ec2.InstanceType('t3.large'),
40
46
  });
41
47
 
42
48
  // or specify in a different subnetSelection
43
49
  const c9env = new cloud9.Ec2Environment(this, 'Cloud9Env3', {
44
- vpc,
45
- subnetSelection: {
46
- subnetType: ec2.SubnetType.PRIVATE
47
- }
50
+ vpc,
51
+ subnetSelection: {
52
+ subnetType: ec2.SubnetType.PRIVATE,
53
+ },
48
54
  });
49
55
 
50
56
  // print the Cloud9 IDE URL in the output
51
- new cdk.CfnOutput(this, 'URL', { value: c9env.ideUrl });
57
+ new CfnOutput(this, 'URL', { value: c9env.ideUrl });
52
58
  ```
53
59
 
54
60
  ## Cloning Repositories
@@ -56,16 +62,19 @@ new cdk.CfnOutput(this, 'URL', { value: c9env.ideUrl });
56
62
  Use `clonedRepositories` to clone one or multiple AWS Codecommit repositories into the environment:
57
63
 
58
64
  ```ts
65
+ import * as codecommit from 'aws-cdk-lib/aws-codecommit';
66
+
59
67
  // create a codecommit repository to clone into the cloud9 environment
60
68
  const repoNew = new codecommit.Repository(this, 'RepoNew', {
61
69
  repositoryName: 'new-repo',
62
70
  });
63
71
 
64
72
  // import an existing codecommit repository to clone into the cloud9 environment
65
- const repoExisting = codecommit.Repository.fromRepositoryName(stack, 'RepoExisting', 'existing-repo');
73
+ const repoExisting = codecommit.Repository.fromRepositoryName(this, 'RepoExisting', 'existing-repo');
66
74
 
67
75
  // create a new Cloud9 environment and clone the two repositories
68
- new cloud9.Ec2Environment(stack, 'C9Env', {
76
+ declare const vpc: ec2.Vpc;
77
+ new cloud9.Ec2Environment(this, 'C9Env', {
69
78
  vpc,
70
79
  clonedRepositories: [
71
80
  cloud9.CloneRepository.fromCodeCommit(repoNew, '/src/new-repo'),
@@ -3,138 +3,110 @@ import * as ec2 from 'aws-cdk-lib/aws-ec2';
3
3
  import * as cdk from 'aws-cdk-lib';
4
4
  import { Construct } from 'constructs';
5
5
  /**
6
- * (experimental) A Cloud9 Environment.
6
+ * A Cloud9 Environment
7
7
  *
8
- * @experimental
9
8
  */
10
9
  export interface IEc2Environment extends cdk.IResource {
11
10
  /**
12
- * (experimental) The name of the EnvironmentEc2.
11
+ * The name of the EnvironmentEc2
13
12
  *
14
- * @experimental
15
13
  * @attribute environmentEc2Name
16
14
  */
17
15
  readonly ec2EnvironmentName: string;
18
16
  /**
19
- * (experimental) The arn of the EnvironmentEc2.
17
+ * The arn of the EnvironmentEc2
20
18
  *
21
- * @experimental
22
19
  * @attribute environmentE2Arn
23
20
  */
24
21
  readonly ec2EnvironmentArn: string;
25
22
  }
26
23
  /**
27
- * (experimental) Properties for Ec2Environment.
28
- *
29
- * @experimental
24
+ * Properties for Ec2Environment
30
25
  */
31
26
  export interface Ec2EnvironmentProps {
32
27
  /**
33
- * (experimental) The type of instance to connect to the environment.
28
+ * The type of instance to connect to the environment.
34
29
  *
35
30
  * @default - t2.micro
36
- * @experimental
37
31
  */
38
32
  readonly instanceType?: ec2.InstanceType;
39
33
  /**
40
- * (experimental) The subnetSelection of the VPC that AWS Cloud9 will use to communicate with the Amazon EC2 instance.
34
+ * The subnetSelection of the VPC that AWS Cloud9 will use to communicate with
35
+ * the Amazon EC2 instance.
41
36
  *
42
37
  * @default - all public subnets of the VPC are selected.
43
- * @experimental
44
38
  */
45
39
  readonly subnetSelection?: ec2.SubnetSelection;
46
40
  /**
47
- * (experimental) The VPC that AWS Cloud9 will use to communicate with the Amazon Elastic Compute Cloud (Amazon EC2) instance.
41
+ * The VPC that AWS Cloud9 will use to communicate with the Amazon Elastic Compute Cloud (Amazon EC2) instance.
48
42
  *
49
- * @experimental
50
43
  */
51
44
  readonly vpc: ec2.IVpc;
52
45
  /**
53
- * (experimental) Name of the environment.
46
+ * Name of the environment
54
47
  *
55
48
  * @default - automatically generated name
56
- * @experimental
57
49
  */
58
50
  readonly ec2EnvironmentName?: string;
59
51
  /**
60
- * (experimental) Description of the environment.
52
+ * Description of the environment
61
53
  *
62
54
  * @default - no description
63
- * @experimental
64
55
  */
65
56
  readonly description?: string;
66
57
  /**
67
- * (experimental) The AWS CodeCommit repository to be cloned.
58
+ * The AWS CodeCommit repository to be cloned
68
59
  *
69
60
  * @default - do not clone any repository
70
- * @experimental
71
61
  */
72
62
  readonly clonedRepositories?: CloneRepository[];
73
63
  }
74
64
  /**
75
- * (experimental) A Cloud9 Environment with Amazon EC2.
76
- *
77
- * @experimental
65
+ * A Cloud9 Environment with Amazon EC2
78
66
  * @resource AWS::Cloud9::EnvironmentEC2
79
67
  */
80
68
  export declare class Ec2Environment extends cdk.Resource implements IEc2Environment {
81
69
  /**
82
- * (experimental) import from EnvironmentEc2Name.
83
- *
84
- * @experimental
70
+ * import from EnvironmentEc2Name
85
71
  */
86
72
  static fromEc2EnvironmentName(scope: Construct, id: string, ec2EnvironmentName: string): IEc2Environment;
87
73
  /**
88
- * (experimental) The environment name of this Cloud9 environment.
74
+ * The environment name of this Cloud9 environment
89
75
  *
90
- * @experimental
91
- * @attribute true
76
+ * @attribute
92
77
  */
93
78
  readonly ec2EnvironmentName: string;
94
79
  /**
95
- * (experimental) The environment ARN of this Cloud9 environment.
80
+ * The environment ARN of this Cloud9 environment
96
81
  *
97
- * @experimental
98
- * @attribute true
82
+ * @attribute
99
83
  */
100
84
  readonly ec2EnvironmentArn: string;
101
85
  /**
102
- * (experimental) The environment ID of this Cloud9 environment.
103
- *
104
- * @experimental
86
+ * The environment ID of this Cloud9 environment
105
87
  */
106
88
  readonly environmentId: string;
107
89
  /**
108
- * (experimental) The complete IDE URL of this Cloud9 environment.
109
- *
110
- * @experimental
90
+ * The complete IDE URL of this Cloud9 environment
111
91
  */
112
92
  readonly ideUrl: string;
113
93
  /**
114
- * (experimental) VPC ID.
115
- *
116
- * @experimental
94
+ * VPC ID
117
95
  */
118
96
  readonly vpc: ec2.IVpc;
119
- /**
120
- * @experimental
121
- */
122
97
  constructor(scope: Construct, id: string, props: Ec2EnvironmentProps);
123
98
  }
124
99
  /**
125
- * (experimental) The class for different repository providers.
126
- *
127
- * @experimental
100
+ * The class for different repository providers
128
101
  */
129
102
  export declare class CloneRepository {
130
103
  readonly repositoryUrl: string;
131
104
  readonly pathComponent: string;
132
105
  /**
133
- * (experimental) import repository to cloud9 environment from AWS CodeCommit.
106
+ * import repository to cloud9 environment from AWS CodeCommit
134
107
  *
135
- * @param repository the codecommit repository to clone from.
136
- * @param path the target path in cloud9 environment.
137
- * @experimental
108
+ * @param repository the codecommit repository to clone from
109
+ * @param path the target path in cloud9 environment
138
110
  */
139
111
  static fromCodeCommit(repository: codecommit.IRepository, path: string): CloneRepository;
140
112
  private constructor();
@@ -8,15 +8,10 @@ const ec2 = require("aws-cdk-lib/aws-ec2");
8
8
  const cdk = require("aws-cdk-lib");
9
9
  const aws_cloud9_1 = require("aws-cdk-lib/aws-cloud9");
10
10
  /**
11
- * (experimental) A Cloud9 Environment with Amazon EC2.
12
- *
13
- * @experimental
11
+ * A Cloud9 Environment with Amazon EC2
14
12
  * @resource AWS::Cloud9::EnvironmentEC2
15
13
  */
16
14
  class Ec2Environment extends cdk.Resource {
17
- /**
18
- * @experimental
19
- */
20
15
  constructor(scope, id, props) {
21
16
  var _c, _d, _e;
22
17
  super(scope, id);
@@ -42,9 +37,7 @@ class Ec2Environment extends cdk.Resource {
42
37
  this.ideUrl = `https://${this.stack.region}.console.aws.amazon.com/cloud9/ide/${this.environmentId}`;
43
38
  }
44
39
  /**
45
- * (experimental) import from EnvironmentEc2Name.
46
- *
47
- * @experimental
40
+ * import from EnvironmentEc2Name
48
41
  */
49
42
  static fromEc2EnvironmentName(scope, id, ec2EnvironmentName) {
50
43
  class Import extends cdk.Resource {
@@ -63,11 +56,9 @@ class Ec2Environment extends cdk.Resource {
63
56
  }
64
57
  exports.Ec2Environment = Ec2Environment;
65
58
  _a = JSII_RTTI_SYMBOL_1;
66
- Ec2Environment[_a] = { fqn: "@aws-cdk/aws-cloud9-alpha.Ec2Environment", version: "2.9.0-alpha.0" };
59
+ Ec2Environment[_a] = { fqn: "@aws-cdk/aws-cloud9-alpha.Ec2Environment", version: "2.13.0-alpha.0" };
67
60
  /**
68
- * (experimental) The class for different repository providers.
69
- *
70
- * @experimental
61
+ * The class for different repository providers
71
62
  */
72
63
  class CloneRepository {
73
64
  constructor(repositoryUrl, pathComponent) {
@@ -75,11 +66,10 @@ class CloneRepository {
75
66
  this.pathComponent = pathComponent;
76
67
  }
77
68
  /**
78
- * (experimental) import repository to cloud9 environment from AWS CodeCommit.
69
+ * import repository to cloud9 environment from AWS CodeCommit
79
70
  *
80
- * @param repository the codecommit repository to clone from.
81
- * @param path the target path in cloud9 environment.
82
- * @experimental
71
+ * @param repository the codecommit repository to clone from
72
+ * @param path the target path in cloud9 environment
83
73
  */
84
74
  static fromCodeCommit(repository, path) {
85
75
  return {
@@ -90,5 +80,5 @@ class CloneRepository {
90
80
  }
91
81
  exports.CloneRepository = CloneRepository;
92
82
  _b = JSII_RTTI_SYMBOL_1;
93
- CloneRepository[_b] = { fqn: "@aws-cdk/aws-cloud9-alpha.CloneRepository", version: "2.9.0-alpha.0" };
94
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW52aXJvbm1lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJlbnZpcm9ubWVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7QUFDQSwyQ0FBMkM7QUFDM0MsbUNBQW1DO0FBRW5DLHVEQUEyRDs7Ozs7OztBQWtDM0QsTUFBYSxjQUFlLFNBQVEsR0FBRyxDQUFDLFFBQVE7Ozs7SUE2QjlDLFlBQVksS0FBZ0IsRUFBRSxFQUFVLEVBQUUsS0FBMEI7O1FBQ2xFLEtBQUssQ0FBQyxLQUFLLEVBQUUsRUFBRSxDQUFDLENBQUM7O1FBRWpCLElBQUksQ0FBQyxHQUFHLEdBQUcsS0FBSyxDQUFDLEdBQUcsQ0FBQztRQUNyQixJQUFJLENBQUMsS0FBSyxDQUFDLGVBQWUsSUFBSSxJQUFJLENBQUMsR0FBRyxDQUFDLGFBQWEsQ0FBQyxNQUFNLEtBQUssQ0FBQyxFQUFFO1lBQ2pFLE1BQU0sSUFBSSxLQUFLLENBQUMsb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UFVLENBQUMsc0JBQXNCO1lBQ2hELGFBQWEsRUFBRSxJQUFJO1NBQ3BCLENBQUM7S0FDSDs7QUFQSCwwQ0FVQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCAqIGFzIGNvZGVjb21taXQgZnJvbSAnYXdzLWNkay1saWIvYXdzLWNvZGVjb21taXQnO1xuaW1wb3J0ICogYXMgZWMyIGZyb20gJ2F3cy1jZGstbGliL2F3cy1lYzInO1xuaW1wb3J0ICogYXMgY2RrIGZyb20gJ2F3cy1jZGstbGliJztcbmltcG9ydCB7IENvbnN0cnVjdCB9IGZyb20gJ2NvbnN0cnVjdHMnO1xuaW1wb3J0IHsgQ2ZuRW52aXJvbm1lbnRFQzIgfSBmcm9tICdhd3MtY2RrLWxpYi9hd3MtY2xvdWQ5JztcblxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFxuZXhwb3J0IGludGVyZmFjZSBJRWMyRW52aXJvbm1lbnQgZXh0ZW5kcyBjZGsuSVJlc291cmNlIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFxuICByZWFkb25seSBlYzJFbnZpcm9ubWVudE5hbWU6IHN0cmluZztcblxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXG4gIHJlYWRvbmx5IGVjMkVudmlyb25tZW50QXJuOiBzdHJpbmc7XG59XG5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBcbmV4cG9ydCBpbnRlcmZhY2UgRWMyRW52aXJvbm1lbnRQcm9wcyB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFxuICByZWFkb25seSBpbnN0YW5jZVR5cGU/OiBlYzIuSW5zdGFuY2VUeXBlO1xuXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXG4gIHJlYWRvbmx5IHN1Ym5ldFNlbGVjdGlvbj86IGVjMi5TdWJuZXRTZWxlY3Rpb247XG5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBcbiAgcmVhZG9ubHkgdnBjOiBlYzIuSVZwYztcblxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXG4gIHJlYWRvbmx5IGVjMkVudmlyb25tZW50TmFtZT86IHN0cmluZztcblxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBcbiAgcmVhZG9ubHkgZGVzY3JpcHRpb24/OiBzdHJpbmc7XG5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFxuICAvLyByZWFkb25seSBjbG9uZWRSZXBvc2l0b3JpZXM/OiBDbG91ZDlSZXBvc2l0b3J5W107XG4gIHJlYWRvbmx5IGNsb25lZFJlcG9zaXRvcmllcz86IENsb25lUmVwb3NpdG9yeVtdO1xufVxuXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXG5leHBvcnQgY2xhc3MgRWMyRW52aXJvbm1lbnQgZXh0ZW5kcyBjZGsuUmVzb3VyY2UgaW1wbGVtZW50cyBJRWMyRW52aXJvbm1lbnQge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBcbiAgcHVibGljIHN0YXRpYyBmcm9tRWMyRW52aXJvbm1lbnROYW1lKHNjb3BlOiBDb25zdHJ1Y3QsIGlkOiBzdHJpbmcsIGVjMkVudmlyb25tZW50TmFtZTogc3RyaW5nKTogSUVjMkVudmlyb25tZW50IHtcbiAgICBjbGFzcyBJbXBvcnQgZXh0ZW5kcyBjZGsuUmVzb3VyY2Uge1xuICAgICAgcHVibGljIGVjMkVudmlyb25tZW50TmFtZSA9IGVjMkVudmlyb25tZW50TmFtZTtcbiAgICAgIHB1YmxpYyBlYzJFbnZpcm9ubWVudEFybiA9IGNkay5TdGFjay5vZih0aGlzKS5mb3JtYXRBcm4oe1xuICAgICAgICBzZXJ2aWNlOiAnY2xvdWQ5JyxcbiAgICAgICAgcmVzb3VyY2U6ICdlbnZpcm9ubWVudCcsXG4gICAgICAgIHJlc291cmNlTmFtZTogdGhpcy5lYzJFbnZpcm9ubWVudE5hbWUsXG4gICAgICB9KTtcbiAgICB9XG4gICAgcmV0dXJuIG5ldyBJbXBvcnQoc2NvcGUsIGlkKTtcbiAgfVxuXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXG4gIHB1YmxpYyByZWFkb25seSBlYzJFbnZpcm9ubWVudE5hbWU6IHN0cmluZztcblxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXG4gIHB1YmxpYyByZWFkb25seSBlYzJFbnZpcm9ubWVudEFybjogc3RyaW5nO1xuXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFxuICBwdWJsaWMgcmVhZG9ubHkgZW52aXJvbm1lbnRJZDogc3RyaW5nO1xuXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXG4gIHB1YmxpYyByZWFkb25seSBpZGVVcmw6IHN0cmluZztcblxuICAgICAgICAgICAgICAgICAgICAgICBcbiAgcHVibGljIHJlYWRvbmx5IHZwYzogZWMyLklWcGM7XG5cbiAgY29uc3RydWN0b3Ioc2NvcGU6IENvbnN0cnVjdCwgaWQ6IHN0cmluZywgcHJvcHM6IEVjMkVudmlyb25tZW50UHJvcHMpIHtcbiAgICBzdXBlcihzY29wZSwgaWQpO1xuXG4gICAgdGhpcy52cGMgPSBwcm9wcy52cGM7XG4gICAgaWYgKCFwcm9wcy5zdWJuZXRTZWxlY3Rpb24gJiYgdGhpcy52cGMucHVibGljU3VibmV0cy5sZW5ndGggPT09IDApIHtcbiAgICAgIHRocm93IG5ldyBFcnJvcignbm8gc3VibmV0U2VsZWN0aW9uIHNwZWNpZmllZCBhbmQgbm8gcHVibGljIHN1Ym5ldCBmb3VuZCBpbiB0aGUgdnBjLCBwbGVhc2Ugc3BlY2lmeSBzdWJuZXRTZWxlY3Rpb24nKTtcbiAgICB9XG5cbiAgICBjb25zdCB2cGNTdWJuZXRzID0gcHJvcHMuc3VibmV0U2VsZWN0aW9uID8/IHsgc3VibmV0VHlwZTogZWMyLlN1Ym5ldFR5cGUuUFVCTElDIH07XG4gICAgY29uc3QgYzllbnYgPSBuZXcgQ2ZuRW52aXJvbm1lbnRFQzIodGhpcywgJ1Jlc291cmNlJywge1xuICAgICAgbmFtZTogcHJvcHMuZWMyRW52aXJvbm1lbnROYW1lLFxuICAgICAgZGVzY3JpcHRpb246IHByb3BzLmRlc2NyaXB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AgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFxuICBwdWJsaWMgc3RhdGljIGZyb21Db2RlQ29tbWl0KHJlcG9zaXRvcnk6IGNvZGVjb21taXQuSVJlcG9zaXRvcnksIHBhdGg6IHN0cmluZyk6IENsb25lUmVwb3NpdG9yeSB7XG4gICAgcmV0dXJuIHtcbiAgICAgIHJlcG9zaXRvcnlVcmw6IHJlcG9zaXRvcnkucmVwb3NpdG9yeUNsb25lVXJsSHR0cCxcbiAgICAgIHBhdGhDb21wb25lbnQ6IHBhdGgsXG4gICAgfTtcbiAgfVxuXG4gIHByaXZhdGUgY29uc3RydWN0b3IocHVibGljIHJlYWRvbmx5IHJlcG9zaXRvcnlVcmw6IHN0cmluZywgcHVibGljIHJlYWRvbmx5IHBhdGhDb21wb25lbnQ6IHN0cmluZykge31cbn1cbiJdfQ==
83
+ CloneRepository[_b] = { fqn: "@aws-cdk/aws-cloud9-alpha.CloneRepository", version: "2.13.0-alpha.0" };
84
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW52aXJvbm1lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJlbnZpcm9ubWVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7QUFDQSwyQ0FBMkM7QUFDM0MsbUNBQW1DO0FBRW5DLHVEQUEyRDtBQXNFM0Q7OztHQUdHO0FBQ0gsTUFBYSxjQUFlLFNBQVEsR0FBRyxDQUFDLFFBQVE7SUE2QzlDLFlBQVksS0FBZ0IsRUFBRSxFQUFVLEVBQUUsS0FBMEI7O1FBQ2xFLEtBQUssQ0FBQyxLQUFLLEVBQUUsRUFBRSxDQUFDLENBQUM7O1FBRWpCLElBQUksQ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iByZXBvc2l0b3J5LnJlcG9zaXRvcnlDbG9uZVVybEh0dHAsXG4gICAgICBwYXRoQ29tcG9uZW50OiBwYXRoLFxuICAgIH07XG4gIH1cblxuICBwcml2YXRlIGNvbnN0cnVjdG9yKHB1YmxpYyByZWFkb25seSByZXBvc2l0b3J5VXJsOiBzdHJpbmcsIHB1YmxpYyByZWFkb25seSBwYXRoQ29tcG9uZW50OiBzdHJpbmcpIHt9XG59XG4iXX0=
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-cdk/aws-cloud9-alpha",
3
- "version": "2.9.0-alpha.0",
3
+ "version": "2.13.0-alpha.0",
4
4
  "private": false,
5
5
  "description": "The CDK Construct Library for AWS::Cloud9",
6
6
  "main": "lib/index.js",
@@ -33,7 +33,14 @@
33
33
  "packageName": "awscdkcloud9alpha"
34
34
  }
35
35
  },
36
- "projectReferences": true
36
+ "projectReferences": true,
37
+ "metadata": {
38
+ "jsii": {
39
+ "rosetta": {
40
+ "strict": true
41
+ }
42
+ }
43
+ }
37
44
  },
38
45
  "repository": {
39
46
  "type": "git",
@@ -74,18 +81,18 @@
74
81
  },
75
82
  "license": "Apache-2.0",
76
83
  "devDependencies": {
77
- "@aws-cdk/cdk-build-tools": "2.9.0",
78
- "@aws-cdk/cdk-integ-tools": "2.9.0",
79
- "@aws-cdk/cfn2ts": "2.9.0",
80
- "@aws-cdk/pkglint": "2.9.0",
84
+ "@aws-cdk/cdk-build-tools": "2.13.0",
85
+ "@aws-cdk/cdk-integ-tools": "2.13.0",
86
+ "@aws-cdk/cfn2ts": "2.13.0",
87
+ "@aws-cdk/pkglint": "2.13.0",
81
88
  "@types/jest": "^27.4.0",
82
- "aws-cdk-lib": "2.9.0",
89
+ "aws-cdk-lib": "2.13.0",
83
90
  "constructs": "^10.0.0"
84
91
  },
85
92
  "dependencies": {},
86
93
  "homepage": "https://github.com/aws/aws-cdk",
87
94
  "peerDependencies": {
88
- "aws-cdk-lib": "^2.9.0",
95
+ "aws-cdk-lib": "^2.13.0",
89
96
  "constructs": "^10.0.0"
90
97
  },
91
98
  "engines": {
@@ -0,0 +1,12 @@
1
+ // Fixture with packages imported, but nothing else
2
+ import { CfnOutput, Stack } from 'aws-cdk-lib';
3
+ import { Construct } from 'constructs';
4
+ import * as cloud9 from '@aws-cdk/aws-cloud9-alpha';
5
+ import * as ec2 from 'aws-cdk-lib/aws-ec2';
6
+
7
+ class Fixture extends Stack {
8
+ constructor(scope: Construct, id: string) {
9
+ super(scope, id);
10
+ /// here
11
+ }
12
+ }