ec2-instance-running-scheduler 0.1.1
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/.devcontainer/devcontainer.json +54 -0
- package/.jsii +8966 -0
- package/API.md +1687 -0
- package/LICENSE +202 -0
- package/README.md +151 -0
- package/assets/funcs/running-scheduler.lambda/index.js +22982 -0
- package/assets/funcs/running-scheduler.lambda/index.js.map +7 -0
- package/lib/constructs/ec2-instance-running-scheduler.d.ts +62 -0
- package/lib/constructs/ec2-instance-running-scheduler.js +143 -0
- package/lib/funcs/running-scheduler-function.d.ts +13 -0
- package/lib/funcs/running-scheduler-function.js +23 -0
- package/lib/funcs/running-scheduler-predicates.d.ts +13 -0
- package/lib/funcs/running-scheduler-predicates.js +16 -0
- package/lib/funcs/running-scheduler.lambda.d.ts +34 -0
- package/lib/funcs/running-scheduler.lambda.js +261 -0
- package/lib/index.d.ts +5 -0
- package/lib/index.js +22 -0
- package/lib/stacks/ec2-instance-running-schedule-stack.d.ts +31 -0
- package/lib/stacks/ec2-instance-running-schedule-stack.js +33 -0
- package/package.json +152 -0
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "dev-ec2-instance-running-scheduler",
|
|
3
|
+
"image": "mcr.microsoft.com/devcontainers/base:bookworm",
|
|
4
|
+
"features": {
|
|
5
|
+
"ghcr.io/devcontainers/features/common-utils:2": {
|
|
6
|
+
"username": "developer",
|
|
7
|
+
"upgradePackages": true
|
|
8
|
+
},
|
|
9
|
+
"ghcr.io/devcontainers/features/git:1": {},
|
|
10
|
+
"ghcr.io/devcontainers/features/node:1": {
|
|
11
|
+
"version": "24"
|
|
12
|
+
},
|
|
13
|
+
"ghcr.io/devcontainers/features/dotnet:1": {},
|
|
14
|
+
"ghcr.io/devcontainers/features/python:1": {},
|
|
15
|
+
"ghcr.io/devcontainers/features/java:1": {}
|
|
16
|
+
},
|
|
17
|
+
"workspaceMount": "source=${localWorkspaceFolder},target=/workspace,type=bind",
|
|
18
|
+
"workspaceFolder": "/workspace",
|
|
19
|
+
// "workspaceMount": "source=${localWorkspaceFolder},target=/workspace,type=bind,consistency=cached",
|
|
20
|
+
"mounts": [
|
|
21
|
+
"target=/workspace/node_modules"
|
|
22
|
+
],
|
|
23
|
+
"remoteUser": "developer",
|
|
24
|
+
"remoteEnv": {
|
|
25
|
+
"npm_config_loglevel": "error"
|
|
26
|
+
},
|
|
27
|
+
"postCreateCommand": {
|
|
28
|
+
"fixVolumePerms": "sudo chown -R $(whoami): /workspace"
|
|
29
|
+
}
|
|
30
|
+
// "build": {
|
|
31
|
+
// "dockerfile": "Dockerfile"
|
|
32
|
+
// },
|
|
33
|
+
// "remoteUser": "node",
|
|
34
|
+
// "workspaceFolder": "/workspace",
|
|
35
|
+
// "workspaceMount": "source=${localWorkspaceFolder},target=/workspace,type=bind,consistency=cached",
|
|
36
|
+
// "mounts": [
|
|
37
|
+
// "target=/workspace/node_modules"
|
|
38
|
+
// ],
|
|
39
|
+
// "features": {
|
|
40
|
+
// "ghcr.io/devcontainers/features/git:1": {}
|
|
41
|
+
// },
|
|
42
|
+
// "customizations": {
|
|
43
|
+
// "vscode": {
|
|
44
|
+
// "extensions": [
|
|
45
|
+
// "amazonwebservices.aws-toolkit-vscode",
|
|
46
|
+
// "ms-vscode.vscode-typescript-next"
|
|
47
|
+
// ]
|
|
48
|
+
// }
|
|
49
|
+
// },
|
|
50
|
+
// "postCreateCommand": {
|
|
51
|
+
// "fixVolumePerms": "sudo chown -R $(whoami): /workspace/node_modules"
|
|
52
|
+
// }
|
|
53
|
+
|
|
54
|
+
}
|