@quantcdn/pulumi-quant 0.3.0 → 5.5.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/Pulumi.yaml +0 -3
- package/README.md +0 -1
- package/aiAgent.ts +233 -0
- package/aiGovernance.ts +27 -74
- package/aiSkill.ts +69 -96
- package/aiVectorCollection.ts +63 -23
- package/aiVectorDocument.ts +45 -98
- package/application.ts +69 -92
- package/cronJob.ts +31 -87
- package/environment.ts +169 -49
- package/index.ts +14 -0
- package/kvItem.ts +19 -32
- package/kvStore.ts +11 -19
- package/package.json +4 -4
- package/ruleAuth.ts +43 -3
- package/ruleBotChallenge.ts +42 -0
- package/ruleHeaders.ts +42 -0
- package/ruleServeStatic.ts +42 -0
- package/slackBot.ts +205 -0
- package/tsconfig.json +2 -0
- package/types/input.ts +619 -20
- package/types/output.ts +619 -20
- package/utilities.ts +1 -1
- package/volume.ts +26 -48
package/types/output.ts
CHANGED
|
@@ -5,50 +5,387 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
5
5
|
import * as inputs from "../types/input";
|
|
6
6
|
import * as outputs from "../types/output";
|
|
7
7
|
|
|
8
|
+
export interface AiAgentAgent {
|
|
9
|
+
agentId: string;
|
|
10
|
+
allowedCollections: string[];
|
|
11
|
+
allowedTools: string[];
|
|
12
|
+
assignedSkills: string[];
|
|
13
|
+
createdAt: string;
|
|
14
|
+
createdBy: string;
|
|
15
|
+
description: string;
|
|
16
|
+
group: string;
|
|
17
|
+
/**
|
|
18
|
+
* Guardrail preset name
|
|
19
|
+
*/
|
|
20
|
+
guardrailPreset: string;
|
|
21
|
+
/**
|
|
22
|
+
* Whether the requesting org has a per-org overlay for this global agent
|
|
23
|
+
*/
|
|
24
|
+
hasOverlay: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Whether this is a platform-managed global agent
|
|
27
|
+
*/
|
|
28
|
+
isGlobal: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* Whether 1M context window is enabled
|
|
31
|
+
*/
|
|
32
|
+
longContext: boolean;
|
|
33
|
+
maxTokens: number;
|
|
34
|
+
modelId: string;
|
|
35
|
+
name: string;
|
|
36
|
+
systemPrompt: string;
|
|
37
|
+
temperature: number;
|
|
38
|
+
updatedAt: string;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export interface AiGovernanceConfig {
|
|
42
|
+
}
|
|
43
|
+
|
|
8
44
|
export interface AiGovernanceSpendLimits {
|
|
45
|
+
dailyBudgetCents: number;
|
|
46
|
+
monthlyBudgetCents: number;
|
|
47
|
+
perUserDailyBudgetCents: number;
|
|
48
|
+
perUserMonthlyBudgetCents: number;
|
|
49
|
+
warningThresholdPercent: number;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export interface AiSkillFiles {
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export interface AiSkillSkill {
|
|
56
|
+
allowedTools: string[];
|
|
57
|
+
content: string;
|
|
58
|
+
description: string;
|
|
59
|
+
disableModelInvocation: boolean;
|
|
60
|
+
files: outputs.AiSkillSkillFiles;
|
|
61
|
+
installedAt: string;
|
|
62
|
+
name: string;
|
|
63
|
+
namespace: string;
|
|
64
|
+
requiredTools: string[];
|
|
65
|
+
skillId: string;
|
|
66
|
+
source: outputs.AiSkillSkillSource;
|
|
67
|
+
tags: string[];
|
|
68
|
+
triggerCondition: string;
|
|
69
|
+
updatedAt: string;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export interface AiSkillSkillFiles {
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export interface AiSkillSkillSource {
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export interface AiVectorCollectionCollection {
|
|
79
|
+
collectionId: string;
|
|
80
|
+
createdAt: string;
|
|
81
|
+
description: string;
|
|
82
|
+
dimensions: number;
|
|
83
|
+
documentCount: number;
|
|
84
|
+
embeddingModel: string;
|
|
85
|
+
name: string;
|
|
86
|
+
updatedAt: string;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
export interface AiVectorDocumentDocument {
|
|
90
|
+
/**
|
|
91
|
+
* Document text content
|
|
92
|
+
*/
|
|
93
|
+
content: string;
|
|
94
|
+
/**
|
|
95
|
+
* Stable document key for upsert
|
|
96
|
+
*/
|
|
97
|
+
key: string;
|
|
98
|
+
metadata: outputs.AiVectorDocumentDocumentMetadata;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
export interface AiVectorDocumentDocumentMetadata {
|
|
102
|
+
section: string;
|
|
103
|
+
sourceUrl: string;
|
|
104
|
+
tags: string[];
|
|
105
|
+
title: string;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
export interface ApplicationComposeDefinition {
|
|
109
|
+
/**
|
|
110
|
+
* CPU architecture (X86_64 or ARM64)
|
|
111
|
+
*/
|
|
112
|
+
architecture: string;
|
|
113
|
+
containers: outputs.ApplicationComposeDefinitionContainer[];
|
|
114
|
+
/**
|
|
115
|
+
* Optional. Enable cross-application networking within the same organization. When false (default): Uses shared/app-specific security group based on enableCrossEnvNetworking. When true: Uses org-specific security group to enable container-to-container communication with ALL applications in the same organization via service discovery (microservices architecture). This setting takes priority over enableCrossEnvNetworking.
|
|
116
|
+
*/
|
|
117
|
+
enableCrossAppNetworking: boolean;
|
|
118
|
+
/**
|
|
119
|
+
* Optional. Enable cross-environment networking within the same application. When false (default): Uses shared security group for complete isolation (most secure). When true: Uses app-specific security group to enable communication between environments of the same application (e.g., staging can connect to production database). Note: If enableCrossAppNetworking is true, this setting is overridden.
|
|
120
|
+
*/
|
|
121
|
+
enableCrossEnvNetworking: boolean;
|
|
122
|
+
/**
|
|
123
|
+
* Maximum number of instances
|
|
124
|
+
*/
|
|
125
|
+
maxCapacity: number;
|
|
126
|
+
/**
|
|
127
|
+
* Minimum number of instances
|
|
128
|
+
*/
|
|
129
|
+
minCapacity: number;
|
|
130
|
+
/**
|
|
131
|
+
* Spot instance strategy configuration for controlling cost vs reliability. Spot instances provide significant cost savings (~70%) but may be interrupted by AWS. Available for non-production environments.
|
|
132
|
+
*/
|
|
133
|
+
spotConfiguration: outputs.ApplicationComposeDefinitionSpotConfiguration;
|
|
134
|
+
/**
|
|
135
|
+
* Task-level CPU units (e.g., 256, 512, 1024)
|
|
136
|
+
*/
|
|
137
|
+
taskCpu: number;
|
|
138
|
+
/**
|
|
139
|
+
* Task-level memory in MB
|
|
140
|
+
*/
|
|
141
|
+
taskMemory: number;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
export interface ApplicationComposeDefinitionContainer {
|
|
145
|
+
commands: string[];
|
|
146
|
+
/**
|
|
147
|
+
* Container-level CPU units
|
|
148
|
+
*/
|
|
149
|
+
cpu: number;
|
|
150
|
+
/**
|
|
151
|
+
* Container startup dependencies
|
|
152
|
+
*/
|
|
153
|
+
dependsOns: outputs.ApplicationComposeDefinitionContainerDependsOn[];
|
|
154
|
+
entryPoints: string[];
|
|
155
|
+
/**
|
|
156
|
+
* Environment variables specific to this container
|
|
157
|
+
*/
|
|
158
|
+
environments: outputs.ApplicationComposeDefinitionContainerEnvironment[];
|
|
159
|
+
essential: boolean;
|
|
160
|
+
/**
|
|
161
|
+
* List of container ports to expose
|
|
162
|
+
*/
|
|
163
|
+
exposedPorts: number[];
|
|
164
|
+
/**
|
|
165
|
+
* Container health check configuration
|
|
166
|
+
*/
|
|
167
|
+
healthCheck: outputs.ApplicationComposeDefinitionContainerHealthCheck;
|
|
168
|
+
imageReference: outputs.ApplicationComposeDefinitionContainerImageReference;
|
|
169
|
+
/**
|
|
170
|
+
* Container-level memory hard limit (MiB)
|
|
171
|
+
*/
|
|
172
|
+
memory: number;
|
|
173
|
+
/**
|
|
174
|
+
* Container-level memory soft limit (MiB)
|
|
175
|
+
*/
|
|
176
|
+
memoryReservation: number;
|
|
177
|
+
mountPoints: outputs.ApplicationComposeDefinitionContainerMountPoint[];
|
|
178
|
+
/**
|
|
179
|
+
* Name of the container
|
|
180
|
+
*/
|
|
181
|
+
name: string;
|
|
182
|
+
/**
|
|
183
|
+
* Enable origin protection for all exposed ports on this container. Use originProtectionConfig for advanced options like IP allow lists.
|
|
184
|
+
*/
|
|
185
|
+
originProtection: boolean;
|
|
186
|
+
/**
|
|
187
|
+
* Extended origin protection configuration with IP allow list support
|
|
188
|
+
*/
|
|
189
|
+
originProtectionConfig: outputs.ApplicationComposeDefinitionContainerOriginProtectionConfig;
|
|
190
|
+
readonlyRootFilesystem: boolean;
|
|
9
191
|
/**
|
|
10
|
-
*
|
|
192
|
+
* Secrets mapped to environment variables
|
|
11
193
|
*/
|
|
12
|
-
|
|
194
|
+
secrets: outputs.ApplicationComposeDefinitionContainerSecret[];
|
|
195
|
+
user: string;
|
|
196
|
+
workingDirectory: string;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
export interface ApplicationComposeDefinitionContainerDependsOn {
|
|
13
200
|
/**
|
|
14
|
-
*
|
|
201
|
+
* The condition to wait for on the dependency
|
|
15
202
|
*/
|
|
16
|
-
|
|
203
|
+
condition: string;
|
|
17
204
|
/**
|
|
18
|
-
*
|
|
205
|
+
* The name of the container this container depends on
|
|
19
206
|
*/
|
|
20
|
-
|
|
207
|
+
containerName: string;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
export interface ApplicationComposeDefinitionContainerEnvironment {
|
|
21
211
|
/**
|
|
22
|
-
*
|
|
212
|
+
* Environment variable name
|
|
23
213
|
*/
|
|
24
|
-
|
|
214
|
+
name: string;
|
|
25
215
|
/**
|
|
26
|
-
*
|
|
216
|
+
* Environment variable value
|
|
27
217
|
*/
|
|
28
|
-
|
|
218
|
+
value: string;
|
|
29
219
|
}
|
|
30
220
|
|
|
31
|
-
export interface
|
|
221
|
+
export interface ApplicationComposeDefinitionContainerHealthCheck {
|
|
32
222
|
/**
|
|
33
|
-
*
|
|
223
|
+
* The command to run to determine if the container is healthy
|
|
34
224
|
*/
|
|
35
|
-
|
|
225
|
+
commands: string[];
|
|
36
226
|
/**
|
|
37
|
-
*
|
|
227
|
+
* Time period (seconds) between health checks
|
|
38
228
|
*/
|
|
39
|
-
|
|
229
|
+
interval: number;
|
|
40
230
|
/**
|
|
41
|
-
*
|
|
231
|
+
* Number of times to retry a failed health check
|
|
232
|
+
*/
|
|
233
|
+
retries: number;
|
|
234
|
+
/**
|
|
235
|
+
* Grace period (seconds) to ignore unhealthy checks after container starts
|
|
236
|
+
*/
|
|
237
|
+
startPeriod: number;
|
|
238
|
+
/**
|
|
239
|
+
* Time period (seconds) to wait for a health check to return
|
|
240
|
+
*/
|
|
241
|
+
timeout: number;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
export interface ApplicationComposeDefinitionContainerImageReference {
|
|
245
|
+
/**
|
|
246
|
+
* The image identifier. For 'internal' type, this is the image tag. For 'external' type, this is the full image name.
|
|
247
|
+
*/
|
|
248
|
+
identifier: string;
|
|
249
|
+
/**
|
|
250
|
+
* Specifies whether the image is internal (ECR) or external (e.g., Docker Hub)
|
|
42
251
|
*/
|
|
43
252
|
type: string;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
export interface ApplicationComposeDefinitionContainerMountPoint {
|
|
256
|
+
/**
|
|
257
|
+
* The path inside the container where the volume is mounted
|
|
258
|
+
*/
|
|
259
|
+
containerPath: string;
|
|
260
|
+
readOnly: boolean;
|
|
261
|
+
/**
|
|
262
|
+
* The name of the logical volume
|
|
263
|
+
*/
|
|
264
|
+
sourceVolume: string;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
export interface ApplicationComposeDefinitionContainerOriginProtectionConfig {
|
|
268
|
+
/**
|
|
269
|
+
* Whether origin protection is enabled. Defaults to true if this config object is provided.
|
|
270
|
+
*/
|
|
271
|
+
enabled: boolean;
|
|
272
|
+
/**
|
|
273
|
+
* List of IP addresses or CIDR ranges that can bypass origin protection for direct access (e.g., VPN IPs)
|
|
274
|
+
*/
|
|
275
|
+
ipAllows: string[];
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
export interface ApplicationComposeDefinitionContainerSecret {
|
|
279
|
+
/**
|
|
280
|
+
* The environment variable name to be set in the container
|
|
281
|
+
*/
|
|
282
|
+
name: string;
|
|
283
|
+
/**
|
|
284
|
+
* The key of the secret in the environment's 'app-secrets' store
|
|
285
|
+
*/
|
|
286
|
+
valueFrom: string;
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
export interface ApplicationComposeDefinitionSpotConfiguration {
|
|
290
|
+
/**
|
|
291
|
+
* Spot instance strategy. 'off' = On-Demand only (highest reliability, no savings). 'spot-only' = 100% Spot instances (~70% savings, default for non-prod). 'mixed-safe' = 50% Spot instances (~35% savings, requires multiple instances). 'mixed-aggressive' = 80% Spot instances (~56% savings, requires multiple instances).
|
|
292
|
+
*/
|
|
293
|
+
strategy: string;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
export interface ApplicationDatabase {
|
|
297
|
+
/**
|
|
298
|
+
* Database engine type (MySQL 8.4, Postgres)
|
|
299
|
+
*/
|
|
300
|
+
engine: string;
|
|
301
|
+
/**
|
|
302
|
+
* RDS instance class
|
|
303
|
+
*/
|
|
304
|
+
instanceClass: string;
|
|
305
|
+
/**
|
|
306
|
+
* Enable Multi-AZ deployment (higher availability and cost)
|
|
307
|
+
*/
|
|
308
|
+
multiAz: boolean;
|
|
309
|
+
/**
|
|
310
|
+
* RDS instance endpoint address
|
|
311
|
+
*/
|
|
312
|
+
rdsInstanceEndpoint: string;
|
|
313
|
+
/**
|
|
314
|
+
* Database engine
|
|
315
|
+
*/
|
|
316
|
+
rdsInstanceEngine: string;
|
|
317
|
+
/**
|
|
318
|
+
* RDS instance identifier
|
|
319
|
+
*/
|
|
320
|
+
rdsInstanceIdentifier: string;
|
|
321
|
+
/**
|
|
322
|
+
* RDS instance status
|
|
323
|
+
*/
|
|
324
|
+
rdsInstanceStatus: string;
|
|
325
|
+
/**
|
|
326
|
+
* Allocated storage in GiB
|
|
327
|
+
*/
|
|
328
|
+
storageGb: number;
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
export interface ApplicationDeploymentInformation {
|
|
44
332
|
/**
|
|
45
|
-
*
|
|
333
|
+
* Deployment creation timestamp
|
|
46
334
|
*/
|
|
47
|
-
|
|
335
|
+
createdAt: string;
|
|
48
336
|
/**
|
|
49
|
-
*
|
|
337
|
+
* Deployment identifier
|
|
50
338
|
*/
|
|
51
|
-
|
|
339
|
+
deploymentId: string;
|
|
340
|
+
/**
|
|
341
|
+
* Image tag deployed
|
|
342
|
+
*/
|
|
343
|
+
imageTag: string;
|
|
344
|
+
/**
|
|
345
|
+
* Deployment status
|
|
346
|
+
*/
|
|
347
|
+
status: string;
|
|
348
|
+
/**
|
|
349
|
+
* Task definition ARN used
|
|
350
|
+
*/
|
|
351
|
+
taskDefinitionArn: string;
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
export interface ApplicationEnvironment {
|
|
355
|
+
/**
|
|
356
|
+
* Environment variable name
|
|
357
|
+
*/
|
|
358
|
+
name: string;
|
|
359
|
+
/**
|
|
360
|
+
* Environment variable value
|
|
361
|
+
*/
|
|
362
|
+
value: string;
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
export interface ApplicationFilesystem {
|
|
366
|
+
/**
|
|
367
|
+
* EFS filesystem ID
|
|
368
|
+
*/
|
|
369
|
+
filesystemId: string;
|
|
370
|
+
/**
|
|
371
|
+
* Mount path inside containers
|
|
372
|
+
*/
|
|
373
|
+
mountPath: string;
|
|
374
|
+
/**
|
|
375
|
+
* Whether to create a shared filesystem
|
|
376
|
+
*/
|
|
377
|
+
required: boolean;
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
export interface ApplicationImageReference {
|
|
381
|
+
/**
|
|
382
|
+
* Image identifier
|
|
383
|
+
*/
|
|
384
|
+
identifier: string;
|
|
385
|
+
/**
|
|
386
|
+
* Image type
|
|
387
|
+
*/
|
|
388
|
+
type: string;
|
|
52
389
|
}
|
|
53
390
|
|
|
54
391
|
export interface CrawlerAssets {
|
|
@@ -129,6 +466,253 @@ export interface DomainDnsValidationRecord {
|
|
|
129
466
|
value: string;
|
|
130
467
|
}
|
|
131
468
|
|
|
469
|
+
export interface EnvironmentAlbRouting {
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
export interface EnvironmentComposeDefinition {
|
|
473
|
+
/**
|
|
474
|
+
* CPU architecture (X86_64 or ARM64)
|
|
475
|
+
*/
|
|
476
|
+
architecture: string;
|
|
477
|
+
containers: outputs.EnvironmentComposeDefinitionContainer[];
|
|
478
|
+
/**
|
|
479
|
+
* Optional. Enable cross-application networking within the same organization. When false (default): Uses shared/app-specific security group based on enableCrossEnvNetworking. When true: Uses org-specific security group to enable container-to-container communication with ALL applications in the same organization via service discovery (microservices architecture). This setting takes priority over enableCrossEnvNetworking.
|
|
480
|
+
*/
|
|
481
|
+
enableCrossAppNetworking: boolean;
|
|
482
|
+
/**
|
|
483
|
+
* Optional. Enable cross-environment networking within the same application. When false (default): Uses shared security group for complete isolation (most secure). When true: Uses app-specific security group to enable communication between environments of the same application (e.g., staging can connect to production database). Note: If enableCrossAppNetworking is true, this setting is overridden.
|
|
484
|
+
*/
|
|
485
|
+
enableCrossEnvNetworking: boolean;
|
|
486
|
+
/**
|
|
487
|
+
* Maximum number of instances
|
|
488
|
+
*/
|
|
489
|
+
maxCapacity: number;
|
|
490
|
+
/**
|
|
491
|
+
* Minimum number of instances
|
|
492
|
+
*/
|
|
493
|
+
minCapacity: number;
|
|
494
|
+
/**
|
|
495
|
+
* Spot instance strategy configuration for controlling cost vs reliability. Spot instances provide significant cost savings (~70%) but may be interrupted by AWS. Available for non-production environments.
|
|
496
|
+
*/
|
|
497
|
+
spotConfiguration: outputs.EnvironmentComposeDefinitionSpotConfiguration;
|
|
498
|
+
/**
|
|
499
|
+
* Task-level CPU units (e.g., 256, 512, 1024)
|
|
500
|
+
*/
|
|
501
|
+
taskCpu: number;
|
|
502
|
+
/**
|
|
503
|
+
* Task-level memory in MB
|
|
504
|
+
*/
|
|
505
|
+
taskMemory: number;
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
export interface EnvironmentComposeDefinitionContainer {
|
|
509
|
+
commands: string[];
|
|
510
|
+
/**
|
|
511
|
+
* Container-level CPU units
|
|
512
|
+
*/
|
|
513
|
+
cpu: number;
|
|
514
|
+
/**
|
|
515
|
+
* Container startup dependencies
|
|
516
|
+
*/
|
|
517
|
+
dependsOns: outputs.EnvironmentComposeDefinitionContainerDependsOn[];
|
|
518
|
+
entryPoints: string[];
|
|
519
|
+
/**
|
|
520
|
+
* Environment variables specific to this container
|
|
521
|
+
*/
|
|
522
|
+
environments: outputs.EnvironmentComposeDefinitionContainerEnvironment[];
|
|
523
|
+
essential: boolean;
|
|
524
|
+
/**
|
|
525
|
+
* List of container ports to expose
|
|
526
|
+
*/
|
|
527
|
+
exposedPorts: number[];
|
|
528
|
+
/**
|
|
529
|
+
* Container health check configuration
|
|
530
|
+
*/
|
|
531
|
+
healthCheck: outputs.EnvironmentComposeDefinitionContainerHealthCheck;
|
|
532
|
+
imageReference: outputs.EnvironmentComposeDefinitionContainerImageReference;
|
|
533
|
+
/**
|
|
534
|
+
* Container-level memory hard limit (MiB)
|
|
535
|
+
*/
|
|
536
|
+
memory: number;
|
|
537
|
+
/**
|
|
538
|
+
* Container-level memory soft limit (MiB)
|
|
539
|
+
*/
|
|
540
|
+
memoryReservation: number;
|
|
541
|
+
mountPoints: outputs.EnvironmentComposeDefinitionContainerMountPoint[];
|
|
542
|
+
/**
|
|
543
|
+
* Name of the container
|
|
544
|
+
*/
|
|
545
|
+
name: string;
|
|
546
|
+
/**
|
|
547
|
+
* Enable origin protection for all exposed ports on this container. Use originProtectionConfig for advanced options like IP allow lists.
|
|
548
|
+
*/
|
|
549
|
+
originProtection: boolean;
|
|
550
|
+
/**
|
|
551
|
+
* Extended origin protection configuration with IP allow list support
|
|
552
|
+
*/
|
|
553
|
+
originProtectionConfig: outputs.EnvironmentComposeDefinitionContainerOriginProtectionConfig;
|
|
554
|
+
readonlyRootFilesystem: boolean;
|
|
555
|
+
/**
|
|
556
|
+
* Secrets mapped to environment variables
|
|
557
|
+
*/
|
|
558
|
+
secrets: outputs.EnvironmentComposeDefinitionContainerSecret[];
|
|
559
|
+
user: string;
|
|
560
|
+
workingDirectory: string;
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
export interface EnvironmentComposeDefinitionContainerDependsOn {
|
|
564
|
+
/**
|
|
565
|
+
* The condition to wait for on the dependency
|
|
566
|
+
*/
|
|
567
|
+
condition: string;
|
|
568
|
+
/**
|
|
569
|
+
* The name of the container this container depends on
|
|
570
|
+
*/
|
|
571
|
+
containerName: string;
|
|
572
|
+
}
|
|
573
|
+
|
|
574
|
+
export interface EnvironmentComposeDefinitionContainerEnvironment {
|
|
575
|
+
/**
|
|
576
|
+
* Environment variable name
|
|
577
|
+
*/
|
|
578
|
+
name: string;
|
|
579
|
+
/**
|
|
580
|
+
* Environment variable value
|
|
581
|
+
*/
|
|
582
|
+
value: string;
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
export interface EnvironmentComposeDefinitionContainerHealthCheck {
|
|
586
|
+
/**
|
|
587
|
+
* The command to run to determine if the container is healthy
|
|
588
|
+
*/
|
|
589
|
+
commands: string[];
|
|
590
|
+
/**
|
|
591
|
+
* Time period (seconds) between health checks
|
|
592
|
+
*/
|
|
593
|
+
interval: number;
|
|
594
|
+
/**
|
|
595
|
+
* Number of times to retry a failed health check
|
|
596
|
+
*/
|
|
597
|
+
retries: number;
|
|
598
|
+
/**
|
|
599
|
+
* Grace period (seconds) to ignore unhealthy checks after container starts
|
|
600
|
+
*/
|
|
601
|
+
startPeriod: number;
|
|
602
|
+
/**
|
|
603
|
+
* Time period (seconds) to wait for a health check to return
|
|
604
|
+
*/
|
|
605
|
+
timeout: number;
|
|
606
|
+
}
|
|
607
|
+
|
|
608
|
+
export interface EnvironmentComposeDefinitionContainerImageReference {
|
|
609
|
+
/**
|
|
610
|
+
* The image identifier. For 'internal' type, this is the image tag. For 'external' type, this is the full image name.
|
|
611
|
+
*/
|
|
612
|
+
identifier: string;
|
|
613
|
+
/**
|
|
614
|
+
* Specifies whether the image is internal (ECR) or external (e.g., Docker Hub)
|
|
615
|
+
*/
|
|
616
|
+
type: string;
|
|
617
|
+
}
|
|
618
|
+
|
|
619
|
+
export interface EnvironmentComposeDefinitionContainerMountPoint {
|
|
620
|
+
/**
|
|
621
|
+
* The path inside the container where the volume is mounted
|
|
622
|
+
*/
|
|
623
|
+
containerPath: string;
|
|
624
|
+
readOnly: boolean;
|
|
625
|
+
/**
|
|
626
|
+
* The name of the logical volume
|
|
627
|
+
*/
|
|
628
|
+
sourceVolume: string;
|
|
629
|
+
}
|
|
630
|
+
|
|
631
|
+
export interface EnvironmentComposeDefinitionContainerOriginProtectionConfig {
|
|
632
|
+
/**
|
|
633
|
+
* Whether origin protection is enabled. Defaults to true if this config object is provided.
|
|
634
|
+
*/
|
|
635
|
+
enabled: boolean;
|
|
636
|
+
/**
|
|
637
|
+
* List of IP addresses or CIDR ranges that can bypass origin protection for direct access (e.g., VPN IPs)
|
|
638
|
+
*/
|
|
639
|
+
ipAllows: string[];
|
|
640
|
+
}
|
|
641
|
+
|
|
642
|
+
export interface EnvironmentComposeDefinitionContainerSecret {
|
|
643
|
+
/**
|
|
644
|
+
* The environment variable name to be set in the container
|
|
645
|
+
*/
|
|
646
|
+
name: string;
|
|
647
|
+
/**
|
|
648
|
+
* The key of the secret in the environment's 'app-secrets' store
|
|
649
|
+
*/
|
|
650
|
+
valueFrom: string;
|
|
651
|
+
}
|
|
652
|
+
|
|
653
|
+
export interface EnvironmentComposeDefinitionSpotConfiguration {
|
|
654
|
+
/**
|
|
655
|
+
* Spot instance strategy. 'off' = On-Demand only (highest reliability, no savings). 'spot-only' = 100% Spot instances (~70% savings, default for non-prod). 'mixed-safe' = 50% Spot instances (~35% savings, requires multiple instances). 'mixed-aggressive' = 80% Spot instances (~56% savings, requires multiple instances).
|
|
656
|
+
*/
|
|
657
|
+
strategy: string;
|
|
658
|
+
}
|
|
659
|
+
|
|
660
|
+
export interface EnvironmentCron {
|
|
661
|
+
commands: string[];
|
|
662
|
+
description: string;
|
|
663
|
+
isEnabled: boolean;
|
|
664
|
+
name: string;
|
|
665
|
+
scheduleExpression: string;
|
|
666
|
+
targetContainerName: string;
|
|
667
|
+
}
|
|
668
|
+
|
|
669
|
+
export interface EnvironmentEnvironment {
|
|
670
|
+
/**
|
|
671
|
+
* Variable name
|
|
672
|
+
*/
|
|
673
|
+
name: string;
|
|
674
|
+
/**
|
|
675
|
+
* Variable value
|
|
676
|
+
*/
|
|
677
|
+
value: string;
|
|
678
|
+
}
|
|
679
|
+
|
|
680
|
+
export interface EnvironmentLoadBalancer {
|
|
681
|
+
}
|
|
682
|
+
|
|
683
|
+
export interface EnvironmentSecurityGroup {
|
|
684
|
+
}
|
|
685
|
+
|
|
686
|
+
export interface EnvironmentService {
|
|
687
|
+
}
|
|
688
|
+
|
|
689
|
+
export interface EnvironmentSpotConfiguration {
|
|
690
|
+
/**
|
|
691
|
+
* Spot instance strategy. 'off' = On-Demand only (highest reliability, no savings). 'spot-only' = 100% Spot instances (~70% savings, default for non-prod). 'mixed-safe' = 50% Spot instances (~35% savings, requires multiple instances). 'mixed-aggressive' = 80% Spot instances (~56% savings, requires multiple instances).
|
|
692
|
+
*/
|
|
693
|
+
strategy: string;
|
|
694
|
+
}
|
|
695
|
+
|
|
696
|
+
export interface EnvironmentSubnet {
|
|
697
|
+
}
|
|
698
|
+
|
|
699
|
+
export interface EnvironmentTaskDefinition {
|
|
700
|
+
}
|
|
701
|
+
|
|
702
|
+
export interface EnvironmentVolume {
|
|
703
|
+
accessPointArn: string;
|
|
704
|
+
accessPointId: string;
|
|
705
|
+
createdAt: string;
|
|
706
|
+
description: string;
|
|
707
|
+
environmentEfsId: string;
|
|
708
|
+
rootDirectory: string;
|
|
709
|
+
volumeId: string;
|
|
710
|
+
volumeName: string;
|
|
711
|
+
}
|
|
712
|
+
|
|
713
|
+
export interface EnvironmentVpc {
|
|
714
|
+
}
|
|
715
|
+
|
|
132
716
|
export interface GetProjectsProject {
|
|
133
717
|
machineName: string;
|
|
134
718
|
name: string;
|
|
@@ -635,3 +1219,18 @@ export interface RuleServeStaticActionConfig {
|
|
|
635
1219
|
staticFilePath: string;
|
|
636
1220
|
}
|
|
637
1221
|
|
|
1222
|
+
export interface SlackBotBot {
|
|
1223
|
+
agentId: string;
|
|
1224
|
+
allowedChannels: string[];
|
|
1225
|
+
botId: string;
|
|
1226
|
+
connected: boolean;
|
|
1227
|
+
createdAt: string;
|
|
1228
|
+
keywords: string[];
|
|
1229
|
+
keywordsEnabled: boolean;
|
|
1230
|
+
sessionTtlDays: number;
|
|
1231
|
+
setupType: string;
|
|
1232
|
+
slashCommands: string[];
|
|
1233
|
+
status: string;
|
|
1234
|
+
updatedAt: string;
|
|
1235
|
+
}
|
|
1236
|
+
|
package/utilities.ts
CHANGED
|
@@ -53,7 +53,7 @@ export function getVersion(): string {
|
|
|
53
53
|
|
|
54
54
|
/** @internal */
|
|
55
55
|
export function resourceOptsDefaults(): any {
|
|
56
|
-
return { version: getVersion(), pluginDownloadURL: "github://api.github.com/quantcdn/
|
|
56
|
+
return { version: getVersion(), pluginDownloadURL: "github://api.github.com/quantcdn/terraform-provider-quant" };
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
/** @internal */
|