@mavogel/cdk-vscode-server 0.0.54 → 0.0.56
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/.claude/hooks/file_checker.sh +0 -0
- package/.jsii +96 -24
- package/API.md +56 -0
- package/CLAUDE.md +84 -118
- package/README.md +48 -0
- package/assets/installer/installer.lambda/index.js +14 -2
- package/examples/custom-domain/main.ts +49 -0
- package/integ-tests/integ.al2023.ts.snapshot/IntegSetupVSCodeOnAl2023DefaultTestDeployAssert74D8F645.assets.json +7 -6
- package/integ-tests/integ.al2023.ts.snapshot/IntegSetupVSCodeOnAl2023DefaultTestDeployAssert74D8F645.template.json +6 -6
- package/integ-tests/integ.al2023.ts.snapshot/IntegTestStackAl2023.assets.json +20 -12
- package/integ-tests/integ.al2023.ts.snapshot/IntegTestStackAl2023.template.json +36 -152
- package/integ-tests/integ.al2023.ts.snapshot/{asset.23732f3d1982f7fb0da3bd6638a8107337bb767fea165b45eae12000a1dd67ce → asset.0ad50fc42afd768c3d0bfdd4701e43284fb077a25f19eea1e8c51a5ca36ebfe4}/index.js +988 -1165
- package/integ-tests/{integ.ubuntu.ts.snapshot/asset.a9865c9d36c7aa999e28cb7926e7a3a8e0b6d0854b25131a172024c5777442fa.lambda → integ.al2023.ts.snapshot/asset.33da23274e25bd9f43638c5d83dad26e3931cbe78d462ffd9a9f565e948b4f5f.lambda}/index.js +14 -2
- package/integ-tests/{integ.ubuntu.ts.snapshot/asset.f692c9f68e4daba2abc99103efd3518bced1e9d7a2a89847b9b5d5473c64f1bd.bundle → integ.al2023.ts.snapshot/asset.530055f7515b3f0a47900f5df37e729ba40ca977b2d07b952bdefa2b8f883f42.bundle}/index.js +296 -191
- package/integ-tests/{integ.ubuntu.ts.snapshot/asset.ce2f3595a340d6c519a65888ef97e3b9b64f053f83608e32cc28162e22d7d99a → integ.al2023.ts.snapshot/asset.9d043014be736e8162bcc7ec5590cc6d2ff24fd0d9c73a5c5d595151c5fdad00}/index.js +1 -1
- package/integ-tests/integ.al2023.ts.snapshot/cdk.out +1 -1
- package/integ-tests/integ.al2023.ts.snapshot/integ.json +4 -3
- package/integ-tests/integ.al2023.ts.snapshot/manifest.json +956 -7
- package/integ-tests/integ.al2023.ts.snapshot/tree.json +1 -3228
- package/integ-tests/integ.custom-domain.ts +87 -0
- package/integ-tests/integ.custom-domain.ts.snapshot/IntegSetupVSCodeOnCustomDomainDefaultTestDeployAssert6982D514.assets.json +33 -0
- package/integ-tests/integ.custom-domain.ts.snapshot/IntegSetupVSCodeOnCustomDomainDefaultTestDeployAssert6982D514.template.json +333 -0
- package/integ-tests/integ.custom-domain.ts.snapshot/IntegTestStackCustomDomain.assets.json +132 -0
- package/integ-tests/integ.custom-domain.ts.snapshot/IntegTestStackCustomDomain.template.json +2862 -0
- package/integ-tests/{integ.ubuntu.ts.snapshot/asset.23732f3d1982f7fb0da3bd6638a8107337bb767fea165b45eae12000a1dd67ce → integ.custom-domain.ts.snapshot/asset.0ad50fc42afd768c3d0bfdd4701e43284fb077a25f19eea1e8c51a5ca36ebfe4}/index.js +988 -1165
- package/integ-tests/integ.custom-domain.ts.snapshot/asset.2819175352ad1ce0dae768e83fc328fb70fb5f10b4a8ff0ccbcb791f02b0716d/index.js +1 -0
- package/integ-tests/{integ.al2023.ts.snapshot/asset.a9865c9d36c7aa999e28cb7926e7a3a8e0b6d0854b25131a172024c5777442fa.lambda → integ.custom-domain.ts.snapshot/asset.33da23274e25bd9f43638c5d83dad26e3931cbe78d462ffd9a9f565e948b4f5f.lambda}/index.js +14 -2
- package/integ-tests/{integ.al2023.ts.snapshot/asset.f692c9f68e4daba2abc99103efd3518bced1e9d7a2a89847b9b5d5473c64f1bd.bundle → integ.custom-domain.ts.snapshot/asset.530055f7515b3f0a47900f5df37e729ba40ca977b2d07b952bdefa2b8f883f42.bundle}/index.js +296 -191
- package/integ-tests/integ.custom-domain.ts.snapshot/asset.781ab0ab74634cdaf61539ab208ab777829ef07097ac21f95b9e15a3b1eedc1b.lambda/index.js +57 -0
- package/integ-tests/integ.custom-domain.ts.snapshot/asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200/__entrypoint__.js +1 -0
- package/integ-tests/integ.custom-domain.ts.snapshot/asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200/index.js +1 -0
- package/integ-tests/{integ.al2023.ts.snapshot/asset.ce2f3595a340d6c519a65888ef97e3b9b64f053f83608e32cc28162e22d7d99a → integ.custom-domain.ts.snapshot/asset.9d043014be736e8162bcc7ec5590cc6d2ff24fd0d9c73a5c5d595151c5fdad00}/index.js +1 -1
- package/integ-tests/integ.custom-domain.ts.snapshot/asset.b073cebcf4d61fb152a30f5a5e57a94df7f980a549fdf1a79a0b18c5750522d8/index.js +1 -0
- package/integ-tests/integ.custom-domain.ts.snapshot/asset.bdc104ed9cab1b5b6421713c8155f0b753380595356f710400609664d3635eca/cfn-response.js +1 -0
- package/integ-tests/integ.custom-domain.ts.snapshot/asset.bdc104ed9cab1b5b6421713c8155f0b753380595356f710400609664d3635eca/consts.js +1 -0
- package/integ-tests/integ.custom-domain.ts.snapshot/asset.bdc104ed9cab1b5b6421713c8155f0b753380595356f710400609664d3635eca/framework.js +3 -0
- package/integ-tests/integ.custom-domain.ts.snapshot/asset.bdc104ed9cab1b5b6421713c8155f0b753380595356f710400609664d3635eca/outbound.js +1 -0
- package/integ-tests/integ.custom-domain.ts.snapshot/asset.bdc104ed9cab1b5b6421713c8155f0b753380595356f710400609664d3635eca/util.js +1 -0
- package/integ-tests/integ.custom-domain.ts.snapshot/integ.json +23 -0
- package/integ-tests/integ.custom-domain.ts.snapshot/manifest.json +1653 -0
- package/integ-tests/integ.custom-domain.ts.snapshot/tree.json +1 -0
- package/integ-tests/integ.ubuntu.ts.snapshot/IntegSetupVSCodeOnUbuntuDefaultTestDeployAssertFF8DF2C5.assets.json +7 -6
- package/integ-tests/integ.ubuntu.ts.snapshot/IntegSetupVSCodeOnUbuntuDefaultTestDeployAssertFF8DF2C5.template.json +6 -6
- package/integ-tests/integ.ubuntu.ts.snapshot/IntegTestStackUbuntu22.assets.json +20 -12
- package/integ-tests/integ.ubuntu.ts.snapshot/IntegTestStackUbuntu22.template.json +36 -72
- package/integ-tests/integ.ubuntu.ts.snapshot/asset.0ad50fc42afd768c3d0bfdd4701e43284fb077a25f19eea1e8c51a5ca36ebfe4/index.js +5992 -0
- package/integ-tests/integ.ubuntu.ts.snapshot/asset.33da23274e25bd9f43638c5d83dad26e3931cbe78d462ffd9a9f565e948b4f5f.lambda/index.js +143 -0
- package/integ-tests/integ.ubuntu.ts.snapshot/asset.530055f7515b3f0a47900f5df37e729ba40ca977b2d07b952bdefa2b8f883f42.bundle/index.js +30676 -0
- package/integ-tests/integ.ubuntu.ts.snapshot/asset.9d043014be736e8162bcc7ec5590cc6d2ff24fd0d9c73a5c5d595151c5fdad00/index.js +1 -0
- package/integ-tests/integ.ubuntu.ts.snapshot/cdk.out +1 -1
- package/integ-tests/integ.ubuntu.ts.snapshot/integ.json +3 -2
- package/integ-tests/integ.ubuntu.ts.snapshot/manifest.json +956 -7
- package/integ-tests/integ.ubuntu.ts.snapshot/tree.json +1 -3070
- package/lib/installer/installer.d.ts +7 -0
- package/lib/installer/installer.js +15 -7
- package/lib/installer/installer.lambda.js +20 -3
- package/lib/vscode-server.d.ts +33 -0
- package/lib/vscode-server.js +165 -5
- package/mavogelcdkvscodeserver/go.mod +1 -1
- package/mavogelcdkvscodeserver/jsii/jsii.go +2 -2
- package/mavogelcdkvscodeserver/version +1 -1
- package/package.json +4 -4
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import * as path from 'path';
|
|
2
|
+
// eslint-disable-next-line import/no-extraneous-dependencies
|
|
3
|
+
import {
|
|
4
|
+
IntegTest,
|
|
5
|
+
LogType,
|
|
6
|
+
InvocationType,
|
|
7
|
+
ExpectedResult,
|
|
8
|
+
} from '@aws-cdk/integ-tests-alpha';
|
|
9
|
+
import {
|
|
10
|
+
App,
|
|
11
|
+
Duration,
|
|
12
|
+
PhysicalName,
|
|
13
|
+
Stack,
|
|
14
|
+
aws_lambda as lambda,
|
|
15
|
+
} from 'aws-cdk-lib';
|
|
16
|
+
import { NodejsFunction } from 'aws-cdk-lib/aws-lambda-nodejs';
|
|
17
|
+
import { VSCodeServer } from '../src/vscode-server';
|
|
18
|
+
|
|
19
|
+
// CDK App for Integration Tests
|
|
20
|
+
const app = new App();
|
|
21
|
+
|
|
22
|
+
// Stack under test
|
|
23
|
+
const stackUnderTest = new Stack(app, 'IntegTestStackCustomDomain', {
|
|
24
|
+
description:
|
|
25
|
+
"This stack includes the application's resources for integration testing with custom domain.",
|
|
26
|
+
});
|
|
27
|
+
|
|
28
|
+
const constructUnderTest = new VSCodeServer(
|
|
29
|
+
stackUnderTest,
|
|
30
|
+
'IntegVSCodeServer',
|
|
31
|
+
{
|
|
32
|
+
domainName: 'vscode-server-test.mavogel.xyz',
|
|
33
|
+
hostedZoneId: 'Z03751551EDMO1J40VL58',
|
|
34
|
+
autoCreateCertificate: true,
|
|
35
|
+
additionalTags: {
|
|
36
|
+
IntegTest: 'True',
|
|
37
|
+
Environment: 'IntegTestCustomDomain',
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
|
+
);
|
|
41
|
+
|
|
42
|
+
const integ = new IntegTest(app, 'IntegSetupVSCodeOnCustomDomain', {
|
|
43
|
+
testCases: [stackUnderTest], // Define a list of cases for this test
|
|
44
|
+
cdkCommandOptions: {
|
|
45
|
+
destroy: {
|
|
46
|
+
args: {
|
|
47
|
+
force: true,
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
regions: [stackUnderTest.region],
|
|
52
|
+
});
|
|
53
|
+
|
|
54
|
+
const loginHandler = new NodejsFunction(stackUnderTest, 'login-handler', {
|
|
55
|
+
functionName: PhysicalName.GENERATE_IF_NEEDED,
|
|
56
|
+
entry: path.join(__dirname, 'functions', 'login-handler.ts'),
|
|
57
|
+
runtime: lambda.Runtime.NODEJS_20_X,
|
|
58
|
+
logRetention: 1,
|
|
59
|
+
timeout: Duration.seconds(30),
|
|
60
|
+
bundling: {
|
|
61
|
+
esbuildArgs: {
|
|
62
|
+
'--packages': 'bundle',
|
|
63
|
+
},
|
|
64
|
+
},
|
|
65
|
+
});
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* Assertion:
|
|
69
|
+
* Should find the vscode server login page at the custom domain
|
|
70
|
+
*/
|
|
71
|
+
const sendTestLoginAssertion = integ.assertions
|
|
72
|
+
.invokeFunction({
|
|
73
|
+
functionName: loginHandler.functionName,
|
|
74
|
+
logType: LogType.TAIL,
|
|
75
|
+
invocationType: InvocationType.REQUEST_RESPONSE, // to run it synchronously
|
|
76
|
+
payload: JSON.stringify({
|
|
77
|
+
domainName: constructUnderTest.domainName,
|
|
78
|
+
password: constructUnderTest.password,
|
|
79
|
+
}),
|
|
80
|
+
})
|
|
81
|
+
.expect(ExpectedResult.objectLike({ Payload: '"OK"' }));
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* Main test case
|
|
85
|
+
*/
|
|
86
|
+
// Attempt a login at the custom domain with the given password
|
|
87
|
+
sendTestLoginAssertion;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "41.0.0",
|
|
3
|
+
"files": {
|
|
4
|
+
"530055f7515b3f0a47900f5df37e729ba40ca977b2d07b952bdefa2b8f883f42": {
|
|
5
|
+
"source": {
|
|
6
|
+
"path": "asset.530055f7515b3f0a47900f5df37e729ba40ca977b2d07b952bdefa2b8f883f42.bundle",
|
|
7
|
+
"packaging": "zip"
|
|
8
|
+
},
|
|
9
|
+
"destinations": {
|
|
10
|
+
"current_account-current_region": {
|
|
11
|
+
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
|
|
12
|
+
"objectKey": "530055f7515b3f0a47900f5df37e729ba40ca977b2d07b952bdefa2b8f883f42.zip",
|
|
13
|
+
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"9c63ddb3d3feef489f009ccca886b099386f7ca1ef490ed8d6654bcd6cd791bc": {
|
|
18
|
+
"displayName": "IntegSetupVSCodeOnCustomDomainDefaultTestDeployAssert6982D514 Template",
|
|
19
|
+
"source": {
|
|
20
|
+
"path": "IntegSetupVSCodeOnCustomDomainDefaultTestDeployAssert6982D514.template.json",
|
|
21
|
+
"packaging": "file"
|
|
22
|
+
},
|
|
23
|
+
"destinations": {
|
|
24
|
+
"current_account-current_region": {
|
|
25
|
+
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
|
|
26
|
+
"objectKey": "9c63ddb3d3feef489f009ccca886b099386f7ca1ef490ed8d6654bcd6cd791bc.json",
|
|
27
|
+
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"dockerImages": {}
|
|
33
|
+
}
|
|
@@ -0,0 +1,333 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Resources": {
|
|
3
|
+
"LambdaInvoke8ec5b9bf9e6f21453cf51f55dba9cfe4": {
|
|
4
|
+
"Type": "Custom::DeployAssert@SdkCallLambdainvoke",
|
|
5
|
+
"Properties": {
|
|
6
|
+
"ServiceToken": {
|
|
7
|
+
"Fn::GetAtt": [
|
|
8
|
+
"SingletonFunction1488541a7b23466481b69b4408076b81HandlerCD40AE9F",
|
|
9
|
+
"Arn"
|
|
10
|
+
]
|
|
11
|
+
},
|
|
12
|
+
"service": "Lambda",
|
|
13
|
+
"api": "invoke",
|
|
14
|
+
"expected": "{\"$ObjectLike\":{\"Payload\":\"\\\"OK\\\"\"}}",
|
|
15
|
+
"parameters": {
|
|
16
|
+
"FunctionName": {
|
|
17
|
+
"Fn::Join": [
|
|
18
|
+
"",
|
|
19
|
+
[
|
|
20
|
+
"\"",
|
|
21
|
+
{
|
|
22
|
+
"Fn::ImportValue": "IntegTestStackCustomDomain:ExportsOutputRefloginhandler99CCCCFD29CE21C0"
|
|
23
|
+
},
|
|
24
|
+
"\""
|
|
25
|
+
]
|
|
26
|
+
]
|
|
27
|
+
},
|
|
28
|
+
"InvocationType": "\"RequestResponse\"",
|
|
29
|
+
"LogType": "\"Tail\"",
|
|
30
|
+
"Payload": {
|
|
31
|
+
"Fn::Join": [
|
|
32
|
+
"",
|
|
33
|
+
[
|
|
34
|
+
"\"{\\\"domainName\\\":\\\"https://vscode-server-test.mavogel.xyz/?folder=/Workshop\\\",\\\"password\\\":\\\"",
|
|
35
|
+
{
|
|
36
|
+
"Fn::ImportValue": "IntegTestStackCustomDomain:ExportsOutputFnGetAttIntegVSCodeServerSecretRetrieverCustomResource2F3DB8BDsecretPasswordValue1223507B"
|
|
37
|
+
},
|
|
38
|
+
"\\\"}\""
|
|
39
|
+
]
|
|
40
|
+
]
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"flattenResponse": "false",
|
|
44
|
+
"salt": "1759319162622"
|
|
45
|
+
},
|
|
46
|
+
"UpdateReplacePolicy": "Delete",
|
|
47
|
+
"DeletionPolicy": "Delete"
|
|
48
|
+
},
|
|
49
|
+
"LambdaInvoke8ec5b9bf9e6f21453cf51f55dba9cfe4InvokeFB6908A6": {
|
|
50
|
+
"Type": "AWS::Lambda::Permission",
|
|
51
|
+
"Properties": {
|
|
52
|
+
"Action": "lambda:InvokeFunction",
|
|
53
|
+
"FunctionName": {
|
|
54
|
+
"Fn::ImportValue": "IntegTestStackCustomDomain:ExportsOutputRefloginhandler99CCCCFD29CE21C0"
|
|
55
|
+
},
|
|
56
|
+
"Principal": {
|
|
57
|
+
"Fn::GetAtt": [
|
|
58
|
+
"SingletonFunction1488541a7b23466481b69b4408076b81Role37ABCE73",
|
|
59
|
+
"Arn"
|
|
60
|
+
]
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"SingletonFunction1488541a7b23466481b69b4408076b81Role37ABCE73": {
|
|
65
|
+
"Type": "AWS::IAM::Role",
|
|
66
|
+
"Properties": {
|
|
67
|
+
"AssumeRolePolicyDocument": {
|
|
68
|
+
"Version": "2012-10-17",
|
|
69
|
+
"Statement": [
|
|
70
|
+
{
|
|
71
|
+
"Action": "sts:AssumeRole",
|
|
72
|
+
"Effect": "Allow",
|
|
73
|
+
"Principal": {
|
|
74
|
+
"Service": "lambda.amazonaws.com"
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
]
|
|
78
|
+
},
|
|
79
|
+
"ManagedPolicyArns": [
|
|
80
|
+
{
|
|
81
|
+
"Fn::Sub": "arn:${AWS::Partition}:iam::aws:policy/service-role/AWSLambdaBasicExecutionRole"
|
|
82
|
+
}
|
|
83
|
+
],
|
|
84
|
+
"Policies": [
|
|
85
|
+
{
|
|
86
|
+
"PolicyName": "Inline",
|
|
87
|
+
"PolicyDocument": {
|
|
88
|
+
"Version": "2012-10-17",
|
|
89
|
+
"Statement": [
|
|
90
|
+
{
|
|
91
|
+
"Action": [
|
|
92
|
+
"lambda:Invoke"
|
|
93
|
+
],
|
|
94
|
+
"Effect": "Allow",
|
|
95
|
+
"Resource": [
|
|
96
|
+
"*"
|
|
97
|
+
]
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"Action": [
|
|
101
|
+
"lambda:InvokeFunction"
|
|
102
|
+
],
|
|
103
|
+
"Effect": "Allow",
|
|
104
|
+
"Resource": [
|
|
105
|
+
{
|
|
106
|
+
"Fn::Join": [
|
|
107
|
+
"",
|
|
108
|
+
[
|
|
109
|
+
"arn:",
|
|
110
|
+
{
|
|
111
|
+
"Ref": "AWS::Partition"
|
|
112
|
+
},
|
|
113
|
+
":lambda:",
|
|
114
|
+
{
|
|
115
|
+
"Ref": "AWS::Region"
|
|
116
|
+
},
|
|
117
|
+
":",
|
|
118
|
+
{
|
|
119
|
+
"Ref": "AWS::AccountId"
|
|
120
|
+
},
|
|
121
|
+
":function:",
|
|
122
|
+
{
|
|
123
|
+
"Fn::ImportValue": "IntegTestStackCustomDomain:ExportsOutputRefloginhandler99CCCCFD29CE21C0"
|
|
124
|
+
}
|
|
125
|
+
]
|
|
126
|
+
]
|
|
127
|
+
}
|
|
128
|
+
]
|
|
129
|
+
}
|
|
130
|
+
]
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
]
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
"SingletonFunction1488541a7b23466481b69b4408076b81HandlerCD40AE9F": {
|
|
137
|
+
"Type": "AWS::Lambda::Function",
|
|
138
|
+
"Properties": {
|
|
139
|
+
"Runtime": {
|
|
140
|
+
"Fn::FindInMap": [
|
|
141
|
+
"LatestNodeRuntimeMap",
|
|
142
|
+
{
|
|
143
|
+
"Ref": "AWS::Region"
|
|
144
|
+
},
|
|
145
|
+
"value"
|
|
146
|
+
]
|
|
147
|
+
},
|
|
148
|
+
"Code": {
|
|
149
|
+
"S3Bucket": {
|
|
150
|
+
"Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
|
|
151
|
+
},
|
|
152
|
+
"S3Key": "530055f7515b3f0a47900f5df37e729ba40ca977b2d07b952bdefa2b8f883f42.zip"
|
|
153
|
+
},
|
|
154
|
+
"Timeout": 120,
|
|
155
|
+
"Handler": "index.handler",
|
|
156
|
+
"Role": {
|
|
157
|
+
"Fn::GetAtt": [
|
|
158
|
+
"SingletonFunction1488541a7b23466481b69b4408076b81Role37ABCE73",
|
|
159
|
+
"Arn"
|
|
160
|
+
]
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
"Outputs": {
|
|
166
|
+
"AssertionResultsLambdaInvoke8ec5b9bf9e6f21453cf51f55dba9cfe4": {
|
|
167
|
+
"Value": {
|
|
168
|
+
"Fn::GetAtt": [
|
|
169
|
+
"LambdaInvoke8ec5b9bf9e6f21453cf51f55dba9cfe4",
|
|
170
|
+
"assertion"
|
|
171
|
+
]
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
},
|
|
175
|
+
"Mappings": {
|
|
176
|
+
"LatestNodeRuntimeMap": {
|
|
177
|
+
"af-south-1": {
|
|
178
|
+
"value": "nodejs20.x"
|
|
179
|
+
},
|
|
180
|
+
"ap-east-1": {
|
|
181
|
+
"value": "nodejs20.x"
|
|
182
|
+
},
|
|
183
|
+
"ap-northeast-1": {
|
|
184
|
+
"value": "nodejs20.x"
|
|
185
|
+
},
|
|
186
|
+
"ap-northeast-2": {
|
|
187
|
+
"value": "nodejs20.x"
|
|
188
|
+
},
|
|
189
|
+
"ap-northeast-3": {
|
|
190
|
+
"value": "nodejs20.x"
|
|
191
|
+
},
|
|
192
|
+
"ap-south-1": {
|
|
193
|
+
"value": "nodejs20.x"
|
|
194
|
+
},
|
|
195
|
+
"ap-south-2": {
|
|
196
|
+
"value": "nodejs20.x"
|
|
197
|
+
},
|
|
198
|
+
"ap-southeast-1": {
|
|
199
|
+
"value": "nodejs20.x"
|
|
200
|
+
},
|
|
201
|
+
"ap-southeast-2": {
|
|
202
|
+
"value": "nodejs20.x"
|
|
203
|
+
},
|
|
204
|
+
"ap-southeast-3": {
|
|
205
|
+
"value": "nodejs20.x"
|
|
206
|
+
},
|
|
207
|
+
"ap-southeast-4": {
|
|
208
|
+
"value": "nodejs20.x"
|
|
209
|
+
},
|
|
210
|
+
"ap-southeast-5": {
|
|
211
|
+
"value": "nodejs20.x"
|
|
212
|
+
},
|
|
213
|
+
"ap-southeast-7": {
|
|
214
|
+
"value": "nodejs20.x"
|
|
215
|
+
},
|
|
216
|
+
"ca-central-1": {
|
|
217
|
+
"value": "nodejs20.x"
|
|
218
|
+
},
|
|
219
|
+
"ca-west-1": {
|
|
220
|
+
"value": "nodejs20.x"
|
|
221
|
+
},
|
|
222
|
+
"cn-north-1": {
|
|
223
|
+
"value": "nodejs20.x"
|
|
224
|
+
},
|
|
225
|
+
"cn-northwest-1": {
|
|
226
|
+
"value": "nodejs20.x"
|
|
227
|
+
},
|
|
228
|
+
"eu-central-1": {
|
|
229
|
+
"value": "nodejs20.x"
|
|
230
|
+
},
|
|
231
|
+
"eu-central-2": {
|
|
232
|
+
"value": "nodejs20.x"
|
|
233
|
+
},
|
|
234
|
+
"eu-isoe-west-1": {
|
|
235
|
+
"value": "nodejs18.x"
|
|
236
|
+
},
|
|
237
|
+
"eu-north-1": {
|
|
238
|
+
"value": "nodejs20.x"
|
|
239
|
+
},
|
|
240
|
+
"eu-south-1": {
|
|
241
|
+
"value": "nodejs20.x"
|
|
242
|
+
},
|
|
243
|
+
"eu-south-2": {
|
|
244
|
+
"value": "nodejs20.x"
|
|
245
|
+
},
|
|
246
|
+
"eu-west-1": {
|
|
247
|
+
"value": "nodejs20.x"
|
|
248
|
+
},
|
|
249
|
+
"eu-west-2": {
|
|
250
|
+
"value": "nodejs20.x"
|
|
251
|
+
},
|
|
252
|
+
"eu-west-3": {
|
|
253
|
+
"value": "nodejs20.x"
|
|
254
|
+
},
|
|
255
|
+
"il-central-1": {
|
|
256
|
+
"value": "nodejs20.x"
|
|
257
|
+
},
|
|
258
|
+
"me-central-1": {
|
|
259
|
+
"value": "nodejs20.x"
|
|
260
|
+
},
|
|
261
|
+
"me-south-1": {
|
|
262
|
+
"value": "nodejs20.x"
|
|
263
|
+
},
|
|
264
|
+
"mx-central-1": {
|
|
265
|
+
"value": "nodejs20.x"
|
|
266
|
+
},
|
|
267
|
+
"sa-east-1": {
|
|
268
|
+
"value": "nodejs20.x"
|
|
269
|
+
},
|
|
270
|
+
"us-east-1": {
|
|
271
|
+
"value": "nodejs20.x"
|
|
272
|
+
},
|
|
273
|
+
"us-east-2": {
|
|
274
|
+
"value": "nodejs20.x"
|
|
275
|
+
},
|
|
276
|
+
"us-gov-east-1": {
|
|
277
|
+
"value": "nodejs20.x"
|
|
278
|
+
},
|
|
279
|
+
"us-gov-west-1": {
|
|
280
|
+
"value": "nodejs20.x"
|
|
281
|
+
},
|
|
282
|
+
"us-iso-east-1": {
|
|
283
|
+
"value": "nodejs18.x"
|
|
284
|
+
},
|
|
285
|
+
"us-iso-west-1": {
|
|
286
|
+
"value": "nodejs18.x"
|
|
287
|
+
},
|
|
288
|
+
"us-isob-east-1": {
|
|
289
|
+
"value": "nodejs18.x"
|
|
290
|
+
},
|
|
291
|
+
"us-west-1": {
|
|
292
|
+
"value": "nodejs20.x"
|
|
293
|
+
},
|
|
294
|
+
"us-west-2": {
|
|
295
|
+
"value": "nodejs20.x"
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
},
|
|
299
|
+
"Parameters": {
|
|
300
|
+
"BootstrapVersion": {
|
|
301
|
+
"Type": "AWS::SSM::Parameter::Value<String>",
|
|
302
|
+
"Default": "/cdk-bootstrap/hnb659fds/version",
|
|
303
|
+
"Description": "Version of the CDK Bootstrap resources in this environment, automatically retrieved from SSM Parameter Store. [cdk:skip]"
|
|
304
|
+
}
|
|
305
|
+
},
|
|
306
|
+
"Rules": {
|
|
307
|
+
"CheckBootstrapVersion": {
|
|
308
|
+
"Assertions": [
|
|
309
|
+
{
|
|
310
|
+
"Assert": {
|
|
311
|
+
"Fn::Not": [
|
|
312
|
+
{
|
|
313
|
+
"Fn::Contains": [
|
|
314
|
+
[
|
|
315
|
+
"1",
|
|
316
|
+
"2",
|
|
317
|
+
"3",
|
|
318
|
+
"4",
|
|
319
|
+
"5"
|
|
320
|
+
],
|
|
321
|
+
{
|
|
322
|
+
"Ref": "BootstrapVersion"
|
|
323
|
+
}
|
|
324
|
+
]
|
|
325
|
+
}
|
|
326
|
+
]
|
|
327
|
+
},
|
|
328
|
+
"AssertDescription": "CDK bootstrap stack version 6 required. Please run 'cdk bootstrap' with a recent version of the CDK CLI."
|
|
329
|
+
}
|
|
330
|
+
]
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
}
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "41.0.0",
|
|
3
|
+
"files": {
|
|
4
|
+
"781ab0ab74634cdaf61539ab208ab777829ef07097ac21f95b9e15a3b1eedc1b": {
|
|
5
|
+
"displayName": "IntegVSCodeServer/SecretRetrieverOnEventHandler/Code",
|
|
6
|
+
"source": {
|
|
7
|
+
"path": "asset.781ab0ab74634cdaf61539ab208ab777829ef07097ac21f95b9e15a3b1eedc1b.lambda",
|
|
8
|
+
"packaging": "zip"
|
|
9
|
+
},
|
|
10
|
+
"destinations": {
|
|
11
|
+
"current_account-current_region": {
|
|
12
|
+
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
|
|
13
|
+
"objectKey": "781ab0ab74634cdaf61539ab208ab777829ef07097ac21f95b9e15a3b1eedc1b.zip",
|
|
14
|
+
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"bdc104ed9cab1b5b6421713c8155f0b753380595356f710400609664d3635eca": {
|
|
19
|
+
"displayName": "IntegVSCodeServer/SecretRetrieveProvider/framework-onEvent/Code",
|
|
20
|
+
"source": {
|
|
21
|
+
"path": "asset.bdc104ed9cab1b5b6421713c8155f0b753380595356f710400609664d3635eca",
|
|
22
|
+
"packaging": "zip"
|
|
23
|
+
},
|
|
24
|
+
"destinations": {
|
|
25
|
+
"current_account-current_region": {
|
|
26
|
+
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
|
|
27
|
+
"objectKey": "bdc104ed9cab1b5b6421713c8155f0b753380595356f710400609664d3635eca.zip",
|
|
28
|
+
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"b073cebcf4d61fb152a30f5a5e57a94df7f980a549fdf1a79a0b18c5750522d8": {
|
|
33
|
+
"displayName": "IntegVSCodeServer/certificate/CertificateRequestorFunction/Code",
|
|
34
|
+
"source": {
|
|
35
|
+
"path": "asset.b073cebcf4d61fb152a30f5a5e57a94df7f980a549fdf1a79a0b18c5750522d8",
|
|
36
|
+
"packaging": "zip"
|
|
37
|
+
},
|
|
38
|
+
"destinations": {
|
|
39
|
+
"current_account-current_region": {
|
|
40
|
+
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
|
|
41
|
+
"objectKey": "b073cebcf4d61fb152a30f5a5e57a94df7f980a549fdf1a79a0b18c5750522d8.zip",
|
|
42
|
+
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200": {
|
|
47
|
+
"displayName": "IntegTestStackCustomDomain/Custom::VpcRestrictDefaultSGCustomResourceProvider Code",
|
|
48
|
+
"source": {
|
|
49
|
+
"path": "asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200",
|
|
50
|
+
"packaging": "zip"
|
|
51
|
+
},
|
|
52
|
+
"destinations": {
|
|
53
|
+
"current_account-current_region": {
|
|
54
|
+
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
|
|
55
|
+
"objectKey": "7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200.zip",
|
|
56
|
+
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
"9d043014be736e8162bcc7ec5590cc6d2ff24fd0d9c73a5c5d595151c5fdad00": {
|
|
61
|
+
"displayName": "AWS679f53fac002430cb0da5b7982bd2287/Code",
|
|
62
|
+
"source": {
|
|
63
|
+
"path": "asset.9d043014be736e8162bcc7ec5590cc6d2ff24fd0d9c73a5c5d595151c5fdad00",
|
|
64
|
+
"packaging": "zip"
|
|
65
|
+
},
|
|
66
|
+
"destinations": {
|
|
67
|
+
"current_account-current_region": {
|
|
68
|
+
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
|
|
69
|
+
"objectKey": "9d043014be736e8162bcc7ec5590cc6d2ff24fd0d9c73a5c5d595151c5fdad00.zip",
|
|
70
|
+
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"33da23274e25bd9f43638c5d83dad26e3931cbe78d462ffd9a9f565e948b4f5f": {
|
|
75
|
+
"displayName": "IntegVSCodeServer/InstallerOnEventHandler/Code",
|
|
76
|
+
"source": {
|
|
77
|
+
"path": "asset.33da23274e25bd9f43638c5d83dad26e3931cbe78d462ffd9a9f565e948b4f5f.lambda",
|
|
78
|
+
"packaging": "zip"
|
|
79
|
+
},
|
|
80
|
+
"destinations": {
|
|
81
|
+
"current_account-current_region": {
|
|
82
|
+
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
|
|
83
|
+
"objectKey": "33da23274e25bd9f43638c5d83dad26e3931cbe78d462ffd9a9f565e948b4f5f.zip",
|
|
84
|
+
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
"0ad50fc42afd768c3d0bfdd4701e43284fb077a25f19eea1e8c51a5ca36ebfe4": {
|
|
89
|
+
"displayName": "login-handler/Code",
|
|
90
|
+
"source": {
|
|
91
|
+
"path": "asset.0ad50fc42afd768c3d0bfdd4701e43284fb077a25f19eea1e8c51a5ca36ebfe4",
|
|
92
|
+
"packaging": "zip"
|
|
93
|
+
},
|
|
94
|
+
"destinations": {
|
|
95
|
+
"current_account-current_region": {
|
|
96
|
+
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
|
|
97
|
+
"objectKey": "0ad50fc42afd768c3d0bfdd4701e43284fb077a25f19eea1e8c51a5ca36ebfe4.zip",
|
|
98
|
+
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
"2819175352ad1ce0dae768e83fc328fb70fb5f10b4a8ff0ccbcb791f02b0716d": {
|
|
103
|
+
"displayName": "LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8a/Code",
|
|
104
|
+
"source": {
|
|
105
|
+
"path": "asset.2819175352ad1ce0dae768e83fc328fb70fb5f10b4a8ff0ccbcb791f02b0716d",
|
|
106
|
+
"packaging": "zip"
|
|
107
|
+
},
|
|
108
|
+
"destinations": {
|
|
109
|
+
"current_account-current_region": {
|
|
110
|
+
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
|
|
111
|
+
"objectKey": "2819175352ad1ce0dae768e83fc328fb70fb5f10b4a8ff0ccbcb791f02b0716d.zip",
|
|
112
|
+
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
"5a265e84c609e126bf964e62660b0e6648bd50fa188b1cdc2ccce0a0f81eeea0": {
|
|
117
|
+
"displayName": "IntegTestStackCustomDomain Template",
|
|
118
|
+
"source": {
|
|
119
|
+
"path": "IntegTestStackCustomDomain.template.json",
|
|
120
|
+
"packaging": "file"
|
|
121
|
+
},
|
|
122
|
+
"destinations": {
|
|
123
|
+
"current_account-current_region": {
|
|
124
|
+
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
|
|
125
|
+
"objectKey": "5a265e84c609e126bf964e62660b0e6648bd50fa188b1cdc2ccce0a0f81eeea0.json",
|
|
126
|
+
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
},
|
|
131
|
+
"dockerImages": {}
|
|
132
|
+
}
|