@ts-cloud/core 0.16.123 → 0.16.126
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.
|
@@ -0,0 +1,627 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"title": "ts-cloud Configuration",
|
|
4
|
+
"description": "Configuration schema for ts-cloud infrastructure-as-code",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"required": ["project"],
|
|
7
|
+
"properties": {
|
|
8
|
+
"project": {
|
|
9
|
+
"type": "object",
|
|
10
|
+
"description": "Project configuration",
|
|
11
|
+
"required": ["name", "slug"],
|
|
12
|
+
"properties": {
|
|
13
|
+
"name": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"description": "Human-readable project name",
|
|
16
|
+
"minLength": 1
|
|
17
|
+
},
|
|
18
|
+
"slug": {
|
|
19
|
+
"type": "string",
|
|
20
|
+
"description": "URL-safe project identifier (lowercase, alphanumeric, hyphens only)",
|
|
21
|
+
"pattern": "^[a-z0-9-]+$",
|
|
22
|
+
"minLength": 1,
|
|
23
|
+
"maxLength": 63
|
|
24
|
+
},
|
|
25
|
+
"region": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"description": "Default AWS region",
|
|
28
|
+
"enum": [
|
|
29
|
+
"us-east-1",
|
|
30
|
+
"us-east-2",
|
|
31
|
+
"us-west-1",
|
|
32
|
+
"us-west-2",
|
|
33
|
+
"eu-west-1",
|
|
34
|
+
"eu-west-2",
|
|
35
|
+
"eu-west-3",
|
|
36
|
+
"eu-central-1",
|
|
37
|
+
"ap-southeast-1",
|
|
38
|
+
"ap-southeast-2",
|
|
39
|
+
"ap-northeast-1",
|
|
40
|
+
"ap-northeast-2",
|
|
41
|
+
"sa-east-1",
|
|
42
|
+
"ca-central-1"
|
|
43
|
+
]
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"mode": {
|
|
48
|
+
"type": "string",
|
|
49
|
+
"description": "Deployment mode (server and serverless are mutually exclusive; auto-detected when omitted)",
|
|
50
|
+
"enum": ["server", "serverless"]
|
|
51
|
+
},
|
|
52
|
+
"environments": {
|
|
53
|
+
"type": "object",
|
|
54
|
+
"description": "Environment-specific configurations",
|
|
55
|
+
"properties": {
|
|
56
|
+
"production": {
|
|
57
|
+
"$ref": "#/definitions/environment"
|
|
58
|
+
},
|
|
59
|
+
"staging": {
|
|
60
|
+
"$ref": "#/definitions/environment"
|
|
61
|
+
},
|
|
62
|
+
"development": {
|
|
63
|
+
"$ref": "#/definitions/environment"
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"infrastructure": {
|
|
68
|
+
"type": "object",
|
|
69
|
+
"description": "Infrastructure configuration",
|
|
70
|
+
"properties": {
|
|
71
|
+
"network": {
|
|
72
|
+
"$ref": "#/definitions/network"
|
|
73
|
+
},
|
|
74
|
+
"storage": {
|
|
75
|
+
"type": "object",
|
|
76
|
+
"description": "S3 storage configuration",
|
|
77
|
+
"additionalProperties": {
|
|
78
|
+
"$ref": "#/definitions/storage"
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
"compute": {
|
|
82
|
+
"$ref": "#/definitions/compute"
|
|
83
|
+
},
|
|
84
|
+
"database": {
|
|
85
|
+
"$ref": "#/definitions/database"
|
|
86
|
+
},
|
|
87
|
+
"cache": {
|
|
88
|
+
"$ref": "#/definitions/cache"
|
|
89
|
+
},
|
|
90
|
+
"cdn": {
|
|
91
|
+
"$ref": "#/definitions/cdn"
|
|
92
|
+
},
|
|
93
|
+
"sftp": {
|
|
94
|
+
"$ref": "#/definitions/sftp"
|
|
95
|
+
},
|
|
96
|
+
"functions": {
|
|
97
|
+
"type": "object",
|
|
98
|
+
"description": "Lambda functions configuration",
|
|
99
|
+
"additionalProperties": {
|
|
100
|
+
"type": "array",
|
|
101
|
+
"items": {
|
|
102
|
+
"$ref": "#/definitions/function"
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
"monitoring": {
|
|
107
|
+
"$ref": "#/definitions/monitoring"
|
|
108
|
+
},
|
|
109
|
+
"security": {
|
|
110
|
+
"$ref": "#/definitions/security"
|
|
111
|
+
},
|
|
112
|
+
"queue": {
|
|
113
|
+
"type": "object",
|
|
114
|
+
"description": "SQS queue configuration",
|
|
115
|
+
"additionalProperties": {
|
|
116
|
+
"$ref": "#/definitions/queue"
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
"definitions": {
|
|
123
|
+
"environment": {
|
|
124
|
+
"type": "object",
|
|
125
|
+
"properties": {
|
|
126
|
+
"domain": {
|
|
127
|
+
"type": "string",
|
|
128
|
+
"description": "Custom domain for this environment"
|
|
129
|
+
},
|
|
130
|
+
"region": {
|
|
131
|
+
"type": "string",
|
|
132
|
+
"description": "AWS region override for this environment"
|
|
133
|
+
},
|
|
134
|
+
"app": {
|
|
135
|
+
"type": "object",
|
|
136
|
+
"description": "Serverless application manifest (Laravel-Vapor-equivalent). Defining this opts the environment into the serverless app deploy pipeline (http/queue/cli Lambda functions, assets, build/deploy hooks).",
|
|
137
|
+
"properties": {
|
|
138
|
+
"runtime": { "type": "string", "description": "Lambda runtime override (usually derived from kind + runtimeVersion)" },
|
|
139
|
+
"runtimeVersion": { "type": "string", "description": "Node major (18/20/22 managed, 24+ custom layer) or Bun release for node/bun apps" },
|
|
140
|
+
"kind": { "type": "string", "enum": ["node", "bun", "php"], "description": "Application kind (drives packaging + runtime)" },
|
|
141
|
+
"entry": { "type": "string", "description": "Entry file exporting the request handler" },
|
|
142
|
+
"memory": { "type": "number", "description": "HTTP function memory in MB" },
|
|
143
|
+
"timeout": { "type": "number", "description": "HTTP request timeout in seconds" },
|
|
144
|
+
"gatewayVersion": { "type": "number", "enum": [1, 2], "description": "API Gateway version (2 = HTTP API, 1 = REST)" },
|
|
145
|
+
"warm": { "type": "number", "description": "Keep-warm / provisioned concurrency count" },
|
|
146
|
+
"lambdaInsights": {
|
|
147
|
+
"type": "object",
|
|
148
|
+
"description": "CloudWatch Lambda Insights extension configuration for zip deployments",
|
|
149
|
+
"required": ["layerArn"],
|
|
150
|
+
"properties": {
|
|
151
|
+
"layerArn": { "type": "string", "description": "Region- and architecture-specific Lambda Insights extension layer ARN" }
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
"queues": { "description": "Queue names (true = single default queue, false = disabled)" },
|
|
155
|
+
"scheduler": { "type": "string", "enum": ["off", "on", "sub-minute"], "description": "Task scheduler mode" },
|
|
156
|
+
"build": { "type": "array", "items": { "type": "string" }, "description": "Commands run locally before packaging" },
|
|
157
|
+
"deploy": { "type": "array", "items": { "type": "string" }, "description": "Commands run remotely after activation (e.g. migrations)" },
|
|
158
|
+
"octane": { "type": "boolean", "description": "Persistent application mode (Laravel Octane)" },
|
|
159
|
+
"packaging": { "type": "string", "enum": ["zip", "image"], "description": "Deployment package format (zip or container image)" },
|
|
160
|
+
"phpVersion": { "type": "string", "description": "PHP version for the runtime layer (kind: php)" },
|
|
161
|
+
"architecture": { "type": "string", "enum": ["x86_64", "arm64"], "description": "CPU architecture" }
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
},
|
|
166
|
+
"network": {
|
|
167
|
+
"type": "object",
|
|
168
|
+
"properties": {
|
|
169
|
+
"vpc": {
|
|
170
|
+
"type": "object",
|
|
171
|
+
"properties": {
|
|
172
|
+
"cidr": {
|
|
173
|
+
"type": "string",
|
|
174
|
+
"description": "VPC CIDR block",
|
|
175
|
+
"pattern": "^([0-9]{1,3}\\.){3}[0-9]{1,3}/[0-9]{1,2}$",
|
|
176
|
+
"default": "10.0.0.0/16"
|
|
177
|
+
},
|
|
178
|
+
"availabilityZones": {
|
|
179
|
+
"type": "number",
|
|
180
|
+
"description": "Number of availability zones",
|
|
181
|
+
"minimum": 1,
|
|
182
|
+
"maximum": 3,
|
|
183
|
+
"default": 2
|
|
184
|
+
},
|
|
185
|
+
"natGateways": {
|
|
186
|
+
"type": "number",
|
|
187
|
+
"description": "Number of NAT gateways (0 for no NAT, saves cost)",
|
|
188
|
+
"minimum": 0,
|
|
189
|
+
"maximum": 3,
|
|
190
|
+
"default": 1
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
},
|
|
196
|
+
"storage": {
|
|
197
|
+
"type": "object",
|
|
198
|
+
"properties": {
|
|
199
|
+
"public": {
|
|
200
|
+
"type": "boolean",
|
|
201
|
+
"description": "Allow public access",
|
|
202
|
+
"default": false
|
|
203
|
+
},
|
|
204
|
+
"versioning": {
|
|
205
|
+
"type": "boolean",
|
|
206
|
+
"description": "Enable versioning",
|
|
207
|
+
"default": false
|
|
208
|
+
},
|
|
209
|
+
"encryption": {
|
|
210
|
+
"type": "boolean",
|
|
211
|
+
"description": "Enable server-side encryption",
|
|
212
|
+
"default": true
|
|
213
|
+
},
|
|
214
|
+
"website": {
|
|
215
|
+
"type": "boolean",
|
|
216
|
+
"description": "Enable static website hosting",
|
|
217
|
+
"default": false
|
|
218
|
+
},
|
|
219
|
+
"cors": {
|
|
220
|
+
"type": "object",
|
|
221
|
+
"description": "CORS configuration",
|
|
222
|
+
"properties": {
|
|
223
|
+
"allowedOrigins": {
|
|
224
|
+
"type": "array",
|
|
225
|
+
"items": {
|
|
226
|
+
"type": "string"
|
|
227
|
+
}
|
|
228
|
+
},
|
|
229
|
+
"allowedMethods": {
|
|
230
|
+
"type": "array",
|
|
231
|
+
"items": {
|
|
232
|
+
"type": "string",
|
|
233
|
+
"enum": ["GET", "PUT", "POST", "DELETE", "HEAD"]
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
},
|
|
240
|
+
"compute": {
|
|
241
|
+
"type": "object",
|
|
242
|
+
"properties": {
|
|
243
|
+
"server": {
|
|
244
|
+
"type": "object",
|
|
245
|
+
"description": "EC2 server configuration",
|
|
246
|
+
"properties": {
|
|
247
|
+
"instanceType": {
|
|
248
|
+
"type": "string",
|
|
249
|
+
"description": "EC2 instance type",
|
|
250
|
+
"enum": ["t3.micro", "t3.small", "t3.medium", "t3.large", "t3.xlarge", "t3.2xlarge"]
|
|
251
|
+
},
|
|
252
|
+
"autoScaling": {
|
|
253
|
+
"type": "object",
|
|
254
|
+
"properties": {
|
|
255
|
+
"min": {
|
|
256
|
+
"type": "number",
|
|
257
|
+
"minimum": 1
|
|
258
|
+
},
|
|
259
|
+
"max": {
|
|
260
|
+
"type": "number",
|
|
261
|
+
"minimum": 1
|
|
262
|
+
},
|
|
263
|
+
"desired": {
|
|
264
|
+
"type": "number",
|
|
265
|
+
"minimum": 1
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
},
|
|
271
|
+
"fargate": {
|
|
272
|
+
"type": "object",
|
|
273
|
+
"description": "ECS Fargate configuration",
|
|
274
|
+
"properties": {
|
|
275
|
+
"cpu": {
|
|
276
|
+
"type": "number",
|
|
277
|
+
"description": "CPU units (256, 512, 1024, 2048, 4096)",
|
|
278
|
+
"enum": [256, 512, 1024, 2048, 4096]
|
|
279
|
+
},
|
|
280
|
+
"memory": {
|
|
281
|
+
"type": "number",
|
|
282
|
+
"description": "Memory in MB"
|
|
283
|
+
},
|
|
284
|
+
"desiredCount": {
|
|
285
|
+
"type": "number",
|
|
286
|
+
"description": "Desired number of tasks",
|
|
287
|
+
"minimum": 1
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
},
|
|
293
|
+
"database": {
|
|
294
|
+
"type": "object",
|
|
295
|
+
"properties": {
|
|
296
|
+
"postgres": {
|
|
297
|
+
"type": "object",
|
|
298
|
+
"properties": {
|
|
299
|
+
"instanceClass": {
|
|
300
|
+
"type": "string",
|
|
301
|
+
"description": "RDS instance class",
|
|
302
|
+
"pattern": "^db\\.[a-z0-9]+\\.[a-z0-9]+$"
|
|
303
|
+
},
|
|
304
|
+
"engine": {
|
|
305
|
+
"type": "string",
|
|
306
|
+
"const": "postgres"
|
|
307
|
+
},
|
|
308
|
+
"version": {
|
|
309
|
+
"type": "string",
|
|
310
|
+
"description": "PostgreSQL version"
|
|
311
|
+
},
|
|
312
|
+
"multiAZ": {
|
|
313
|
+
"type": "boolean",
|
|
314
|
+
"description": "Enable Multi-AZ deployment",
|
|
315
|
+
"default": false
|
|
316
|
+
},
|
|
317
|
+
"backupRetentionDays": {
|
|
318
|
+
"type": "number",
|
|
319
|
+
"description": "Backup retention period in days",
|
|
320
|
+
"minimum": 0,
|
|
321
|
+
"maximum": 35,
|
|
322
|
+
"default": 7
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
},
|
|
326
|
+
"mysql": {
|
|
327
|
+
"type": "object",
|
|
328
|
+
"properties": {
|
|
329
|
+
"instanceClass": {
|
|
330
|
+
"type": "string",
|
|
331
|
+
"pattern": "^db\\.[a-z0-9]+\\.[a-z0-9]+$"
|
|
332
|
+
},
|
|
333
|
+
"engine": {
|
|
334
|
+
"type": "string",
|
|
335
|
+
"const": "mysql"
|
|
336
|
+
},
|
|
337
|
+
"version": {
|
|
338
|
+
"type": "string"
|
|
339
|
+
},
|
|
340
|
+
"multiAZ": {
|
|
341
|
+
"type": "boolean",
|
|
342
|
+
"default": false
|
|
343
|
+
},
|
|
344
|
+
"backupRetentionDays": {
|
|
345
|
+
"type": "number",
|
|
346
|
+
"minimum": 0,
|
|
347
|
+
"maximum": 35,
|
|
348
|
+
"default": 7
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
},
|
|
352
|
+
"dynamodb": {
|
|
353
|
+
"type": "object",
|
|
354
|
+
"properties": {
|
|
355
|
+
"tables": {
|
|
356
|
+
"type": "array",
|
|
357
|
+
"items": {
|
|
358
|
+
"type": "object",
|
|
359
|
+
"required": ["name", "partitionKey"],
|
|
360
|
+
"properties": {
|
|
361
|
+
"name": {
|
|
362
|
+
"type": "string"
|
|
363
|
+
},
|
|
364
|
+
"partitionKey": {
|
|
365
|
+
"type": "string"
|
|
366
|
+
},
|
|
367
|
+
"sortKey": {
|
|
368
|
+
"type": "string"
|
|
369
|
+
},
|
|
370
|
+
"billingMode": {
|
|
371
|
+
"type": "string",
|
|
372
|
+
"enum": ["PAY_PER_REQUEST", "PROVISIONED"],
|
|
373
|
+
"default": "PAY_PER_REQUEST"
|
|
374
|
+
}
|
|
375
|
+
}
|
|
376
|
+
}
|
|
377
|
+
}
|
|
378
|
+
}
|
|
379
|
+
}
|
|
380
|
+
}
|
|
381
|
+
},
|
|
382
|
+
"cache": {
|
|
383
|
+
"type": "object",
|
|
384
|
+
"properties": {
|
|
385
|
+
"redis": {
|
|
386
|
+
"type": "object",
|
|
387
|
+
"properties": {
|
|
388
|
+
"nodeType": {
|
|
389
|
+
"type": "string",
|
|
390
|
+
"description": "ElastiCache node type",
|
|
391
|
+
"pattern": "^cache\\.[a-z0-9]+\\.[a-z0-9]+$"
|
|
392
|
+
},
|
|
393
|
+
"numCacheNodes": {
|
|
394
|
+
"type": "number",
|
|
395
|
+
"minimum": 1,
|
|
396
|
+
"default": 1
|
|
397
|
+
},
|
|
398
|
+
"engineVersion": {
|
|
399
|
+
"type": "string",
|
|
400
|
+
"description": "Redis engine version"
|
|
401
|
+
}
|
|
402
|
+
}
|
|
403
|
+
},
|
|
404
|
+
"memcached": {
|
|
405
|
+
"type": "object",
|
|
406
|
+
"properties": {
|
|
407
|
+
"nodeType": {
|
|
408
|
+
"type": "string",
|
|
409
|
+
"pattern": "^cache\\.[a-z0-9]+\\.[a-z0-9]+$"
|
|
410
|
+
},
|
|
411
|
+
"numCacheNodes": {
|
|
412
|
+
"type": "number",
|
|
413
|
+
"minimum": 1,
|
|
414
|
+
"default": 1
|
|
415
|
+
}
|
|
416
|
+
}
|
|
417
|
+
}
|
|
418
|
+
}
|
|
419
|
+
},
|
|
420
|
+
"cdn": {
|
|
421
|
+
"type": "object",
|
|
422
|
+
"properties": {
|
|
423
|
+
"enabled": {
|
|
424
|
+
"type": "boolean",
|
|
425
|
+
"default": true
|
|
426
|
+
},
|
|
427
|
+
"originShield": {
|
|
428
|
+
"type": "boolean",
|
|
429
|
+
"description": "Enable CloudFront Origin Shield",
|
|
430
|
+
"default": false
|
|
431
|
+
},
|
|
432
|
+
"originShieldRegion": {
|
|
433
|
+
"type": "string",
|
|
434
|
+
"description": "AWS region used by CloudFront Origin Shield"
|
|
435
|
+
},
|
|
436
|
+
"compress": {
|
|
437
|
+
"type": "boolean",
|
|
438
|
+
"description": "Enable automatic compression",
|
|
439
|
+
"default": true
|
|
440
|
+
},
|
|
441
|
+
"http3": {
|
|
442
|
+
"type": "boolean",
|
|
443
|
+
"description": "Enable HTTP/3 support",
|
|
444
|
+
"default": true
|
|
445
|
+
},
|
|
446
|
+
"customDomain": {
|
|
447
|
+
"type": "object",
|
|
448
|
+
"properties": {
|
|
449
|
+
"domain": {
|
|
450
|
+
"type": "string"
|
|
451
|
+
},
|
|
452
|
+
"certificateArn": {
|
|
453
|
+
"type": "string"
|
|
454
|
+
}
|
|
455
|
+
}
|
|
456
|
+
},
|
|
457
|
+
"cachePolicy": {
|
|
458
|
+
"type": "object",
|
|
459
|
+
"properties": {
|
|
460
|
+
"minTTL": {
|
|
461
|
+
"type": "number",
|
|
462
|
+
"minimum": 0
|
|
463
|
+
},
|
|
464
|
+
"defaultTTL": {
|
|
465
|
+
"type": "number",
|
|
466
|
+
"minimum": 0
|
|
467
|
+
},
|
|
468
|
+
"maxTTL": {
|
|
469
|
+
"type": "number",
|
|
470
|
+
"minimum": 0
|
|
471
|
+
}
|
|
472
|
+
}
|
|
473
|
+
}
|
|
474
|
+
}
|
|
475
|
+
},
|
|
476
|
+
"sftp": {
|
|
477
|
+
"type": "object",
|
|
478
|
+
"required": ["bucket", "users"],
|
|
479
|
+
"properties": {
|
|
480
|
+
"bucket": { "type": "string", "description": "S3 bucket backing the SFTP server" },
|
|
481
|
+
"endpointType": { "type": "string", "enum": ["PUBLIC", "VPC"], "default": "PUBLIC" },
|
|
482
|
+
"endpointDetails": {
|
|
483
|
+
"type": "object",
|
|
484
|
+
"required": ["vpcId", "subnetIds"],
|
|
485
|
+
"properties": {
|
|
486
|
+
"vpcId": { "type": "string" },
|
|
487
|
+
"subnetIds": { "type": "array", "items": { "type": "string" }, "minItems": 1 },
|
|
488
|
+
"securityGroupIds": { "type": "array", "items": { "type": "string" } },
|
|
489
|
+
"addressAllocationIds": { "type": "array", "items": { "type": "string" } }
|
|
490
|
+
}
|
|
491
|
+
},
|
|
492
|
+
"securityPolicyName": { "type": "string" },
|
|
493
|
+
"logging": { "type": "boolean", "default": true },
|
|
494
|
+
"users": {
|
|
495
|
+
"type": "object",
|
|
496
|
+
"additionalProperties": {
|
|
497
|
+
"type": "object",
|
|
498
|
+
"required": ["sshPublicKeys"],
|
|
499
|
+
"properties": {
|
|
500
|
+
"sshPublicKeys": { "type": "array", "items": { "type": "string" }, "minItems": 1 },
|
|
501
|
+
"homeDirectory": { "type": "string" },
|
|
502
|
+
"roleArn": { "type": "string" }
|
|
503
|
+
}
|
|
504
|
+
}
|
|
505
|
+
}
|
|
506
|
+
}
|
|
507
|
+
},
|
|
508
|
+
"function": {
|
|
509
|
+
"type": "object",
|
|
510
|
+
"required": ["name", "runtime"],
|
|
511
|
+
"properties": {
|
|
512
|
+
"name": {
|
|
513
|
+
"type": "string"
|
|
514
|
+
},
|
|
515
|
+
"runtime": {
|
|
516
|
+
"type": "string",
|
|
517
|
+
"enum": ["nodejs18.x", "nodejs20.x", "python3.10", "python3.11", "python3.12"]
|
|
518
|
+
},
|
|
519
|
+
"handler": {
|
|
520
|
+
"type": "string",
|
|
521
|
+
"default": "index.handler"
|
|
522
|
+
},
|
|
523
|
+
"timeout": {
|
|
524
|
+
"type": "number",
|
|
525
|
+
"minimum": 1,
|
|
526
|
+
"maximum": 900,
|
|
527
|
+
"default": 30
|
|
528
|
+
},
|
|
529
|
+
"memory": {
|
|
530
|
+
"type": "number",
|
|
531
|
+
"minimum": 128,
|
|
532
|
+
"maximum": 10240,
|
|
533
|
+
"default": 1024
|
|
534
|
+
}
|
|
535
|
+
}
|
|
536
|
+
},
|
|
537
|
+
"monitoring": {
|
|
538
|
+
"type": "object",
|
|
539
|
+
"properties": {
|
|
540
|
+
"alarms": {
|
|
541
|
+
"type": "array",
|
|
542
|
+
"items": {
|
|
543
|
+
"type": "object",
|
|
544
|
+
"required": ["metric", "threshold"],
|
|
545
|
+
"properties": {
|
|
546
|
+
"metric": {
|
|
547
|
+
"type": "string"
|
|
548
|
+
},
|
|
549
|
+
"threshold": {
|
|
550
|
+
"type": "number"
|
|
551
|
+
},
|
|
552
|
+
"evaluationPeriods": {
|
|
553
|
+
"type": "number",
|
|
554
|
+
"minimum": 1,
|
|
555
|
+
"default": 2
|
|
556
|
+
}
|
|
557
|
+
}
|
|
558
|
+
}
|
|
559
|
+
},
|
|
560
|
+
"dashboard": {
|
|
561
|
+
"type": "object",
|
|
562
|
+
"properties": {
|
|
563
|
+
"name": {
|
|
564
|
+
"type": "string"
|
|
565
|
+
},
|
|
566
|
+
"widgets": {
|
|
567
|
+
"type": "array"
|
|
568
|
+
}
|
|
569
|
+
}
|
|
570
|
+
}
|
|
571
|
+
}
|
|
572
|
+
},
|
|
573
|
+
"security": {
|
|
574
|
+
"type": "object",
|
|
575
|
+
"properties": {
|
|
576
|
+
"waf": {
|
|
577
|
+
"type": "boolean",
|
|
578
|
+
"description": "Enable AWS WAF",
|
|
579
|
+
"default": false
|
|
580
|
+
},
|
|
581
|
+
"certificates": {
|
|
582
|
+
"type": "array",
|
|
583
|
+
"items": {
|
|
584
|
+
"type": "object",
|
|
585
|
+
"required": ["domain"],
|
|
586
|
+
"properties": {
|
|
587
|
+
"domain": {
|
|
588
|
+
"type": "string"
|
|
589
|
+
},
|
|
590
|
+
"subdomains": {
|
|
591
|
+
"type": "array",
|
|
592
|
+
"items": {
|
|
593
|
+
"type": "string"
|
|
594
|
+
}
|
|
595
|
+
}
|
|
596
|
+
}
|
|
597
|
+
}
|
|
598
|
+
}
|
|
599
|
+
}
|
|
600
|
+
},
|
|
601
|
+
"queue": {
|
|
602
|
+
"type": "object",
|
|
603
|
+
"properties": {
|
|
604
|
+
"fifo": {
|
|
605
|
+
"type": "boolean",
|
|
606
|
+
"default": false
|
|
607
|
+
},
|
|
608
|
+
"deadLetterQueue": {
|
|
609
|
+
"type": "boolean",
|
|
610
|
+
"default": true
|
|
611
|
+
},
|
|
612
|
+
"visibilityTimeout": {
|
|
613
|
+
"type": "number",
|
|
614
|
+
"minimum": 0,
|
|
615
|
+
"maximum": 43200,
|
|
616
|
+
"default": 30
|
|
617
|
+
},
|
|
618
|
+
"messageRetentionPeriod": {
|
|
619
|
+
"type": "number",
|
|
620
|
+
"minimum": 60,
|
|
621
|
+
"maximum": 1209600,
|
|
622
|
+
"default": 345600
|
|
623
|
+
}
|
|
624
|
+
}
|
|
625
|
+
}
|
|
626
|
+
}
|
|
627
|
+
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ts-cloud/core",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.16.
|
|
4
|
+
"version": "0.16.126",
|
|
5
5
|
"description": "Core CloudFormation generation library for ts-cloud",
|
|
6
6
|
"author": "Chris Breuer <chris@stacksjs.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"typecheck": "tsc --noEmit"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@ts-cloud/aws-types": "0.16.
|
|
34
|
+
"@ts-cloud/aws-types": "0.16.126"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"typescript": "^7.0.2"
|