@aws-cdk/aws-cloud9-alpha 2.32.0-alpha.0 → 2.34.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 +79 -28
- package/.jsii.tabl.json +245 -96
- package/.warnings.jsii.js +5 -1
- package/README.md +17 -1
- package/lib/environment.d.ts +19 -1
- package/lib/environment.js +23 -5
- package/package.json +9 -8
package/.jsii
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"url": "https://aws.amazon.com"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"aws-cdk-lib": "^2.
|
|
11
|
+
"aws-cdk-lib": "^2.34.0",
|
|
12
12
|
"constructs": "^10.0.0"
|
|
13
13
|
},
|
|
14
14
|
"dependencyClosure": {
|
|
@@ -3024,7 +3024,7 @@
|
|
|
3024
3024
|
"stability": "experimental"
|
|
3025
3025
|
},
|
|
3026
3026
|
"homepage": "https://github.com/aws/aws-cdk",
|
|
3027
|
-
"jsiiVersion": "1.
|
|
3027
|
+
"jsiiVersion": "1.63.0 (build 7c24e36)",
|
|
3028
3028
|
"keywords": [
|
|
3029
3029
|
"aws",
|
|
3030
3030
|
"cdk",
|
|
@@ -3045,7 +3045,7 @@
|
|
|
3045
3045
|
},
|
|
3046
3046
|
"name": "@aws-cdk/aws-cloud9-alpha",
|
|
3047
3047
|
"readme": {
|
|
3048
|
-
"markdown": "# AWS Cloud9 Construct Library\n<!--BEGIN STABILITY BANNER-->\n\n---\n\n\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_WITH_NAT,\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"
|
|
3048
|
+
"markdown": "# AWS Cloud9 Construct Library\n<!--BEGIN STABILITY BANNER-->\n\n---\n\n\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, imageId: cloud9.ImageId.AMAZON_LINUX_2, });\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 imageId: cloud9.ImageId.AMAZON_LINUX_2,\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_WITH_NAT,\n },\n imageId: cloud9.ImageId.AMAZON_LINUX_2,\n});\n\n// print the Cloud9 IDE URL in the output\nnew CfnOutput(this, 'URL', { value: c9env.ideUrl });\n```\n\n## Specifying EC2 AMI\n\nUse `imageId` to specify the EC2 AMI image to be used:\n\n```ts\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 imageId: cloud9.ImageId.UBUNTU_18_04,\n});\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 imageId: cloud9.ImageId.AMAZON_LINUX_2,\n});\n```\n"
|
|
3049
3049
|
},
|
|
3050
3050
|
"repository": {
|
|
3051
3051
|
"directory": "packages/individual-packages/aws-cloud9",
|
|
@@ -3089,7 +3089,7 @@
|
|
|
3089
3089
|
"custom": {
|
|
3090
3090
|
"exampleMetadata": "infused"
|
|
3091
3091
|
},
|
|
3092
|
-
"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});",
|
|
3092
|
+
"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 imageId: cloud9.ImageId.AMAZON_LINUX_2,\n});",
|
|
3093
3093
|
"stability": "experimental",
|
|
3094
3094
|
"summary": "The class for different repository providers."
|
|
3095
3095
|
},
|
|
@@ -3097,7 +3097,7 @@
|
|
|
3097
3097
|
"kind": "class",
|
|
3098
3098
|
"locationInModule": {
|
|
3099
3099
|
"filename": "lib/environment.ts",
|
|
3100
|
-
"line":
|
|
3100
|
+
"line": 202
|
|
3101
3101
|
},
|
|
3102
3102
|
"methods": [
|
|
3103
3103
|
{
|
|
@@ -3107,7 +3107,7 @@
|
|
|
3107
3107
|
},
|
|
3108
3108
|
"locationInModule": {
|
|
3109
3109
|
"filename": "lib/environment.ts",
|
|
3110
|
-
"line":
|
|
3110
|
+
"line": 209
|
|
3111
3111
|
},
|
|
3112
3112
|
"name": "fromCodeCommit",
|
|
3113
3113
|
"parameters": [
|
|
@@ -3147,7 +3147,7 @@
|
|
|
3147
3147
|
"immutable": true,
|
|
3148
3148
|
"locationInModule": {
|
|
3149
3149
|
"filename": "lib/environment.ts",
|
|
3150
|
-
"line":
|
|
3150
|
+
"line": 216
|
|
3151
3151
|
},
|
|
3152
3152
|
"name": "pathComponent",
|
|
3153
3153
|
"type": {
|
|
@@ -3161,7 +3161,7 @@
|
|
|
3161
3161
|
"immutable": true,
|
|
3162
3162
|
"locationInModule": {
|
|
3163
3163
|
"filename": "lib/environment.ts",
|
|
3164
|
-
"line":
|
|
3164
|
+
"line": 216
|
|
3165
3165
|
},
|
|
3166
3166
|
"name": "repositoryUrl",
|
|
3167
3167
|
"type": {
|
|
@@ -3187,7 +3187,7 @@
|
|
|
3187
3187
|
{
|
|
3188
3188
|
"docs": {
|
|
3189
3189
|
"stability": "experimental",
|
|
3190
|
-
"summary": "
|
|
3190
|
+
"summary": "Connect through SSH."
|
|
3191
3191
|
},
|
|
3192
3192
|
"name": "CONNECT_SSH"
|
|
3193
3193
|
},
|
|
@@ -3210,7 +3210,7 @@
|
|
|
3210
3210
|
"exampleMetadata": "infused",
|
|
3211
3211
|
"resource": "AWS::Cloud9::EnvironmentEC2"
|
|
3212
3212
|
},
|
|
3213
|
-
"example": "// create a
|
|
3213
|
+
"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 imageId: cloud9.ImageId.AMAZON_LINUX_2,\n});",
|
|
3214
3214
|
"stability": "experimental",
|
|
3215
3215
|
"summary": "A Cloud9 Environment with Amazon EC2."
|
|
3216
3216
|
},
|
|
@@ -3221,7 +3221,7 @@
|
|
|
3221
3221
|
},
|
|
3222
3222
|
"locationInModule": {
|
|
3223
3223
|
"filename": "lib/environment.ts",
|
|
3224
|
-
"line":
|
|
3224
|
+
"line": 167
|
|
3225
3225
|
},
|
|
3226
3226
|
"parameters": [
|
|
3227
3227
|
{
|
|
@@ -3250,7 +3250,7 @@
|
|
|
3250
3250
|
"kind": "class",
|
|
3251
3251
|
"locationInModule": {
|
|
3252
3252
|
"filename": "lib/environment.ts",
|
|
3253
|
-
"line":
|
|
3253
|
+
"line": 122
|
|
3254
3254
|
},
|
|
3255
3255
|
"methods": [
|
|
3256
3256
|
{
|
|
@@ -3260,7 +3260,7 @@
|
|
|
3260
3260
|
},
|
|
3261
3261
|
"locationInModule": {
|
|
3262
3262
|
"filename": "lib/environment.ts",
|
|
3263
|
-
"line":
|
|
3263
|
+
"line": 126
|
|
3264
3264
|
},
|
|
3265
3265
|
"name": "fromEc2EnvironmentName",
|
|
3266
3266
|
"parameters": [
|
|
@@ -3304,7 +3304,7 @@
|
|
|
3304
3304
|
"immutable": true,
|
|
3305
3305
|
"locationInModule": {
|
|
3306
3306
|
"filename": "lib/environment.ts",
|
|
3307
|
-
"line":
|
|
3307
|
+
"line": 150
|
|
3308
3308
|
},
|
|
3309
3309
|
"name": "ec2EnvironmentArn",
|
|
3310
3310
|
"overrides": "@aws-cdk/aws-cloud9-alpha.IEc2Environment",
|
|
@@ -3323,7 +3323,7 @@
|
|
|
3323
3323
|
"immutable": true,
|
|
3324
3324
|
"locationInModule": {
|
|
3325
3325
|
"filename": "lib/environment.ts",
|
|
3326
|
-
"line":
|
|
3326
|
+
"line": 143
|
|
3327
3327
|
},
|
|
3328
3328
|
"name": "ec2EnvironmentName",
|
|
3329
3329
|
"overrides": "@aws-cdk/aws-cloud9-alpha.IEc2Environment",
|
|
@@ -3339,7 +3339,7 @@
|
|
|
3339
3339
|
"immutable": true,
|
|
3340
3340
|
"locationInModule": {
|
|
3341
3341
|
"filename": "lib/environment.ts",
|
|
3342
|
-
"line":
|
|
3342
|
+
"line": 155
|
|
3343
3343
|
},
|
|
3344
3344
|
"name": "environmentId",
|
|
3345
3345
|
"type": {
|
|
@@ -3354,7 +3354,7 @@
|
|
|
3354
3354
|
"immutable": true,
|
|
3355
3355
|
"locationInModule": {
|
|
3356
3356
|
"filename": "lib/environment.ts",
|
|
3357
|
-
"line":
|
|
3357
|
+
"line": 160
|
|
3358
3358
|
},
|
|
3359
3359
|
"name": "ideUrl",
|
|
3360
3360
|
"type": {
|
|
@@ -3369,7 +3369,7 @@
|
|
|
3369
3369
|
"immutable": true,
|
|
3370
3370
|
"locationInModule": {
|
|
3371
3371
|
"filename": "lib/environment.ts",
|
|
3372
|
-
"line":
|
|
3372
|
+
"line": 165
|
|
3373
3373
|
},
|
|
3374
3374
|
"name": "vpc",
|
|
3375
3375
|
"type": {
|
|
@@ -3386,7 +3386,7 @@
|
|
|
3386
3386
|
"custom": {
|
|
3387
3387
|
"exampleMetadata": "infused"
|
|
3388
3388
|
},
|
|
3389
|
-
"example": "// create a
|
|
3389
|
+
"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 imageId: cloud9.ImageId.AMAZON_LINUX_2,\n});",
|
|
3390
3390
|
"stability": "experimental",
|
|
3391
3391
|
"summary": "Properties for Ec2Environment."
|
|
3392
3392
|
},
|
|
@@ -3394,10 +3394,26 @@
|
|
|
3394
3394
|
"kind": "interface",
|
|
3395
3395
|
"locationInModule": {
|
|
3396
3396
|
"filename": "lib/environment.ts",
|
|
3397
|
-
"line":
|
|
3397
|
+
"line": 58
|
|
3398
3398
|
},
|
|
3399
3399
|
"name": "Ec2EnvironmentProps",
|
|
3400
3400
|
"properties": [
|
|
3401
|
+
{
|
|
3402
|
+
"abstract": true,
|
|
3403
|
+
"docs": {
|
|
3404
|
+
"stability": "experimental",
|
|
3405
|
+
"summary": "The image ID used for creating an Amazon EC2 environment."
|
|
3406
|
+
},
|
|
3407
|
+
"immutable": true,
|
|
3408
|
+
"locationInModule": {
|
|
3409
|
+
"filename": "lib/environment.ts",
|
|
3410
|
+
"line": 115
|
|
3411
|
+
},
|
|
3412
|
+
"name": "imageId",
|
|
3413
|
+
"type": {
|
|
3414
|
+
"fqn": "@aws-cdk/aws-cloud9-alpha.ImageId"
|
|
3415
|
+
}
|
|
3416
|
+
},
|
|
3401
3417
|
{
|
|
3402
3418
|
"abstract": true,
|
|
3403
3419
|
"docs": {
|
|
@@ -3407,7 +3423,7 @@
|
|
|
3407
3423
|
"immutable": true,
|
|
3408
3424
|
"locationInModule": {
|
|
3409
3425
|
"filename": "lib/environment.ts",
|
|
3410
|
-
"line":
|
|
3426
|
+
"line": 78
|
|
3411
3427
|
},
|
|
3412
3428
|
"name": "vpc",
|
|
3413
3429
|
"type": {
|
|
@@ -3424,7 +3440,7 @@
|
|
|
3424
3440
|
"immutable": true,
|
|
3425
3441
|
"locationInModule": {
|
|
3426
3442
|
"filename": "lib/environment.ts",
|
|
3427
|
-
"line":
|
|
3443
|
+
"line": 100
|
|
3428
3444
|
},
|
|
3429
3445
|
"name": "clonedRepositories",
|
|
3430
3446
|
"optional": true,
|
|
@@ -3448,7 +3464,7 @@
|
|
|
3448
3464
|
"immutable": true,
|
|
3449
3465
|
"locationInModule": {
|
|
3450
3466
|
"filename": "lib/environment.ts",
|
|
3451
|
-
"line":
|
|
3467
|
+
"line": 109
|
|
3452
3468
|
},
|
|
3453
3469
|
"name": "connectionType",
|
|
3454
3470
|
"optional": true,
|
|
@@ -3466,7 +3482,7 @@
|
|
|
3466
3482
|
"immutable": true,
|
|
3467
3483
|
"locationInModule": {
|
|
3468
3484
|
"filename": "lib/environment.ts",
|
|
3469
|
-
"line":
|
|
3485
|
+
"line": 92
|
|
3470
3486
|
},
|
|
3471
3487
|
"name": "description",
|
|
3472
3488
|
"optional": true,
|
|
@@ -3484,7 +3500,7 @@
|
|
|
3484
3500
|
"immutable": true,
|
|
3485
3501
|
"locationInModule": {
|
|
3486
3502
|
"filename": "lib/environment.ts",
|
|
3487
|
-
"line":
|
|
3503
|
+
"line": 85
|
|
3488
3504
|
},
|
|
3489
3505
|
"name": "ec2EnvironmentName",
|
|
3490
3506
|
"optional": true,
|
|
@@ -3502,7 +3518,7 @@
|
|
|
3502
3518
|
"immutable": true,
|
|
3503
3519
|
"locationInModule": {
|
|
3504
3520
|
"filename": "lib/environment.ts",
|
|
3505
|
-
"line":
|
|
3521
|
+
"line": 64
|
|
3506
3522
|
},
|
|
3507
3523
|
"name": "instanceType",
|
|
3508
3524
|
"optional": true,
|
|
@@ -3520,7 +3536,7 @@
|
|
|
3520
3536
|
"immutable": true,
|
|
3521
3537
|
"locationInModule": {
|
|
3522
3538
|
"filename": "lib/environment.ts",
|
|
3523
|
-
"line":
|
|
3539
|
+
"line": 72
|
|
3524
3540
|
},
|
|
3525
3541
|
"name": "subnetSelection",
|
|
3526
3542
|
"optional": true,
|
|
@@ -3588,8 +3604,43 @@
|
|
|
3588
3604
|
}
|
|
3589
3605
|
],
|
|
3590
3606
|
"symbolId": "lib/environment:IEc2Environment"
|
|
3607
|
+
},
|
|
3608
|
+
"@aws-cdk/aws-cloud9-alpha.ImageId": {
|
|
3609
|
+
"assembly": "@aws-cdk/aws-cloud9-alpha",
|
|
3610
|
+
"docs": {
|
|
3611
|
+
"custom": {
|
|
3612
|
+
"exampleMetadata": "infused"
|
|
3613
|
+
},
|
|
3614
|
+
"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 imageId: cloud9.ImageId.AMAZON_LINUX_2,\n});",
|
|
3615
|
+
"stability": "experimental",
|
|
3616
|
+
"summary": "The image ID used for creating an Amazon EC2 environment."
|
|
3617
|
+
},
|
|
3618
|
+
"fqn": "@aws-cdk/aws-cloud9-alpha.ImageId",
|
|
3619
|
+
"kind": "enum",
|
|
3620
|
+
"locationInModule": {
|
|
3621
|
+
"filename": "lib/environment.ts",
|
|
3622
|
+
"line": 44
|
|
3623
|
+
},
|
|
3624
|
+
"members": [
|
|
3625
|
+
{
|
|
3626
|
+
"docs": {
|
|
3627
|
+
"stability": "experimental",
|
|
3628
|
+
"summary": "Create using Amazon Linux 2."
|
|
3629
|
+
},
|
|
3630
|
+
"name": "AMAZON_LINUX_2"
|
|
3631
|
+
},
|
|
3632
|
+
{
|
|
3633
|
+
"docs": {
|
|
3634
|
+
"stability": "experimental",
|
|
3635
|
+
"summary": "Create using Ubunut 18.04."
|
|
3636
|
+
},
|
|
3637
|
+
"name": "UBUNTU_18_04"
|
|
3638
|
+
}
|
|
3639
|
+
],
|
|
3640
|
+
"name": "ImageId",
|
|
3641
|
+
"symbolId": "lib/environment:ImageId"
|
|
3591
3642
|
}
|
|
3592
3643
|
},
|
|
3593
|
-
"version": "2.
|
|
3644
|
+
"version": "2.34.0-alpha.0",
|
|
3594
3645
|
"fingerprint": "**********"
|
|
3595
3646
|
}
|