@cdktn/provider-docker 13.0.0 → 13.1.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 +8294 -2676
- package/README.md +3 -3
- package/lib/buildx-builder/index.d.ts +60 -60
- package/lib/buildx-builder/index.js +12 -12
- package/lib/config/index.d.ts +6 -6
- package/lib/config/index.js +6 -6
- package/lib/container/index.d.ts +148 -126
- package/lib/container/index.js +80 -33
- package/lib/data-docker-image/index.d.ts +5 -5
- package/lib/data-docker-image/index.js +6 -6
- package/lib/data-docker-logs/index.d.ts +15 -15
- package/lib/data-docker-logs/index.js +6 -6
- package/lib/data-docker-network/index.d.ts +4 -4
- package/lib/data-docker-network/index.js +8 -8
- package/lib/data-docker-plugin/index.d.ts +5 -5
- package/lib/data-docker-plugin/index.js +6 -6
- package/lib/data-docker-registry-image/index.d.ts +6 -6
- package/lib/data-docker-registry-image/index.js +6 -6
- package/lib/data-docker-registry-image-manifests/index.d.ts +10 -10
- package/lib/data-docker-registry-image-manifests/index.js +9 -9
- package/lib/image/index.d.ts +88 -66
- package/lib/image/index.js +66 -14
- package/lib/network/index.d.ts +22 -22
- package/lib/network/index.js +10 -10
- package/lib/plugin/index.d.ts +15 -15
- package/lib/plugin/index.js +8 -8
- package/lib/provider/index.d.ts +19 -19
- package/lib/provider/index.js +6 -6
- package/lib/registry-image/index.d.ts +793 -12
- package/lib/registry-image/index.js +1858 -10
- package/lib/secret/index.d.ts +9 -9
- package/lib/secret/index.js +8 -8
- package/lib/service/index.d.ts +148 -147
- package/lib/service/index.js +53 -50
- package/lib/tag/index.d.ts +7 -7
- package/lib/tag/index.js +6 -6
- package/lib/volume/index.d.ts +135 -10
- package/lib/volume/index.js +324 -13
- package/package.json +12 -5
package/lib/service/index.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import { Construct } from 'constructs';
|
|
|
6
6
|
import * as cdktn from 'cdktn';
|
|
7
7
|
export interface ServiceConfig extends cdktn.TerraformMetaArguments {
|
|
8
8
|
/**
|
|
9
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
9
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#id Service#id}
|
|
10
10
|
*
|
|
11
11
|
* Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
12
12
|
* If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
|
|
@@ -15,55 +15,55 @@ export interface ServiceConfig extends cdktn.TerraformMetaArguments {
|
|
|
15
15
|
/**
|
|
16
16
|
* Name of the service
|
|
17
17
|
*
|
|
18
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
18
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#name Service#name}
|
|
19
19
|
*/
|
|
20
20
|
readonly name: string;
|
|
21
21
|
/**
|
|
22
22
|
* auth block
|
|
23
23
|
*
|
|
24
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
24
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#auth Service#auth}
|
|
25
25
|
*/
|
|
26
26
|
readonly auth?: ServiceAuth;
|
|
27
27
|
/**
|
|
28
28
|
* converge_config block
|
|
29
29
|
*
|
|
30
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
30
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#converge_config Service#converge_config}
|
|
31
31
|
*/
|
|
32
32
|
readonly convergeConfig?: ServiceConvergeConfig;
|
|
33
33
|
/**
|
|
34
34
|
* endpoint_spec block
|
|
35
35
|
*
|
|
36
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
36
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#endpoint_spec Service#endpoint_spec}
|
|
37
37
|
*/
|
|
38
38
|
readonly endpointSpec?: ServiceEndpointSpec;
|
|
39
39
|
/**
|
|
40
40
|
* labels block
|
|
41
41
|
*
|
|
42
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
42
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#labels Service#labels}
|
|
43
43
|
*/
|
|
44
44
|
readonly labels?: ServiceLabels[] | cdktn.IResolvable;
|
|
45
45
|
/**
|
|
46
46
|
* mode block
|
|
47
47
|
*
|
|
48
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
48
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#mode Service#mode}
|
|
49
49
|
*/
|
|
50
50
|
readonly mode?: ServiceMode;
|
|
51
51
|
/**
|
|
52
52
|
* rollback_config block
|
|
53
53
|
*
|
|
54
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
54
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#rollback_config Service#rollback_config}
|
|
55
55
|
*/
|
|
56
56
|
readonly rollbackConfig?: ServiceRollbackConfig;
|
|
57
57
|
/**
|
|
58
58
|
* task_spec block
|
|
59
59
|
*
|
|
60
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
60
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#task_spec Service#task_spec}
|
|
61
61
|
*/
|
|
62
62
|
readonly taskSpec: ServiceTaskSpec;
|
|
63
63
|
/**
|
|
64
64
|
* update_config block
|
|
65
65
|
*
|
|
66
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
66
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#update_config Service#update_config}
|
|
67
67
|
*/
|
|
68
68
|
readonly updateConfig?: ServiceUpdateConfig;
|
|
69
69
|
}
|
|
@@ -71,19 +71,19 @@ export interface ServiceAuth {
|
|
|
71
71
|
/**
|
|
72
72
|
* The password
|
|
73
73
|
*
|
|
74
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
74
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#password Service#password}
|
|
75
75
|
*/
|
|
76
76
|
readonly password?: string;
|
|
77
77
|
/**
|
|
78
78
|
* The address of the server for the authentication
|
|
79
79
|
*
|
|
80
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
80
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#server_address Service#server_address}
|
|
81
81
|
*/
|
|
82
82
|
readonly serverAddress: string;
|
|
83
83
|
/**
|
|
84
84
|
* The username
|
|
85
85
|
*
|
|
86
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
86
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#username Service#username}
|
|
87
87
|
*/
|
|
88
88
|
readonly username?: string;
|
|
89
89
|
}
|
|
@@ -117,13 +117,13 @@ export interface ServiceConvergeConfig {
|
|
|
117
117
|
/**
|
|
118
118
|
* The interval to check if the desired state is reached `(ms|s)`. Defaults to `7s`.
|
|
119
119
|
*
|
|
120
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
120
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#delay Service#delay}
|
|
121
121
|
*/
|
|
122
122
|
readonly delay?: string;
|
|
123
123
|
/**
|
|
124
124
|
* The timeout of the service to reach the desired state `(s|m)`. Defaults to `3m`
|
|
125
125
|
*
|
|
126
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
126
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#timeout Service#timeout}
|
|
127
127
|
*/
|
|
128
128
|
readonly timeout?: string;
|
|
129
129
|
}
|
|
@@ -153,31 +153,31 @@ export interface ServiceEndpointSpecPorts {
|
|
|
153
153
|
/**
|
|
154
154
|
* A random name for the port
|
|
155
155
|
*
|
|
156
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
156
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#name Service#name}
|
|
157
157
|
*/
|
|
158
158
|
readonly name?: string;
|
|
159
159
|
/**
|
|
160
160
|
* Rrepresents the protocol of a port: `tcp`, `udp` or `sctp`. Defaults to `tcp`.
|
|
161
161
|
*
|
|
162
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
162
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#protocol Service#protocol}
|
|
163
163
|
*/
|
|
164
164
|
readonly protocol?: string;
|
|
165
165
|
/**
|
|
166
166
|
* Represents the mode in which the port is to be published: 'ingress' or 'host'. Defaults to `ingress`.
|
|
167
167
|
*
|
|
168
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
168
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#publish_mode Service#publish_mode}
|
|
169
169
|
*/
|
|
170
170
|
readonly publishMode?: string;
|
|
171
171
|
/**
|
|
172
172
|
* The port on the swarm hosts
|
|
173
173
|
*
|
|
174
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
174
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#published_port Service#published_port}
|
|
175
175
|
*/
|
|
176
176
|
readonly publishedPort?: number;
|
|
177
177
|
/**
|
|
178
178
|
* The port inside the container
|
|
179
179
|
*
|
|
180
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
180
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#target_port Service#target_port}
|
|
181
181
|
*/
|
|
182
182
|
readonly targetPort: number;
|
|
183
183
|
}
|
|
@@ -240,13 +240,13 @@ export interface ServiceEndpointSpec {
|
|
|
240
240
|
/**
|
|
241
241
|
* The mode of resolution to use for internal load balancing between tasks
|
|
242
242
|
*
|
|
243
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
243
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#mode Service#mode}
|
|
244
244
|
*/
|
|
245
245
|
readonly mode?: string;
|
|
246
246
|
/**
|
|
247
247
|
* ports block
|
|
248
248
|
*
|
|
249
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
249
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#ports Service#ports}
|
|
250
250
|
*/
|
|
251
251
|
readonly ports?: ServiceEndpointSpecPorts[] | cdktn.IResolvable;
|
|
252
252
|
}
|
|
@@ -276,13 +276,13 @@ export interface ServiceLabels {
|
|
|
276
276
|
/**
|
|
277
277
|
* Name of the label
|
|
278
278
|
*
|
|
279
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
279
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#label Service#label}
|
|
280
280
|
*/
|
|
281
281
|
readonly label: string;
|
|
282
282
|
/**
|
|
283
283
|
* Value of the label
|
|
284
284
|
*
|
|
285
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
285
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#value Service#value}
|
|
286
286
|
*/
|
|
287
287
|
readonly value: string;
|
|
288
288
|
}
|
|
@@ -329,7 +329,7 @@ export interface ServiceModeReplicated {
|
|
|
329
329
|
/**
|
|
330
330
|
* The amount of replicas of the service. Defaults to `1`
|
|
331
331
|
*
|
|
332
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
332
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#replicas Service#replicas}
|
|
333
333
|
*/
|
|
334
334
|
readonly replicas?: number;
|
|
335
335
|
}
|
|
@@ -354,13 +354,13 @@ export interface ServiceMode {
|
|
|
354
354
|
/**
|
|
355
355
|
* The global service mode. Defaults to `false`
|
|
356
356
|
*
|
|
357
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
357
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#global Service#global}
|
|
358
358
|
*/
|
|
359
359
|
readonly global?: boolean | cdktn.IResolvable;
|
|
360
360
|
/**
|
|
361
361
|
* replicated block
|
|
362
362
|
*
|
|
363
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
363
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#replicated Service#replicated}
|
|
364
364
|
*/
|
|
365
365
|
readonly replicated?: ServiceModeReplicated;
|
|
366
366
|
}
|
|
@@ -390,37 +390,37 @@ export interface ServiceRollbackConfig {
|
|
|
390
390
|
/**
|
|
391
391
|
* Delay between task rollbacks (ns|us|ms|s|m|h). Defaults to `0s`.
|
|
392
392
|
*
|
|
393
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
393
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#delay Service#delay}
|
|
394
394
|
*/
|
|
395
395
|
readonly delay?: string;
|
|
396
396
|
/**
|
|
397
397
|
* Action on rollback failure: pause | continue. Defaults to `pause`.
|
|
398
398
|
*
|
|
399
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
399
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#failure_action Service#failure_action}
|
|
400
400
|
*/
|
|
401
401
|
readonly failureAction?: string;
|
|
402
402
|
/**
|
|
403
403
|
* Failure rate to tolerate during a rollback. Defaults to `0.0`.
|
|
404
404
|
*
|
|
405
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
405
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#max_failure_ratio Service#max_failure_ratio}
|
|
406
406
|
*/
|
|
407
407
|
readonly maxFailureRatio?: string;
|
|
408
408
|
/**
|
|
409
409
|
* Duration after each task rollback to monitor for failure (ns|us|ms|s|m|h). Defaults to `5s`.
|
|
410
410
|
*
|
|
411
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
411
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#monitor Service#monitor}
|
|
412
412
|
*/
|
|
413
413
|
readonly monitor?: string;
|
|
414
414
|
/**
|
|
415
415
|
* Rollback order: either 'stop-first' or 'start-first'. Defaults to `stop-first`.
|
|
416
416
|
*
|
|
417
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
417
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#order Service#order}
|
|
418
418
|
*/
|
|
419
419
|
readonly order?: string;
|
|
420
420
|
/**
|
|
421
421
|
* Maximum number of tasks to be rollbacked in one iteration. Defaults to `1`
|
|
422
422
|
*
|
|
423
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
423
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#parallelism Service#parallelism}
|
|
424
424
|
*/
|
|
425
425
|
readonly parallelism?: number;
|
|
426
426
|
}
|
|
@@ -470,37 +470,37 @@ export interface ServiceTaskSpecContainerSpecConfigs {
|
|
|
470
470
|
/**
|
|
471
471
|
* ID of the specific config that we're referencing
|
|
472
472
|
*
|
|
473
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
473
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#config_id Service#config_id}
|
|
474
474
|
*/
|
|
475
475
|
readonly configId: string;
|
|
476
476
|
/**
|
|
477
477
|
* Name of the config that this references, but this is just provided for lookup/display purposes. The config in the reference will be identified by its ID
|
|
478
478
|
*
|
|
479
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
479
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#config_name Service#config_name}
|
|
480
480
|
*/
|
|
481
481
|
readonly configName?: string;
|
|
482
482
|
/**
|
|
483
483
|
* Represents the file GID. Defaults to `0`.
|
|
484
484
|
*
|
|
485
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
485
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#file_gid Service#file_gid}
|
|
486
486
|
*/
|
|
487
487
|
readonly fileGid?: string;
|
|
488
488
|
/**
|
|
489
489
|
* Represents represents the FileMode of the file. Defaults to `0o444`.
|
|
490
490
|
*
|
|
491
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
491
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#file_mode Service#file_mode}
|
|
492
492
|
*/
|
|
493
493
|
readonly fileMode?: number;
|
|
494
494
|
/**
|
|
495
495
|
* Represents the final filename in the filesystem
|
|
496
496
|
*
|
|
497
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
497
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#file_name Service#file_name}
|
|
498
498
|
*/
|
|
499
499
|
readonly fileName: string;
|
|
500
500
|
/**
|
|
501
501
|
* Represents the file UID. Defaults to `0`.
|
|
502
502
|
*
|
|
503
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
503
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#file_uid Service#file_uid}
|
|
504
504
|
*/
|
|
505
505
|
readonly fileUid?: string;
|
|
506
506
|
}
|
|
@@ -567,19 +567,19 @@ export interface ServiceTaskSpecContainerSpecDnsConfig {
|
|
|
567
567
|
/**
|
|
568
568
|
* The IP addresses of the name servers
|
|
569
569
|
*
|
|
570
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
570
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#nameservers Service#nameservers}
|
|
571
571
|
*/
|
|
572
572
|
readonly nameservers: string[];
|
|
573
573
|
/**
|
|
574
574
|
* A list of internal resolver variables to be modified (e.g., `debug`, `ndots:3`, etc.)
|
|
575
575
|
*
|
|
576
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
576
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#options Service#options}
|
|
577
577
|
*/
|
|
578
578
|
readonly options?: string[];
|
|
579
579
|
/**
|
|
580
580
|
* A search list for host-name lookup
|
|
581
581
|
*
|
|
582
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
582
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#search Service#search}
|
|
583
583
|
*/
|
|
584
584
|
readonly search?: string[];
|
|
585
585
|
}
|
|
@@ -613,31 +613,31 @@ export interface ServiceTaskSpecContainerSpecHealthcheck {
|
|
|
613
613
|
/**
|
|
614
614
|
* Time between running the check (ms|s|m|h). Defaults to `0s`.
|
|
615
615
|
*
|
|
616
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
616
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#interval Service#interval}
|
|
617
617
|
*/
|
|
618
618
|
readonly interval?: string;
|
|
619
619
|
/**
|
|
620
620
|
* Consecutive failures needed to report unhealthy. Defaults to `0`
|
|
621
621
|
*
|
|
622
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
622
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#retries Service#retries}
|
|
623
623
|
*/
|
|
624
624
|
readonly retries?: number;
|
|
625
625
|
/**
|
|
626
626
|
* Start period for the container to initialize before counting retries towards unstable (ms|s|m|h). Defaults to `0s`.
|
|
627
627
|
*
|
|
628
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
628
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#start_period Service#start_period}
|
|
629
629
|
*/
|
|
630
630
|
readonly startPeriod?: string;
|
|
631
631
|
/**
|
|
632
632
|
* The test to perform as list
|
|
633
633
|
*
|
|
634
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
634
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#test Service#test}
|
|
635
635
|
*/
|
|
636
|
-
readonly test
|
|
636
|
+
readonly test?: string[];
|
|
637
637
|
/**
|
|
638
638
|
* Maximum time to allow one check to run (ms|s|m|h). Defaults to `0s`.
|
|
639
639
|
*
|
|
640
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
640
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#timeout Service#timeout}
|
|
641
641
|
*/
|
|
642
642
|
readonly timeout?: string;
|
|
643
643
|
}
|
|
@@ -670,6 +670,7 @@ export declare class ServiceTaskSpecContainerSpecHealthcheckOutputReference exte
|
|
|
670
670
|
private _test?;
|
|
671
671
|
get test(): string[];
|
|
672
672
|
set test(value: string[]);
|
|
673
|
+
resetTest(): void;
|
|
673
674
|
get testInput(): string[] | undefined;
|
|
674
675
|
private _timeout?;
|
|
675
676
|
get timeout(): string;
|
|
@@ -681,13 +682,13 @@ export interface ServiceTaskSpecContainerSpecHosts {
|
|
|
681
682
|
/**
|
|
682
683
|
* The name of the host
|
|
683
684
|
*
|
|
684
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
685
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#host Service#host}
|
|
685
686
|
*/
|
|
686
687
|
readonly host: string;
|
|
687
688
|
/**
|
|
688
689
|
* The ip of the host
|
|
689
690
|
*
|
|
690
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
691
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#ip Service#ip}
|
|
691
692
|
*/
|
|
692
693
|
readonly ip: string;
|
|
693
694
|
}
|
|
@@ -734,13 +735,13 @@ export interface ServiceTaskSpecContainerSpecLabels {
|
|
|
734
735
|
/**
|
|
735
736
|
* Name of the label
|
|
736
737
|
*
|
|
737
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
738
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#label Service#label}
|
|
738
739
|
*/
|
|
739
740
|
readonly label: string;
|
|
740
741
|
/**
|
|
741
742
|
* Value of the label
|
|
742
743
|
*
|
|
743
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
744
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#value Service#value}
|
|
744
745
|
*/
|
|
745
746
|
readonly value: string;
|
|
746
747
|
}
|
|
@@ -787,7 +788,7 @@ export interface ServiceTaskSpecContainerSpecMountsBindOptions {
|
|
|
787
788
|
/**
|
|
788
789
|
* Bind propagation refers to whether or not mounts created within a given bind-mount or named volume can be propagated to replicas of that mount. See the [docs](https://docs.docker.com/storage/bind-mounts/#configure-bind-propagation) for details. Defaults to `rprivate`
|
|
789
790
|
*
|
|
790
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
791
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#propagation Service#propagation}
|
|
791
792
|
*/
|
|
792
793
|
readonly propagation?: string;
|
|
793
794
|
}
|
|
@@ -812,13 +813,13 @@ export interface ServiceTaskSpecContainerSpecMountsTmpfsOptions {
|
|
|
812
813
|
/**
|
|
813
814
|
* The permission mode for the tmpfs mount in an integer
|
|
814
815
|
*
|
|
815
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
816
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#mode Service#mode}
|
|
816
817
|
*/
|
|
817
818
|
readonly mode?: number;
|
|
818
819
|
/**
|
|
819
820
|
* The size for the tmpfs mount in bytes
|
|
820
821
|
*
|
|
821
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
822
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#size_bytes Service#size_bytes}
|
|
822
823
|
*/
|
|
823
824
|
readonly sizeBytes?: number;
|
|
824
825
|
}
|
|
@@ -848,13 +849,13 @@ export interface ServiceTaskSpecContainerSpecMountsVolumeOptionsLabels {
|
|
|
848
849
|
/**
|
|
849
850
|
* Name of the label
|
|
850
851
|
*
|
|
851
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
852
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#label Service#label}
|
|
852
853
|
*/
|
|
853
854
|
readonly label: string;
|
|
854
855
|
/**
|
|
855
856
|
* Value of the label
|
|
856
857
|
*
|
|
857
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
858
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#value Service#value}
|
|
858
859
|
*/
|
|
859
860
|
readonly value: string;
|
|
860
861
|
}
|
|
@@ -901,13 +902,13 @@ export interface ServiceTaskSpecContainerSpecMountsVolumeOptions {
|
|
|
901
902
|
/**
|
|
902
903
|
* Name of the driver to use to create the volume
|
|
903
904
|
*
|
|
904
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
905
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#driver_name Service#driver_name}
|
|
905
906
|
*/
|
|
906
907
|
readonly driverName?: string;
|
|
907
908
|
/**
|
|
908
909
|
* key/value map of driver specific options
|
|
909
910
|
*
|
|
910
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
911
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#driver_options Service#driver_options}
|
|
911
912
|
*/
|
|
912
913
|
readonly driverOptions?: {
|
|
913
914
|
[key: string]: string;
|
|
@@ -915,13 +916,13 @@ export interface ServiceTaskSpecContainerSpecMountsVolumeOptions {
|
|
|
915
916
|
/**
|
|
916
917
|
* Populate volume with data from the target
|
|
917
918
|
*
|
|
918
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
919
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#no_copy Service#no_copy}
|
|
919
920
|
*/
|
|
920
921
|
readonly noCopy?: boolean | cdktn.IResolvable;
|
|
921
922
|
/**
|
|
922
923
|
* labels block
|
|
923
924
|
*
|
|
924
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
925
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#labels Service#labels}
|
|
925
926
|
*/
|
|
926
927
|
readonly labels?: ServiceTaskSpecContainerSpecMountsVolumeOptionsLabels[] | cdktn.IResolvable;
|
|
927
928
|
}
|
|
@@ -967,43 +968,43 @@ export interface ServiceTaskSpecContainerSpecMounts {
|
|
|
967
968
|
/**
|
|
968
969
|
* Whether the mount should be read-only
|
|
969
970
|
*
|
|
970
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
971
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#read_only Service#read_only}
|
|
971
972
|
*/
|
|
972
973
|
readonly readOnly?: boolean | cdktn.IResolvable;
|
|
973
974
|
/**
|
|
974
975
|
* Mount source (e.g. a volume name, a host path)
|
|
975
976
|
*
|
|
976
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
977
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#source Service#source}
|
|
977
978
|
*/
|
|
978
979
|
readonly source?: string;
|
|
979
980
|
/**
|
|
980
981
|
* Container path
|
|
981
982
|
*
|
|
982
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
983
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#target Service#target}
|
|
983
984
|
*/
|
|
984
985
|
readonly target: string;
|
|
985
986
|
/**
|
|
986
987
|
* The mount type
|
|
987
988
|
*
|
|
988
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
989
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#type Service#type}
|
|
989
990
|
*/
|
|
990
991
|
readonly type: string;
|
|
991
992
|
/**
|
|
992
993
|
* bind_options block
|
|
993
994
|
*
|
|
994
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
995
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#bind_options Service#bind_options}
|
|
995
996
|
*/
|
|
996
997
|
readonly bindOptions?: ServiceTaskSpecContainerSpecMountsBindOptions;
|
|
997
998
|
/**
|
|
998
999
|
* tmpfs_options block
|
|
999
1000
|
*
|
|
1000
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1001
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#tmpfs_options Service#tmpfs_options}
|
|
1001
1002
|
*/
|
|
1002
1003
|
readonly tmpfsOptions?: ServiceTaskSpecContainerSpecMountsTmpfsOptions;
|
|
1003
1004
|
/**
|
|
1004
1005
|
* volume_options block
|
|
1005
1006
|
*
|
|
1006
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1007
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#volume_options Service#volume_options}
|
|
1007
1008
|
*/
|
|
1008
1009
|
readonly volumeOptions?: ServiceTaskSpecContainerSpecMountsVolumeOptions;
|
|
1009
1010
|
}
|
|
@@ -1075,13 +1076,13 @@ export interface ServiceTaskSpecContainerSpecPrivilegesCredentialSpec {
|
|
|
1075
1076
|
/**
|
|
1076
1077
|
* Load credential spec from this file
|
|
1077
1078
|
*
|
|
1078
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1079
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#file Service#file}
|
|
1079
1080
|
*/
|
|
1080
1081
|
readonly file?: string;
|
|
1081
1082
|
/**
|
|
1082
1083
|
* Load credential spec from this value in the Windows registry
|
|
1083
1084
|
*
|
|
1084
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1085
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#registry Service#registry}
|
|
1085
1086
|
*/
|
|
1086
1087
|
readonly registry?: string;
|
|
1087
1088
|
}
|
|
@@ -1111,31 +1112,31 @@ export interface ServiceTaskSpecContainerSpecPrivilegesSeLinuxContext {
|
|
|
1111
1112
|
/**
|
|
1112
1113
|
* Disable SELinux
|
|
1113
1114
|
*
|
|
1114
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1115
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#disable Service#disable}
|
|
1115
1116
|
*/
|
|
1116
1117
|
readonly disable?: boolean | cdktn.IResolvable;
|
|
1117
1118
|
/**
|
|
1118
1119
|
* SELinux level label
|
|
1119
1120
|
*
|
|
1120
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1121
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#level Service#level}
|
|
1121
1122
|
*/
|
|
1122
1123
|
readonly level?: string;
|
|
1123
1124
|
/**
|
|
1124
1125
|
* SELinux role label
|
|
1125
1126
|
*
|
|
1126
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1127
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#role Service#role}
|
|
1127
1128
|
*/
|
|
1128
1129
|
readonly role?: string;
|
|
1129
1130
|
/**
|
|
1130
1131
|
* SELinux type label
|
|
1131
1132
|
*
|
|
1132
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1133
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#type Service#type}
|
|
1133
1134
|
*/
|
|
1134
1135
|
readonly type?: string;
|
|
1135
1136
|
/**
|
|
1136
1137
|
* SELinux user label
|
|
1137
1138
|
*
|
|
1138
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1139
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#user Service#user}
|
|
1139
1140
|
*/
|
|
1140
1141
|
readonly user?: string;
|
|
1141
1142
|
}
|
|
@@ -1180,13 +1181,13 @@ export interface ServiceTaskSpecContainerSpecPrivileges {
|
|
|
1180
1181
|
/**
|
|
1181
1182
|
* credential_spec block
|
|
1182
1183
|
*
|
|
1183
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1184
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#credential_spec Service#credential_spec}
|
|
1184
1185
|
*/
|
|
1185
1186
|
readonly credentialSpec?: ServiceTaskSpecContainerSpecPrivilegesCredentialSpec;
|
|
1186
1187
|
/**
|
|
1187
1188
|
* se_linux_context block
|
|
1188
1189
|
*
|
|
1189
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1190
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#se_linux_context Service#se_linux_context}
|
|
1190
1191
|
*/
|
|
1191
1192
|
readonly seLinuxContext?: ServiceTaskSpecContainerSpecPrivilegesSeLinuxContext;
|
|
1192
1193
|
}
|
|
@@ -1216,37 +1217,37 @@ export interface ServiceTaskSpecContainerSpecSecrets {
|
|
|
1216
1217
|
/**
|
|
1217
1218
|
* Represents the file GID. Defaults to `0`
|
|
1218
1219
|
*
|
|
1219
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1220
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#file_gid Service#file_gid}
|
|
1220
1221
|
*/
|
|
1221
1222
|
readonly fileGid?: string;
|
|
1222
1223
|
/**
|
|
1223
1224
|
* Represents represents the FileMode of the file. Defaults to `0o444`
|
|
1224
1225
|
*
|
|
1225
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1226
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#file_mode Service#file_mode}
|
|
1226
1227
|
*/
|
|
1227
1228
|
readonly fileMode?: number;
|
|
1228
1229
|
/**
|
|
1229
1230
|
* Represents the final filename in the filesystem
|
|
1230
1231
|
*
|
|
1231
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1232
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#file_name Service#file_name}
|
|
1232
1233
|
*/
|
|
1233
1234
|
readonly fileName: string;
|
|
1234
1235
|
/**
|
|
1235
1236
|
* Represents the file UID. Defaults to `0`
|
|
1236
1237
|
*
|
|
1237
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1238
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#file_uid Service#file_uid}
|
|
1238
1239
|
*/
|
|
1239
1240
|
readonly fileUid?: string;
|
|
1240
1241
|
/**
|
|
1241
1242
|
* ID of the specific secret that we're referencing
|
|
1242
1243
|
*
|
|
1243
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1244
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#secret_id Service#secret_id}
|
|
1244
1245
|
*/
|
|
1245
1246
|
readonly secretId: string;
|
|
1246
1247
|
/**
|
|
1247
1248
|
* Name of the secret that this references, but this is just provided for lookup/display purposes. The config in the reference will be identified by its ID
|
|
1248
1249
|
*
|
|
1249
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1250
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#secret_name Service#secret_name}
|
|
1250
1251
|
*/
|
|
1251
1252
|
readonly secretName?: string;
|
|
1252
1253
|
}
|
|
@@ -1313,37 +1314,37 @@ export interface ServiceTaskSpecContainerSpec {
|
|
|
1313
1314
|
/**
|
|
1314
1315
|
* Arguments to the command
|
|
1315
1316
|
*
|
|
1316
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1317
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#args Service#args}
|
|
1317
1318
|
*/
|
|
1318
1319
|
readonly args?: string[];
|
|
1319
1320
|
/**
|
|
1320
1321
|
* List of Linux capabilities to add to the container
|
|
1321
1322
|
*
|
|
1322
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1323
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#cap_add Service#cap_add}
|
|
1323
1324
|
*/
|
|
1324
1325
|
readonly capAdd?: string[];
|
|
1325
1326
|
/**
|
|
1326
1327
|
* List of Linux capabilities to drop from the container
|
|
1327
1328
|
*
|
|
1328
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1329
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#cap_drop Service#cap_drop}
|
|
1329
1330
|
*/
|
|
1330
1331
|
readonly capDrop?: string[];
|
|
1331
1332
|
/**
|
|
1332
1333
|
* The command/entrypoint to be run in the image. According to the [docker cli](https://github.com/docker/cli/blob/v20.10.7/cli/command/service/opts.go#L705) the override of the entrypoint is also passed to the `command` property and there is no `entrypoint` attribute in the `ContainerSpec` of the service.
|
|
1333
1334
|
*
|
|
1334
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1335
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#command Service#command}
|
|
1335
1336
|
*/
|
|
1336
1337
|
readonly command?: string[];
|
|
1337
1338
|
/**
|
|
1338
1339
|
* The working directory for commands to run in
|
|
1339
1340
|
*
|
|
1340
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1341
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#dir Service#dir}
|
|
1341
1342
|
*/
|
|
1342
1343
|
readonly dir?: string;
|
|
1343
1344
|
/**
|
|
1344
1345
|
* A list of environment variables in the form VAR="value"
|
|
1345
1346
|
*
|
|
1346
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1347
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#env Service#env}
|
|
1347
1348
|
*/
|
|
1348
1349
|
readonly env?: {
|
|
1349
1350
|
[key: string]: string;
|
|
@@ -1351,49 +1352,49 @@ export interface ServiceTaskSpecContainerSpec {
|
|
|
1351
1352
|
/**
|
|
1352
1353
|
* A list of additional groups that the container process will run as
|
|
1353
1354
|
*
|
|
1354
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1355
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#groups Service#groups}
|
|
1355
1356
|
*/
|
|
1356
1357
|
readonly groups?: string[];
|
|
1357
1358
|
/**
|
|
1358
1359
|
* The hostname to use for the container, as a valid RFC 1123 hostname
|
|
1359
1360
|
*
|
|
1360
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1361
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#hostname Service#hostname}
|
|
1361
1362
|
*/
|
|
1362
1363
|
readonly hostname?: string;
|
|
1363
1364
|
/**
|
|
1364
1365
|
* The image name to use for the containers of the service, like `nginx:1.17.6`. Also use the data-source or resource of `docker_image` with the `repo_digest` or `docker_registry_image` with the `name` attribute for this, as shown in the examples.
|
|
1365
1366
|
*
|
|
1366
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1367
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#image Service#image}
|
|
1367
1368
|
*/
|
|
1368
1369
|
readonly image: string;
|
|
1369
1370
|
/**
|
|
1370
1371
|
* Isolation technology of the containers running the service. (Windows only). Defaults to `default`.
|
|
1371
1372
|
*
|
|
1372
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1373
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#isolation Service#isolation}
|
|
1373
1374
|
*/
|
|
1374
1375
|
readonly isolation?: string;
|
|
1375
1376
|
/**
|
|
1376
1377
|
* Mount the container's root filesystem as read only
|
|
1377
1378
|
*
|
|
1378
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1379
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#read_only Service#read_only}
|
|
1379
1380
|
*/
|
|
1380
1381
|
readonly readOnly?: boolean | cdktn.IResolvable;
|
|
1381
1382
|
/**
|
|
1382
1383
|
* Amount of time to wait for the container to terminate before forcefully removing it (ms|s|m|h). If not specified or '0s' the destroy will not check if all tasks/containers of the service terminate.
|
|
1383
1384
|
*
|
|
1384
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1385
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#stop_grace_period Service#stop_grace_period}
|
|
1385
1386
|
*/
|
|
1386
1387
|
readonly stopGracePeriod?: string;
|
|
1387
1388
|
/**
|
|
1388
1389
|
* Signal to stop the container
|
|
1389
1390
|
*
|
|
1390
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1391
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#stop_signal Service#stop_signal}
|
|
1391
1392
|
*/
|
|
1392
1393
|
readonly stopSignal?: string;
|
|
1393
1394
|
/**
|
|
1394
1395
|
* Sysctls config (Linux only)
|
|
1395
1396
|
*
|
|
1396
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1397
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#sysctl Service#sysctl}
|
|
1397
1398
|
*/
|
|
1398
1399
|
readonly sysctl?: {
|
|
1399
1400
|
[key: string]: string;
|
|
@@ -1401,55 +1402,55 @@ export interface ServiceTaskSpecContainerSpec {
|
|
|
1401
1402
|
/**
|
|
1402
1403
|
* The user inside the container
|
|
1403
1404
|
*
|
|
1404
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1405
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#user Service#user}
|
|
1405
1406
|
*/
|
|
1406
1407
|
readonly user?: string;
|
|
1407
1408
|
/**
|
|
1408
1409
|
* configs block
|
|
1409
1410
|
*
|
|
1410
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1411
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#configs Service#configs}
|
|
1411
1412
|
*/
|
|
1412
1413
|
readonly configs?: ServiceTaskSpecContainerSpecConfigs[] | cdktn.IResolvable;
|
|
1413
1414
|
/**
|
|
1414
1415
|
* dns_config block
|
|
1415
1416
|
*
|
|
1416
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1417
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#dns_config Service#dns_config}
|
|
1417
1418
|
*/
|
|
1418
1419
|
readonly dnsConfig?: ServiceTaskSpecContainerSpecDnsConfig;
|
|
1419
1420
|
/**
|
|
1420
1421
|
* healthcheck block
|
|
1421
1422
|
*
|
|
1422
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1423
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#healthcheck Service#healthcheck}
|
|
1423
1424
|
*/
|
|
1424
1425
|
readonly healthcheck?: ServiceTaskSpecContainerSpecHealthcheck;
|
|
1425
1426
|
/**
|
|
1426
1427
|
* hosts block
|
|
1427
1428
|
*
|
|
1428
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1429
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#hosts Service#hosts}
|
|
1429
1430
|
*/
|
|
1430
1431
|
readonly hosts?: ServiceTaskSpecContainerSpecHosts[] | cdktn.IResolvable;
|
|
1431
1432
|
/**
|
|
1432
1433
|
* labels block
|
|
1433
1434
|
*
|
|
1434
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1435
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#labels Service#labels}
|
|
1435
1436
|
*/
|
|
1436
1437
|
readonly labels?: ServiceTaskSpecContainerSpecLabels[] | cdktn.IResolvable;
|
|
1437
1438
|
/**
|
|
1438
1439
|
* mounts block
|
|
1439
1440
|
*
|
|
1440
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1441
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#mounts Service#mounts}
|
|
1441
1442
|
*/
|
|
1442
1443
|
readonly mounts?: ServiceTaskSpecContainerSpecMounts[] | cdktn.IResolvable;
|
|
1443
1444
|
/**
|
|
1444
1445
|
* privileges block
|
|
1445
1446
|
*
|
|
1446
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1447
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#privileges Service#privileges}
|
|
1447
1448
|
*/
|
|
1448
1449
|
readonly privileges?: ServiceTaskSpecContainerSpecPrivileges;
|
|
1449
1450
|
/**
|
|
1450
1451
|
* secrets block
|
|
1451
1452
|
*
|
|
1452
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1453
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#secrets Service#secrets}
|
|
1453
1454
|
*/
|
|
1454
1455
|
readonly secrets?: ServiceTaskSpecContainerSpecSecrets[] | cdktn.IResolvable;
|
|
1455
1456
|
}
|
|
@@ -1595,13 +1596,13 @@ export interface ServiceTaskSpecLogDriver {
|
|
|
1595
1596
|
/**
|
|
1596
1597
|
* The logging driver to use
|
|
1597
1598
|
*
|
|
1598
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1599
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#name Service#name}
|
|
1599
1600
|
*/
|
|
1600
1601
|
readonly name: string;
|
|
1601
1602
|
/**
|
|
1602
1603
|
* The options for the logging driver
|
|
1603
1604
|
*
|
|
1604
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1605
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#options Service#options}
|
|
1605
1606
|
*/
|
|
1606
1607
|
readonly options?: {
|
|
1607
1608
|
[key: string]: string;
|
|
@@ -1638,19 +1639,19 @@ export interface ServiceTaskSpecNetworksAdvanced {
|
|
|
1638
1639
|
/**
|
|
1639
1640
|
* The network aliases of the container in the specific network.
|
|
1640
1641
|
*
|
|
1641
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1642
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#aliases Service#aliases}
|
|
1642
1643
|
*/
|
|
1643
1644
|
readonly aliases?: string[];
|
|
1644
1645
|
/**
|
|
1645
1646
|
* An array of driver options for the network, e.g. `opts1=value`
|
|
1646
1647
|
*
|
|
1647
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1648
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#driver_opts Service#driver_opts}
|
|
1648
1649
|
*/
|
|
1649
1650
|
readonly driverOpts?: string[];
|
|
1650
1651
|
/**
|
|
1651
1652
|
* The name/id of the network.
|
|
1652
1653
|
*
|
|
1653
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1654
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#name Service#name}
|
|
1654
1655
|
*/
|
|
1655
1656
|
readonly name: string;
|
|
1656
1657
|
}
|
|
@@ -1703,13 +1704,13 @@ export interface ServiceTaskSpecPlacementPlatforms {
|
|
|
1703
1704
|
/**
|
|
1704
1705
|
* The architecture, e.g. `amd64`
|
|
1705
1706
|
*
|
|
1706
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1707
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#architecture Service#architecture}
|
|
1707
1708
|
*/
|
|
1708
1709
|
readonly architecture: string;
|
|
1709
1710
|
/**
|
|
1710
1711
|
* The operation system, e.g. `linux`
|
|
1711
1712
|
*
|
|
1712
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1713
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#os Service#os}
|
|
1713
1714
|
*/
|
|
1714
1715
|
readonly os: string;
|
|
1715
1716
|
}
|
|
@@ -1756,25 +1757,25 @@ export interface ServiceTaskSpecPlacement {
|
|
|
1756
1757
|
/**
|
|
1757
1758
|
* An array of constraints. e.g.: `node.role==manager`
|
|
1758
1759
|
*
|
|
1759
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1760
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#constraints Service#constraints}
|
|
1760
1761
|
*/
|
|
1761
1762
|
readonly constraints?: string[];
|
|
1762
1763
|
/**
|
|
1763
1764
|
* Maximum number of replicas for per node (default value is `0`, which is unlimited)
|
|
1764
1765
|
*
|
|
1765
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1766
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#max_replicas Service#max_replicas}
|
|
1766
1767
|
*/
|
|
1767
1768
|
readonly maxReplicas?: number;
|
|
1768
1769
|
/**
|
|
1769
1770
|
* Preferences provide a way to make the scheduler aware of factors such as topology. They are provided in order from highest to lowest precedence, e.g.: `spread=node.role.manager`
|
|
1770
1771
|
*
|
|
1771
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1772
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#prefs Service#prefs}
|
|
1772
1773
|
*/
|
|
1773
1774
|
readonly prefs?: string[];
|
|
1774
1775
|
/**
|
|
1775
1776
|
* platforms block
|
|
1776
1777
|
*
|
|
1777
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1778
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#platforms Service#platforms}
|
|
1778
1779
|
*/
|
|
1779
1780
|
readonly platforms?: ServiceTaskSpecPlacementPlatforms[] | cdktn.IResolvable;
|
|
1780
1781
|
}
|
|
@@ -1814,13 +1815,13 @@ export interface ServiceTaskSpecResourcesLimits {
|
|
|
1814
1815
|
/**
|
|
1815
1816
|
* The amounf of memory in bytes the container allocates
|
|
1816
1817
|
*
|
|
1817
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1818
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#memory_bytes Service#memory_bytes}
|
|
1818
1819
|
*/
|
|
1819
1820
|
readonly memoryBytes?: number;
|
|
1820
1821
|
/**
|
|
1821
1822
|
* CPU shares in units of `1/1e9` (or `10^-9`) of the CPU. Should be at least `1000000`
|
|
1822
1823
|
*
|
|
1823
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1824
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#nano_cpus Service#nano_cpus}
|
|
1824
1825
|
*/
|
|
1825
1826
|
readonly nanoCpus?: number;
|
|
1826
1827
|
}
|
|
@@ -1850,13 +1851,13 @@ export interface ServiceTaskSpecResourcesReservationGenericResources {
|
|
|
1850
1851
|
/**
|
|
1851
1852
|
* The Integer resources
|
|
1852
1853
|
*
|
|
1853
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1854
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#discrete_resources_spec Service#discrete_resources_spec}
|
|
1854
1855
|
*/
|
|
1855
1856
|
readonly discreteResourcesSpec?: string[];
|
|
1856
1857
|
/**
|
|
1857
1858
|
* The String resources
|
|
1858
1859
|
*
|
|
1859
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1860
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#named_resources_spec Service#named_resources_spec}
|
|
1860
1861
|
*/
|
|
1861
1862
|
readonly namedResourcesSpec?: string[];
|
|
1862
1863
|
}
|
|
@@ -1886,19 +1887,19 @@ export interface ServiceTaskSpecResourcesReservation {
|
|
|
1886
1887
|
/**
|
|
1887
1888
|
* The amounf of memory in bytes the container allocates
|
|
1888
1889
|
*
|
|
1889
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1890
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#memory_bytes Service#memory_bytes}
|
|
1890
1891
|
*/
|
|
1891
1892
|
readonly memoryBytes?: number;
|
|
1892
1893
|
/**
|
|
1893
1894
|
* CPU shares in units of 1/1e9 (or 10^-9) of the CPU. Should be at least `1000000`
|
|
1894
1895
|
*
|
|
1895
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1896
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#nano_cpus Service#nano_cpus}
|
|
1896
1897
|
*/
|
|
1897
1898
|
readonly nanoCpus?: number;
|
|
1898
1899
|
/**
|
|
1899
1900
|
* generic_resources block
|
|
1900
1901
|
*
|
|
1901
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1902
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#generic_resources Service#generic_resources}
|
|
1902
1903
|
*/
|
|
1903
1904
|
readonly genericResources?: ServiceTaskSpecResourcesReservationGenericResources;
|
|
1904
1905
|
}
|
|
@@ -1933,13 +1934,13 @@ export interface ServiceTaskSpecResources {
|
|
|
1933
1934
|
/**
|
|
1934
1935
|
* limits block
|
|
1935
1936
|
*
|
|
1936
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1937
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#limits Service#limits}
|
|
1937
1938
|
*/
|
|
1938
1939
|
readonly limits?: ServiceTaskSpecResourcesLimits;
|
|
1939
1940
|
/**
|
|
1940
1941
|
* reservation block
|
|
1941
1942
|
*
|
|
1942
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1943
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#reservation Service#reservation}
|
|
1943
1944
|
*/
|
|
1944
1945
|
readonly reservation?: ServiceTaskSpecResourcesReservation;
|
|
1945
1946
|
}
|
|
@@ -1969,25 +1970,25 @@ export interface ServiceTaskSpecRestartPolicy {
|
|
|
1969
1970
|
/**
|
|
1970
1971
|
* Condition for restart
|
|
1971
1972
|
*
|
|
1972
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1973
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#condition Service#condition}
|
|
1973
1974
|
*/
|
|
1974
1975
|
readonly condition?: string;
|
|
1975
1976
|
/**
|
|
1976
1977
|
* Delay between restart attempts (ms|s|m|h)
|
|
1977
1978
|
*
|
|
1978
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1979
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#delay Service#delay}
|
|
1979
1980
|
*/
|
|
1980
1981
|
readonly delay?: string;
|
|
1981
1982
|
/**
|
|
1982
1983
|
* Maximum attempts to restart a given container before giving up (default value is `0`, which is ignored)
|
|
1983
1984
|
*
|
|
1984
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1985
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#max_attempts Service#max_attempts}
|
|
1985
1986
|
*/
|
|
1986
1987
|
readonly maxAttempts?: number;
|
|
1987
1988
|
/**
|
|
1988
1989
|
* The time window used to evaluate the restart policy (default value is `0`, which is unbounded) (ms|s|m|h)
|
|
1989
1990
|
*
|
|
1990
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1991
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#window Service#window}
|
|
1991
1992
|
*/
|
|
1992
1993
|
readonly window?: string;
|
|
1993
1994
|
}
|
|
@@ -2027,49 +2028,49 @@ export interface ServiceTaskSpec {
|
|
|
2027
2028
|
/**
|
|
2028
2029
|
* A counter that triggers an update even if no relevant parameters have been changed. See the [spec](https://github.com/docker/swarmkit/blob/master/api/specs.proto#L126).
|
|
2029
2030
|
*
|
|
2030
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
2031
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#force_update Service#force_update}
|
|
2031
2032
|
*/
|
|
2032
2033
|
readonly forceUpdate?: number;
|
|
2033
2034
|
/**
|
|
2034
2035
|
* Runtime is the type of runtime specified for the task executor. See the [types](https://github.com/moby/moby/blob/master/api/types/swarm/runtime.go).
|
|
2035
2036
|
*
|
|
2036
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
2037
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#runtime Service#runtime}
|
|
2037
2038
|
*/
|
|
2038
2039
|
readonly runtime?: string;
|
|
2039
2040
|
/**
|
|
2040
2041
|
* container_spec block
|
|
2041
2042
|
*
|
|
2042
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
2043
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#container_spec Service#container_spec}
|
|
2043
2044
|
*/
|
|
2044
2045
|
readonly containerSpec: ServiceTaskSpecContainerSpec;
|
|
2045
2046
|
/**
|
|
2046
2047
|
* log_driver block
|
|
2047
2048
|
*
|
|
2048
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
2049
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#log_driver Service#log_driver}
|
|
2049
2050
|
*/
|
|
2050
2051
|
readonly logDriver?: ServiceTaskSpecLogDriver;
|
|
2051
2052
|
/**
|
|
2052
2053
|
* networks_advanced block
|
|
2053
2054
|
*
|
|
2054
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
2055
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#networks_advanced Service#networks_advanced}
|
|
2055
2056
|
*/
|
|
2056
2057
|
readonly networksAdvanced?: ServiceTaskSpecNetworksAdvanced[] | cdktn.IResolvable;
|
|
2057
2058
|
/**
|
|
2058
2059
|
* placement block
|
|
2059
2060
|
*
|
|
2060
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
2061
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#placement Service#placement}
|
|
2061
2062
|
*/
|
|
2062
2063
|
readonly placement?: ServiceTaskSpecPlacement;
|
|
2063
2064
|
/**
|
|
2064
2065
|
* resources block
|
|
2065
2066
|
*
|
|
2066
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
2067
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#resources Service#resources}
|
|
2067
2068
|
*/
|
|
2068
2069
|
readonly resources?: ServiceTaskSpecResources;
|
|
2069
2070
|
/**
|
|
2070
2071
|
* restart_policy block
|
|
2071
2072
|
*
|
|
2072
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
2073
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#restart_policy Service#restart_policy}
|
|
2073
2074
|
*/
|
|
2074
2075
|
readonly restartPolicy?: ServiceTaskSpecRestartPolicy;
|
|
2075
2076
|
}
|
|
@@ -2128,37 +2129,37 @@ export interface ServiceUpdateConfig {
|
|
|
2128
2129
|
/**
|
|
2129
2130
|
* Delay between task updates `(ns|us|ms|s|m|h)`. Defaults to `0s`.
|
|
2130
2131
|
*
|
|
2131
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
2132
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#delay Service#delay}
|
|
2132
2133
|
*/
|
|
2133
2134
|
readonly delay?: string;
|
|
2134
2135
|
/**
|
|
2135
2136
|
* Action on update failure: `pause`, `continue` or `rollback`. Defaults to `pause`.
|
|
2136
2137
|
*
|
|
2137
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
2138
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#failure_action Service#failure_action}
|
|
2138
2139
|
*/
|
|
2139
2140
|
readonly failureAction?: string;
|
|
2140
2141
|
/**
|
|
2141
2142
|
* Failure rate to tolerate during an update. Defaults to `0.0`.
|
|
2142
2143
|
*
|
|
2143
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
2144
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#max_failure_ratio Service#max_failure_ratio}
|
|
2144
2145
|
*/
|
|
2145
2146
|
readonly maxFailureRatio?: string;
|
|
2146
2147
|
/**
|
|
2147
2148
|
* Duration after each task update to monitor for failure (ns|us|ms|s|m|h). Defaults to `5s`.
|
|
2148
2149
|
*
|
|
2149
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
2150
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#monitor Service#monitor}
|
|
2150
2151
|
*/
|
|
2151
2152
|
readonly monitor?: string;
|
|
2152
2153
|
/**
|
|
2153
2154
|
* Update order: either 'stop-first' or 'start-first'. Defaults to `stop-first`.
|
|
2154
2155
|
*
|
|
2155
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
2156
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#order Service#order}
|
|
2156
2157
|
*/
|
|
2157
2158
|
readonly order?: string;
|
|
2158
2159
|
/**
|
|
2159
2160
|
* Maximum number of tasks to be updated in one iteration. Defaults to `1`
|
|
2160
2161
|
*
|
|
2161
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
2162
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#parallelism Service#parallelism}
|
|
2162
2163
|
*/
|
|
2163
2164
|
readonly parallelism?: number;
|
|
2164
2165
|
}
|
|
@@ -2205,7 +2206,7 @@ export declare class ServiceUpdateConfigOutputReference extends cdktn.ComplexObj
|
|
|
2205
2206
|
get parallelismInput(): number | undefined;
|
|
2206
2207
|
}
|
|
2207
2208
|
/**
|
|
2208
|
-
* Represents a {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
2209
|
+
* Represents a {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service docker_service}
|
|
2209
2210
|
*/
|
|
2210
2211
|
export declare class Service extends cdktn.TerraformResource {
|
|
2211
2212
|
static readonly tfResourceType = "docker_service";
|
|
@@ -2213,12 +2214,12 @@ export declare class Service extends cdktn.TerraformResource {
|
|
|
2213
2214
|
* Generates CDKTN code for importing a Service resource upon running "cdktn plan <stack-name>"
|
|
2214
2215
|
* @param scope The scope in which to define this construct
|
|
2215
2216
|
* @param importToId The construct id used in the generated config for the Service to import
|
|
2216
|
-
* @param importFromId The id of the existing Service that should be imported. Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
2217
|
+
* @param importFromId The id of the existing Service that should be imported. Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service#import import section} in the documentation of this resource for the id to use
|
|
2217
2218
|
* @param provider? Optional instance of the provider where the Service to import is found
|
|
2218
2219
|
*/
|
|
2219
2220
|
static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktn.TerraformProvider): cdktn.ImportableResource;
|
|
2220
2221
|
/**
|
|
2221
|
-
* Create a new {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
2222
|
+
* Create a new {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/service docker_service} Resource
|
|
2222
2223
|
*
|
|
2223
2224
|
* @param scope The scope in which to define this construct
|
|
2224
2225
|
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|