@cdktn/provider-docker 12.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/.eslintrc.json +230 -0
- package/.jsii +46911 -0
- package/LICENSE +355 -0
- package/README.md +94 -0
- package/lib/buildx-builder/index.d.ts +764 -0
- package/lib/buildx-builder/index.js +1791 -0
- package/lib/config/index.d.ts +68 -0
- package/lib/config/index.js +129 -0
- package/lib/container/index.d.ts +1845 -0
- package/lib/container/index.js +4085 -0
- package/lib/data-docker-image/index.d.ts +59 -0
- package/lib/data-docker-image/index.js +115 -0
- package/lib/data-docker-logs/index.d.ts +153 -0
- package/lib/data-docker-logs/index.js +325 -0
- package/lib/data-docker-network/index.d.ts +90 -0
- package/lib/data-docker-network/index.js +207 -0
- package/lib/data-docker-plugin/index.d.ts +66 -0
- package/lib/data-docker-plugin/index.js +134 -0
- package/lib/data-docker-registry-image/index.d.ts +70 -0
- package/lib/data-docker-registry-image/index.js +136 -0
- package/lib/data-docker-registry-image-manifests/index.d.ts +161 -0
- package/lib/data-docker-registry-image-manifests/index.js +366 -0
- package/lib/image/index.d.ts +871 -0
- package/lib/image/index.js +2003 -0
- package/lib/index.d.ts +22 -0
- package/lib/index.js +27 -0
- package/lib/lazy-index.d.ts +4 -0
- package/lib/lazy-index.js +25 -0
- package/lib/network/index.d.ts +334 -0
- package/lib/network/index.js +666 -0
- package/lib/plugin/index.d.ts +200 -0
- package/lib/plugin/index.js +414 -0
- package/lib/provider/index.d.ts +186 -0
- package/lib/provider/index.js +342 -0
- package/lib/registry-image/index.d.ts +155 -0
- package/lib/registry-image/index.js +320 -0
- package/lib/secret/index.d.ts +132 -0
- package/lib/secret/index.js +281 -0
- package/lib/service/index.d.ts +2282 -0
- package/lib/service/index.js +5760 -0
- package/lib/tag/index.d.ts +80 -0
- package/lib/tag/index.js +154 -0
- package/lib/volume/index.d.ts +154 -0
- package/lib/volume/index.js +312 -0
- package/package.json +152 -0
- package/tsconfig.eslint.json +34 -0
|
@@ -0,0 +1,2282 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) HashiCorp, Inc.
|
|
3
|
+
* SPDX-License-Identifier: MPL-2.0
|
|
4
|
+
*/
|
|
5
|
+
import { Construct } from 'constructs';
|
|
6
|
+
import * as cdktf from 'cdktf';
|
|
7
|
+
export interface ServiceConfig extends cdktf.TerraformMetaArguments {
|
|
8
|
+
/**
|
|
9
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#id Service#id}
|
|
10
|
+
*
|
|
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
|
+
* 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.
|
|
13
|
+
*/
|
|
14
|
+
readonly id?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Name of the service
|
|
17
|
+
*
|
|
18
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#name Service#name}
|
|
19
|
+
*/
|
|
20
|
+
readonly name: string;
|
|
21
|
+
/**
|
|
22
|
+
* auth block
|
|
23
|
+
*
|
|
24
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#auth Service#auth}
|
|
25
|
+
*/
|
|
26
|
+
readonly auth?: ServiceAuth;
|
|
27
|
+
/**
|
|
28
|
+
* converge_config block
|
|
29
|
+
*
|
|
30
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#converge_config Service#converge_config}
|
|
31
|
+
*/
|
|
32
|
+
readonly convergeConfig?: ServiceConvergeConfig;
|
|
33
|
+
/**
|
|
34
|
+
* endpoint_spec block
|
|
35
|
+
*
|
|
36
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#endpoint_spec Service#endpoint_spec}
|
|
37
|
+
*/
|
|
38
|
+
readonly endpointSpec?: ServiceEndpointSpec;
|
|
39
|
+
/**
|
|
40
|
+
* labels block
|
|
41
|
+
*
|
|
42
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#labels Service#labels}
|
|
43
|
+
*/
|
|
44
|
+
readonly labels?: ServiceLabels[] | cdktf.IResolvable;
|
|
45
|
+
/**
|
|
46
|
+
* mode block
|
|
47
|
+
*
|
|
48
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#mode Service#mode}
|
|
49
|
+
*/
|
|
50
|
+
readonly mode?: ServiceMode;
|
|
51
|
+
/**
|
|
52
|
+
* rollback_config block
|
|
53
|
+
*
|
|
54
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#rollback_config Service#rollback_config}
|
|
55
|
+
*/
|
|
56
|
+
readonly rollbackConfig?: ServiceRollbackConfig;
|
|
57
|
+
/**
|
|
58
|
+
* task_spec block
|
|
59
|
+
*
|
|
60
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#task_spec Service#task_spec}
|
|
61
|
+
*/
|
|
62
|
+
readonly taskSpec: ServiceTaskSpec;
|
|
63
|
+
/**
|
|
64
|
+
* update_config block
|
|
65
|
+
*
|
|
66
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#update_config Service#update_config}
|
|
67
|
+
*/
|
|
68
|
+
readonly updateConfig?: ServiceUpdateConfig;
|
|
69
|
+
}
|
|
70
|
+
export interface ServiceAuth {
|
|
71
|
+
/**
|
|
72
|
+
* The password
|
|
73
|
+
*
|
|
74
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#password Service#password}
|
|
75
|
+
*/
|
|
76
|
+
readonly password?: string;
|
|
77
|
+
/**
|
|
78
|
+
* The address of the server for the authentication
|
|
79
|
+
*
|
|
80
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#server_address Service#server_address}
|
|
81
|
+
*/
|
|
82
|
+
readonly serverAddress: string;
|
|
83
|
+
/**
|
|
84
|
+
* The username
|
|
85
|
+
*
|
|
86
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#username Service#username}
|
|
87
|
+
*/
|
|
88
|
+
readonly username?: string;
|
|
89
|
+
}
|
|
90
|
+
export declare function serviceAuthToTerraform(struct?: ServiceAuthOutputReference | ServiceAuth): any;
|
|
91
|
+
export declare function serviceAuthToHclTerraform(struct?: ServiceAuthOutputReference | ServiceAuth): any;
|
|
92
|
+
export declare class ServiceAuthOutputReference extends cdktf.ComplexObject {
|
|
93
|
+
private isEmptyObject;
|
|
94
|
+
/**
|
|
95
|
+
* @param terraformResource The parent resource
|
|
96
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
97
|
+
*/
|
|
98
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
|
|
99
|
+
get internalValue(): ServiceAuth | undefined;
|
|
100
|
+
set internalValue(value: ServiceAuth | undefined);
|
|
101
|
+
private _password?;
|
|
102
|
+
get password(): string;
|
|
103
|
+
set password(value: string);
|
|
104
|
+
resetPassword(): void;
|
|
105
|
+
get passwordInput(): string | undefined;
|
|
106
|
+
private _serverAddress?;
|
|
107
|
+
get serverAddress(): string;
|
|
108
|
+
set serverAddress(value: string);
|
|
109
|
+
get serverAddressInput(): string | undefined;
|
|
110
|
+
private _username?;
|
|
111
|
+
get username(): string;
|
|
112
|
+
set username(value: string);
|
|
113
|
+
resetUsername(): void;
|
|
114
|
+
get usernameInput(): string | undefined;
|
|
115
|
+
}
|
|
116
|
+
export interface ServiceConvergeConfig {
|
|
117
|
+
/**
|
|
118
|
+
* The interval to check if the desired state is reached `(ms|s)`. Defaults to `7s`.
|
|
119
|
+
*
|
|
120
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#delay Service#delay}
|
|
121
|
+
*/
|
|
122
|
+
readonly delay?: string;
|
|
123
|
+
/**
|
|
124
|
+
* The timeout of the service to reach the desired state `(s|m)`. Defaults to `3m`
|
|
125
|
+
*
|
|
126
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#timeout Service#timeout}
|
|
127
|
+
*/
|
|
128
|
+
readonly timeout?: string;
|
|
129
|
+
}
|
|
130
|
+
export declare function serviceConvergeConfigToTerraform(struct?: ServiceConvergeConfigOutputReference | ServiceConvergeConfig): any;
|
|
131
|
+
export declare function serviceConvergeConfigToHclTerraform(struct?: ServiceConvergeConfigOutputReference | ServiceConvergeConfig): any;
|
|
132
|
+
export declare class ServiceConvergeConfigOutputReference extends cdktf.ComplexObject {
|
|
133
|
+
private isEmptyObject;
|
|
134
|
+
/**
|
|
135
|
+
* @param terraformResource The parent resource
|
|
136
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
137
|
+
*/
|
|
138
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
|
|
139
|
+
get internalValue(): ServiceConvergeConfig | undefined;
|
|
140
|
+
set internalValue(value: ServiceConvergeConfig | undefined);
|
|
141
|
+
private _delay?;
|
|
142
|
+
get delay(): string;
|
|
143
|
+
set delay(value: string);
|
|
144
|
+
resetDelay(): void;
|
|
145
|
+
get delayInput(): string | undefined;
|
|
146
|
+
private _timeout?;
|
|
147
|
+
get timeout(): string;
|
|
148
|
+
set timeout(value: string);
|
|
149
|
+
resetTimeout(): void;
|
|
150
|
+
get timeoutInput(): string | undefined;
|
|
151
|
+
}
|
|
152
|
+
export interface ServiceEndpointSpecPorts {
|
|
153
|
+
/**
|
|
154
|
+
* A random name for the port
|
|
155
|
+
*
|
|
156
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#name Service#name}
|
|
157
|
+
*/
|
|
158
|
+
readonly name?: string;
|
|
159
|
+
/**
|
|
160
|
+
* Rrepresents the protocol of a port: `tcp`, `udp` or `sctp`. Defaults to `tcp`.
|
|
161
|
+
*
|
|
162
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#protocol Service#protocol}
|
|
163
|
+
*/
|
|
164
|
+
readonly protocol?: string;
|
|
165
|
+
/**
|
|
166
|
+
* Represents the mode in which the port is to be published: 'ingress' or 'host'. Defaults to `ingress`.
|
|
167
|
+
*
|
|
168
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#publish_mode Service#publish_mode}
|
|
169
|
+
*/
|
|
170
|
+
readonly publishMode?: string;
|
|
171
|
+
/**
|
|
172
|
+
* The port on the swarm hosts
|
|
173
|
+
*
|
|
174
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#published_port Service#published_port}
|
|
175
|
+
*/
|
|
176
|
+
readonly publishedPort?: number;
|
|
177
|
+
/**
|
|
178
|
+
* The port inside the container
|
|
179
|
+
*
|
|
180
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#target_port Service#target_port}
|
|
181
|
+
*/
|
|
182
|
+
readonly targetPort: number;
|
|
183
|
+
}
|
|
184
|
+
export declare function serviceEndpointSpecPortsToTerraform(struct?: ServiceEndpointSpecPorts | cdktf.IResolvable): any;
|
|
185
|
+
export declare function serviceEndpointSpecPortsToHclTerraform(struct?: ServiceEndpointSpecPorts | cdktf.IResolvable): any;
|
|
186
|
+
export declare class ServiceEndpointSpecPortsOutputReference extends cdktf.ComplexObject {
|
|
187
|
+
private isEmptyObject;
|
|
188
|
+
private resolvableValue?;
|
|
189
|
+
/**
|
|
190
|
+
* @param terraformResource The parent resource
|
|
191
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
192
|
+
* @param complexObjectIndex the index of this item in the list
|
|
193
|
+
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
194
|
+
*/
|
|
195
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
|
|
196
|
+
get internalValue(): ServiceEndpointSpecPorts | cdktf.IResolvable | undefined;
|
|
197
|
+
set internalValue(value: ServiceEndpointSpecPorts | cdktf.IResolvable | undefined);
|
|
198
|
+
private _name?;
|
|
199
|
+
get name(): string;
|
|
200
|
+
set name(value: string);
|
|
201
|
+
resetName(): void;
|
|
202
|
+
get nameInput(): string | undefined;
|
|
203
|
+
private _protocol?;
|
|
204
|
+
get protocol(): string;
|
|
205
|
+
set protocol(value: string);
|
|
206
|
+
resetProtocol(): void;
|
|
207
|
+
get protocolInput(): string | undefined;
|
|
208
|
+
private _publishMode?;
|
|
209
|
+
get publishMode(): string;
|
|
210
|
+
set publishMode(value: string);
|
|
211
|
+
resetPublishMode(): void;
|
|
212
|
+
get publishModeInput(): string | undefined;
|
|
213
|
+
private _publishedPort?;
|
|
214
|
+
get publishedPort(): number;
|
|
215
|
+
set publishedPort(value: number);
|
|
216
|
+
resetPublishedPort(): void;
|
|
217
|
+
get publishedPortInput(): number | undefined;
|
|
218
|
+
private _targetPort?;
|
|
219
|
+
get targetPort(): number;
|
|
220
|
+
set targetPort(value: number);
|
|
221
|
+
get targetPortInput(): number | undefined;
|
|
222
|
+
}
|
|
223
|
+
export declare class ServiceEndpointSpecPortsList extends cdktf.ComplexList {
|
|
224
|
+
protected terraformResource: cdktf.IInterpolatingParent;
|
|
225
|
+
protected terraformAttribute: string;
|
|
226
|
+
protected wrapsSet: boolean;
|
|
227
|
+
internalValue?: ServiceEndpointSpecPorts[] | cdktf.IResolvable;
|
|
228
|
+
/**
|
|
229
|
+
* @param terraformResource The parent resource
|
|
230
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
231
|
+
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
232
|
+
*/
|
|
233
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
|
|
234
|
+
/**
|
|
235
|
+
* @param index the index of the item to return
|
|
236
|
+
*/
|
|
237
|
+
get(index: number): ServiceEndpointSpecPortsOutputReference;
|
|
238
|
+
}
|
|
239
|
+
export interface ServiceEndpointSpec {
|
|
240
|
+
/**
|
|
241
|
+
* The mode of resolution to use for internal load balancing between tasks
|
|
242
|
+
*
|
|
243
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#mode Service#mode}
|
|
244
|
+
*/
|
|
245
|
+
readonly mode?: string;
|
|
246
|
+
/**
|
|
247
|
+
* ports block
|
|
248
|
+
*
|
|
249
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#ports Service#ports}
|
|
250
|
+
*/
|
|
251
|
+
readonly ports?: ServiceEndpointSpecPorts[] | cdktf.IResolvable;
|
|
252
|
+
}
|
|
253
|
+
export declare function serviceEndpointSpecToTerraform(struct?: ServiceEndpointSpecOutputReference | ServiceEndpointSpec): any;
|
|
254
|
+
export declare function serviceEndpointSpecToHclTerraform(struct?: ServiceEndpointSpecOutputReference | ServiceEndpointSpec): any;
|
|
255
|
+
export declare class ServiceEndpointSpecOutputReference extends cdktf.ComplexObject {
|
|
256
|
+
private isEmptyObject;
|
|
257
|
+
/**
|
|
258
|
+
* @param terraformResource The parent resource
|
|
259
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
260
|
+
*/
|
|
261
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
|
|
262
|
+
get internalValue(): ServiceEndpointSpec | undefined;
|
|
263
|
+
set internalValue(value: ServiceEndpointSpec | undefined);
|
|
264
|
+
private _mode?;
|
|
265
|
+
get mode(): string;
|
|
266
|
+
set mode(value: string);
|
|
267
|
+
resetMode(): void;
|
|
268
|
+
get modeInput(): string | undefined;
|
|
269
|
+
private _ports;
|
|
270
|
+
get ports(): ServiceEndpointSpecPortsList;
|
|
271
|
+
putPorts(value: ServiceEndpointSpecPorts[] | cdktf.IResolvable): void;
|
|
272
|
+
resetPorts(): void;
|
|
273
|
+
get portsInput(): cdktf.IResolvable | ServiceEndpointSpecPorts[] | undefined;
|
|
274
|
+
}
|
|
275
|
+
export interface ServiceLabels {
|
|
276
|
+
/**
|
|
277
|
+
* Name of the label
|
|
278
|
+
*
|
|
279
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#label Service#label}
|
|
280
|
+
*/
|
|
281
|
+
readonly label: string;
|
|
282
|
+
/**
|
|
283
|
+
* Value of the label
|
|
284
|
+
*
|
|
285
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#value Service#value}
|
|
286
|
+
*/
|
|
287
|
+
readonly value: string;
|
|
288
|
+
}
|
|
289
|
+
export declare function serviceLabelsToTerraform(struct?: ServiceLabels | cdktf.IResolvable): any;
|
|
290
|
+
export declare function serviceLabelsToHclTerraform(struct?: ServiceLabels | cdktf.IResolvable): any;
|
|
291
|
+
export declare class ServiceLabelsOutputReference extends cdktf.ComplexObject {
|
|
292
|
+
private isEmptyObject;
|
|
293
|
+
private resolvableValue?;
|
|
294
|
+
/**
|
|
295
|
+
* @param terraformResource The parent resource
|
|
296
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
297
|
+
* @param complexObjectIndex the index of this item in the list
|
|
298
|
+
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
299
|
+
*/
|
|
300
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
|
|
301
|
+
get internalValue(): ServiceLabels | cdktf.IResolvable | undefined;
|
|
302
|
+
set internalValue(value: ServiceLabels | cdktf.IResolvable | undefined);
|
|
303
|
+
private _label?;
|
|
304
|
+
get label(): string;
|
|
305
|
+
set label(value: string);
|
|
306
|
+
get labelInput(): string | undefined;
|
|
307
|
+
private _value?;
|
|
308
|
+
get value(): string;
|
|
309
|
+
set value(value: string);
|
|
310
|
+
get valueInput(): string | undefined;
|
|
311
|
+
}
|
|
312
|
+
export declare class ServiceLabelsList extends cdktf.ComplexList {
|
|
313
|
+
protected terraformResource: cdktf.IInterpolatingParent;
|
|
314
|
+
protected terraformAttribute: string;
|
|
315
|
+
protected wrapsSet: boolean;
|
|
316
|
+
internalValue?: ServiceLabels[] | cdktf.IResolvable;
|
|
317
|
+
/**
|
|
318
|
+
* @param terraformResource The parent resource
|
|
319
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
320
|
+
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
321
|
+
*/
|
|
322
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
|
|
323
|
+
/**
|
|
324
|
+
* @param index the index of the item to return
|
|
325
|
+
*/
|
|
326
|
+
get(index: number): ServiceLabelsOutputReference;
|
|
327
|
+
}
|
|
328
|
+
export interface ServiceModeReplicated {
|
|
329
|
+
/**
|
|
330
|
+
* The amount of replicas of the service. Defaults to `1`
|
|
331
|
+
*
|
|
332
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#replicas Service#replicas}
|
|
333
|
+
*/
|
|
334
|
+
readonly replicas?: number;
|
|
335
|
+
}
|
|
336
|
+
export declare function serviceModeReplicatedToTerraform(struct?: ServiceModeReplicatedOutputReference | ServiceModeReplicated): any;
|
|
337
|
+
export declare function serviceModeReplicatedToHclTerraform(struct?: ServiceModeReplicatedOutputReference | ServiceModeReplicated): any;
|
|
338
|
+
export declare class ServiceModeReplicatedOutputReference extends cdktf.ComplexObject {
|
|
339
|
+
private isEmptyObject;
|
|
340
|
+
/**
|
|
341
|
+
* @param terraformResource The parent resource
|
|
342
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
343
|
+
*/
|
|
344
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
|
|
345
|
+
get internalValue(): ServiceModeReplicated | undefined;
|
|
346
|
+
set internalValue(value: ServiceModeReplicated | undefined);
|
|
347
|
+
private _replicas?;
|
|
348
|
+
get replicas(): number;
|
|
349
|
+
set replicas(value: number);
|
|
350
|
+
resetReplicas(): void;
|
|
351
|
+
get replicasInput(): number | undefined;
|
|
352
|
+
}
|
|
353
|
+
export interface ServiceMode {
|
|
354
|
+
/**
|
|
355
|
+
* The global service mode. Defaults to `false`
|
|
356
|
+
*
|
|
357
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#global Service#global}
|
|
358
|
+
*/
|
|
359
|
+
readonly global?: boolean | cdktf.IResolvable;
|
|
360
|
+
/**
|
|
361
|
+
* replicated block
|
|
362
|
+
*
|
|
363
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#replicated Service#replicated}
|
|
364
|
+
*/
|
|
365
|
+
readonly replicated?: ServiceModeReplicated;
|
|
366
|
+
}
|
|
367
|
+
export declare function serviceModeToTerraform(struct?: ServiceModeOutputReference | ServiceMode): any;
|
|
368
|
+
export declare function serviceModeToHclTerraform(struct?: ServiceModeOutputReference | ServiceMode): any;
|
|
369
|
+
export declare class ServiceModeOutputReference extends cdktf.ComplexObject {
|
|
370
|
+
private isEmptyObject;
|
|
371
|
+
/**
|
|
372
|
+
* @param terraformResource The parent resource
|
|
373
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
374
|
+
*/
|
|
375
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
|
|
376
|
+
get internalValue(): ServiceMode | undefined;
|
|
377
|
+
set internalValue(value: ServiceMode | undefined);
|
|
378
|
+
private _global?;
|
|
379
|
+
get global(): boolean | cdktf.IResolvable;
|
|
380
|
+
set global(value: boolean | cdktf.IResolvable);
|
|
381
|
+
resetGlobal(): void;
|
|
382
|
+
get globalInput(): boolean | cdktf.IResolvable | undefined;
|
|
383
|
+
private _replicated;
|
|
384
|
+
get replicated(): ServiceModeReplicatedOutputReference;
|
|
385
|
+
putReplicated(value: ServiceModeReplicated): void;
|
|
386
|
+
resetReplicated(): void;
|
|
387
|
+
get replicatedInput(): ServiceModeReplicated | undefined;
|
|
388
|
+
}
|
|
389
|
+
export interface ServiceRollbackConfig {
|
|
390
|
+
/**
|
|
391
|
+
* Delay between task rollbacks (ns|us|ms|s|m|h). Defaults to `0s`.
|
|
392
|
+
*
|
|
393
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#delay Service#delay}
|
|
394
|
+
*/
|
|
395
|
+
readonly delay?: string;
|
|
396
|
+
/**
|
|
397
|
+
* Action on rollback failure: pause | continue. Defaults to `pause`.
|
|
398
|
+
*
|
|
399
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#failure_action Service#failure_action}
|
|
400
|
+
*/
|
|
401
|
+
readonly failureAction?: string;
|
|
402
|
+
/**
|
|
403
|
+
* Failure rate to tolerate during a rollback. Defaults to `0.0`.
|
|
404
|
+
*
|
|
405
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#max_failure_ratio Service#max_failure_ratio}
|
|
406
|
+
*/
|
|
407
|
+
readonly maxFailureRatio?: string;
|
|
408
|
+
/**
|
|
409
|
+
* Duration after each task rollback to monitor for failure (ns|us|ms|s|m|h). Defaults to `5s`.
|
|
410
|
+
*
|
|
411
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#monitor Service#monitor}
|
|
412
|
+
*/
|
|
413
|
+
readonly monitor?: string;
|
|
414
|
+
/**
|
|
415
|
+
* Rollback order: either 'stop-first' or 'start-first'. Defaults to `stop-first`.
|
|
416
|
+
*
|
|
417
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#order Service#order}
|
|
418
|
+
*/
|
|
419
|
+
readonly order?: string;
|
|
420
|
+
/**
|
|
421
|
+
* Maximum number of tasks to be rollbacked in one iteration. Defaults to `1`
|
|
422
|
+
*
|
|
423
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#parallelism Service#parallelism}
|
|
424
|
+
*/
|
|
425
|
+
readonly parallelism?: number;
|
|
426
|
+
}
|
|
427
|
+
export declare function serviceRollbackConfigToTerraform(struct?: ServiceRollbackConfigOutputReference | ServiceRollbackConfig): any;
|
|
428
|
+
export declare function serviceRollbackConfigToHclTerraform(struct?: ServiceRollbackConfigOutputReference | ServiceRollbackConfig): any;
|
|
429
|
+
export declare class ServiceRollbackConfigOutputReference extends cdktf.ComplexObject {
|
|
430
|
+
private isEmptyObject;
|
|
431
|
+
/**
|
|
432
|
+
* @param terraformResource The parent resource
|
|
433
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
434
|
+
*/
|
|
435
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
|
|
436
|
+
get internalValue(): ServiceRollbackConfig | undefined;
|
|
437
|
+
set internalValue(value: ServiceRollbackConfig | undefined);
|
|
438
|
+
private _delay?;
|
|
439
|
+
get delay(): string;
|
|
440
|
+
set delay(value: string);
|
|
441
|
+
resetDelay(): void;
|
|
442
|
+
get delayInput(): string | undefined;
|
|
443
|
+
private _failureAction?;
|
|
444
|
+
get failureAction(): string;
|
|
445
|
+
set failureAction(value: string);
|
|
446
|
+
resetFailureAction(): void;
|
|
447
|
+
get failureActionInput(): string | undefined;
|
|
448
|
+
private _maxFailureRatio?;
|
|
449
|
+
get maxFailureRatio(): string;
|
|
450
|
+
set maxFailureRatio(value: string);
|
|
451
|
+
resetMaxFailureRatio(): void;
|
|
452
|
+
get maxFailureRatioInput(): string | undefined;
|
|
453
|
+
private _monitor?;
|
|
454
|
+
get monitor(): string;
|
|
455
|
+
set monitor(value: string);
|
|
456
|
+
resetMonitor(): void;
|
|
457
|
+
get monitorInput(): string | undefined;
|
|
458
|
+
private _order?;
|
|
459
|
+
get order(): string;
|
|
460
|
+
set order(value: string);
|
|
461
|
+
resetOrder(): void;
|
|
462
|
+
get orderInput(): string | undefined;
|
|
463
|
+
private _parallelism?;
|
|
464
|
+
get parallelism(): number;
|
|
465
|
+
set parallelism(value: number);
|
|
466
|
+
resetParallelism(): void;
|
|
467
|
+
get parallelismInput(): number | undefined;
|
|
468
|
+
}
|
|
469
|
+
export interface ServiceTaskSpecContainerSpecConfigs {
|
|
470
|
+
/**
|
|
471
|
+
* ID of the specific config that we're referencing
|
|
472
|
+
*
|
|
473
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#config_id Service#config_id}
|
|
474
|
+
*/
|
|
475
|
+
readonly configId: string;
|
|
476
|
+
/**
|
|
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
|
+
*
|
|
479
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#config_name Service#config_name}
|
|
480
|
+
*/
|
|
481
|
+
readonly configName?: string;
|
|
482
|
+
/**
|
|
483
|
+
* Represents the file GID. Defaults to `0`.
|
|
484
|
+
*
|
|
485
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#file_gid Service#file_gid}
|
|
486
|
+
*/
|
|
487
|
+
readonly fileGid?: string;
|
|
488
|
+
/**
|
|
489
|
+
* Represents represents the FileMode of the file. Defaults to `0o444`.
|
|
490
|
+
*
|
|
491
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#file_mode Service#file_mode}
|
|
492
|
+
*/
|
|
493
|
+
readonly fileMode?: number;
|
|
494
|
+
/**
|
|
495
|
+
* Represents the final filename in the filesystem
|
|
496
|
+
*
|
|
497
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#file_name Service#file_name}
|
|
498
|
+
*/
|
|
499
|
+
readonly fileName: string;
|
|
500
|
+
/**
|
|
501
|
+
* Represents the file UID. Defaults to `0`.
|
|
502
|
+
*
|
|
503
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#file_uid Service#file_uid}
|
|
504
|
+
*/
|
|
505
|
+
readonly fileUid?: string;
|
|
506
|
+
}
|
|
507
|
+
export declare function serviceTaskSpecContainerSpecConfigsToTerraform(struct?: ServiceTaskSpecContainerSpecConfigs | cdktf.IResolvable): any;
|
|
508
|
+
export declare function serviceTaskSpecContainerSpecConfigsToHclTerraform(struct?: ServiceTaskSpecContainerSpecConfigs | cdktf.IResolvable): any;
|
|
509
|
+
export declare class ServiceTaskSpecContainerSpecConfigsOutputReference extends cdktf.ComplexObject {
|
|
510
|
+
private isEmptyObject;
|
|
511
|
+
private resolvableValue?;
|
|
512
|
+
/**
|
|
513
|
+
* @param terraformResource The parent resource
|
|
514
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
515
|
+
* @param complexObjectIndex the index of this item in the list
|
|
516
|
+
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
517
|
+
*/
|
|
518
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
|
|
519
|
+
get internalValue(): ServiceTaskSpecContainerSpecConfigs | cdktf.IResolvable | undefined;
|
|
520
|
+
set internalValue(value: ServiceTaskSpecContainerSpecConfigs | cdktf.IResolvable | undefined);
|
|
521
|
+
private _configId?;
|
|
522
|
+
get configId(): string;
|
|
523
|
+
set configId(value: string);
|
|
524
|
+
get configIdInput(): string | undefined;
|
|
525
|
+
private _configName?;
|
|
526
|
+
get configName(): string;
|
|
527
|
+
set configName(value: string);
|
|
528
|
+
resetConfigName(): void;
|
|
529
|
+
get configNameInput(): string | undefined;
|
|
530
|
+
private _fileGid?;
|
|
531
|
+
get fileGid(): string;
|
|
532
|
+
set fileGid(value: string);
|
|
533
|
+
resetFileGid(): void;
|
|
534
|
+
get fileGidInput(): string | undefined;
|
|
535
|
+
private _fileMode?;
|
|
536
|
+
get fileMode(): number;
|
|
537
|
+
set fileMode(value: number);
|
|
538
|
+
resetFileMode(): void;
|
|
539
|
+
get fileModeInput(): number | undefined;
|
|
540
|
+
private _fileName?;
|
|
541
|
+
get fileName(): string;
|
|
542
|
+
set fileName(value: string);
|
|
543
|
+
get fileNameInput(): string | undefined;
|
|
544
|
+
private _fileUid?;
|
|
545
|
+
get fileUid(): string;
|
|
546
|
+
set fileUid(value: string);
|
|
547
|
+
resetFileUid(): void;
|
|
548
|
+
get fileUidInput(): string | undefined;
|
|
549
|
+
}
|
|
550
|
+
export declare class ServiceTaskSpecContainerSpecConfigsList extends cdktf.ComplexList {
|
|
551
|
+
protected terraformResource: cdktf.IInterpolatingParent;
|
|
552
|
+
protected terraformAttribute: string;
|
|
553
|
+
protected wrapsSet: boolean;
|
|
554
|
+
internalValue?: ServiceTaskSpecContainerSpecConfigs[] | cdktf.IResolvable;
|
|
555
|
+
/**
|
|
556
|
+
* @param terraformResource The parent resource
|
|
557
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
558
|
+
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
559
|
+
*/
|
|
560
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
|
|
561
|
+
/**
|
|
562
|
+
* @param index the index of the item to return
|
|
563
|
+
*/
|
|
564
|
+
get(index: number): ServiceTaskSpecContainerSpecConfigsOutputReference;
|
|
565
|
+
}
|
|
566
|
+
export interface ServiceTaskSpecContainerSpecDnsConfig {
|
|
567
|
+
/**
|
|
568
|
+
* The IP addresses of the name servers
|
|
569
|
+
*
|
|
570
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#nameservers Service#nameservers}
|
|
571
|
+
*/
|
|
572
|
+
readonly nameservers: string[];
|
|
573
|
+
/**
|
|
574
|
+
* A list of internal resolver variables to be modified (e.g., `debug`, `ndots:3`, etc.)
|
|
575
|
+
*
|
|
576
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#options Service#options}
|
|
577
|
+
*/
|
|
578
|
+
readonly options?: string[];
|
|
579
|
+
/**
|
|
580
|
+
* A search list for host-name lookup
|
|
581
|
+
*
|
|
582
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#search Service#search}
|
|
583
|
+
*/
|
|
584
|
+
readonly search?: string[];
|
|
585
|
+
}
|
|
586
|
+
export declare function serviceTaskSpecContainerSpecDnsConfigToTerraform(struct?: ServiceTaskSpecContainerSpecDnsConfigOutputReference | ServiceTaskSpecContainerSpecDnsConfig): any;
|
|
587
|
+
export declare function serviceTaskSpecContainerSpecDnsConfigToHclTerraform(struct?: ServiceTaskSpecContainerSpecDnsConfigOutputReference | ServiceTaskSpecContainerSpecDnsConfig): any;
|
|
588
|
+
export declare class ServiceTaskSpecContainerSpecDnsConfigOutputReference extends cdktf.ComplexObject {
|
|
589
|
+
private isEmptyObject;
|
|
590
|
+
/**
|
|
591
|
+
* @param terraformResource The parent resource
|
|
592
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
593
|
+
*/
|
|
594
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
|
|
595
|
+
get internalValue(): ServiceTaskSpecContainerSpecDnsConfig | undefined;
|
|
596
|
+
set internalValue(value: ServiceTaskSpecContainerSpecDnsConfig | undefined);
|
|
597
|
+
private _nameservers?;
|
|
598
|
+
get nameservers(): string[];
|
|
599
|
+
set nameservers(value: string[]);
|
|
600
|
+
get nameserversInput(): string[] | undefined;
|
|
601
|
+
private _options?;
|
|
602
|
+
get options(): string[];
|
|
603
|
+
set options(value: string[]);
|
|
604
|
+
resetOptions(): void;
|
|
605
|
+
get optionsInput(): string[] | undefined;
|
|
606
|
+
private _search?;
|
|
607
|
+
get search(): string[];
|
|
608
|
+
set search(value: string[]);
|
|
609
|
+
resetSearch(): void;
|
|
610
|
+
get searchInput(): string[] | undefined;
|
|
611
|
+
}
|
|
612
|
+
export interface ServiceTaskSpecContainerSpecHealthcheck {
|
|
613
|
+
/**
|
|
614
|
+
* Time between running the check (ms|s|m|h). Defaults to `0s`.
|
|
615
|
+
*
|
|
616
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#interval Service#interval}
|
|
617
|
+
*/
|
|
618
|
+
readonly interval?: string;
|
|
619
|
+
/**
|
|
620
|
+
* Consecutive failures needed to report unhealthy. Defaults to `0`
|
|
621
|
+
*
|
|
622
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#retries Service#retries}
|
|
623
|
+
*/
|
|
624
|
+
readonly retries?: number;
|
|
625
|
+
/**
|
|
626
|
+
* Start period for the container to initialize before counting retries towards unstable (ms|s|m|h). Defaults to `0s`.
|
|
627
|
+
*
|
|
628
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#start_period Service#start_period}
|
|
629
|
+
*/
|
|
630
|
+
readonly startPeriod?: string;
|
|
631
|
+
/**
|
|
632
|
+
* The test to perform as list
|
|
633
|
+
*
|
|
634
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#test Service#test}
|
|
635
|
+
*/
|
|
636
|
+
readonly test: string[];
|
|
637
|
+
/**
|
|
638
|
+
* Maximum time to allow one check to run (ms|s|m|h). Defaults to `0s`.
|
|
639
|
+
*
|
|
640
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#timeout Service#timeout}
|
|
641
|
+
*/
|
|
642
|
+
readonly timeout?: string;
|
|
643
|
+
}
|
|
644
|
+
export declare function serviceTaskSpecContainerSpecHealthcheckToTerraform(struct?: ServiceTaskSpecContainerSpecHealthcheckOutputReference | ServiceTaskSpecContainerSpecHealthcheck): any;
|
|
645
|
+
export declare function serviceTaskSpecContainerSpecHealthcheckToHclTerraform(struct?: ServiceTaskSpecContainerSpecHealthcheckOutputReference | ServiceTaskSpecContainerSpecHealthcheck): any;
|
|
646
|
+
export declare class ServiceTaskSpecContainerSpecHealthcheckOutputReference extends cdktf.ComplexObject {
|
|
647
|
+
private isEmptyObject;
|
|
648
|
+
/**
|
|
649
|
+
* @param terraformResource The parent resource
|
|
650
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
651
|
+
*/
|
|
652
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
|
|
653
|
+
get internalValue(): ServiceTaskSpecContainerSpecHealthcheck | undefined;
|
|
654
|
+
set internalValue(value: ServiceTaskSpecContainerSpecHealthcheck | undefined);
|
|
655
|
+
private _interval?;
|
|
656
|
+
get interval(): string;
|
|
657
|
+
set interval(value: string);
|
|
658
|
+
resetInterval(): void;
|
|
659
|
+
get intervalInput(): string | undefined;
|
|
660
|
+
private _retries?;
|
|
661
|
+
get retries(): number;
|
|
662
|
+
set retries(value: number);
|
|
663
|
+
resetRetries(): void;
|
|
664
|
+
get retriesInput(): number | undefined;
|
|
665
|
+
private _startPeriod?;
|
|
666
|
+
get startPeriod(): string;
|
|
667
|
+
set startPeriod(value: string);
|
|
668
|
+
resetStartPeriod(): void;
|
|
669
|
+
get startPeriodInput(): string | undefined;
|
|
670
|
+
private _test?;
|
|
671
|
+
get test(): string[];
|
|
672
|
+
set test(value: string[]);
|
|
673
|
+
get testInput(): string[] | undefined;
|
|
674
|
+
private _timeout?;
|
|
675
|
+
get timeout(): string;
|
|
676
|
+
set timeout(value: string);
|
|
677
|
+
resetTimeout(): void;
|
|
678
|
+
get timeoutInput(): string | undefined;
|
|
679
|
+
}
|
|
680
|
+
export interface ServiceTaskSpecContainerSpecHosts {
|
|
681
|
+
/**
|
|
682
|
+
* The name of the host
|
|
683
|
+
*
|
|
684
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#host Service#host}
|
|
685
|
+
*/
|
|
686
|
+
readonly host: string;
|
|
687
|
+
/**
|
|
688
|
+
* The ip of the host
|
|
689
|
+
*
|
|
690
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#ip Service#ip}
|
|
691
|
+
*/
|
|
692
|
+
readonly ip: string;
|
|
693
|
+
}
|
|
694
|
+
export declare function serviceTaskSpecContainerSpecHostsToTerraform(struct?: ServiceTaskSpecContainerSpecHosts | cdktf.IResolvable): any;
|
|
695
|
+
export declare function serviceTaskSpecContainerSpecHostsToHclTerraform(struct?: ServiceTaskSpecContainerSpecHosts | cdktf.IResolvable): any;
|
|
696
|
+
export declare class ServiceTaskSpecContainerSpecHostsOutputReference extends cdktf.ComplexObject {
|
|
697
|
+
private isEmptyObject;
|
|
698
|
+
private resolvableValue?;
|
|
699
|
+
/**
|
|
700
|
+
* @param terraformResource The parent resource
|
|
701
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
702
|
+
* @param complexObjectIndex the index of this item in the list
|
|
703
|
+
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
704
|
+
*/
|
|
705
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
|
|
706
|
+
get internalValue(): ServiceTaskSpecContainerSpecHosts | cdktf.IResolvable | undefined;
|
|
707
|
+
set internalValue(value: ServiceTaskSpecContainerSpecHosts | cdktf.IResolvable | undefined);
|
|
708
|
+
private _host?;
|
|
709
|
+
get host(): string;
|
|
710
|
+
set host(value: string);
|
|
711
|
+
get hostInput(): string | undefined;
|
|
712
|
+
private _ip?;
|
|
713
|
+
get ip(): string;
|
|
714
|
+
set ip(value: string);
|
|
715
|
+
get ipInput(): string | undefined;
|
|
716
|
+
}
|
|
717
|
+
export declare class ServiceTaskSpecContainerSpecHostsList extends cdktf.ComplexList {
|
|
718
|
+
protected terraformResource: cdktf.IInterpolatingParent;
|
|
719
|
+
protected terraformAttribute: string;
|
|
720
|
+
protected wrapsSet: boolean;
|
|
721
|
+
internalValue?: ServiceTaskSpecContainerSpecHosts[] | cdktf.IResolvable;
|
|
722
|
+
/**
|
|
723
|
+
* @param terraformResource The parent resource
|
|
724
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
725
|
+
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
726
|
+
*/
|
|
727
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
|
|
728
|
+
/**
|
|
729
|
+
* @param index the index of the item to return
|
|
730
|
+
*/
|
|
731
|
+
get(index: number): ServiceTaskSpecContainerSpecHostsOutputReference;
|
|
732
|
+
}
|
|
733
|
+
export interface ServiceTaskSpecContainerSpecLabels {
|
|
734
|
+
/**
|
|
735
|
+
* Name of the label
|
|
736
|
+
*
|
|
737
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#label Service#label}
|
|
738
|
+
*/
|
|
739
|
+
readonly label: string;
|
|
740
|
+
/**
|
|
741
|
+
* Value of the label
|
|
742
|
+
*
|
|
743
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#value Service#value}
|
|
744
|
+
*/
|
|
745
|
+
readonly value: string;
|
|
746
|
+
}
|
|
747
|
+
export declare function serviceTaskSpecContainerSpecLabelsToTerraform(struct?: ServiceTaskSpecContainerSpecLabels | cdktf.IResolvable): any;
|
|
748
|
+
export declare function serviceTaskSpecContainerSpecLabelsToHclTerraform(struct?: ServiceTaskSpecContainerSpecLabels | cdktf.IResolvable): any;
|
|
749
|
+
export declare class ServiceTaskSpecContainerSpecLabelsOutputReference extends cdktf.ComplexObject {
|
|
750
|
+
private isEmptyObject;
|
|
751
|
+
private resolvableValue?;
|
|
752
|
+
/**
|
|
753
|
+
* @param terraformResource The parent resource
|
|
754
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
755
|
+
* @param complexObjectIndex the index of this item in the list
|
|
756
|
+
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
757
|
+
*/
|
|
758
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
|
|
759
|
+
get internalValue(): ServiceTaskSpecContainerSpecLabels | cdktf.IResolvable | undefined;
|
|
760
|
+
set internalValue(value: ServiceTaskSpecContainerSpecLabels | cdktf.IResolvable | undefined);
|
|
761
|
+
private _label?;
|
|
762
|
+
get label(): string;
|
|
763
|
+
set label(value: string);
|
|
764
|
+
get labelInput(): string | undefined;
|
|
765
|
+
private _value?;
|
|
766
|
+
get value(): string;
|
|
767
|
+
set value(value: string);
|
|
768
|
+
get valueInput(): string | undefined;
|
|
769
|
+
}
|
|
770
|
+
export declare class ServiceTaskSpecContainerSpecLabelsList extends cdktf.ComplexList {
|
|
771
|
+
protected terraformResource: cdktf.IInterpolatingParent;
|
|
772
|
+
protected terraformAttribute: string;
|
|
773
|
+
protected wrapsSet: boolean;
|
|
774
|
+
internalValue?: ServiceTaskSpecContainerSpecLabels[] | cdktf.IResolvable;
|
|
775
|
+
/**
|
|
776
|
+
* @param terraformResource The parent resource
|
|
777
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
778
|
+
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
779
|
+
*/
|
|
780
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
|
|
781
|
+
/**
|
|
782
|
+
* @param index the index of the item to return
|
|
783
|
+
*/
|
|
784
|
+
get(index: number): ServiceTaskSpecContainerSpecLabelsOutputReference;
|
|
785
|
+
}
|
|
786
|
+
export interface ServiceTaskSpecContainerSpecMountsBindOptions {
|
|
787
|
+
/**
|
|
788
|
+
* 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
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#propagation Service#propagation}
|
|
791
|
+
*/
|
|
792
|
+
readonly propagation?: string;
|
|
793
|
+
}
|
|
794
|
+
export declare function serviceTaskSpecContainerSpecMountsBindOptionsToTerraform(struct?: ServiceTaskSpecContainerSpecMountsBindOptionsOutputReference | ServiceTaskSpecContainerSpecMountsBindOptions): any;
|
|
795
|
+
export declare function serviceTaskSpecContainerSpecMountsBindOptionsToHclTerraform(struct?: ServiceTaskSpecContainerSpecMountsBindOptionsOutputReference | ServiceTaskSpecContainerSpecMountsBindOptions): any;
|
|
796
|
+
export declare class ServiceTaskSpecContainerSpecMountsBindOptionsOutputReference extends cdktf.ComplexObject {
|
|
797
|
+
private isEmptyObject;
|
|
798
|
+
/**
|
|
799
|
+
* @param terraformResource The parent resource
|
|
800
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
801
|
+
*/
|
|
802
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
|
|
803
|
+
get internalValue(): ServiceTaskSpecContainerSpecMountsBindOptions | undefined;
|
|
804
|
+
set internalValue(value: ServiceTaskSpecContainerSpecMountsBindOptions | undefined);
|
|
805
|
+
private _propagation?;
|
|
806
|
+
get propagation(): string;
|
|
807
|
+
set propagation(value: string);
|
|
808
|
+
resetPropagation(): void;
|
|
809
|
+
get propagationInput(): string | undefined;
|
|
810
|
+
}
|
|
811
|
+
export interface ServiceTaskSpecContainerSpecMountsTmpfsOptions {
|
|
812
|
+
/**
|
|
813
|
+
* The permission mode for the tmpfs mount in an integer
|
|
814
|
+
*
|
|
815
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#mode Service#mode}
|
|
816
|
+
*/
|
|
817
|
+
readonly mode?: number;
|
|
818
|
+
/**
|
|
819
|
+
* The size for the tmpfs mount in bytes
|
|
820
|
+
*
|
|
821
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#size_bytes Service#size_bytes}
|
|
822
|
+
*/
|
|
823
|
+
readonly sizeBytes?: number;
|
|
824
|
+
}
|
|
825
|
+
export declare function serviceTaskSpecContainerSpecMountsTmpfsOptionsToTerraform(struct?: ServiceTaskSpecContainerSpecMountsTmpfsOptionsOutputReference | ServiceTaskSpecContainerSpecMountsTmpfsOptions): any;
|
|
826
|
+
export declare function serviceTaskSpecContainerSpecMountsTmpfsOptionsToHclTerraform(struct?: ServiceTaskSpecContainerSpecMountsTmpfsOptionsOutputReference | ServiceTaskSpecContainerSpecMountsTmpfsOptions): any;
|
|
827
|
+
export declare class ServiceTaskSpecContainerSpecMountsTmpfsOptionsOutputReference extends cdktf.ComplexObject {
|
|
828
|
+
private isEmptyObject;
|
|
829
|
+
/**
|
|
830
|
+
* @param terraformResource The parent resource
|
|
831
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
832
|
+
*/
|
|
833
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
|
|
834
|
+
get internalValue(): ServiceTaskSpecContainerSpecMountsTmpfsOptions | undefined;
|
|
835
|
+
set internalValue(value: ServiceTaskSpecContainerSpecMountsTmpfsOptions | undefined);
|
|
836
|
+
private _mode?;
|
|
837
|
+
get mode(): number;
|
|
838
|
+
set mode(value: number);
|
|
839
|
+
resetMode(): void;
|
|
840
|
+
get modeInput(): number | undefined;
|
|
841
|
+
private _sizeBytes?;
|
|
842
|
+
get sizeBytes(): number;
|
|
843
|
+
set sizeBytes(value: number);
|
|
844
|
+
resetSizeBytes(): void;
|
|
845
|
+
get sizeBytesInput(): number | undefined;
|
|
846
|
+
}
|
|
847
|
+
export interface ServiceTaskSpecContainerSpecMountsVolumeOptionsLabels {
|
|
848
|
+
/**
|
|
849
|
+
* Name of the label
|
|
850
|
+
*
|
|
851
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#label Service#label}
|
|
852
|
+
*/
|
|
853
|
+
readonly label: string;
|
|
854
|
+
/**
|
|
855
|
+
* Value of the label
|
|
856
|
+
*
|
|
857
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#value Service#value}
|
|
858
|
+
*/
|
|
859
|
+
readonly value: string;
|
|
860
|
+
}
|
|
861
|
+
export declare function serviceTaskSpecContainerSpecMountsVolumeOptionsLabelsToTerraform(struct?: ServiceTaskSpecContainerSpecMountsVolumeOptionsLabels | cdktf.IResolvable): any;
|
|
862
|
+
export declare function serviceTaskSpecContainerSpecMountsVolumeOptionsLabelsToHclTerraform(struct?: ServiceTaskSpecContainerSpecMountsVolumeOptionsLabels | cdktf.IResolvable): any;
|
|
863
|
+
export declare class ServiceTaskSpecContainerSpecMountsVolumeOptionsLabelsOutputReference extends cdktf.ComplexObject {
|
|
864
|
+
private isEmptyObject;
|
|
865
|
+
private resolvableValue?;
|
|
866
|
+
/**
|
|
867
|
+
* @param terraformResource The parent resource
|
|
868
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
869
|
+
* @param complexObjectIndex the index of this item in the list
|
|
870
|
+
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
871
|
+
*/
|
|
872
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
|
|
873
|
+
get internalValue(): ServiceTaskSpecContainerSpecMountsVolumeOptionsLabels | cdktf.IResolvable | undefined;
|
|
874
|
+
set internalValue(value: ServiceTaskSpecContainerSpecMountsVolumeOptionsLabels | cdktf.IResolvable | undefined);
|
|
875
|
+
private _label?;
|
|
876
|
+
get label(): string;
|
|
877
|
+
set label(value: string);
|
|
878
|
+
get labelInput(): string | undefined;
|
|
879
|
+
private _value?;
|
|
880
|
+
get value(): string;
|
|
881
|
+
set value(value: string);
|
|
882
|
+
get valueInput(): string | undefined;
|
|
883
|
+
}
|
|
884
|
+
export declare class ServiceTaskSpecContainerSpecMountsVolumeOptionsLabelsList extends cdktf.ComplexList {
|
|
885
|
+
protected terraformResource: cdktf.IInterpolatingParent;
|
|
886
|
+
protected terraformAttribute: string;
|
|
887
|
+
protected wrapsSet: boolean;
|
|
888
|
+
internalValue?: ServiceTaskSpecContainerSpecMountsVolumeOptionsLabels[] | cdktf.IResolvable;
|
|
889
|
+
/**
|
|
890
|
+
* @param terraformResource The parent resource
|
|
891
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
892
|
+
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
893
|
+
*/
|
|
894
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
|
|
895
|
+
/**
|
|
896
|
+
* @param index the index of the item to return
|
|
897
|
+
*/
|
|
898
|
+
get(index: number): ServiceTaskSpecContainerSpecMountsVolumeOptionsLabelsOutputReference;
|
|
899
|
+
}
|
|
900
|
+
export interface ServiceTaskSpecContainerSpecMountsVolumeOptions {
|
|
901
|
+
/**
|
|
902
|
+
* Name of the driver to use to create the volume
|
|
903
|
+
*
|
|
904
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#driver_name Service#driver_name}
|
|
905
|
+
*/
|
|
906
|
+
readonly driverName?: string;
|
|
907
|
+
/**
|
|
908
|
+
* key/value map of driver specific options
|
|
909
|
+
*
|
|
910
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#driver_options Service#driver_options}
|
|
911
|
+
*/
|
|
912
|
+
readonly driverOptions?: {
|
|
913
|
+
[key: string]: string;
|
|
914
|
+
};
|
|
915
|
+
/**
|
|
916
|
+
* Populate volume with data from the target
|
|
917
|
+
*
|
|
918
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#no_copy Service#no_copy}
|
|
919
|
+
*/
|
|
920
|
+
readonly noCopy?: boolean | cdktf.IResolvable;
|
|
921
|
+
/**
|
|
922
|
+
* labels block
|
|
923
|
+
*
|
|
924
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#labels Service#labels}
|
|
925
|
+
*/
|
|
926
|
+
readonly labels?: ServiceTaskSpecContainerSpecMountsVolumeOptionsLabels[] | cdktf.IResolvable;
|
|
927
|
+
}
|
|
928
|
+
export declare function serviceTaskSpecContainerSpecMountsVolumeOptionsToTerraform(struct?: ServiceTaskSpecContainerSpecMountsVolumeOptionsOutputReference | ServiceTaskSpecContainerSpecMountsVolumeOptions): any;
|
|
929
|
+
export declare function serviceTaskSpecContainerSpecMountsVolumeOptionsToHclTerraform(struct?: ServiceTaskSpecContainerSpecMountsVolumeOptionsOutputReference | ServiceTaskSpecContainerSpecMountsVolumeOptions): any;
|
|
930
|
+
export declare class ServiceTaskSpecContainerSpecMountsVolumeOptionsOutputReference extends cdktf.ComplexObject {
|
|
931
|
+
private isEmptyObject;
|
|
932
|
+
/**
|
|
933
|
+
* @param terraformResource The parent resource
|
|
934
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
935
|
+
*/
|
|
936
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
|
|
937
|
+
get internalValue(): ServiceTaskSpecContainerSpecMountsVolumeOptions | undefined;
|
|
938
|
+
set internalValue(value: ServiceTaskSpecContainerSpecMountsVolumeOptions | undefined);
|
|
939
|
+
private _driverName?;
|
|
940
|
+
get driverName(): string;
|
|
941
|
+
set driverName(value: string);
|
|
942
|
+
resetDriverName(): void;
|
|
943
|
+
get driverNameInput(): string | undefined;
|
|
944
|
+
private _driverOptions?;
|
|
945
|
+
get driverOptions(): {
|
|
946
|
+
[key: string]: string;
|
|
947
|
+
};
|
|
948
|
+
set driverOptions(value: {
|
|
949
|
+
[key: string]: string;
|
|
950
|
+
});
|
|
951
|
+
resetDriverOptions(): void;
|
|
952
|
+
get driverOptionsInput(): {
|
|
953
|
+
[key: string]: string;
|
|
954
|
+
} | undefined;
|
|
955
|
+
private _noCopy?;
|
|
956
|
+
get noCopy(): boolean | cdktf.IResolvable;
|
|
957
|
+
set noCopy(value: boolean | cdktf.IResolvable);
|
|
958
|
+
resetNoCopy(): void;
|
|
959
|
+
get noCopyInput(): boolean | cdktf.IResolvable | undefined;
|
|
960
|
+
private _labels;
|
|
961
|
+
get labels(): ServiceTaskSpecContainerSpecMountsVolumeOptionsLabelsList;
|
|
962
|
+
putLabels(value: ServiceTaskSpecContainerSpecMountsVolumeOptionsLabels[] | cdktf.IResolvable): void;
|
|
963
|
+
resetLabels(): void;
|
|
964
|
+
get labelsInput(): cdktf.IResolvable | ServiceTaskSpecContainerSpecMountsVolumeOptionsLabels[] | undefined;
|
|
965
|
+
}
|
|
966
|
+
export interface ServiceTaskSpecContainerSpecMounts {
|
|
967
|
+
/**
|
|
968
|
+
* Whether the mount should be read-only
|
|
969
|
+
*
|
|
970
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#read_only Service#read_only}
|
|
971
|
+
*/
|
|
972
|
+
readonly readOnly?: boolean | cdktf.IResolvable;
|
|
973
|
+
/**
|
|
974
|
+
* Mount source (e.g. a volume name, a host path)
|
|
975
|
+
*
|
|
976
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#source Service#source}
|
|
977
|
+
*/
|
|
978
|
+
readonly source?: string;
|
|
979
|
+
/**
|
|
980
|
+
* Container path
|
|
981
|
+
*
|
|
982
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#target Service#target}
|
|
983
|
+
*/
|
|
984
|
+
readonly target: string;
|
|
985
|
+
/**
|
|
986
|
+
* The mount type
|
|
987
|
+
*
|
|
988
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#type Service#type}
|
|
989
|
+
*/
|
|
990
|
+
readonly type: string;
|
|
991
|
+
/**
|
|
992
|
+
* bind_options block
|
|
993
|
+
*
|
|
994
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#bind_options Service#bind_options}
|
|
995
|
+
*/
|
|
996
|
+
readonly bindOptions?: ServiceTaskSpecContainerSpecMountsBindOptions;
|
|
997
|
+
/**
|
|
998
|
+
* tmpfs_options block
|
|
999
|
+
*
|
|
1000
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#tmpfs_options Service#tmpfs_options}
|
|
1001
|
+
*/
|
|
1002
|
+
readonly tmpfsOptions?: ServiceTaskSpecContainerSpecMountsTmpfsOptions;
|
|
1003
|
+
/**
|
|
1004
|
+
* volume_options block
|
|
1005
|
+
*
|
|
1006
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#volume_options Service#volume_options}
|
|
1007
|
+
*/
|
|
1008
|
+
readonly volumeOptions?: ServiceTaskSpecContainerSpecMountsVolumeOptions;
|
|
1009
|
+
}
|
|
1010
|
+
export declare function serviceTaskSpecContainerSpecMountsToTerraform(struct?: ServiceTaskSpecContainerSpecMounts | cdktf.IResolvable): any;
|
|
1011
|
+
export declare function serviceTaskSpecContainerSpecMountsToHclTerraform(struct?: ServiceTaskSpecContainerSpecMounts | cdktf.IResolvable): any;
|
|
1012
|
+
export declare class ServiceTaskSpecContainerSpecMountsOutputReference extends cdktf.ComplexObject {
|
|
1013
|
+
private isEmptyObject;
|
|
1014
|
+
private resolvableValue?;
|
|
1015
|
+
/**
|
|
1016
|
+
* @param terraformResource The parent resource
|
|
1017
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
1018
|
+
* @param complexObjectIndex the index of this item in the list
|
|
1019
|
+
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
1020
|
+
*/
|
|
1021
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
|
|
1022
|
+
get internalValue(): ServiceTaskSpecContainerSpecMounts | cdktf.IResolvable | undefined;
|
|
1023
|
+
set internalValue(value: ServiceTaskSpecContainerSpecMounts | cdktf.IResolvable | undefined);
|
|
1024
|
+
private _readOnly?;
|
|
1025
|
+
get readOnly(): boolean | cdktf.IResolvable;
|
|
1026
|
+
set readOnly(value: boolean | cdktf.IResolvable);
|
|
1027
|
+
resetReadOnly(): void;
|
|
1028
|
+
get readOnlyInput(): boolean | cdktf.IResolvable | undefined;
|
|
1029
|
+
private _source?;
|
|
1030
|
+
get source(): string;
|
|
1031
|
+
set source(value: string);
|
|
1032
|
+
resetSource(): void;
|
|
1033
|
+
get sourceInput(): string | undefined;
|
|
1034
|
+
private _target?;
|
|
1035
|
+
get target(): string;
|
|
1036
|
+
set target(value: string);
|
|
1037
|
+
get targetInput(): string | undefined;
|
|
1038
|
+
private _type?;
|
|
1039
|
+
get type(): string;
|
|
1040
|
+
set type(value: string);
|
|
1041
|
+
get typeInput(): string | undefined;
|
|
1042
|
+
private _bindOptions;
|
|
1043
|
+
get bindOptions(): ServiceTaskSpecContainerSpecMountsBindOptionsOutputReference;
|
|
1044
|
+
putBindOptions(value: ServiceTaskSpecContainerSpecMountsBindOptions): void;
|
|
1045
|
+
resetBindOptions(): void;
|
|
1046
|
+
get bindOptionsInput(): ServiceTaskSpecContainerSpecMountsBindOptions | undefined;
|
|
1047
|
+
private _tmpfsOptions;
|
|
1048
|
+
get tmpfsOptions(): ServiceTaskSpecContainerSpecMountsTmpfsOptionsOutputReference;
|
|
1049
|
+
putTmpfsOptions(value: ServiceTaskSpecContainerSpecMountsTmpfsOptions): void;
|
|
1050
|
+
resetTmpfsOptions(): void;
|
|
1051
|
+
get tmpfsOptionsInput(): ServiceTaskSpecContainerSpecMountsTmpfsOptions | undefined;
|
|
1052
|
+
private _volumeOptions;
|
|
1053
|
+
get volumeOptions(): ServiceTaskSpecContainerSpecMountsVolumeOptionsOutputReference;
|
|
1054
|
+
putVolumeOptions(value: ServiceTaskSpecContainerSpecMountsVolumeOptions): void;
|
|
1055
|
+
resetVolumeOptions(): void;
|
|
1056
|
+
get volumeOptionsInput(): ServiceTaskSpecContainerSpecMountsVolumeOptions | undefined;
|
|
1057
|
+
}
|
|
1058
|
+
export declare class ServiceTaskSpecContainerSpecMountsList extends cdktf.ComplexList {
|
|
1059
|
+
protected terraformResource: cdktf.IInterpolatingParent;
|
|
1060
|
+
protected terraformAttribute: string;
|
|
1061
|
+
protected wrapsSet: boolean;
|
|
1062
|
+
internalValue?: ServiceTaskSpecContainerSpecMounts[] | cdktf.IResolvable;
|
|
1063
|
+
/**
|
|
1064
|
+
* @param terraformResource The parent resource
|
|
1065
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
1066
|
+
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
1067
|
+
*/
|
|
1068
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
|
|
1069
|
+
/**
|
|
1070
|
+
* @param index the index of the item to return
|
|
1071
|
+
*/
|
|
1072
|
+
get(index: number): ServiceTaskSpecContainerSpecMountsOutputReference;
|
|
1073
|
+
}
|
|
1074
|
+
export interface ServiceTaskSpecContainerSpecPrivilegesCredentialSpec {
|
|
1075
|
+
/**
|
|
1076
|
+
* Load credential spec from this file
|
|
1077
|
+
*
|
|
1078
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#file Service#file}
|
|
1079
|
+
*/
|
|
1080
|
+
readonly file?: string;
|
|
1081
|
+
/**
|
|
1082
|
+
* Load credential spec from this value in the Windows registry
|
|
1083
|
+
*
|
|
1084
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#registry Service#registry}
|
|
1085
|
+
*/
|
|
1086
|
+
readonly registry?: string;
|
|
1087
|
+
}
|
|
1088
|
+
export declare function serviceTaskSpecContainerSpecPrivilegesCredentialSpecToTerraform(struct?: ServiceTaskSpecContainerSpecPrivilegesCredentialSpecOutputReference | ServiceTaskSpecContainerSpecPrivilegesCredentialSpec): any;
|
|
1089
|
+
export declare function serviceTaskSpecContainerSpecPrivilegesCredentialSpecToHclTerraform(struct?: ServiceTaskSpecContainerSpecPrivilegesCredentialSpecOutputReference | ServiceTaskSpecContainerSpecPrivilegesCredentialSpec): any;
|
|
1090
|
+
export declare class ServiceTaskSpecContainerSpecPrivilegesCredentialSpecOutputReference extends cdktf.ComplexObject {
|
|
1091
|
+
private isEmptyObject;
|
|
1092
|
+
/**
|
|
1093
|
+
* @param terraformResource The parent resource
|
|
1094
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
1095
|
+
*/
|
|
1096
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
|
|
1097
|
+
get internalValue(): ServiceTaskSpecContainerSpecPrivilegesCredentialSpec | undefined;
|
|
1098
|
+
set internalValue(value: ServiceTaskSpecContainerSpecPrivilegesCredentialSpec | undefined);
|
|
1099
|
+
private _file?;
|
|
1100
|
+
get file(): string;
|
|
1101
|
+
set file(value: string);
|
|
1102
|
+
resetFile(): void;
|
|
1103
|
+
get fileInput(): string | undefined;
|
|
1104
|
+
private _registry?;
|
|
1105
|
+
get registry(): string;
|
|
1106
|
+
set registry(value: string);
|
|
1107
|
+
resetRegistry(): void;
|
|
1108
|
+
get registryInput(): string | undefined;
|
|
1109
|
+
}
|
|
1110
|
+
export interface ServiceTaskSpecContainerSpecPrivilegesSeLinuxContext {
|
|
1111
|
+
/**
|
|
1112
|
+
* Disable SELinux
|
|
1113
|
+
*
|
|
1114
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#disable Service#disable}
|
|
1115
|
+
*/
|
|
1116
|
+
readonly disable?: boolean | cdktf.IResolvable;
|
|
1117
|
+
/**
|
|
1118
|
+
* SELinux level label
|
|
1119
|
+
*
|
|
1120
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#level Service#level}
|
|
1121
|
+
*/
|
|
1122
|
+
readonly level?: string;
|
|
1123
|
+
/**
|
|
1124
|
+
* SELinux role label
|
|
1125
|
+
*
|
|
1126
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#role Service#role}
|
|
1127
|
+
*/
|
|
1128
|
+
readonly role?: string;
|
|
1129
|
+
/**
|
|
1130
|
+
* SELinux type label
|
|
1131
|
+
*
|
|
1132
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#type Service#type}
|
|
1133
|
+
*/
|
|
1134
|
+
readonly type?: string;
|
|
1135
|
+
/**
|
|
1136
|
+
* SELinux user label
|
|
1137
|
+
*
|
|
1138
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#user Service#user}
|
|
1139
|
+
*/
|
|
1140
|
+
readonly user?: string;
|
|
1141
|
+
}
|
|
1142
|
+
export declare function serviceTaskSpecContainerSpecPrivilegesSeLinuxContextToTerraform(struct?: ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextOutputReference | ServiceTaskSpecContainerSpecPrivilegesSeLinuxContext): any;
|
|
1143
|
+
export declare function serviceTaskSpecContainerSpecPrivilegesSeLinuxContextToHclTerraform(struct?: ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextOutputReference | ServiceTaskSpecContainerSpecPrivilegesSeLinuxContext): any;
|
|
1144
|
+
export declare class ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextOutputReference extends cdktf.ComplexObject {
|
|
1145
|
+
private isEmptyObject;
|
|
1146
|
+
/**
|
|
1147
|
+
* @param terraformResource The parent resource
|
|
1148
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
1149
|
+
*/
|
|
1150
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
|
|
1151
|
+
get internalValue(): ServiceTaskSpecContainerSpecPrivilegesSeLinuxContext | undefined;
|
|
1152
|
+
set internalValue(value: ServiceTaskSpecContainerSpecPrivilegesSeLinuxContext | undefined);
|
|
1153
|
+
private _disable?;
|
|
1154
|
+
get disable(): boolean | cdktf.IResolvable;
|
|
1155
|
+
set disable(value: boolean | cdktf.IResolvable);
|
|
1156
|
+
resetDisable(): void;
|
|
1157
|
+
get disableInput(): boolean | cdktf.IResolvable | undefined;
|
|
1158
|
+
private _level?;
|
|
1159
|
+
get level(): string;
|
|
1160
|
+
set level(value: string);
|
|
1161
|
+
resetLevel(): void;
|
|
1162
|
+
get levelInput(): string | undefined;
|
|
1163
|
+
private _role?;
|
|
1164
|
+
get role(): string;
|
|
1165
|
+
set role(value: string);
|
|
1166
|
+
resetRole(): void;
|
|
1167
|
+
get roleInput(): string | undefined;
|
|
1168
|
+
private _type?;
|
|
1169
|
+
get type(): string;
|
|
1170
|
+
set type(value: string);
|
|
1171
|
+
resetType(): void;
|
|
1172
|
+
get typeInput(): string | undefined;
|
|
1173
|
+
private _user?;
|
|
1174
|
+
get user(): string;
|
|
1175
|
+
set user(value: string);
|
|
1176
|
+
resetUser(): void;
|
|
1177
|
+
get userInput(): string | undefined;
|
|
1178
|
+
}
|
|
1179
|
+
export interface ServiceTaskSpecContainerSpecPrivileges {
|
|
1180
|
+
/**
|
|
1181
|
+
* credential_spec block
|
|
1182
|
+
*
|
|
1183
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#credential_spec Service#credential_spec}
|
|
1184
|
+
*/
|
|
1185
|
+
readonly credentialSpec?: ServiceTaskSpecContainerSpecPrivilegesCredentialSpec;
|
|
1186
|
+
/**
|
|
1187
|
+
* se_linux_context block
|
|
1188
|
+
*
|
|
1189
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#se_linux_context Service#se_linux_context}
|
|
1190
|
+
*/
|
|
1191
|
+
readonly seLinuxContext?: ServiceTaskSpecContainerSpecPrivilegesSeLinuxContext;
|
|
1192
|
+
}
|
|
1193
|
+
export declare function serviceTaskSpecContainerSpecPrivilegesToTerraform(struct?: ServiceTaskSpecContainerSpecPrivilegesOutputReference | ServiceTaskSpecContainerSpecPrivileges): any;
|
|
1194
|
+
export declare function serviceTaskSpecContainerSpecPrivilegesToHclTerraform(struct?: ServiceTaskSpecContainerSpecPrivilegesOutputReference | ServiceTaskSpecContainerSpecPrivileges): any;
|
|
1195
|
+
export declare class ServiceTaskSpecContainerSpecPrivilegesOutputReference extends cdktf.ComplexObject {
|
|
1196
|
+
private isEmptyObject;
|
|
1197
|
+
/**
|
|
1198
|
+
* @param terraformResource The parent resource
|
|
1199
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
1200
|
+
*/
|
|
1201
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
|
|
1202
|
+
get internalValue(): ServiceTaskSpecContainerSpecPrivileges | undefined;
|
|
1203
|
+
set internalValue(value: ServiceTaskSpecContainerSpecPrivileges | undefined);
|
|
1204
|
+
private _credentialSpec;
|
|
1205
|
+
get credentialSpec(): ServiceTaskSpecContainerSpecPrivilegesCredentialSpecOutputReference;
|
|
1206
|
+
putCredentialSpec(value: ServiceTaskSpecContainerSpecPrivilegesCredentialSpec): void;
|
|
1207
|
+
resetCredentialSpec(): void;
|
|
1208
|
+
get credentialSpecInput(): ServiceTaskSpecContainerSpecPrivilegesCredentialSpec | undefined;
|
|
1209
|
+
private _seLinuxContext;
|
|
1210
|
+
get seLinuxContext(): ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextOutputReference;
|
|
1211
|
+
putSeLinuxContext(value: ServiceTaskSpecContainerSpecPrivilegesSeLinuxContext): void;
|
|
1212
|
+
resetSeLinuxContext(): void;
|
|
1213
|
+
get seLinuxContextInput(): ServiceTaskSpecContainerSpecPrivilegesSeLinuxContext | undefined;
|
|
1214
|
+
}
|
|
1215
|
+
export interface ServiceTaskSpecContainerSpecSecrets {
|
|
1216
|
+
/**
|
|
1217
|
+
* Represents the file GID. Defaults to `0`
|
|
1218
|
+
*
|
|
1219
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#file_gid Service#file_gid}
|
|
1220
|
+
*/
|
|
1221
|
+
readonly fileGid?: string;
|
|
1222
|
+
/**
|
|
1223
|
+
* Represents represents the FileMode of the file. Defaults to `0o444`
|
|
1224
|
+
*
|
|
1225
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#file_mode Service#file_mode}
|
|
1226
|
+
*/
|
|
1227
|
+
readonly fileMode?: number;
|
|
1228
|
+
/**
|
|
1229
|
+
* Represents the final filename in the filesystem
|
|
1230
|
+
*
|
|
1231
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#file_name Service#file_name}
|
|
1232
|
+
*/
|
|
1233
|
+
readonly fileName: string;
|
|
1234
|
+
/**
|
|
1235
|
+
* Represents the file UID. Defaults to `0`
|
|
1236
|
+
*
|
|
1237
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#file_uid Service#file_uid}
|
|
1238
|
+
*/
|
|
1239
|
+
readonly fileUid?: string;
|
|
1240
|
+
/**
|
|
1241
|
+
* ID of the specific secret that we're referencing
|
|
1242
|
+
*
|
|
1243
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#secret_id Service#secret_id}
|
|
1244
|
+
*/
|
|
1245
|
+
readonly secretId: string;
|
|
1246
|
+
/**
|
|
1247
|
+
* 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
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#secret_name Service#secret_name}
|
|
1250
|
+
*/
|
|
1251
|
+
readonly secretName?: string;
|
|
1252
|
+
}
|
|
1253
|
+
export declare function serviceTaskSpecContainerSpecSecretsToTerraform(struct?: ServiceTaskSpecContainerSpecSecrets | cdktf.IResolvable): any;
|
|
1254
|
+
export declare function serviceTaskSpecContainerSpecSecretsToHclTerraform(struct?: ServiceTaskSpecContainerSpecSecrets | cdktf.IResolvable): any;
|
|
1255
|
+
export declare class ServiceTaskSpecContainerSpecSecretsOutputReference extends cdktf.ComplexObject {
|
|
1256
|
+
private isEmptyObject;
|
|
1257
|
+
private resolvableValue?;
|
|
1258
|
+
/**
|
|
1259
|
+
* @param terraformResource The parent resource
|
|
1260
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
1261
|
+
* @param complexObjectIndex the index of this item in the list
|
|
1262
|
+
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
1263
|
+
*/
|
|
1264
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
|
|
1265
|
+
get internalValue(): ServiceTaskSpecContainerSpecSecrets | cdktf.IResolvable | undefined;
|
|
1266
|
+
set internalValue(value: ServiceTaskSpecContainerSpecSecrets | cdktf.IResolvable | undefined);
|
|
1267
|
+
private _fileGid?;
|
|
1268
|
+
get fileGid(): string;
|
|
1269
|
+
set fileGid(value: string);
|
|
1270
|
+
resetFileGid(): void;
|
|
1271
|
+
get fileGidInput(): string | undefined;
|
|
1272
|
+
private _fileMode?;
|
|
1273
|
+
get fileMode(): number;
|
|
1274
|
+
set fileMode(value: number);
|
|
1275
|
+
resetFileMode(): void;
|
|
1276
|
+
get fileModeInput(): number | undefined;
|
|
1277
|
+
private _fileName?;
|
|
1278
|
+
get fileName(): string;
|
|
1279
|
+
set fileName(value: string);
|
|
1280
|
+
get fileNameInput(): string | undefined;
|
|
1281
|
+
private _fileUid?;
|
|
1282
|
+
get fileUid(): string;
|
|
1283
|
+
set fileUid(value: string);
|
|
1284
|
+
resetFileUid(): void;
|
|
1285
|
+
get fileUidInput(): string | undefined;
|
|
1286
|
+
private _secretId?;
|
|
1287
|
+
get secretId(): string;
|
|
1288
|
+
set secretId(value: string);
|
|
1289
|
+
get secretIdInput(): string | undefined;
|
|
1290
|
+
private _secretName?;
|
|
1291
|
+
get secretName(): string;
|
|
1292
|
+
set secretName(value: string);
|
|
1293
|
+
resetSecretName(): void;
|
|
1294
|
+
get secretNameInput(): string | undefined;
|
|
1295
|
+
}
|
|
1296
|
+
export declare class ServiceTaskSpecContainerSpecSecretsList extends cdktf.ComplexList {
|
|
1297
|
+
protected terraformResource: cdktf.IInterpolatingParent;
|
|
1298
|
+
protected terraformAttribute: string;
|
|
1299
|
+
protected wrapsSet: boolean;
|
|
1300
|
+
internalValue?: ServiceTaskSpecContainerSpecSecrets[] | cdktf.IResolvable;
|
|
1301
|
+
/**
|
|
1302
|
+
* @param terraformResource The parent resource
|
|
1303
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
1304
|
+
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
1305
|
+
*/
|
|
1306
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
|
|
1307
|
+
/**
|
|
1308
|
+
* @param index the index of the item to return
|
|
1309
|
+
*/
|
|
1310
|
+
get(index: number): ServiceTaskSpecContainerSpecSecretsOutputReference;
|
|
1311
|
+
}
|
|
1312
|
+
export interface ServiceTaskSpecContainerSpec {
|
|
1313
|
+
/**
|
|
1314
|
+
* Arguments to the command
|
|
1315
|
+
*
|
|
1316
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#args Service#args}
|
|
1317
|
+
*/
|
|
1318
|
+
readonly args?: string[];
|
|
1319
|
+
/**
|
|
1320
|
+
* List of Linux capabilities to add to the container
|
|
1321
|
+
*
|
|
1322
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#cap_add Service#cap_add}
|
|
1323
|
+
*/
|
|
1324
|
+
readonly capAdd?: string[];
|
|
1325
|
+
/**
|
|
1326
|
+
* List of Linux capabilities to drop from the container
|
|
1327
|
+
*
|
|
1328
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#cap_drop Service#cap_drop}
|
|
1329
|
+
*/
|
|
1330
|
+
readonly capDrop?: string[];
|
|
1331
|
+
/**
|
|
1332
|
+
* 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
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#command Service#command}
|
|
1335
|
+
*/
|
|
1336
|
+
readonly command?: string[];
|
|
1337
|
+
/**
|
|
1338
|
+
* The working directory for commands to run in
|
|
1339
|
+
*
|
|
1340
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#dir Service#dir}
|
|
1341
|
+
*/
|
|
1342
|
+
readonly dir?: string;
|
|
1343
|
+
/**
|
|
1344
|
+
* A list of environment variables in the form VAR="value"
|
|
1345
|
+
*
|
|
1346
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#env Service#env}
|
|
1347
|
+
*/
|
|
1348
|
+
readonly env?: {
|
|
1349
|
+
[key: string]: string;
|
|
1350
|
+
};
|
|
1351
|
+
/**
|
|
1352
|
+
* A list of additional groups that the container process will run as
|
|
1353
|
+
*
|
|
1354
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#groups Service#groups}
|
|
1355
|
+
*/
|
|
1356
|
+
readonly groups?: string[];
|
|
1357
|
+
/**
|
|
1358
|
+
* The hostname to use for the container, as a valid RFC 1123 hostname
|
|
1359
|
+
*
|
|
1360
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#hostname Service#hostname}
|
|
1361
|
+
*/
|
|
1362
|
+
readonly hostname?: string;
|
|
1363
|
+
/**
|
|
1364
|
+
* 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
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#image Service#image}
|
|
1367
|
+
*/
|
|
1368
|
+
readonly image: string;
|
|
1369
|
+
/**
|
|
1370
|
+
* Isolation technology of the containers running the service. (Windows only). Defaults to `default`.
|
|
1371
|
+
*
|
|
1372
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#isolation Service#isolation}
|
|
1373
|
+
*/
|
|
1374
|
+
readonly isolation?: string;
|
|
1375
|
+
/**
|
|
1376
|
+
* Mount the container's root filesystem as read only
|
|
1377
|
+
*
|
|
1378
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#read_only Service#read_only}
|
|
1379
|
+
*/
|
|
1380
|
+
readonly readOnly?: boolean | cdktf.IResolvable;
|
|
1381
|
+
/**
|
|
1382
|
+
* 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
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#stop_grace_period Service#stop_grace_period}
|
|
1385
|
+
*/
|
|
1386
|
+
readonly stopGracePeriod?: string;
|
|
1387
|
+
/**
|
|
1388
|
+
* Signal to stop the container
|
|
1389
|
+
*
|
|
1390
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#stop_signal Service#stop_signal}
|
|
1391
|
+
*/
|
|
1392
|
+
readonly stopSignal?: string;
|
|
1393
|
+
/**
|
|
1394
|
+
* Sysctls config (Linux only)
|
|
1395
|
+
*
|
|
1396
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#sysctl Service#sysctl}
|
|
1397
|
+
*/
|
|
1398
|
+
readonly sysctl?: {
|
|
1399
|
+
[key: string]: string;
|
|
1400
|
+
};
|
|
1401
|
+
/**
|
|
1402
|
+
* The user inside the container
|
|
1403
|
+
*
|
|
1404
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#user Service#user}
|
|
1405
|
+
*/
|
|
1406
|
+
readonly user?: string;
|
|
1407
|
+
/**
|
|
1408
|
+
* configs block
|
|
1409
|
+
*
|
|
1410
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#configs Service#configs}
|
|
1411
|
+
*/
|
|
1412
|
+
readonly configs?: ServiceTaskSpecContainerSpecConfigs[] | cdktf.IResolvable;
|
|
1413
|
+
/**
|
|
1414
|
+
* dns_config block
|
|
1415
|
+
*
|
|
1416
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#dns_config Service#dns_config}
|
|
1417
|
+
*/
|
|
1418
|
+
readonly dnsConfig?: ServiceTaskSpecContainerSpecDnsConfig;
|
|
1419
|
+
/**
|
|
1420
|
+
* healthcheck block
|
|
1421
|
+
*
|
|
1422
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#healthcheck Service#healthcheck}
|
|
1423
|
+
*/
|
|
1424
|
+
readonly healthcheck?: ServiceTaskSpecContainerSpecHealthcheck;
|
|
1425
|
+
/**
|
|
1426
|
+
* hosts block
|
|
1427
|
+
*
|
|
1428
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#hosts Service#hosts}
|
|
1429
|
+
*/
|
|
1430
|
+
readonly hosts?: ServiceTaskSpecContainerSpecHosts[] | cdktf.IResolvable;
|
|
1431
|
+
/**
|
|
1432
|
+
* labels block
|
|
1433
|
+
*
|
|
1434
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#labels Service#labels}
|
|
1435
|
+
*/
|
|
1436
|
+
readonly labels?: ServiceTaskSpecContainerSpecLabels[] | cdktf.IResolvable;
|
|
1437
|
+
/**
|
|
1438
|
+
* mounts block
|
|
1439
|
+
*
|
|
1440
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#mounts Service#mounts}
|
|
1441
|
+
*/
|
|
1442
|
+
readonly mounts?: ServiceTaskSpecContainerSpecMounts[] | cdktf.IResolvable;
|
|
1443
|
+
/**
|
|
1444
|
+
* privileges block
|
|
1445
|
+
*
|
|
1446
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#privileges Service#privileges}
|
|
1447
|
+
*/
|
|
1448
|
+
readonly privileges?: ServiceTaskSpecContainerSpecPrivileges;
|
|
1449
|
+
/**
|
|
1450
|
+
* secrets block
|
|
1451
|
+
*
|
|
1452
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#secrets Service#secrets}
|
|
1453
|
+
*/
|
|
1454
|
+
readonly secrets?: ServiceTaskSpecContainerSpecSecrets[] | cdktf.IResolvable;
|
|
1455
|
+
}
|
|
1456
|
+
export declare function serviceTaskSpecContainerSpecToTerraform(struct?: ServiceTaskSpecContainerSpecOutputReference | ServiceTaskSpecContainerSpec): any;
|
|
1457
|
+
export declare function serviceTaskSpecContainerSpecToHclTerraform(struct?: ServiceTaskSpecContainerSpecOutputReference | ServiceTaskSpecContainerSpec): any;
|
|
1458
|
+
export declare class ServiceTaskSpecContainerSpecOutputReference extends cdktf.ComplexObject {
|
|
1459
|
+
private isEmptyObject;
|
|
1460
|
+
/**
|
|
1461
|
+
* @param terraformResource The parent resource
|
|
1462
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
1463
|
+
*/
|
|
1464
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
|
|
1465
|
+
get internalValue(): ServiceTaskSpecContainerSpec | undefined;
|
|
1466
|
+
set internalValue(value: ServiceTaskSpecContainerSpec | undefined);
|
|
1467
|
+
private _args?;
|
|
1468
|
+
get args(): string[];
|
|
1469
|
+
set args(value: string[]);
|
|
1470
|
+
resetArgs(): void;
|
|
1471
|
+
get argsInput(): string[] | undefined;
|
|
1472
|
+
private _capAdd?;
|
|
1473
|
+
get capAdd(): string[];
|
|
1474
|
+
set capAdd(value: string[]);
|
|
1475
|
+
resetCapAdd(): void;
|
|
1476
|
+
get capAddInput(): string[] | undefined;
|
|
1477
|
+
private _capDrop?;
|
|
1478
|
+
get capDrop(): string[];
|
|
1479
|
+
set capDrop(value: string[]);
|
|
1480
|
+
resetCapDrop(): void;
|
|
1481
|
+
get capDropInput(): string[] | undefined;
|
|
1482
|
+
private _command?;
|
|
1483
|
+
get command(): string[];
|
|
1484
|
+
set command(value: string[]);
|
|
1485
|
+
resetCommand(): void;
|
|
1486
|
+
get commandInput(): string[] | undefined;
|
|
1487
|
+
private _dir?;
|
|
1488
|
+
get dir(): string;
|
|
1489
|
+
set dir(value: string);
|
|
1490
|
+
resetDir(): void;
|
|
1491
|
+
get dirInput(): string | undefined;
|
|
1492
|
+
private _env?;
|
|
1493
|
+
get env(): {
|
|
1494
|
+
[key: string]: string;
|
|
1495
|
+
};
|
|
1496
|
+
set env(value: {
|
|
1497
|
+
[key: string]: string;
|
|
1498
|
+
});
|
|
1499
|
+
resetEnv(): void;
|
|
1500
|
+
get envInput(): {
|
|
1501
|
+
[key: string]: string;
|
|
1502
|
+
} | undefined;
|
|
1503
|
+
private _groups?;
|
|
1504
|
+
get groups(): string[];
|
|
1505
|
+
set groups(value: string[]);
|
|
1506
|
+
resetGroups(): void;
|
|
1507
|
+
get groupsInput(): string[] | undefined;
|
|
1508
|
+
private _hostname?;
|
|
1509
|
+
get hostname(): string;
|
|
1510
|
+
set hostname(value: string);
|
|
1511
|
+
resetHostname(): void;
|
|
1512
|
+
get hostnameInput(): string | undefined;
|
|
1513
|
+
private _image?;
|
|
1514
|
+
get image(): string;
|
|
1515
|
+
set image(value: string);
|
|
1516
|
+
get imageInput(): string | undefined;
|
|
1517
|
+
private _isolation?;
|
|
1518
|
+
get isolation(): string;
|
|
1519
|
+
set isolation(value: string);
|
|
1520
|
+
resetIsolation(): void;
|
|
1521
|
+
get isolationInput(): string | undefined;
|
|
1522
|
+
private _readOnly?;
|
|
1523
|
+
get readOnly(): boolean | cdktf.IResolvable;
|
|
1524
|
+
set readOnly(value: boolean | cdktf.IResolvable);
|
|
1525
|
+
resetReadOnly(): void;
|
|
1526
|
+
get readOnlyInput(): boolean | cdktf.IResolvable | undefined;
|
|
1527
|
+
private _stopGracePeriod?;
|
|
1528
|
+
get stopGracePeriod(): string;
|
|
1529
|
+
set stopGracePeriod(value: string);
|
|
1530
|
+
resetStopGracePeriod(): void;
|
|
1531
|
+
get stopGracePeriodInput(): string | undefined;
|
|
1532
|
+
private _stopSignal?;
|
|
1533
|
+
get stopSignal(): string;
|
|
1534
|
+
set stopSignal(value: string);
|
|
1535
|
+
resetStopSignal(): void;
|
|
1536
|
+
get stopSignalInput(): string | undefined;
|
|
1537
|
+
private _sysctl?;
|
|
1538
|
+
get sysctl(): {
|
|
1539
|
+
[key: string]: string;
|
|
1540
|
+
};
|
|
1541
|
+
set sysctl(value: {
|
|
1542
|
+
[key: string]: string;
|
|
1543
|
+
});
|
|
1544
|
+
resetSysctl(): void;
|
|
1545
|
+
get sysctlInput(): {
|
|
1546
|
+
[key: string]: string;
|
|
1547
|
+
} | undefined;
|
|
1548
|
+
private _user?;
|
|
1549
|
+
get user(): string;
|
|
1550
|
+
set user(value: string);
|
|
1551
|
+
resetUser(): void;
|
|
1552
|
+
get userInput(): string | undefined;
|
|
1553
|
+
private _configs;
|
|
1554
|
+
get configs(): ServiceTaskSpecContainerSpecConfigsList;
|
|
1555
|
+
putConfigs(value: ServiceTaskSpecContainerSpecConfigs[] | cdktf.IResolvable): void;
|
|
1556
|
+
resetConfigs(): void;
|
|
1557
|
+
get configsInput(): cdktf.IResolvable | ServiceTaskSpecContainerSpecConfigs[] | undefined;
|
|
1558
|
+
private _dnsConfig;
|
|
1559
|
+
get dnsConfig(): ServiceTaskSpecContainerSpecDnsConfigOutputReference;
|
|
1560
|
+
putDnsConfig(value: ServiceTaskSpecContainerSpecDnsConfig): void;
|
|
1561
|
+
resetDnsConfig(): void;
|
|
1562
|
+
get dnsConfigInput(): ServiceTaskSpecContainerSpecDnsConfig | undefined;
|
|
1563
|
+
private _healthcheck;
|
|
1564
|
+
get healthcheck(): ServiceTaskSpecContainerSpecHealthcheckOutputReference;
|
|
1565
|
+
putHealthcheck(value: ServiceTaskSpecContainerSpecHealthcheck): void;
|
|
1566
|
+
resetHealthcheck(): void;
|
|
1567
|
+
get healthcheckInput(): ServiceTaskSpecContainerSpecHealthcheck | undefined;
|
|
1568
|
+
private _hosts;
|
|
1569
|
+
get hosts(): ServiceTaskSpecContainerSpecHostsList;
|
|
1570
|
+
putHosts(value: ServiceTaskSpecContainerSpecHosts[] | cdktf.IResolvable): void;
|
|
1571
|
+
resetHosts(): void;
|
|
1572
|
+
get hostsInput(): cdktf.IResolvable | ServiceTaskSpecContainerSpecHosts[] | undefined;
|
|
1573
|
+
private _labels;
|
|
1574
|
+
get labels(): ServiceTaskSpecContainerSpecLabelsList;
|
|
1575
|
+
putLabels(value: ServiceTaskSpecContainerSpecLabels[] | cdktf.IResolvable): void;
|
|
1576
|
+
resetLabels(): void;
|
|
1577
|
+
get labelsInput(): cdktf.IResolvable | ServiceTaskSpecContainerSpecLabels[] | undefined;
|
|
1578
|
+
private _mounts;
|
|
1579
|
+
get mounts(): ServiceTaskSpecContainerSpecMountsList;
|
|
1580
|
+
putMounts(value: ServiceTaskSpecContainerSpecMounts[] | cdktf.IResolvable): void;
|
|
1581
|
+
resetMounts(): void;
|
|
1582
|
+
get mountsInput(): cdktf.IResolvable | ServiceTaskSpecContainerSpecMounts[] | undefined;
|
|
1583
|
+
private _privileges;
|
|
1584
|
+
get privileges(): ServiceTaskSpecContainerSpecPrivilegesOutputReference;
|
|
1585
|
+
putPrivileges(value: ServiceTaskSpecContainerSpecPrivileges): void;
|
|
1586
|
+
resetPrivileges(): void;
|
|
1587
|
+
get privilegesInput(): ServiceTaskSpecContainerSpecPrivileges | undefined;
|
|
1588
|
+
private _secrets;
|
|
1589
|
+
get secrets(): ServiceTaskSpecContainerSpecSecretsList;
|
|
1590
|
+
putSecrets(value: ServiceTaskSpecContainerSpecSecrets[] | cdktf.IResolvable): void;
|
|
1591
|
+
resetSecrets(): void;
|
|
1592
|
+
get secretsInput(): cdktf.IResolvable | ServiceTaskSpecContainerSpecSecrets[] | undefined;
|
|
1593
|
+
}
|
|
1594
|
+
export interface ServiceTaskSpecLogDriver {
|
|
1595
|
+
/**
|
|
1596
|
+
* The logging driver to use
|
|
1597
|
+
*
|
|
1598
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#name Service#name}
|
|
1599
|
+
*/
|
|
1600
|
+
readonly name: string;
|
|
1601
|
+
/**
|
|
1602
|
+
* The options for the logging driver
|
|
1603
|
+
*
|
|
1604
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#options Service#options}
|
|
1605
|
+
*/
|
|
1606
|
+
readonly options?: {
|
|
1607
|
+
[key: string]: string;
|
|
1608
|
+
};
|
|
1609
|
+
}
|
|
1610
|
+
export declare function serviceTaskSpecLogDriverToTerraform(struct?: ServiceTaskSpecLogDriverOutputReference | ServiceTaskSpecLogDriver): any;
|
|
1611
|
+
export declare function serviceTaskSpecLogDriverToHclTerraform(struct?: ServiceTaskSpecLogDriverOutputReference | ServiceTaskSpecLogDriver): any;
|
|
1612
|
+
export declare class ServiceTaskSpecLogDriverOutputReference extends cdktf.ComplexObject {
|
|
1613
|
+
private isEmptyObject;
|
|
1614
|
+
/**
|
|
1615
|
+
* @param terraformResource The parent resource
|
|
1616
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
1617
|
+
*/
|
|
1618
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
|
|
1619
|
+
get internalValue(): ServiceTaskSpecLogDriver | undefined;
|
|
1620
|
+
set internalValue(value: ServiceTaskSpecLogDriver | undefined);
|
|
1621
|
+
private _name?;
|
|
1622
|
+
get name(): string;
|
|
1623
|
+
set name(value: string);
|
|
1624
|
+
get nameInput(): string | undefined;
|
|
1625
|
+
private _options?;
|
|
1626
|
+
get options(): {
|
|
1627
|
+
[key: string]: string;
|
|
1628
|
+
};
|
|
1629
|
+
set options(value: {
|
|
1630
|
+
[key: string]: string;
|
|
1631
|
+
});
|
|
1632
|
+
resetOptions(): void;
|
|
1633
|
+
get optionsInput(): {
|
|
1634
|
+
[key: string]: string;
|
|
1635
|
+
} | undefined;
|
|
1636
|
+
}
|
|
1637
|
+
export interface ServiceTaskSpecNetworksAdvanced {
|
|
1638
|
+
/**
|
|
1639
|
+
* The network aliases of the container in the specific network.
|
|
1640
|
+
*
|
|
1641
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#aliases Service#aliases}
|
|
1642
|
+
*/
|
|
1643
|
+
readonly aliases?: string[];
|
|
1644
|
+
/**
|
|
1645
|
+
* An array of driver options for the network, e.g. `opts1=value`
|
|
1646
|
+
*
|
|
1647
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#driver_opts Service#driver_opts}
|
|
1648
|
+
*/
|
|
1649
|
+
readonly driverOpts?: string[];
|
|
1650
|
+
/**
|
|
1651
|
+
* The name/id of the network.
|
|
1652
|
+
*
|
|
1653
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#name Service#name}
|
|
1654
|
+
*/
|
|
1655
|
+
readonly name: string;
|
|
1656
|
+
}
|
|
1657
|
+
export declare function serviceTaskSpecNetworksAdvancedToTerraform(struct?: ServiceTaskSpecNetworksAdvanced | cdktf.IResolvable): any;
|
|
1658
|
+
export declare function serviceTaskSpecNetworksAdvancedToHclTerraform(struct?: ServiceTaskSpecNetworksAdvanced | cdktf.IResolvable): any;
|
|
1659
|
+
export declare class ServiceTaskSpecNetworksAdvancedOutputReference extends cdktf.ComplexObject {
|
|
1660
|
+
private isEmptyObject;
|
|
1661
|
+
private resolvableValue?;
|
|
1662
|
+
/**
|
|
1663
|
+
* @param terraformResource The parent resource
|
|
1664
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
1665
|
+
* @param complexObjectIndex the index of this item in the list
|
|
1666
|
+
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
1667
|
+
*/
|
|
1668
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
|
|
1669
|
+
get internalValue(): ServiceTaskSpecNetworksAdvanced | cdktf.IResolvable | undefined;
|
|
1670
|
+
set internalValue(value: ServiceTaskSpecNetworksAdvanced | cdktf.IResolvable | undefined);
|
|
1671
|
+
private _aliases?;
|
|
1672
|
+
get aliases(): string[];
|
|
1673
|
+
set aliases(value: string[]);
|
|
1674
|
+
resetAliases(): void;
|
|
1675
|
+
get aliasesInput(): string[] | undefined;
|
|
1676
|
+
private _driverOpts?;
|
|
1677
|
+
get driverOpts(): string[];
|
|
1678
|
+
set driverOpts(value: string[]);
|
|
1679
|
+
resetDriverOpts(): void;
|
|
1680
|
+
get driverOptsInput(): string[] | undefined;
|
|
1681
|
+
private _name?;
|
|
1682
|
+
get name(): string;
|
|
1683
|
+
set name(value: string);
|
|
1684
|
+
get nameInput(): string | undefined;
|
|
1685
|
+
}
|
|
1686
|
+
export declare class ServiceTaskSpecNetworksAdvancedList extends cdktf.ComplexList {
|
|
1687
|
+
protected terraformResource: cdktf.IInterpolatingParent;
|
|
1688
|
+
protected terraformAttribute: string;
|
|
1689
|
+
protected wrapsSet: boolean;
|
|
1690
|
+
internalValue?: ServiceTaskSpecNetworksAdvanced[] | cdktf.IResolvable;
|
|
1691
|
+
/**
|
|
1692
|
+
* @param terraformResource The parent resource
|
|
1693
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
1694
|
+
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
1695
|
+
*/
|
|
1696
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
|
|
1697
|
+
/**
|
|
1698
|
+
* @param index the index of the item to return
|
|
1699
|
+
*/
|
|
1700
|
+
get(index: number): ServiceTaskSpecNetworksAdvancedOutputReference;
|
|
1701
|
+
}
|
|
1702
|
+
export interface ServiceTaskSpecPlacementPlatforms {
|
|
1703
|
+
/**
|
|
1704
|
+
* The architecture, e.g. `amd64`
|
|
1705
|
+
*
|
|
1706
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#architecture Service#architecture}
|
|
1707
|
+
*/
|
|
1708
|
+
readonly architecture: string;
|
|
1709
|
+
/**
|
|
1710
|
+
* The operation system, e.g. `linux`
|
|
1711
|
+
*
|
|
1712
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#os Service#os}
|
|
1713
|
+
*/
|
|
1714
|
+
readonly os: string;
|
|
1715
|
+
}
|
|
1716
|
+
export declare function serviceTaskSpecPlacementPlatformsToTerraform(struct?: ServiceTaskSpecPlacementPlatforms | cdktf.IResolvable): any;
|
|
1717
|
+
export declare function serviceTaskSpecPlacementPlatformsToHclTerraform(struct?: ServiceTaskSpecPlacementPlatforms | cdktf.IResolvable): any;
|
|
1718
|
+
export declare class ServiceTaskSpecPlacementPlatformsOutputReference extends cdktf.ComplexObject {
|
|
1719
|
+
private isEmptyObject;
|
|
1720
|
+
private resolvableValue?;
|
|
1721
|
+
/**
|
|
1722
|
+
* @param terraformResource The parent resource
|
|
1723
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
1724
|
+
* @param complexObjectIndex the index of this item in the list
|
|
1725
|
+
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
1726
|
+
*/
|
|
1727
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
|
|
1728
|
+
get internalValue(): ServiceTaskSpecPlacementPlatforms | cdktf.IResolvable | undefined;
|
|
1729
|
+
set internalValue(value: ServiceTaskSpecPlacementPlatforms | cdktf.IResolvable | undefined);
|
|
1730
|
+
private _architecture?;
|
|
1731
|
+
get architecture(): string;
|
|
1732
|
+
set architecture(value: string);
|
|
1733
|
+
get architectureInput(): string | undefined;
|
|
1734
|
+
private _os?;
|
|
1735
|
+
get os(): string;
|
|
1736
|
+
set os(value: string);
|
|
1737
|
+
get osInput(): string | undefined;
|
|
1738
|
+
}
|
|
1739
|
+
export declare class ServiceTaskSpecPlacementPlatformsList extends cdktf.ComplexList {
|
|
1740
|
+
protected terraformResource: cdktf.IInterpolatingParent;
|
|
1741
|
+
protected terraformAttribute: string;
|
|
1742
|
+
protected wrapsSet: boolean;
|
|
1743
|
+
internalValue?: ServiceTaskSpecPlacementPlatforms[] | cdktf.IResolvable;
|
|
1744
|
+
/**
|
|
1745
|
+
* @param terraformResource The parent resource
|
|
1746
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
1747
|
+
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
1748
|
+
*/
|
|
1749
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
|
|
1750
|
+
/**
|
|
1751
|
+
* @param index the index of the item to return
|
|
1752
|
+
*/
|
|
1753
|
+
get(index: number): ServiceTaskSpecPlacementPlatformsOutputReference;
|
|
1754
|
+
}
|
|
1755
|
+
export interface ServiceTaskSpecPlacement {
|
|
1756
|
+
/**
|
|
1757
|
+
* An array of constraints. e.g.: `node.role==manager`
|
|
1758
|
+
*
|
|
1759
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#constraints Service#constraints}
|
|
1760
|
+
*/
|
|
1761
|
+
readonly constraints?: string[];
|
|
1762
|
+
/**
|
|
1763
|
+
* Maximum number of replicas for per node (default value is `0`, which is unlimited)
|
|
1764
|
+
*
|
|
1765
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#max_replicas Service#max_replicas}
|
|
1766
|
+
*/
|
|
1767
|
+
readonly maxReplicas?: number;
|
|
1768
|
+
/**
|
|
1769
|
+
* 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
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#prefs Service#prefs}
|
|
1772
|
+
*/
|
|
1773
|
+
readonly prefs?: string[];
|
|
1774
|
+
/**
|
|
1775
|
+
* platforms block
|
|
1776
|
+
*
|
|
1777
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#platforms Service#platforms}
|
|
1778
|
+
*/
|
|
1779
|
+
readonly platforms?: ServiceTaskSpecPlacementPlatforms[] | cdktf.IResolvable;
|
|
1780
|
+
}
|
|
1781
|
+
export declare function serviceTaskSpecPlacementToTerraform(struct?: ServiceTaskSpecPlacementOutputReference | ServiceTaskSpecPlacement): any;
|
|
1782
|
+
export declare function serviceTaskSpecPlacementToHclTerraform(struct?: ServiceTaskSpecPlacementOutputReference | ServiceTaskSpecPlacement): any;
|
|
1783
|
+
export declare class ServiceTaskSpecPlacementOutputReference extends cdktf.ComplexObject {
|
|
1784
|
+
private isEmptyObject;
|
|
1785
|
+
/**
|
|
1786
|
+
* @param terraformResource The parent resource
|
|
1787
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
1788
|
+
*/
|
|
1789
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
|
|
1790
|
+
get internalValue(): ServiceTaskSpecPlacement | undefined;
|
|
1791
|
+
set internalValue(value: ServiceTaskSpecPlacement | undefined);
|
|
1792
|
+
private _constraints?;
|
|
1793
|
+
get constraints(): string[];
|
|
1794
|
+
set constraints(value: string[]);
|
|
1795
|
+
resetConstraints(): void;
|
|
1796
|
+
get constraintsInput(): string[] | undefined;
|
|
1797
|
+
private _maxReplicas?;
|
|
1798
|
+
get maxReplicas(): number;
|
|
1799
|
+
set maxReplicas(value: number);
|
|
1800
|
+
resetMaxReplicas(): void;
|
|
1801
|
+
get maxReplicasInput(): number | undefined;
|
|
1802
|
+
private _prefs?;
|
|
1803
|
+
get prefs(): string[];
|
|
1804
|
+
set prefs(value: string[]);
|
|
1805
|
+
resetPrefs(): void;
|
|
1806
|
+
get prefsInput(): string[] | undefined;
|
|
1807
|
+
private _platforms;
|
|
1808
|
+
get platforms(): ServiceTaskSpecPlacementPlatformsList;
|
|
1809
|
+
putPlatforms(value: ServiceTaskSpecPlacementPlatforms[] | cdktf.IResolvable): void;
|
|
1810
|
+
resetPlatforms(): void;
|
|
1811
|
+
get platformsInput(): cdktf.IResolvable | ServiceTaskSpecPlacementPlatforms[] | undefined;
|
|
1812
|
+
}
|
|
1813
|
+
export interface ServiceTaskSpecResourcesLimits {
|
|
1814
|
+
/**
|
|
1815
|
+
* The amounf of memory in bytes the container allocates
|
|
1816
|
+
*
|
|
1817
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#memory_bytes Service#memory_bytes}
|
|
1818
|
+
*/
|
|
1819
|
+
readonly memoryBytes?: number;
|
|
1820
|
+
/**
|
|
1821
|
+
* CPU shares in units of `1/1e9` (or `10^-9`) of the CPU. Should be at least `1000000`
|
|
1822
|
+
*
|
|
1823
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#nano_cpus Service#nano_cpus}
|
|
1824
|
+
*/
|
|
1825
|
+
readonly nanoCpus?: number;
|
|
1826
|
+
}
|
|
1827
|
+
export declare function serviceTaskSpecResourcesLimitsToTerraform(struct?: ServiceTaskSpecResourcesLimitsOutputReference | ServiceTaskSpecResourcesLimits): any;
|
|
1828
|
+
export declare function serviceTaskSpecResourcesLimitsToHclTerraform(struct?: ServiceTaskSpecResourcesLimitsOutputReference | ServiceTaskSpecResourcesLimits): any;
|
|
1829
|
+
export declare class ServiceTaskSpecResourcesLimitsOutputReference extends cdktf.ComplexObject {
|
|
1830
|
+
private isEmptyObject;
|
|
1831
|
+
/**
|
|
1832
|
+
* @param terraformResource The parent resource
|
|
1833
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
1834
|
+
*/
|
|
1835
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
|
|
1836
|
+
get internalValue(): ServiceTaskSpecResourcesLimits | undefined;
|
|
1837
|
+
set internalValue(value: ServiceTaskSpecResourcesLimits | undefined);
|
|
1838
|
+
private _memoryBytes?;
|
|
1839
|
+
get memoryBytes(): number;
|
|
1840
|
+
set memoryBytes(value: number);
|
|
1841
|
+
resetMemoryBytes(): void;
|
|
1842
|
+
get memoryBytesInput(): number | undefined;
|
|
1843
|
+
private _nanoCpus?;
|
|
1844
|
+
get nanoCpus(): number;
|
|
1845
|
+
set nanoCpus(value: number);
|
|
1846
|
+
resetNanoCpus(): void;
|
|
1847
|
+
get nanoCpusInput(): number | undefined;
|
|
1848
|
+
}
|
|
1849
|
+
export interface ServiceTaskSpecResourcesReservationGenericResources {
|
|
1850
|
+
/**
|
|
1851
|
+
* The Integer resources
|
|
1852
|
+
*
|
|
1853
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#discrete_resources_spec Service#discrete_resources_spec}
|
|
1854
|
+
*/
|
|
1855
|
+
readonly discreteResourcesSpec?: string[];
|
|
1856
|
+
/**
|
|
1857
|
+
* The String resources
|
|
1858
|
+
*
|
|
1859
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#named_resources_spec Service#named_resources_spec}
|
|
1860
|
+
*/
|
|
1861
|
+
readonly namedResourcesSpec?: string[];
|
|
1862
|
+
}
|
|
1863
|
+
export declare function serviceTaskSpecResourcesReservationGenericResourcesToTerraform(struct?: ServiceTaskSpecResourcesReservationGenericResourcesOutputReference | ServiceTaskSpecResourcesReservationGenericResources): any;
|
|
1864
|
+
export declare function serviceTaskSpecResourcesReservationGenericResourcesToHclTerraform(struct?: ServiceTaskSpecResourcesReservationGenericResourcesOutputReference | ServiceTaskSpecResourcesReservationGenericResources): any;
|
|
1865
|
+
export declare class ServiceTaskSpecResourcesReservationGenericResourcesOutputReference extends cdktf.ComplexObject {
|
|
1866
|
+
private isEmptyObject;
|
|
1867
|
+
/**
|
|
1868
|
+
* @param terraformResource The parent resource
|
|
1869
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
1870
|
+
*/
|
|
1871
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
|
|
1872
|
+
get internalValue(): ServiceTaskSpecResourcesReservationGenericResources | undefined;
|
|
1873
|
+
set internalValue(value: ServiceTaskSpecResourcesReservationGenericResources | undefined);
|
|
1874
|
+
private _discreteResourcesSpec?;
|
|
1875
|
+
get discreteResourcesSpec(): string[];
|
|
1876
|
+
set discreteResourcesSpec(value: string[]);
|
|
1877
|
+
resetDiscreteResourcesSpec(): void;
|
|
1878
|
+
get discreteResourcesSpecInput(): string[] | undefined;
|
|
1879
|
+
private _namedResourcesSpec?;
|
|
1880
|
+
get namedResourcesSpec(): string[];
|
|
1881
|
+
set namedResourcesSpec(value: string[]);
|
|
1882
|
+
resetNamedResourcesSpec(): void;
|
|
1883
|
+
get namedResourcesSpecInput(): string[] | undefined;
|
|
1884
|
+
}
|
|
1885
|
+
export interface ServiceTaskSpecResourcesReservation {
|
|
1886
|
+
/**
|
|
1887
|
+
* The amounf of memory in bytes the container allocates
|
|
1888
|
+
*
|
|
1889
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#memory_bytes Service#memory_bytes}
|
|
1890
|
+
*/
|
|
1891
|
+
readonly memoryBytes?: number;
|
|
1892
|
+
/**
|
|
1893
|
+
* CPU shares in units of 1/1e9 (or 10^-9) of the CPU. Should be at least `1000000`
|
|
1894
|
+
*
|
|
1895
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#nano_cpus Service#nano_cpus}
|
|
1896
|
+
*/
|
|
1897
|
+
readonly nanoCpus?: number;
|
|
1898
|
+
/**
|
|
1899
|
+
* generic_resources block
|
|
1900
|
+
*
|
|
1901
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#generic_resources Service#generic_resources}
|
|
1902
|
+
*/
|
|
1903
|
+
readonly genericResources?: ServiceTaskSpecResourcesReservationGenericResources;
|
|
1904
|
+
}
|
|
1905
|
+
export declare function serviceTaskSpecResourcesReservationToTerraform(struct?: ServiceTaskSpecResourcesReservationOutputReference | ServiceTaskSpecResourcesReservation): any;
|
|
1906
|
+
export declare function serviceTaskSpecResourcesReservationToHclTerraform(struct?: ServiceTaskSpecResourcesReservationOutputReference | ServiceTaskSpecResourcesReservation): any;
|
|
1907
|
+
export declare class ServiceTaskSpecResourcesReservationOutputReference extends cdktf.ComplexObject {
|
|
1908
|
+
private isEmptyObject;
|
|
1909
|
+
/**
|
|
1910
|
+
* @param terraformResource The parent resource
|
|
1911
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
1912
|
+
*/
|
|
1913
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
|
|
1914
|
+
get internalValue(): ServiceTaskSpecResourcesReservation | undefined;
|
|
1915
|
+
set internalValue(value: ServiceTaskSpecResourcesReservation | undefined);
|
|
1916
|
+
private _memoryBytes?;
|
|
1917
|
+
get memoryBytes(): number;
|
|
1918
|
+
set memoryBytes(value: number);
|
|
1919
|
+
resetMemoryBytes(): void;
|
|
1920
|
+
get memoryBytesInput(): number | undefined;
|
|
1921
|
+
private _nanoCpus?;
|
|
1922
|
+
get nanoCpus(): number;
|
|
1923
|
+
set nanoCpus(value: number);
|
|
1924
|
+
resetNanoCpus(): void;
|
|
1925
|
+
get nanoCpusInput(): number | undefined;
|
|
1926
|
+
private _genericResources;
|
|
1927
|
+
get genericResources(): ServiceTaskSpecResourcesReservationGenericResourcesOutputReference;
|
|
1928
|
+
putGenericResources(value: ServiceTaskSpecResourcesReservationGenericResources): void;
|
|
1929
|
+
resetGenericResources(): void;
|
|
1930
|
+
get genericResourcesInput(): ServiceTaskSpecResourcesReservationGenericResources | undefined;
|
|
1931
|
+
}
|
|
1932
|
+
export interface ServiceTaskSpecResources {
|
|
1933
|
+
/**
|
|
1934
|
+
* limits block
|
|
1935
|
+
*
|
|
1936
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#limits Service#limits}
|
|
1937
|
+
*/
|
|
1938
|
+
readonly limits?: ServiceTaskSpecResourcesLimits;
|
|
1939
|
+
/**
|
|
1940
|
+
* reservation block
|
|
1941
|
+
*
|
|
1942
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#reservation Service#reservation}
|
|
1943
|
+
*/
|
|
1944
|
+
readonly reservation?: ServiceTaskSpecResourcesReservation;
|
|
1945
|
+
}
|
|
1946
|
+
export declare function serviceTaskSpecResourcesToTerraform(struct?: ServiceTaskSpecResourcesOutputReference | ServiceTaskSpecResources): any;
|
|
1947
|
+
export declare function serviceTaskSpecResourcesToHclTerraform(struct?: ServiceTaskSpecResourcesOutputReference | ServiceTaskSpecResources): any;
|
|
1948
|
+
export declare class ServiceTaskSpecResourcesOutputReference extends cdktf.ComplexObject {
|
|
1949
|
+
private isEmptyObject;
|
|
1950
|
+
/**
|
|
1951
|
+
* @param terraformResource The parent resource
|
|
1952
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
1953
|
+
*/
|
|
1954
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
|
|
1955
|
+
get internalValue(): ServiceTaskSpecResources | undefined;
|
|
1956
|
+
set internalValue(value: ServiceTaskSpecResources | undefined);
|
|
1957
|
+
private _limits;
|
|
1958
|
+
get limits(): ServiceTaskSpecResourcesLimitsOutputReference;
|
|
1959
|
+
putLimits(value: ServiceTaskSpecResourcesLimits): void;
|
|
1960
|
+
resetLimits(): void;
|
|
1961
|
+
get limitsInput(): ServiceTaskSpecResourcesLimits | undefined;
|
|
1962
|
+
private _reservation;
|
|
1963
|
+
get reservation(): ServiceTaskSpecResourcesReservationOutputReference;
|
|
1964
|
+
putReservation(value: ServiceTaskSpecResourcesReservation): void;
|
|
1965
|
+
resetReservation(): void;
|
|
1966
|
+
get reservationInput(): ServiceTaskSpecResourcesReservation | undefined;
|
|
1967
|
+
}
|
|
1968
|
+
export interface ServiceTaskSpecRestartPolicy {
|
|
1969
|
+
/**
|
|
1970
|
+
* Condition for restart
|
|
1971
|
+
*
|
|
1972
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#condition Service#condition}
|
|
1973
|
+
*/
|
|
1974
|
+
readonly condition?: string;
|
|
1975
|
+
/**
|
|
1976
|
+
* Delay between restart attempts (ms|s|m|h)
|
|
1977
|
+
*
|
|
1978
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#delay Service#delay}
|
|
1979
|
+
*/
|
|
1980
|
+
readonly delay?: string;
|
|
1981
|
+
/**
|
|
1982
|
+
* Maximum attempts to restart a given container before giving up (default value is `0`, which is ignored)
|
|
1983
|
+
*
|
|
1984
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#max_attempts Service#max_attempts}
|
|
1985
|
+
*/
|
|
1986
|
+
readonly maxAttempts?: number;
|
|
1987
|
+
/**
|
|
1988
|
+
* The time window used to evaluate the restart policy (default value is `0`, which is unbounded) (ms|s|m|h)
|
|
1989
|
+
*
|
|
1990
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#window Service#window}
|
|
1991
|
+
*/
|
|
1992
|
+
readonly window?: string;
|
|
1993
|
+
}
|
|
1994
|
+
export declare function serviceTaskSpecRestartPolicyToTerraform(struct?: ServiceTaskSpecRestartPolicyOutputReference | ServiceTaskSpecRestartPolicy): any;
|
|
1995
|
+
export declare function serviceTaskSpecRestartPolicyToHclTerraform(struct?: ServiceTaskSpecRestartPolicyOutputReference | ServiceTaskSpecRestartPolicy): any;
|
|
1996
|
+
export declare class ServiceTaskSpecRestartPolicyOutputReference extends cdktf.ComplexObject {
|
|
1997
|
+
private isEmptyObject;
|
|
1998
|
+
/**
|
|
1999
|
+
* @param terraformResource The parent resource
|
|
2000
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
2001
|
+
*/
|
|
2002
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
|
|
2003
|
+
get internalValue(): ServiceTaskSpecRestartPolicy | undefined;
|
|
2004
|
+
set internalValue(value: ServiceTaskSpecRestartPolicy | undefined);
|
|
2005
|
+
private _condition?;
|
|
2006
|
+
get condition(): string;
|
|
2007
|
+
set condition(value: string);
|
|
2008
|
+
resetCondition(): void;
|
|
2009
|
+
get conditionInput(): string | undefined;
|
|
2010
|
+
private _delay?;
|
|
2011
|
+
get delay(): string;
|
|
2012
|
+
set delay(value: string);
|
|
2013
|
+
resetDelay(): void;
|
|
2014
|
+
get delayInput(): string | undefined;
|
|
2015
|
+
private _maxAttempts?;
|
|
2016
|
+
get maxAttempts(): number;
|
|
2017
|
+
set maxAttempts(value: number);
|
|
2018
|
+
resetMaxAttempts(): void;
|
|
2019
|
+
get maxAttemptsInput(): number | undefined;
|
|
2020
|
+
private _window?;
|
|
2021
|
+
get window(): string;
|
|
2022
|
+
set window(value: string);
|
|
2023
|
+
resetWindow(): void;
|
|
2024
|
+
get windowInput(): string | undefined;
|
|
2025
|
+
}
|
|
2026
|
+
export interface ServiceTaskSpec {
|
|
2027
|
+
/**
|
|
2028
|
+
* 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
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#force_update Service#force_update}
|
|
2031
|
+
*/
|
|
2032
|
+
readonly forceUpdate?: number;
|
|
2033
|
+
/**
|
|
2034
|
+
* 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
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#runtime Service#runtime}
|
|
2037
|
+
*/
|
|
2038
|
+
readonly runtime?: string;
|
|
2039
|
+
/**
|
|
2040
|
+
* container_spec block
|
|
2041
|
+
*
|
|
2042
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#container_spec Service#container_spec}
|
|
2043
|
+
*/
|
|
2044
|
+
readonly containerSpec: ServiceTaskSpecContainerSpec;
|
|
2045
|
+
/**
|
|
2046
|
+
* log_driver block
|
|
2047
|
+
*
|
|
2048
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#log_driver Service#log_driver}
|
|
2049
|
+
*/
|
|
2050
|
+
readonly logDriver?: ServiceTaskSpecLogDriver;
|
|
2051
|
+
/**
|
|
2052
|
+
* networks_advanced block
|
|
2053
|
+
*
|
|
2054
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#networks_advanced Service#networks_advanced}
|
|
2055
|
+
*/
|
|
2056
|
+
readonly networksAdvanced?: ServiceTaskSpecNetworksAdvanced[] | cdktf.IResolvable;
|
|
2057
|
+
/**
|
|
2058
|
+
* placement block
|
|
2059
|
+
*
|
|
2060
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#placement Service#placement}
|
|
2061
|
+
*/
|
|
2062
|
+
readonly placement?: ServiceTaskSpecPlacement;
|
|
2063
|
+
/**
|
|
2064
|
+
* resources block
|
|
2065
|
+
*
|
|
2066
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#resources Service#resources}
|
|
2067
|
+
*/
|
|
2068
|
+
readonly resources?: ServiceTaskSpecResources;
|
|
2069
|
+
/**
|
|
2070
|
+
* restart_policy block
|
|
2071
|
+
*
|
|
2072
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#restart_policy Service#restart_policy}
|
|
2073
|
+
*/
|
|
2074
|
+
readonly restartPolicy?: ServiceTaskSpecRestartPolicy;
|
|
2075
|
+
}
|
|
2076
|
+
export declare function serviceTaskSpecToTerraform(struct?: ServiceTaskSpecOutputReference | ServiceTaskSpec): any;
|
|
2077
|
+
export declare function serviceTaskSpecToHclTerraform(struct?: ServiceTaskSpecOutputReference | ServiceTaskSpec): any;
|
|
2078
|
+
export declare class ServiceTaskSpecOutputReference extends cdktf.ComplexObject {
|
|
2079
|
+
private isEmptyObject;
|
|
2080
|
+
/**
|
|
2081
|
+
* @param terraformResource The parent resource
|
|
2082
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
2083
|
+
*/
|
|
2084
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
|
|
2085
|
+
get internalValue(): ServiceTaskSpec | undefined;
|
|
2086
|
+
set internalValue(value: ServiceTaskSpec | undefined);
|
|
2087
|
+
private _forceUpdate?;
|
|
2088
|
+
get forceUpdate(): number;
|
|
2089
|
+
set forceUpdate(value: number);
|
|
2090
|
+
resetForceUpdate(): void;
|
|
2091
|
+
get forceUpdateInput(): number | undefined;
|
|
2092
|
+
private _runtime?;
|
|
2093
|
+
get runtime(): string;
|
|
2094
|
+
set runtime(value: string);
|
|
2095
|
+
resetRuntime(): void;
|
|
2096
|
+
get runtimeInput(): string | undefined;
|
|
2097
|
+
private _containerSpec;
|
|
2098
|
+
get containerSpec(): ServiceTaskSpecContainerSpecOutputReference;
|
|
2099
|
+
putContainerSpec(value: ServiceTaskSpecContainerSpec): void;
|
|
2100
|
+
get containerSpecInput(): ServiceTaskSpecContainerSpec | undefined;
|
|
2101
|
+
private _logDriver;
|
|
2102
|
+
get logDriver(): ServiceTaskSpecLogDriverOutputReference;
|
|
2103
|
+
putLogDriver(value: ServiceTaskSpecLogDriver): void;
|
|
2104
|
+
resetLogDriver(): void;
|
|
2105
|
+
get logDriverInput(): ServiceTaskSpecLogDriver | undefined;
|
|
2106
|
+
private _networksAdvanced;
|
|
2107
|
+
get networksAdvanced(): ServiceTaskSpecNetworksAdvancedList;
|
|
2108
|
+
putNetworksAdvanced(value: ServiceTaskSpecNetworksAdvanced[] | cdktf.IResolvable): void;
|
|
2109
|
+
resetNetworksAdvanced(): void;
|
|
2110
|
+
get networksAdvancedInput(): cdktf.IResolvable | ServiceTaskSpecNetworksAdvanced[] | undefined;
|
|
2111
|
+
private _placement;
|
|
2112
|
+
get placement(): ServiceTaskSpecPlacementOutputReference;
|
|
2113
|
+
putPlacement(value: ServiceTaskSpecPlacement): void;
|
|
2114
|
+
resetPlacement(): void;
|
|
2115
|
+
get placementInput(): ServiceTaskSpecPlacement | undefined;
|
|
2116
|
+
private _resources;
|
|
2117
|
+
get resources(): ServiceTaskSpecResourcesOutputReference;
|
|
2118
|
+
putResources(value: ServiceTaskSpecResources): void;
|
|
2119
|
+
resetResources(): void;
|
|
2120
|
+
get resourcesInput(): ServiceTaskSpecResources | undefined;
|
|
2121
|
+
private _restartPolicy;
|
|
2122
|
+
get restartPolicy(): ServiceTaskSpecRestartPolicyOutputReference;
|
|
2123
|
+
putRestartPolicy(value: ServiceTaskSpecRestartPolicy): void;
|
|
2124
|
+
resetRestartPolicy(): void;
|
|
2125
|
+
get restartPolicyInput(): ServiceTaskSpecRestartPolicy | undefined;
|
|
2126
|
+
}
|
|
2127
|
+
export interface ServiceUpdateConfig {
|
|
2128
|
+
/**
|
|
2129
|
+
* Delay between task updates `(ns|us|ms|s|m|h)`. Defaults to `0s`.
|
|
2130
|
+
*
|
|
2131
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#delay Service#delay}
|
|
2132
|
+
*/
|
|
2133
|
+
readonly delay?: string;
|
|
2134
|
+
/**
|
|
2135
|
+
* Action on update failure: `pause`, `continue` or `rollback`. Defaults to `pause`.
|
|
2136
|
+
*
|
|
2137
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#failure_action Service#failure_action}
|
|
2138
|
+
*/
|
|
2139
|
+
readonly failureAction?: string;
|
|
2140
|
+
/**
|
|
2141
|
+
* Failure rate to tolerate during an update. Defaults to `0.0`.
|
|
2142
|
+
*
|
|
2143
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#max_failure_ratio Service#max_failure_ratio}
|
|
2144
|
+
*/
|
|
2145
|
+
readonly maxFailureRatio?: string;
|
|
2146
|
+
/**
|
|
2147
|
+
* Duration after each task update to monitor for failure (ns|us|ms|s|m|h). Defaults to `5s`.
|
|
2148
|
+
*
|
|
2149
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#monitor Service#monitor}
|
|
2150
|
+
*/
|
|
2151
|
+
readonly monitor?: string;
|
|
2152
|
+
/**
|
|
2153
|
+
* Update order: either 'stop-first' or 'start-first'. Defaults to `stop-first`.
|
|
2154
|
+
*
|
|
2155
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#order Service#order}
|
|
2156
|
+
*/
|
|
2157
|
+
readonly order?: string;
|
|
2158
|
+
/**
|
|
2159
|
+
* Maximum number of tasks to be updated in one iteration. Defaults to `1`
|
|
2160
|
+
*
|
|
2161
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service#parallelism Service#parallelism}
|
|
2162
|
+
*/
|
|
2163
|
+
readonly parallelism?: number;
|
|
2164
|
+
}
|
|
2165
|
+
export declare function serviceUpdateConfigToTerraform(struct?: ServiceUpdateConfigOutputReference | ServiceUpdateConfig): any;
|
|
2166
|
+
export declare function serviceUpdateConfigToHclTerraform(struct?: ServiceUpdateConfigOutputReference | ServiceUpdateConfig): any;
|
|
2167
|
+
export declare class ServiceUpdateConfigOutputReference extends cdktf.ComplexObject {
|
|
2168
|
+
private isEmptyObject;
|
|
2169
|
+
/**
|
|
2170
|
+
* @param terraformResource The parent resource
|
|
2171
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
2172
|
+
*/
|
|
2173
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
|
|
2174
|
+
get internalValue(): ServiceUpdateConfig | undefined;
|
|
2175
|
+
set internalValue(value: ServiceUpdateConfig | undefined);
|
|
2176
|
+
private _delay?;
|
|
2177
|
+
get delay(): string;
|
|
2178
|
+
set delay(value: string);
|
|
2179
|
+
resetDelay(): void;
|
|
2180
|
+
get delayInput(): string | undefined;
|
|
2181
|
+
private _failureAction?;
|
|
2182
|
+
get failureAction(): string;
|
|
2183
|
+
set failureAction(value: string);
|
|
2184
|
+
resetFailureAction(): void;
|
|
2185
|
+
get failureActionInput(): string | undefined;
|
|
2186
|
+
private _maxFailureRatio?;
|
|
2187
|
+
get maxFailureRatio(): string;
|
|
2188
|
+
set maxFailureRatio(value: string);
|
|
2189
|
+
resetMaxFailureRatio(): void;
|
|
2190
|
+
get maxFailureRatioInput(): string | undefined;
|
|
2191
|
+
private _monitor?;
|
|
2192
|
+
get monitor(): string;
|
|
2193
|
+
set monitor(value: string);
|
|
2194
|
+
resetMonitor(): void;
|
|
2195
|
+
get monitorInput(): string | undefined;
|
|
2196
|
+
private _order?;
|
|
2197
|
+
get order(): string;
|
|
2198
|
+
set order(value: string);
|
|
2199
|
+
resetOrder(): void;
|
|
2200
|
+
get orderInput(): string | undefined;
|
|
2201
|
+
private _parallelism?;
|
|
2202
|
+
get parallelism(): number;
|
|
2203
|
+
set parallelism(value: number);
|
|
2204
|
+
resetParallelism(): void;
|
|
2205
|
+
get parallelismInput(): number | undefined;
|
|
2206
|
+
}
|
|
2207
|
+
/**
|
|
2208
|
+
* Represents a {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service docker_service}
|
|
2209
|
+
*/
|
|
2210
|
+
export declare class Service extends cdktf.TerraformResource {
|
|
2211
|
+
static readonly tfResourceType = "docker_service";
|
|
2212
|
+
/**
|
|
2213
|
+
* Generates CDKTF code for importing a Service resource upon running "cdktf plan <stack-name>"
|
|
2214
|
+
* @param scope The scope in which to define this construct
|
|
2215
|
+
* @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.6.2/docs/resources/service#import import section} in the documentation of this resource for the id to use
|
|
2217
|
+
* @param provider? Optional instance of the provider where the Service to import is found
|
|
2218
|
+
*/
|
|
2219
|
+
static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): cdktf.ImportableResource;
|
|
2220
|
+
/**
|
|
2221
|
+
* Create a new {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/service docker_service} Resource
|
|
2222
|
+
*
|
|
2223
|
+
* @param scope The scope in which to define this construct
|
|
2224
|
+
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
2225
|
+
* @param options ServiceConfig
|
|
2226
|
+
*/
|
|
2227
|
+
constructor(scope: Construct, id: string, config: ServiceConfig);
|
|
2228
|
+
private _id?;
|
|
2229
|
+
get id(): string;
|
|
2230
|
+
set id(value: string);
|
|
2231
|
+
resetId(): void;
|
|
2232
|
+
get idInput(): string | undefined;
|
|
2233
|
+
private _name?;
|
|
2234
|
+
get name(): string;
|
|
2235
|
+
set name(value: string);
|
|
2236
|
+
get nameInput(): string | undefined;
|
|
2237
|
+
private _auth;
|
|
2238
|
+
get auth(): ServiceAuthOutputReference;
|
|
2239
|
+
putAuth(value: ServiceAuth): void;
|
|
2240
|
+
resetAuth(): void;
|
|
2241
|
+
get authInput(): ServiceAuth | undefined;
|
|
2242
|
+
private _convergeConfig;
|
|
2243
|
+
get convergeConfig(): ServiceConvergeConfigOutputReference;
|
|
2244
|
+
putConvergeConfig(value: ServiceConvergeConfig): void;
|
|
2245
|
+
resetConvergeConfig(): void;
|
|
2246
|
+
get convergeConfigInput(): ServiceConvergeConfig | undefined;
|
|
2247
|
+
private _endpointSpec;
|
|
2248
|
+
get endpointSpec(): ServiceEndpointSpecOutputReference;
|
|
2249
|
+
putEndpointSpec(value: ServiceEndpointSpec): void;
|
|
2250
|
+
resetEndpointSpec(): void;
|
|
2251
|
+
get endpointSpecInput(): ServiceEndpointSpec | undefined;
|
|
2252
|
+
private _labels;
|
|
2253
|
+
get labels(): ServiceLabelsList;
|
|
2254
|
+
putLabels(value: ServiceLabels[] | cdktf.IResolvable): void;
|
|
2255
|
+
resetLabels(): void;
|
|
2256
|
+
get labelsInput(): cdktf.IResolvable | ServiceLabels[] | undefined;
|
|
2257
|
+
private _mode;
|
|
2258
|
+
get mode(): ServiceModeOutputReference;
|
|
2259
|
+
putMode(value: ServiceMode): void;
|
|
2260
|
+
resetMode(): void;
|
|
2261
|
+
get modeInput(): ServiceMode | undefined;
|
|
2262
|
+
private _rollbackConfig;
|
|
2263
|
+
get rollbackConfig(): ServiceRollbackConfigOutputReference;
|
|
2264
|
+
putRollbackConfig(value: ServiceRollbackConfig): void;
|
|
2265
|
+
resetRollbackConfig(): void;
|
|
2266
|
+
get rollbackConfigInput(): ServiceRollbackConfig | undefined;
|
|
2267
|
+
private _taskSpec;
|
|
2268
|
+
get taskSpec(): ServiceTaskSpecOutputReference;
|
|
2269
|
+
putTaskSpec(value: ServiceTaskSpec): void;
|
|
2270
|
+
get taskSpecInput(): ServiceTaskSpec | undefined;
|
|
2271
|
+
private _updateConfig;
|
|
2272
|
+
get updateConfig(): ServiceUpdateConfigOutputReference;
|
|
2273
|
+
putUpdateConfig(value: ServiceUpdateConfig): void;
|
|
2274
|
+
resetUpdateConfig(): void;
|
|
2275
|
+
get updateConfigInput(): ServiceUpdateConfig | undefined;
|
|
2276
|
+
protected synthesizeAttributes(): {
|
|
2277
|
+
[name: string]: any;
|
|
2278
|
+
};
|
|
2279
|
+
protected synthesizeHclAttributes(): {
|
|
2280
|
+
[name: string]: any;
|
|
2281
|
+
};
|
|
2282
|
+
}
|