@cdktn/provider-docker 12.1.0 → 13.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.jsii +9058 -3437
- package/README.md +13 -13
- package/lib/buildx-builder/index.d.ts +110 -110
- package/lib/buildx-builder/index.js +148 -148
- package/lib/config/index.d.ts +12 -12
- package/lib/config/index.js +16 -16
- package/lib/container/index.d.ts +367 -345
- package/lib/container/index.js +428 -381
- package/lib/data-docker-image/index.d.ts +11 -11
- package/lib/data-docker-image/index.js +14 -14
- package/lib/data-docker-logs/index.d.ts +49 -49
- package/lib/data-docker-logs/index.js +34 -34
- package/lib/data-docker-network/index.d.ts +18 -18
- package/lib/data-docker-network/index.js +22 -22
- package/lib/data-docker-plugin/index.d.ts +13 -13
- package/lib/data-docker-plugin/index.js +15 -15
- package/lib/data-docker-registry-image/index.d.ts +16 -16
- package/lib/data-docker-registry-image/index.js +16 -16
- package/lib/data-docker-registry-image-manifests/index.d.ts +27 -27
- package/lib/data-docker-registry-image-manifests/index.js +36 -36
- package/lib/image/index.d.ts +174 -152
- package/lib/image/index.js +223 -171
- package/lib/index.d.ts +1 -1
- package/lib/index.js +3 -3
- package/lib/lazy-index.d.ts +1 -1
- package/lib/lazy-index.js +3 -3
- package/lib/network/index.d.ts +74 -74
- package/lib/network/index.js +66 -66
- package/lib/plugin/index.d.ts +50 -50
- package/lib/plugin/index.js +45 -45
- package/lib/provider/index.d.ts +35 -35
- package/lib/provider/index.js +46 -46
- package/lib/registry-image/index.d.ts +809 -28
- package/lib/registry-image/index.js +1883 -35
- package/lib/secret/index.d.ts +28 -28
- package/lib/secret/index.js +31 -31
- package/lib/service/index.d.ts +352 -351
- package/lib/service/index.js +491 -488
- package/lib/tag/index.d.ts +13 -13
- package/lib/tag/index.js +19 -19
- package/lib/volume/index.d.ts +154 -29
- package/lib/volume/index.js +349 -38
- package/package.json +20 -10
package/lib/container/index.d.ts
CHANGED
|
@@ -1,132 +1,132 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright
|
|
2
|
+
* Copyright IBM Corp. 2021, 2026
|
|
3
3
|
* SPDX-License-Identifier: MPL-2.0
|
|
4
4
|
*/
|
|
5
5
|
import { Construct } from 'constructs';
|
|
6
|
-
import * as
|
|
7
|
-
export interface ContainerConfig extends
|
|
6
|
+
import * as cdktn from 'cdktn';
|
|
7
|
+
export interface ContainerConfig extends cdktn.TerraformMetaArguments {
|
|
8
8
|
/**
|
|
9
9
|
* If `true` attach to the container after its creation and waits the end of its execution. Defaults to `false`.
|
|
10
10
|
*
|
|
11
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
11
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#attach Container#attach}
|
|
12
12
|
*/
|
|
13
|
-
readonly attach?: boolean |
|
|
13
|
+
readonly attach?: boolean | cdktn.IResolvable;
|
|
14
14
|
/**
|
|
15
15
|
* Optional parent cgroup for the container
|
|
16
16
|
*
|
|
17
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
17
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#cgroup_parent Container#cgroup_parent}
|
|
18
18
|
*/
|
|
19
19
|
readonly cgroupParent?: string;
|
|
20
20
|
/**
|
|
21
21
|
* Cgroup namespace mode to use for the container. Possible values are: `private`, `host`.
|
|
22
22
|
*
|
|
23
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
23
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#cgroupns_mode Container#cgroupns_mode}
|
|
24
24
|
*/
|
|
25
25
|
readonly cgroupnsMode?: string;
|
|
26
26
|
/**
|
|
27
27
|
* The command to use to start the container. For example, to run `/usr/bin/myprogram -f baz.conf` set the command to be `["/usr/bin/myprogram","-f","baz.conf"]`.
|
|
28
28
|
*
|
|
29
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
29
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#command Container#command}
|
|
30
30
|
*/
|
|
31
31
|
readonly command?: string[];
|
|
32
32
|
/**
|
|
33
33
|
* The total number of milliseconds to wait for the container to reach status 'running'
|
|
34
34
|
*
|
|
35
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
35
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#container_read_refresh_timeout_milliseconds Container#container_read_refresh_timeout_milliseconds}
|
|
36
36
|
*/
|
|
37
37
|
readonly containerReadRefreshTimeoutMilliseconds?: number;
|
|
38
38
|
/**
|
|
39
39
|
* Specify the CPU CFS scheduler period (in microseconds), which is used alongside `cpu-quota`. Is ignored if `cpus` is set.
|
|
40
40
|
*
|
|
41
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
41
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#cpu_period Container#cpu_period}
|
|
42
42
|
*/
|
|
43
43
|
readonly cpuPeriod?: number;
|
|
44
44
|
/**
|
|
45
45
|
* Impose a CPU CFS quota on the container (in microseconds). The number of microseconds per `cpu-period` that the container is limited to before throttled. Is ignored if `cpus` is set.
|
|
46
46
|
*
|
|
47
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
47
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#cpu_quota Container#cpu_quota}
|
|
48
48
|
*/
|
|
49
49
|
readonly cpuQuota?: number;
|
|
50
50
|
/**
|
|
51
51
|
* A comma-separated list or hyphen-separated range of CPUs a container can use, e.g. `0-1`.
|
|
52
52
|
*
|
|
53
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
53
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#cpu_set Container#cpu_set}
|
|
54
54
|
*/
|
|
55
55
|
readonly cpuSet?: string;
|
|
56
56
|
/**
|
|
57
57
|
* CPU shares (relative weight) for the container.
|
|
58
58
|
*
|
|
59
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
59
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#cpu_shares Container#cpu_shares}
|
|
60
60
|
*/
|
|
61
61
|
readonly cpuShares?: number;
|
|
62
62
|
/**
|
|
63
63
|
* Specify how much of the available CPU resources a container can use. e.g a value of 1.5 means the container is guaranteed at most one and a half of the CPUs. Has precedence over `cpu_period` and `cpu_quota`.
|
|
64
64
|
*
|
|
65
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
65
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#cpus Container#cpus}
|
|
66
66
|
*/
|
|
67
67
|
readonly cpus?: string;
|
|
68
68
|
/**
|
|
69
69
|
* If defined will attempt to stop the container before destroying. Container will be destroyed after `n` seconds or on successful stop.
|
|
70
70
|
*
|
|
71
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
71
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#destroy_grace_seconds Container#destroy_grace_seconds}
|
|
72
72
|
*/
|
|
73
73
|
readonly destroyGraceSeconds?: number;
|
|
74
74
|
/**
|
|
75
75
|
* DNS servers to use.
|
|
76
76
|
*
|
|
77
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
77
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#dns Container#dns}
|
|
78
78
|
*/
|
|
79
79
|
readonly dns?: string[];
|
|
80
80
|
/**
|
|
81
81
|
* DNS options used by the DNS provider(s), see `resolv.conf` documentation for valid list of options.
|
|
82
82
|
*
|
|
83
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
83
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#dns_opts Container#dns_opts}
|
|
84
84
|
*/
|
|
85
85
|
readonly dnsOpts?: string[];
|
|
86
86
|
/**
|
|
87
87
|
* DNS search domains that are used when bare unqualified hostnames are used inside of the container.
|
|
88
88
|
*
|
|
89
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
89
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#dns_search Container#dns_search}
|
|
90
90
|
*/
|
|
91
91
|
readonly dnsSearch?: string[];
|
|
92
92
|
/**
|
|
93
93
|
* Domain name of the container.
|
|
94
94
|
*
|
|
95
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
95
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#domainname Container#domainname}
|
|
96
96
|
*/
|
|
97
97
|
readonly domainname?: string;
|
|
98
98
|
/**
|
|
99
99
|
* The command to use as the Entrypoint for the container. The Entrypoint allows you to configure a container to run as an executable. For example, to run `/usr/bin/myprogram` when starting a container, set the entrypoint to be `"/usr/bin/myprogram"]`.
|
|
100
100
|
*
|
|
101
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
101
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#entrypoint Container#entrypoint}
|
|
102
102
|
*/
|
|
103
103
|
readonly entrypoint?: string[];
|
|
104
104
|
/**
|
|
105
105
|
* Environment variables to set in the form of `KEY=VALUE`, e.g. `DEBUG=0`
|
|
106
106
|
*
|
|
107
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
107
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#env Container#env}
|
|
108
108
|
*/
|
|
109
109
|
readonly env?: string[];
|
|
110
110
|
/**
|
|
111
111
|
* GPU devices to add to the container. Currently, only the value `all` is supported. Passing any other value will result in unexpected behavior.
|
|
112
112
|
*
|
|
113
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
113
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#gpus Container#gpus}
|
|
114
114
|
*/
|
|
115
115
|
readonly gpus?: string;
|
|
116
116
|
/**
|
|
117
117
|
* Additional groups for the container user
|
|
118
118
|
*
|
|
119
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
119
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#group_add Container#group_add}
|
|
120
120
|
*/
|
|
121
121
|
readonly groupAdd?: string[];
|
|
122
122
|
/**
|
|
123
123
|
* Hostname of the container.
|
|
124
124
|
*
|
|
125
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
125
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#hostname Container#hostname}
|
|
126
126
|
*/
|
|
127
127
|
readonly hostname?: string;
|
|
128
128
|
/**
|
|
129
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
129
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#id Container#id}
|
|
130
130
|
*
|
|
131
131
|
* Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
132
132
|
* 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.
|
|
@@ -135,31 +135,31 @@ export interface ContainerConfig extends cdktf.TerraformMetaArguments {
|
|
|
135
135
|
/**
|
|
136
136
|
* The ID of the image to back this container. The easiest way to get this value is to use the `image_id` attribute of the `docker_image` resource as is shown in the example.
|
|
137
137
|
*
|
|
138
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
138
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#image Container#image}
|
|
139
139
|
*/
|
|
140
140
|
readonly image: string;
|
|
141
141
|
/**
|
|
142
142
|
* Configured whether an init process should be injected for this container. If unset this will default to the `dockerd` defaults.
|
|
143
143
|
*
|
|
144
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
144
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#init Container#init}
|
|
145
145
|
*/
|
|
146
|
-
readonly init?: boolean |
|
|
146
|
+
readonly init?: boolean | cdktn.IResolvable;
|
|
147
147
|
/**
|
|
148
148
|
* IPC sharing mode for the container. Possible values are: `none`, `private`, `shareable`, `container:<name|id>` or `host`.
|
|
149
149
|
*
|
|
150
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
150
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#ipc_mode Container#ipc_mode}
|
|
151
151
|
*/
|
|
152
152
|
readonly ipcMode?: string;
|
|
153
153
|
/**
|
|
154
154
|
* The logging driver to use for the container.
|
|
155
155
|
*
|
|
156
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
156
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#log_driver Container#log_driver}
|
|
157
157
|
*/
|
|
158
158
|
readonly logDriver?: string;
|
|
159
159
|
/**
|
|
160
160
|
* Key/value pairs to use as options for the logging driver.
|
|
161
161
|
*
|
|
162
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
162
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#log_opts Container#log_opts}
|
|
163
163
|
*/
|
|
164
164
|
readonly logOpts?: {
|
|
165
165
|
[key: string]: string;
|
|
@@ -167,133 +167,139 @@ export interface ContainerConfig extends cdktf.TerraformMetaArguments {
|
|
|
167
167
|
/**
|
|
168
168
|
* Save the container logs (`attach` must be enabled). Defaults to `false`.
|
|
169
169
|
*
|
|
170
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
170
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#logs Container#logs}
|
|
171
171
|
*/
|
|
172
|
-
readonly logs?: boolean |
|
|
172
|
+
readonly logs?: boolean | cdktn.IResolvable;
|
|
173
173
|
/**
|
|
174
174
|
* The maximum amount of times to an attempt a restart when `restart` is set to 'on-failure'.
|
|
175
175
|
*
|
|
176
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
176
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#max_retry_count Container#max_retry_count}
|
|
177
177
|
*/
|
|
178
178
|
readonly maxRetryCount?: number;
|
|
179
179
|
/**
|
|
180
180
|
* The memory limit for the container in MBs.
|
|
181
181
|
*
|
|
182
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
182
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#memory Container#memory}
|
|
183
183
|
*/
|
|
184
184
|
readonly memory?: number;
|
|
185
185
|
/**
|
|
186
|
+
* The memory-resveration for the container in MBs. Defaults to 0. Allows you to specify a soft limit smaller than `memory` which is activated when Docker detects contention or low memory on the host machine. If you use `memory-reservation`, it must be set lower than `memory` for it to take precedence. Because it is a soft limit, it doesn't guarantee that the container doesn't exceed the limit.
|
|
187
|
+
*
|
|
188
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#memory_reservation Container#memory_reservation}
|
|
189
|
+
*/
|
|
190
|
+
readonly memoryReservation?: number;
|
|
191
|
+
/**
|
|
186
192
|
* The total memory limit (memory + swap) for the container in MBs. This setting may compute to `-1` after `terraform apply` if the target host doesn't support memory swap, when that is the case docker will use a soft limitation.
|
|
187
193
|
*
|
|
188
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
194
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#memory_swap Container#memory_swap}
|
|
189
195
|
*/
|
|
190
196
|
readonly memorySwap?: number;
|
|
191
197
|
/**
|
|
192
198
|
* If `true`, then the Docker container will be kept running. If `false`, then as long as the container exists, Terraform assumes it is successful. Defaults to `true`.
|
|
193
199
|
*
|
|
194
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
200
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#must_run Container#must_run}
|
|
195
201
|
*/
|
|
196
|
-
readonly mustRun?: boolean |
|
|
202
|
+
readonly mustRun?: boolean | cdktn.IResolvable;
|
|
197
203
|
/**
|
|
198
204
|
* The name of the container.
|
|
199
205
|
*
|
|
200
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
206
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#name Container#name}
|
|
201
207
|
*/
|
|
202
208
|
readonly name: string;
|
|
203
209
|
/**
|
|
204
|
-
* Network mode of the container. See https://docs.docker.com/engine/network/ for more information.
|
|
210
|
+
* Network mode of the container. Defaults to `bridge`. If your host OS is any other OS, you need to set this value explicitly, e.g. `nat` when your container will be running on an Windows host. See https://docs.docker.com/engine/network/ for more information.
|
|
205
211
|
*
|
|
206
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
212
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#network_mode Container#network_mode}
|
|
207
213
|
*/
|
|
208
214
|
readonly networkMode?: string;
|
|
209
215
|
/**
|
|
210
216
|
* he PID (Process) Namespace mode for the container. Either `container:<name|id>` or `host`.
|
|
211
217
|
*
|
|
212
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
218
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#pid_mode Container#pid_mode}
|
|
213
219
|
*/
|
|
214
220
|
readonly pidMode?: string;
|
|
215
221
|
/**
|
|
216
222
|
* If `true`, the container runs in privileged mode.
|
|
217
223
|
*
|
|
218
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
224
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#privileged Container#privileged}
|
|
219
225
|
*/
|
|
220
|
-
readonly privileged?: boolean |
|
|
226
|
+
readonly privileged?: boolean | cdktn.IResolvable;
|
|
221
227
|
/**
|
|
222
228
|
* Publish all ports of the container.
|
|
223
229
|
*
|
|
224
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
230
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#publish_all_ports Container#publish_all_ports}
|
|
225
231
|
*/
|
|
226
|
-
readonly publishAllPorts?: boolean |
|
|
232
|
+
readonly publishAllPorts?: boolean | cdktn.IResolvable;
|
|
227
233
|
/**
|
|
228
234
|
* If `true`, the container will be started as readonly. Defaults to `false`.
|
|
229
235
|
*
|
|
230
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
236
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#read_only Container#read_only}
|
|
231
237
|
*/
|
|
232
|
-
readonly readOnly?: boolean |
|
|
238
|
+
readonly readOnly?: boolean | cdktn.IResolvable;
|
|
233
239
|
/**
|
|
234
240
|
* If `true`, it will remove anonymous volumes associated with the container. Defaults to `true`.
|
|
235
241
|
*
|
|
236
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
242
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#remove_volumes Container#remove_volumes}
|
|
237
243
|
*/
|
|
238
|
-
readonly removeVolumes?: boolean |
|
|
244
|
+
readonly removeVolumes?: boolean | cdktn.IResolvable;
|
|
239
245
|
/**
|
|
240
246
|
* The restart policy for the container. Must be one of 'no', 'on-failure', 'always', 'unless-stopped'. Defaults to `no`.
|
|
241
247
|
*
|
|
242
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
248
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#restart Container#restart}
|
|
243
249
|
*/
|
|
244
250
|
readonly restart?: string;
|
|
245
251
|
/**
|
|
246
252
|
* If `true`, then the container will be automatically removed when it exits. Defaults to `false`.
|
|
247
253
|
*
|
|
248
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
254
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#rm Container#rm}
|
|
249
255
|
*/
|
|
250
|
-
readonly rm?: boolean |
|
|
256
|
+
readonly rm?: boolean | cdktn.IResolvable;
|
|
251
257
|
/**
|
|
252
258
|
* Runtime to use for the container.
|
|
253
259
|
*
|
|
254
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
260
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#runtime Container#runtime}
|
|
255
261
|
*/
|
|
256
262
|
readonly runtime?: string;
|
|
257
263
|
/**
|
|
258
264
|
* List of string values to customize labels for MLS systems, such as SELinux. See https://docs.docker.com/engine/reference/run/#security-configuration.
|
|
259
265
|
*
|
|
260
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
266
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#security_opts Container#security_opts}
|
|
261
267
|
*/
|
|
262
268
|
readonly securityOpts?: string[];
|
|
263
269
|
/**
|
|
264
270
|
* Size of `/dev/shm` in MBs.
|
|
265
271
|
*
|
|
266
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
272
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#shm_size Container#shm_size}
|
|
267
273
|
*/
|
|
268
274
|
readonly shmSize?: number;
|
|
269
275
|
/**
|
|
270
276
|
* If `true`, then the Docker container will be started after creation. If `false`, then the container is only created. Defaults to `true`.
|
|
271
277
|
*
|
|
272
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
278
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#start Container#start}
|
|
273
279
|
*/
|
|
274
|
-
readonly start?: boolean |
|
|
280
|
+
readonly start?: boolean | cdktn.IResolvable;
|
|
275
281
|
/**
|
|
276
282
|
* If `true`, keep STDIN open even if not attached (`docker run -i`). Defaults to `false`.
|
|
277
283
|
*
|
|
278
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
284
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#stdin_open Container#stdin_open}
|
|
279
285
|
*/
|
|
280
|
-
readonly stdinOpen?: boolean |
|
|
286
|
+
readonly stdinOpen?: boolean | cdktn.IResolvable;
|
|
281
287
|
/**
|
|
282
288
|
* Signal to stop a container (default `SIGTERM`).
|
|
283
289
|
*
|
|
284
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
290
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#stop_signal Container#stop_signal}
|
|
285
291
|
*/
|
|
286
292
|
readonly stopSignal?: string;
|
|
287
293
|
/**
|
|
288
294
|
* Timeout (in seconds) to stop a container.
|
|
289
295
|
*
|
|
290
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
296
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#stop_timeout Container#stop_timeout}
|
|
291
297
|
*/
|
|
292
298
|
readonly stopTimeout?: number;
|
|
293
299
|
/**
|
|
294
300
|
* Key/value pairs for the storage driver options, e.g. `size`: `120G`
|
|
295
301
|
*
|
|
296
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
302
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#storage_opts Container#storage_opts}
|
|
297
303
|
*/
|
|
298
304
|
readonly storageOpts?: {
|
|
299
305
|
[key: string]: string;
|
|
@@ -301,7 +307,7 @@ export interface ContainerConfig extends cdktf.TerraformMetaArguments {
|
|
|
301
307
|
/**
|
|
302
308
|
* A map of kernel parameters (sysctls) to set in the container.
|
|
303
309
|
*
|
|
304
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
310
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#sysctls Container#sysctls}
|
|
305
311
|
*/
|
|
306
312
|
readonly sysctls?: {
|
|
307
313
|
[key: string]: string;
|
|
@@ -309,7 +315,7 @@ export interface ContainerConfig extends cdktf.TerraformMetaArguments {
|
|
|
309
315
|
/**
|
|
310
316
|
* A map of container directories which should be replaced by `tmpfs mounts`, and their corresponding mount options.
|
|
311
317
|
*
|
|
312
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
318
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#tmpfs Container#tmpfs}
|
|
313
319
|
*/
|
|
314
320
|
readonly tmpfs?: {
|
|
315
321
|
[key: string]: string;
|
|
@@ -317,111 +323,111 @@ export interface ContainerConfig extends cdktf.TerraformMetaArguments {
|
|
|
317
323
|
/**
|
|
318
324
|
* If `true`, allocate a pseudo-tty (`docker run -t`). Defaults to `false`.
|
|
319
325
|
*
|
|
320
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
326
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#tty Container#tty}
|
|
321
327
|
*/
|
|
322
|
-
readonly tty?: boolean |
|
|
328
|
+
readonly tty?: boolean | cdktn.IResolvable;
|
|
323
329
|
/**
|
|
324
330
|
* User used for run the first process. Format is `user` or `user:group` which user and group can be passed literraly or by name.
|
|
325
331
|
*
|
|
326
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
332
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#user Container#user}
|
|
327
333
|
*/
|
|
328
334
|
readonly user?: string;
|
|
329
335
|
/**
|
|
330
336
|
* Sets the usernamespace mode for the container when usernamespace remapping option is enabled.
|
|
331
337
|
*
|
|
332
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
338
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#userns_mode Container#userns_mode}
|
|
333
339
|
*/
|
|
334
340
|
readonly usernsMode?: string;
|
|
335
341
|
/**
|
|
336
342
|
* If `true`, then the Docker container is waited for being healthy state after creation. This requires your container to have a healthcheck, otherwise this provider will error. If `false`, then the container health state is not checked. Defaults to `false`.
|
|
337
343
|
*
|
|
338
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
344
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#wait Container#wait}
|
|
339
345
|
*/
|
|
340
|
-
readonly wait?: boolean |
|
|
346
|
+
readonly wait?: boolean | cdktn.IResolvable;
|
|
341
347
|
/**
|
|
342
348
|
* The timeout in seconds to wait the container to be healthy after creation. Defaults to `60`.
|
|
343
349
|
*
|
|
344
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
350
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#wait_timeout Container#wait_timeout}
|
|
345
351
|
*/
|
|
346
352
|
readonly waitTimeout?: number;
|
|
347
353
|
/**
|
|
348
354
|
* The working directory for commands to run in.
|
|
349
355
|
*
|
|
350
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
356
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#working_dir Container#working_dir}
|
|
351
357
|
*/
|
|
352
358
|
readonly workingDir?: string;
|
|
353
359
|
/**
|
|
354
360
|
* capabilities block
|
|
355
361
|
*
|
|
356
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
362
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#capabilities Container#capabilities}
|
|
357
363
|
*/
|
|
358
364
|
readonly capabilities?: ContainerCapabilities;
|
|
359
365
|
/**
|
|
360
366
|
* devices block
|
|
361
367
|
*
|
|
362
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
368
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#devices Container#devices}
|
|
363
369
|
*/
|
|
364
|
-
readonly devices?: ContainerDevices[] |
|
|
370
|
+
readonly devices?: ContainerDevices[] | cdktn.IResolvable;
|
|
365
371
|
/**
|
|
366
372
|
* healthcheck block
|
|
367
373
|
*
|
|
368
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
374
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#healthcheck Container#healthcheck}
|
|
369
375
|
*/
|
|
370
376
|
readonly healthcheck?: ContainerHealthcheck;
|
|
371
377
|
/**
|
|
372
378
|
* host block
|
|
373
379
|
*
|
|
374
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
380
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#host Container#host}
|
|
375
381
|
*/
|
|
376
|
-
readonly host?: ContainerHost[] |
|
|
382
|
+
readonly host?: ContainerHost[] | cdktn.IResolvable;
|
|
377
383
|
/**
|
|
378
384
|
* labels block
|
|
379
385
|
*
|
|
380
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
386
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#labels Container#labels}
|
|
381
387
|
*/
|
|
382
|
-
readonly labels?: ContainerLabels[] |
|
|
388
|
+
readonly labels?: ContainerLabels[] | cdktn.IResolvable;
|
|
383
389
|
/**
|
|
384
390
|
* mounts block
|
|
385
391
|
*
|
|
386
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
392
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#mounts Container#mounts}
|
|
387
393
|
*/
|
|
388
|
-
readonly mounts?: ContainerMounts[] |
|
|
394
|
+
readonly mounts?: ContainerMounts[] | cdktn.IResolvable;
|
|
389
395
|
/**
|
|
390
396
|
* networks_advanced block
|
|
391
397
|
*
|
|
392
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
398
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#networks_advanced Container#networks_advanced}
|
|
393
399
|
*/
|
|
394
|
-
readonly networksAdvanced?: ContainerNetworksAdvanced[] |
|
|
400
|
+
readonly networksAdvanced?: ContainerNetworksAdvanced[] | cdktn.IResolvable;
|
|
395
401
|
/**
|
|
396
402
|
* ports block
|
|
397
403
|
*
|
|
398
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
404
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#ports Container#ports}
|
|
399
405
|
*/
|
|
400
|
-
readonly ports?: ContainerPorts[] |
|
|
406
|
+
readonly ports?: ContainerPorts[] | cdktn.IResolvable;
|
|
401
407
|
/**
|
|
402
408
|
* ulimit block
|
|
403
409
|
*
|
|
404
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
410
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#ulimit Container#ulimit}
|
|
405
411
|
*/
|
|
406
|
-
readonly ulimit?: ContainerUlimit[] |
|
|
412
|
+
readonly ulimit?: ContainerUlimit[] | cdktn.IResolvable;
|
|
407
413
|
/**
|
|
408
414
|
* upload block
|
|
409
415
|
*
|
|
410
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
416
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#upload Container#upload}
|
|
411
417
|
*/
|
|
412
|
-
readonly upload?: ContainerUpload[] |
|
|
418
|
+
readonly upload?: ContainerUpload[] | cdktn.IResolvable;
|
|
413
419
|
/**
|
|
414
420
|
* volumes block
|
|
415
421
|
*
|
|
416
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
422
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#volumes Container#volumes}
|
|
417
423
|
*/
|
|
418
|
-
readonly volumes?: ContainerVolumes[] |
|
|
424
|
+
readonly volumes?: ContainerVolumes[] | cdktn.IResolvable;
|
|
419
425
|
}
|
|
420
426
|
export interface ContainerNetworkData {
|
|
421
427
|
}
|
|
422
428
|
export declare function containerNetworkDataToTerraform(struct?: ContainerNetworkData): any;
|
|
423
429
|
export declare function containerNetworkDataToHclTerraform(struct?: ContainerNetworkData): any;
|
|
424
|
-
export declare class ContainerNetworkDataOutputReference extends
|
|
430
|
+
export declare class ContainerNetworkDataOutputReference extends cdktn.ComplexObject {
|
|
425
431
|
private isEmptyObject;
|
|
426
432
|
/**
|
|
427
433
|
* @param terraformResource The parent resource
|
|
@@ -429,7 +435,7 @@ export declare class ContainerNetworkDataOutputReference extends cdktf.ComplexOb
|
|
|
429
435
|
* @param complexObjectIndex the index of this item in the list
|
|
430
436
|
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
431
437
|
*/
|
|
432
|
-
constructor(terraformResource:
|
|
438
|
+
constructor(terraformResource: cdktn.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
|
|
433
439
|
get internalValue(): ContainerNetworkData | undefined;
|
|
434
440
|
set internalValue(value: ContainerNetworkData | undefined);
|
|
435
441
|
get gateway(): string;
|
|
@@ -441,8 +447,8 @@ export declare class ContainerNetworkDataOutputReference extends cdktf.ComplexOb
|
|
|
441
447
|
get macAddress(): string;
|
|
442
448
|
get networkName(): string;
|
|
443
449
|
}
|
|
444
|
-
export declare class ContainerNetworkDataList extends
|
|
445
|
-
protected terraformResource:
|
|
450
|
+
export declare class ContainerNetworkDataList extends cdktn.ComplexList {
|
|
451
|
+
protected terraformResource: cdktn.IInterpolatingParent;
|
|
446
452
|
protected terraformAttribute: string;
|
|
447
453
|
protected wrapsSet: boolean;
|
|
448
454
|
/**
|
|
@@ -450,7 +456,7 @@ export declare class ContainerNetworkDataList extends cdktf.ComplexList {
|
|
|
450
456
|
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
451
457
|
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
452
458
|
*/
|
|
453
|
-
constructor(terraformResource:
|
|
459
|
+
constructor(terraformResource: cdktn.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
|
|
454
460
|
/**
|
|
455
461
|
* @param index the index of the item to return
|
|
456
462
|
*/
|
|
@@ -460,25 +466,25 @@ export interface ContainerCapabilities {
|
|
|
460
466
|
/**
|
|
461
467
|
* List of linux capabilities to add.
|
|
462
468
|
*
|
|
463
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
469
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#add Container#add}
|
|
464
470
|
*/
|
|
465
471
|
readonly add?: string[];
|
|
466
472
|
/**
|
|
467
473
|
* List of linux capabilities to drop.
|
|
468
474
|
*
|
|
469
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
475
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#drop Container#drop}
|
|
470
476
|
*/
|
|
471
477
|
readonly drop?: string[];
|
|
472
478
|
}
|
|
473
479
|
export declare function containerCapabilitiesToTerraform(struct?: ContainerCapabilitiesOutputReference | ContainerCapabilities): any;
|
|
474
480
|
export declare function containerCapabilitiesToHclTerraform(struct?: ContainerCapabilitiesOutputReference | ContainerCapabilities): any;
|
|
475
|
-
export declare class ContainerCapabilitiesOutputReference extends
|
|
481
|
+
export declare class ContainerCapabilitiesOutputReference extends cdktn.ComplexObject {
|
|
476
482
|
private isEmptyObject;
|
|
477
483
|
/**
|
|
478
484
|
* @param terraformResource The parent resource
|
|
479
485
|
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
480
486
|
*/
|
|
481
|
-
constructor(terraformResource:
|
|
487
|
+
constructor(terraformResource: cdktn.IInterpolatingParent, terraformAttribute: string);
|
|
482
488
|
get internalValue(): ContainerCapabilities | undefined;
|
|
483
489
|
set internalValue(value: ContainerCapabilities | undefined);
|
|
484
490
|
private _add?;
|
|
@@ -496,25 +502,25 @@ export interface ContainerDevices {
|
|
|
496
502
|
/**
|
|
497
503
|
* The path in the container where the device will be bound.
|
|
498
504
|
*
|
|
499
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
505
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#container_path Container#container_path}
|
|
500
506
|
*/
|
|
501
507
|
readonly containerPath?: string;
|
|
502
508
|
/**
|
|
503
509
|
* The path on the host where the device is located.
|
|
504
510
|
*
|
|
505
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
511
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#host_path Container#host_path}
|
|
506
512
|
*/
|
|
507
513
|
readonly hostPath: string;
|
|
508
514
|
/**
|
|
509
515
|
* The cgroup permissions given to the container to access the device. Defaults to `rwm`.
|
|
510
516
|
*
|
|
511
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
517
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#permissions Container#permissions}
|
|
512
518
|
*/
|
|
513
519
|
readonly permissions?: string;
|
|
514
520
|
}
|
|
515
|
-
export declare function containerDevicesToTerraform(struct?: ContainerDevices |
|
|
516
|
-
export declare function containerDevicesToHclTerraform(struct?: ContainerDevices |
|
|
517
|
-
export declare class ContainerDevicesOutputReference extends
|
|
521
|
+
export declare function containerDevicesToTerraform(struct?: ContainerDevices | cdktn.IResolvable): any;
|
|
522
|
+
export declare function containerDevicesToHclTerraform(struct?: ContainerDevices | cdktn.IResolvable): any;
|
|
523
|
+
export declare class ContainerDevicesOutputReference extends cdktn.ComplexObject {
|
|
518
524
|
private isEmptyObject;
|
|
519
525
|
private resolvableValue?;
|
|
520
526
|
/**
|
|
@@ -523,9 +529,9 @@ export declare class ContainerDevicesOutputReference extends cdktf.ComplexObject
|
|
|
523
529
|
* @param complexObjectIndex the index of this item in the list
|
|
524
530
|
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
525
531
|
*/
|
|
526
|
-
constructor(terraformResource:
|
|
527
|
-
get internalValue(): ContainerDevices |
|
|
528
|
-
set internalValue(value: ContainerDevices |
|
|
532
|
+
constructor(terraformResource: cdktn.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
|
|
533
|
+
get internalValue(): ContainerDevices | cdktn.IResolvable | undefined;
|
|
534
|
+
set internalValue(value: ContainerDevices | cdktn.IResolvable | undefined);
|
|
529
535
|
private _containerPath?;
|
|
530
536
|
get containerPath(): string;
|
|
531
537
|
set containerPath(value: string);
|
|
@@ -541,17 +547,17 @@ export declare class ContainerDevicesOutputReference extends cdktf.ComplexObject
|
|
|
541
547
|
resetPermissions(): void;
|
|
542
548
|
get permissionsInput(): string | undefined;
|
|
543
549
|
}
|
|
544
|
-
export declare class ContainerDevicesList extends
|
|
545
|
-
protected terraformResource:
|
|
550
|
+
export declare class ContainerDevicesList extends cdktn.ComplexList {
|
|
551
|
+
protected terraformResource: cdktn.IInterpolatingParent;
|
|
546
552
|
protected terraformAttribute: string;
|
|
547
553
|
protected wrapsSet: boolean;
|
|
548
|
-
internalValue?: ContainerDevices[] |
|
|
554
|
+
internalValue?: ContainerDevices[] | cdktn.IResolvable;
|
|
549
555
|
/**
|
|
550
556
|
* @param terraformResource The parent resource
|
|
551
557
|
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
552
558
|
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
553
559
|
*/
|
|
554
|
-
constructor(terraformResource:
|
|
560
|
+
constructor(terraformResource: cdktn.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
|
|
555
561
|
/**
|
|
556
562
|
* @param index the index of the item to return
|
|
557
563
|
*/
|
|
@@ -561,49 +567,49 @@ export interface ContainerHealthcheck {
|
|
|
561
567
|
/**
|
|
562
568
|
* Time between running the check (ms|s|m|h). Defaults to `0s`.
|
|
563
569
|
*
|
|
564
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
570
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#interval Container#interval}
|
|
565
571
|
*/
|
|
566
572
|
readonly interval?: string;
|
|
567
573
|
/**
|
|
568
574
|
* Consecutive failures needed to report unhealthy. Defaults to `0`.
|
|
569
575
|
*
|
|
570
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
576
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#retries Container#retries}
|
|
571
577
|
*/
|
|
572
578
|
readonly retries?: number;
|
|
573
579
|
/**
|
|
574
580
|
* Interval before the healthcheck starts (ms|s|m|h). Defaults to `0s`.
|
|
575
581
|
*
|
|
576
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
582
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#start_interval Container#start_interval}
|
|
577
583
|
*/
|
|
578
584
|
readonly startInterval?: string;
|
|
579
585
|
/**
|
|
580
586
|
* Start period for the container to initialize before counting retries towards unstable (ms|s|m|h). Defaults to `0s`.
|
|
581
587
|
*
|
|
582
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
588
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#start_period Container#start_period}
|
|
583
589
|
*/
|
|
584
590
|
readonly startPeriod?: string;
|
|
585
591
|
/**
|
|
586
592
|
* Command to run to check health. For example, to run `curl -f localhost/health` set the command to be `["CMD", "curl", "-f", "localhost/health"]`.
|
|
587
593
|
*
|
|
588
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
594
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#test Container#test}
|
|
589
595
|
*/
|
|
590
596
|
readonly test: string[];
|
|
591
597
|
/**
|
|
592
598
|
* Maximum time to allow one check to run (ms|s|m|h). Defaults to `0s`.
|
|
593
599
|
*
|
|
594
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
600
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#timeout Container#timeout}
|
|
595
601
|
*/
|
|
596
602
|
readonly timeout?: string;
|
|
597
603
|
}
|
|
598
604
|
export declare function containerHealthcheckToTerraform(struct?: ContainerHealthcheckOutputReference | ContainerHealthcheck): any;
|
|
599
605
|
export declare function containerHealthcheckToHclTerraform(struct?: ContainerHealthcheckOutputReference | ContainerHealthcheck): any;
|
|
600
|
-
export declare class ContainerHealthcheckOutputReference extends
|
|
606
|
+
export declare class ContainerHealthcheckOutputReference extends cdktn.ComplexObject {
|
|
601
607
|
private isEmptyObject;
|
|
602
608
|
/**
|
|
603
609
|
* @param terraformResource The parent resource
|
|
604
610
|
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
605
611
|
*/
|
|
606
|
-
constructor(terraformResource:
|
|
612
|
+
constructor(terraformResource: cdktn.IInterpolatingParent, terraformAttribute: string);
|
|
607
613
|
get internalValue(): ContainerHealthcheck | undefined;
|
|
608
614
|
set internalValue(value: ContainerHealthcheck | undefined);
|
|
609
615
|
private _interval?;
|
|
@@ -640,19 +646,19 @@ export interface ContainerHost {
|
|
|
640
646
|
/**
|
|
641
647
|
* Hostname to add
|
|
642
648
|
*
|
|
643
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
649
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#host Container#host}
|
|
644
650
|
*/
|
|
645
651
|
readonly host: string;
|
|
646
652
|
/**
|
|
647
653
|
* IP address this hostname should resolve to.
|
|
648
654
|
*
|
|
649
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
655
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#ip Container#ip}
|
|
650
656
|
*/
|
|
651
657
|
readonly ip: string;
|
|
652
658
|
}
|
|
653
|
-
export declare function containerHostToTerraform(struct?: ContainerHost |
|
|
654
|
-
export declare function containerHostToHclTerraform(struct?: ContainerHost |
|
|
655
|
-
export declare class ContainerHostOutputReference extends
|
|
659
|
+
export declare function containerHostToTerraform(struct?: ContainerHost | cdktn.IResolvable): any;
|
|
660
|
+
export declare function containerHostToHclTerraform(struct?: ContainerHost | cdktn.IResolvable): any;
|
|
661
|
+
export declare class ContainerHostOutputReference extends cdktn.ComplexObject {
|
|
656
662
|
private isEmptyObject;
|
|
657
663
|
private resolvableValue?;
|
|
658
664
|
/**
|
|
@@ -661,9 +667,9 @@ export declare class ContainerHostOutputReference extends cdktf.ComplexObject {
|
|
|
661
667
|
* @param complexObjectIndex the index of this item in the list
|
|
662
668
|
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
663
669
|
*/
|
|
664
|
-
constructor(terraformResource:
|
|
665
|
-
get internalValue(): ContainerHost |
|
|
666
|
-
set internalValue(value: ContainerHost |
|
|
670
|
+
constructor(terraformResource: cdktn.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
|
|
671
|
+
get internalValue(): ContainerHost | cdktn.IResolvable | undefined;
|
|
672
|
+
set internalValue(value: ContainerHost | cdktn.IResolvable | undefined);
|
|
667
673
|
private _host?;
|
|
668
674
|
get host(): string;
|
|
669
675
|
set host(value: string);
|
|
@@ -673,17 +679,17 @@ export declare class ContainerHostOutputReference extends cdktf.ComplexObject {
|
|
|
673
679
|
set ip(value: string);
|
|
674
680
|
get ipInput(): string | undefined;
|
|
675
681
|
}
|
|
676
|
-
export declare class ContainerHostList extends
|
|
677
|
-
protected terraformResource:
|
|
682
|
+
export declare class ContainerHostList extends cdktn.ComplexList {
|
|
683
|
+
protected terraformResource: cdktn.IInterpolatingParent;
|
|
678
684
|
protected terraformAttribute: string;
|
|
679
685
|
protected wrapsSet: boolean;
|
|
680
|
-
internalValue?: ContainerHost[] |
|
|
686
|
+
internalValue?: ContainerHost[] | cdktn.IResolvable;
|
|
681
687
|
/**
|
|
682
688
|
* @param terraformResource The parent resource
|
|
683
689
|
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
684
690
|
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
685
691
|
*/
|
|
686
|
-
constructor(terraformResource:
|
|
692
|
+
constructor(terraformResource: cdktn.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
|
|
687
693
|
/**
|
|
688
694
|
* @param index the index of the item to return
|
|
689
695
|
*/
|
|
@@ -693,19 +699,19 @@ export interface ContainerLabels {
|
|
|
693
699
|
/**
|
|
694
700
|
* Name of the label
|
|
695
701
|
*
|
|
696
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
702
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#label Container#label}
|
|
697
703
|
*/
|
|
698
704
|
readonly label: string;
|
|
699
705
|
/**
|
|
700
706
|
* Value of the label
|
|
701
707
|
*
|
|
702
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
708
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#value Container#value}
|
|
703
709
|
*/
|
|
704
710
|
readonly value: string;
|
|
705
711
|
}
|
|
706
|
-
export declare function containerLabelsToTerraform(struct?: ContainerLabels |
|
|
707
|
-
export declare function containerLabelsToHclTerraform(struct?: ContainerLabels |
|
|
708
|
-
export declare class ContainerLabelsOutputReference extends
|
|
712
|
+
export declare function containerLabelsToTerraform(struct?: ContainerLabels | cdktn.IResolvable): any;
|
|
713
|
+
export declare function containerLabelsToHclTerraform(struct?: ContainerLabels | cdktn.IResolvable): any;
|
|
714
|
+
export declare class ContainerLabelsOutputReference extends cdktn.ComplexObject {
|
|
709
715
|
private isEmptyObject;
|
|
710
716
|
private resolvableValue?;
|
|
711
717
|
/**
|
|
@@ -714,9 +720,9 @@ export declare class ContainerLabelsOutputReference extends cdktf.ComplexObject
|
|
|
714
720
|
* @param complexObjectIndex the index of this item in the list
|
|
715
721
|
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
716
722
|
*/
|
|
717
|
-
constructor(terraformResource:
|
|
718
|
-
get internalValue(): ContainerLabels |
|
|
719
|
-
set internalValue(value: ContainerLabels |
|
|
723
|
+
constructor(terraformResource: cdktn.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
|
|
724
|
+
get internalValue(): ContainerLabels | cdktn.IResolvable | undefined;
|
|
725
|
+
set internalValue(value: ContainerLabels | cdktn.IResolvable | undefined);
|
|
720
726
|
private _label?;
|
|
721
727
|
get label(): string;
|
|
722
728
|
set label(value: string);
|
|
@@ -726,17 +732,17 @@ export declare class ContainerLabelsOutputReference extends cdktf.ComplexObject
|
|
|
726
732
|
set value(value: string);
|
|
727
733
|
get valueInput(): string | undefined;
|
|
728
734
|
}
|
|
729
|
-
export declare class ContainerLabelsList extends
|
|
730
|
-
protected terraformResource:
|
|
735
|
+
export declare class ContainerLabelsList extends cdktn.ComplexList {
|
|
736
|
+
protected terraformResource: cdktn.IInterpolatingParent;
|
|
731
737
|
protected terraformAttribute: string;
|
|
732
738
|
protected wrapsSet: boolean;
|
|
733
|
-
internalValue?: ContainerLabels[] |
|
|
739
|
+
internalValue?: ContainerLabels[] | cdktn.IResolvable;
|
|
734
740
|
/**
|
|
735
741
|
* @param terraformResource The parent resource
|
|
736
742
|
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
737
743
|
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
738
744
|
*/
|
|
739
|
-
constructor(terraformResource:
|
|
745
|
+
constructor(terraformResource: cdktn.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
|
|
740
746
|
/**
|
|
741
747
|
* @param index the index of the item to return
|
|
742
748
|
*/
|
|
@@ -746,19 +752,19 @@ export interface ContainerMountsBindOptions {
|
|
|
746
752
|
/**
|
|
747
753
|
* A propagation mode with the value.
|
|
748
754
|
*
|
|
749
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
755
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#propagation Container#propagation}
|
|
750
756
|
*/
|
|
751
757
|
readonly propagation?: string;
|
|
752
758
|
}
|
|
753
759
|
export declare function containerMountsBindOptionsToTerraform(struct?: ContainerMountsBindOptionsOutputReference | ContainerMountsBindOptions): any;
|
|
754
760
|
export declare function containerMountsBindOptionsToHclTerraform(struct?: ContainerMountsBindOptionsOutputReference | ContainerMountsBindOptions): any;
|
|
755
|
-
export declare class ContainerMountsBindOptionsOutputReference extends
|
|
761
|
+
export declare class ContainerMountsBindOptionsOutputReference extends cdktn.ComplexObject {
|
|
756
762
|
private isEmptyObject;
|
|
757
763
|
/**
|
|
758
764
|
* @param terraformResource The parent resource
|
|
759
765
|
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
760
766
|
*/
|
|
761
|
-
constructor(terraformResource:
|
|
767
|
+
constructor(terraformResource: cdktn.IInterpolatingParent, terraformAttribute: string);
|
|
762
768
|
get internalValue(): ContainerMountsBindOptions | undefined;
|
|
763
769
|
set internalValue(value: ContainerMountsBindOptions | undefined);
|
|
764
770
|
private _propagation?;
|
|
@@ -771,25 +777,25 @@ export interface ContainerMountsTmpfsOptions {
|
|
|
771
777
|
/**
|
|
772
778
|
* The permission mode for the tmpfs mount in an integer.
|
|
773
779
|
*
|
|
774
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
780
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#mode Container#mode}
|
|
775
781
|
*/
|
|
776
782
|
readonly mode?: number;
|
|
777
783
|
/**
|
|
778
784
|
* The size for the tmpfs mount in bytes.
|
|
779
785
|
*
|
|
780
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
786
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#size_bytes Container#size_bytes}
|
|
781
787
|
*/
|
|
782
788
|
readonly sizeBytes?: number;
|
|
783
789
|
}
|
|
784
790
|
export declare function containerMountsTmpfsOptionsToTerraform(struct?: ContainerMountsTmpfsOptionsOutputReference | ContainerMountsTmpfsOptions): any;
|
|
785
791
|
export declare function containerMountsTmpfsOptionsToHclTerraform(struct?: ContainerMountsTmpfsOptionsOutputReference | ContainerMountsTmpfsOptions): any;
|
|
786
|
-
export declare class ContainerMountsTmpfsOptionsOutputReference extends
|
|
792
|
+
export declare class ContainerMountsTmpfsOptionsOutputReference extends cdktn.ComplexObject {
|
|
787
793
|
private isEmptyObject;
|
|
788
794
|
/**
|
|
789
795
|
* @param terraformResource The parent resource
|
|
790
796
|
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
791
797
|
*/
|
|
792
|
-
constructor(terraformResource:
|
|
798
|
+
constructor(terraformResource: cdktn.IInterpolatingParent, terraformAttribute: string);
|
|
793
799
|
get internalValue(): ContainerMountsTmpfsOptions | undefined;
|
|
794
800
|
set internalValue(value: ContainerMountsTmpfsOptions | undefined);
|
|
795
801
|
private _mode?;
|
|
@@ -807,19 +813,19 @@ export interface ContainerMountsVolumeOptionsLabels {
|
|
|
807
813
|
/**
|
|
808
814
|
* Name of the label
|
|
809
815
|
*
|
|
810
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
816
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#label Container#label}
|
|
811
817
|
*/
|
|
812
818
|
readonly label: string;
|
|
813
819
|
/**
|
|
814
820
|
* Value of the label
|
|
815
821
|
*
|
|
816
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
822
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#value Container#value}
|
|
817
823
|
*/
|
|
818
824
|
readonly value: string;
|
|
819
825
|
}
|
|
820
|
-
export declare function containerMountsVolumeOptionsLabelsToTerraform(struct?: ContainerMountsVolumeOptionsLabels |
|
|
821
|
-
export declare function containerMountsVolumeOptionsLabelsToHclTerraform(struct?: ContainerMountsVolumeOptionsLabels |
|
|
822
|
-
export declare class ContainerMountsVolumeOptionsLabelsOutputReference extends
|
|
826
|
+
export declare function containerMountsVolumeOptionsLabelsToTerraform(struct?: ContainerMountsVolumeOptionsLabels | cdktn.IResolvable): any;
|
|
827
|
+
export declare function containerMountsVolumeOptionsLabelsToHclTerraform(struct?: ContainerMountsVolumeOptionsLabels | cdktn.IResolvable): any;
|
|
828
|
+
export declare class ContainerMountsVolumeOptionsLabelsOutputReference extends cdktn.ComplexObject {
|
|
823
829
|
private isEmptyObject;
|
|
824
830
|
private resolvableValue?;
|
|
825
831
|
/**
|
|
@@ -828,9 +834,9 @@ export declare class ContainerMountsVolumeOptionsLabelsOutputReference extends c
|
|
|
828
834
|
* @param complexObjectIndex the index of this item in the list
|
|
829
835
|
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
830
836
|
*/
|
|
831
|
-
constructor(terraformResource:
|
|
832
|
-
get internalValue(): ContainerMountsVolumeOptionsLabels |
|
|
833
|
-
set internalValue(value: ContainerMountsVolumeOptionsLabels |
|
|
837
|
+
constructor(terraformResource: cdktn.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
|
|
838
|
+
get internalValue(): ContainerMountsVolumeOptionsLabels | cdktn.IResolvable | undefined;
|
|
839
|
+
set internalValue(value: ContainerMountsVolumeOptionsLabels | cdktn.IResolvable | undefined);
|
|
834
840
|
private _label?;
|
|
835
841
|
get label(): string;
|
|
836
842
|
set label(value: string);
|
|
@@ -840,17 +846,17 @@ export declare class ContainerMountsVolumeOptionsLabelsOutputReference extends c
|
|
|
840
846
|
set value(value: string);
|
|
841
847
|
get valueInput(): string | undefined;
|
|
842
848
|
}
|
|
843
|
-
export declare class ContainerMountsVolumeOptionsLabelsList extends
|
|
844
|
-
protected terraformResource:
|
|
849
|
+
export declare class ContainerMountsVolumeOptionsLabelsList extends cdktn.ComplexList {
|
|
850
|
+
protected terraformResource: cdktn.IInterpolatingParent;
|
|
845
851
|
protected terraformAttribute: string;
|
|
846
852
|
protected wrapsSet: boolean;
|
|
847
|
-
internalValue?: ContainerMountsVolumeOptionsLabels[] |
|
|
853
|
+
internalValue?: ContainerMountsVolumeOptionsLabels[] | cdktn.IResolvable;
|
|
848
854
|
/**
|
|
849
855
|
* @param terraformResource The parent resource
|
|
850
856
|
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
851
857
|
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
852
858
|
*/
|
|
853
|
-
constructor(terraformResource:
|
|
859
|
+
constructor(terraformResource: cdktn.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
|
|
854
860
|
/**
|
|
855
861
|
* @param index the index of the item to return
|
|
856
862
|
*/
|
|
@@ -860,13 +866,13 @@ export interface ContainerMountsVolumeOptions {
|
|
|
860
866
|
/**
|
|
861
867
|
* Name of the driver to use to create the volume.
|
|
862
868
|
*
|
|
863
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
869
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#driver_name Container#driver_name}
|
|
864
870
|
*/
|
|
865
871
|
readonly driverName?: string;
|
|
866
872
|
/**
|
|
867
873
|
* key/value map of driver specific options.
|
|
868
874
|
*
|
|
869
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
875
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#driver_options Container#driver_options}
|
|
870
876
|
*/
|
|
871
877
|
readonly driverOptions?: {
|
|
872
878
|
[key: string]: string;
|
|
@@ -874,31 +880,31 @@ export interface ContainerMountsVolumeOptions {
|
|
|
874
880
|
/**
|
|
875
881
|
* Populate volume with data from the target.
|
|
876
882
|
*
|
|
877
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
883
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#no_copy Container#no_copy}
|
|
878
884
|
*/
|
|
879
|
-
readonly noCopy?: boolean |
|
|
885
|
+
readonly noCopy?: boolean | cdktn.IResolvable;
|
|
880
886
|
/**
|
|
881
887
|
* Path within the volume to mount. Requires docker server version 1.45 or higher.
|
|
882
888
|
*
|
|
883
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
889
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#subpath Container#subpath}
|
|
884
890
|
*/
|
|
885
891
|
readonly subpath?: string;
|
|
886
892
|
/**
|
|
887
893
|
* labels block
|
|
888
894
|
*
|
|
889
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
895
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#labels Container#labels}
|
|
890
896
|
*/
|
|
891
|
-
readonly labels?: ContainerMountsVolumeOptionsLabels[] |
|
|
897
|
+
readonly labels?: ContainerMountsVolumeOptionsLabels[] | cdktn.IResolvable;
|
|
892
898
|
}
|
|
893
899
|
export declare function containerMountsVolumeOptionsToTerraform(struct?: ContainerMountsVolumeOptionsOutputReference | ContainerMountsVolumeOptions): any;
|
|
894
900
|
export declare function containerMountsVolumeOptionsToHclTerraform(struct?: ContainerMountsVolumeOptionsOutputReference | ContainerMountsVolumeOptions): any;
|
|
895
|
-
export declare class ContainerMountsVolumeOptionsOutputReference extends
|
|
901
|
+
export declare class ContainerMountsVolumeOptionsOutputReference extends cdktn.ComplexObject {
|
|
896
902
|
private isEmptyObject;
|
|
897
903
|
/**
|
|
898
904
|
* @param terraformResource The parent resource
|
|
899
905
|
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
900
906
|
*/
|
|
901
|
-
constructor(terraformResource:
|
|
907
|
+
constructor(terraformResource: cdktn.IInterpolatingParent, terraformAttribute: string);
|
|
902
908
|
get internalValue(): ContainerMountsVolumeOptions | undefined;
|
|
903
909
|
set internalValue(value: ContainerMountsVolumeOptions | undefined);
|
|
904
910
|
private _driverName?;
|
|
@@ -918,10 +924,10 @@ export declare class ContainerMountsVolumeOptionsOutputReference extends cdktf.C
|
|
|
918
924
|
[key: string]: string;
|
|
919
925
|
} | undefined;
|
|
920
926
|
private _noCopy?;
|
|
921
|
-
get noCopy(): boolean |
|
|
922
|
-
set noCopy(value: boolean |
|
|
927
|
+
get noCopy(): boolean | cdktn.IResolvable;
|
|
928
|
+
set noCopy(value: boolean | cdktn.IResolvable);
|
|
923
929
|
resetNoCopy(): void;
|
|
924
|
-
get noCopyInput(): boolean |
|
|
930
|
+
get noCopyInput(): boolean | cdktn.IResolvable | undefined;
|
|
925
931
|
private _subpath?;
|
|
926
932
|
get subpath(): string;
|
|
927
933
|
set subpath(value: string);
|
|
@@ -929,57 +935,57 @@ export declare class ContainerMountsVolumeOptionsOutputReference extends cdktf.C
|
|
|
929
935
|
get subpathInput(): string | undefined;
|
|
930
936
|
private _labels;
|
|
931
937
|
get labels(): ContainerMountsVolumeOptionsLabelsList;
|
|
932
|
-
putLabels(value: ContainerMountsVolumeOptionsLabels[] |
|
|
938
|
+
putLabels(value: ContainerMountsVolumeOptionsLabels[] | cdktn.IResolvable): void;
|
|
933
939
|
resetLabels(): void;
|
|
934
|
-
get labelsInput():
|
|
940
|
+
get labelsInput(): cdktn.IResolvable | ContainerMountsVolumeOptionsLabels[] | undefined;
|
|
935
941
|
}
|
|
936
942
|
export interface ContainerMounts {
|
|
937
943
|
/**
|
|
938
944
|
* Whether the mount should be read-only.
|
|
939
945
|
*
|
|
940
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
946
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#read_only Container#read_only}
|
|
941
947
|
*/
|
|
942
|
-
readonly readOnly?: boolean |
|
|
948
|
+
readonly readOnly?: boolean | cdktn.IResolvable;
|
|
943
949
|
/**
|
|
944
950
|
* Mount source (e.g. a volume name, a host path).
|
|
945
951
|
*
|
|
946
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
952
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#source Container#source}
|
|
947
953
|
*/
|
|
948
954
|
readonly source?: string;
|
|
949
955
|
/**
|
|
950
956
|
* Container path
|
|
951
957
|
*
|
|
952
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
958
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#target Container#target}
|
|
953
959
|
*/
|
|
954
960
|
readonly target: string;
|
|
955
961
|
/**
|
|
956
962
|
* The mount type
|
|
957
963
|
*
|
|
958
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
964
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#type Container#type}
|
|
959
965
|
*/
|
|
960
966
|
readonly type: string;
|
|
961
967
|
/**
|
|
962
968
|
* bind_options block
|
|
963
969
|
*
|
|
964
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
970
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#bind_options Container#bind_options}
|
|
965
971
|
*/
|
|
966
972
|
readonly bindOptions?: ContainerMountsBindOptions;
|
|
967
973
|
/**
|
|
968
974
|
* tmpfs_options block
|
|
969
975
|
*
|
|
970
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
976
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#tmpfs_options Container#tmpfs_options}
|
|
971
977
|
*/
|
|
972
978
|
readonly tmpfsOptions?: ContainerMountsTmpfsOptions;
|
|
973
979
|
/**
|
|
974
980
|
* volume_options block
|
|
975
981
|
*
|
|
976
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
982
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#volume_options Container#volume_options}
|
|
977
983
|
*/
|
|
978
984
|
readonly volumeOptions?: ContainerMountsVolumeOptions;
|
|
979
985
|
}
|
|
980
|
-
export declare function containerMountsToTerraform(struct?: ContainerMounts |
|
|
981
|
-
export declare function containerMountsToHclTerraform(struct?: ContainerMounts |
|
|
982
|
-
export declare class ContainerMountsOutputReference extends
|
|
986
|
+
export declare function containerMountsToTerraform(struct?: ContainerMounts | cdktn.IResolvable): any;
|
|
987
|
+
export declare function containerMountsToHclTerraform(struct?: ContainerMounts | cdktn.IResolvable): any;
|
|
988
|
+
export declare class ContainerMountsOutputReference extends cdktn.ComplexObject {
|
|
983
989
|
private isEmptyObject;
|
|
984
990
|
private resolvableValue?;
|
|
985
991
|
/**
|
|
@@ -988,14 +994,14 @@ export declare class ContainerMountsOutputReference extends cdktf.ComplexObject
|
|
|
988
994
|
* @param complexObjectIndex the index of this item in the list
|
|
989
995
|
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
990
996
|
*/
|
|
991
|
-
constructor(terraformResource:
|
|
992
|
-
get internalValue(): ContainerMounts |
|
|
993
|
-
set internalValue(value: ContainerMounts |
|
|
997
|
+
constructor(terraformResource: cdktn.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
|
|
998
|
+
get internalValue(): ContainerMounts | cdktn.IResolvable | undefined;
|
|
999
|
+
set internalValue(value: ContainerMounts | cdktn.IResolvable | undefined);
|
|
994
1000
|
private _readOnly?;
|
|
995
|
-
get readOnly(): boolean |
|
|
996
|
-
set readOnly(value: boolean |
|
|
1001
|
+
get readOnly(): boolean | cdktn.IResolvable;
|
|
1002
|
+
set readOnly(value: boolean | cdktn.IResolvable);
|
|
997
1003
|
resetReadOnly(): void;
|
|
998
|
-
get readOnlyInput(): boolean |
|
|
1004
|
+
get readOnlyInput(): boolean | cdktn.IResolvable | undefined;
|
|
999
1005
|
private _source?;
|
|
1000
1006
|
get source(): string;
|
|
1001
1007
|
set source(value: string);
|
|
@@ -1025,17 +1031,17 @@ export declare class ContainerMountsOutputReference extends cdktf.ComplexObject
|
|
|
1025
1031
|
resetVolumeOptions(): void;
|
|
1026
1032
|
get volumeOptionsInput(): ContainerMountsVolumeOptions | undefined;
|
|
1027
1033
|
}
|
|
1028
|
-
export declare class ContainerMountsList extends
|
|
1029
|
-
protected terraformResource:
|
|
1034
|
+
export declare class ContainerMountsList extends cdktn.ComplexList {
|
|
1035
|
+
protected terraformResource: cdktn.IInterpolatingParent;
|
|
1030
1036
|
protected terraformAttribute: string;
|
|
1031
1037
|
protected wrapsSet: boolean;
|
|
1032
|
-
internalValue?: ContainerMounts[] |
|
|
1038
|
+
internalValue?: ContainerMounts[] | cdktn.IResolvable;
|
|
1033
1039
|
/**
|
|
1034
1040
|
* @param terraformResource The parent resource
|
|
1035
1041
|
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
1036
1042
|
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
1037
1043
|
*/
|
|
1038
|
-
constructor(terraformResource:
|
|
1044
|
+
constructor(terraformResource: cdktn.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
|
|
1039
1045
|
/**
|
|
1040
1046
|
* @param index the index of the item to return
|
|
1041
1047
|
*/
|
|
@@ -1045,31 +1051,37 @@ export interface ContainerNetworksAdvanced {
|
|
|
1045
1051
|
/**
|
|
1046
1052
|
* The network aliases of the container in the specific network.
|
|
1047
1053
|
*
|
|
1048
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1054
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#aliases Container#aliases}
|
|
1049
1055
|
*/
|
|
1050
1056
|
readonly aliases?: string[];
|
|
1051
1057
|
/**
|
|
1052
1058
|
* The IPV4 address of the container in the specific network.
|
|
1053
1059
|
*
|
|
1054
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1060
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#ipv4_address Container#ipv4_address}
|
|
1055
1061
|
*/
|
|
1056
1062
|
readonly ipv4Address?: string;
|
|
1057
1063
|
/**
|
|
1058
1064
|
* The IPV6 address of the container in the specific network.
|
|
1059
1065
|
*
|
|
1060
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1066
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#ipv6_address Container#ipv6_address}
|
|
1061
1067
|
*/
|
|
1062
1068
|
readonly ipv6Address?: string;
|
|
1063
1069
|
/**
|
|
1070
|
+
* The MAC address of the container in the specific network.
|
|
1071
|
+
*
|
|
1072
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#mac_address Container#mac_address}
|
|
1073
|
+
*/
|
|
1074
|
+
readonly macAddress?: string;
|
|
1075
|
+
/**
|
|
1064
1076
|
* The name or id of the network to use. You can use `name` or `id` attribute from a `docker_network` resource.
|
|
1065
1077
|
*
|
|
1066
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1078
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#name Container#name}
|
|
1067
1079
|
*/
|
|
1068
1080
|
readonly name: string;
|
|
1069
1081
|
}
|
|
1070
|
-
export declare function containerNetworksAdvancedToTerraform(struct?: ContainerNetworksAdvanced |
|
|
1071
|
-
export declare function containerNetworksAdvancedToHclTerraform(struct?: ContainerNetworksAdvanced |
|
|
1072
|
-
export declare class ContainerNetworksAdvancedOutputReference extends
|
|
1082
|
+
export declare function containerNetworksAdvancedToTerraform(struct?: ContainerNetworksAdvanced | cdktn.IResolvable): any;
|
|
1083
|
+
export declare function containerNetworksAdvancedToHclTerraform(struct?: ContainerNetworksAdvanced | cdktn.IResolvable): any;
|
|
1084
|
+
export declare class ContainerNetworksAdvancedOutputReference extends cdktn.ComplexObject {
|
|
1073
1085
|
private isEmptyObject;
|
|
1074
1086
|
private resolvableValue?;
|
|
1075
1087
|
/**
|
|
@@ -1078,9 +1090,9 @@ export declare class ContainerNetworksAdvancedOutputReference extends cdktf.Comp
|
|
|
1078
1090
|
* @param complexObjectIndex the index of this item in the list
|
|
1079
1091
|
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
1080
1092
|
*/
|
|
1081
|
-
constructor(terraformResource:
|
|
1082
|
-
get internalValue(): ContainerNetworksAdvanced |
|
|
1083
|
-
set internalValue(value: ContainerNetworksAdvanced |
|
|
1093
|
+
constructor(terraformResource: cdktn.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
|
|
1094
|
+
get internalValue(): ContainerNetworksAdvanced | cdktn.IResolvable | undefined;
|
|
1095
|
+
set internalValue(value: ContainerNetworksAdvanced | cdktn.IResolvable | undefined);
|
|
1084
1096
|
private _aliases?;
|
|
1085
1097
|
get aliases(): string[];
|
|
1086
1098
|
set aliases(value: string[]);
|
|
@@ -1096,22 +1108,27 @@ export declare class ContainerNetworksAdvancedOutputReference extends cdktf.Comp
|
|
|
1096
1108
|
set ipv6Address(value: string);
|
|
1097
1109
|
resetIpv6Address(): void;
|
|
1098
1110
|
get ipv6AddressInput(): string | undefined;
|
|
1111
|
+
private _macAddress?;
|
|
1112
|
+
get macAddress(): string;
|
|
1113
|
+
set macAddress(value: string);
|
|
1114
|
+
resetMacAddress(): void;
|
|
1115
|
+
get macAddressInput(): string | undefined;
|
|
1099
1116
|
private _name?;
|
|
1100
1117
|
get name(): string;
|
|
1101
1118
|
set name(value: string);
|
|
1102
1119
|
get nameInput(): string | undefined;
|
|
1103
1120
|
}
|
|
1104
|
-
export declare class ContainerNetworksAdvancedList extends
|
|
1105
|
-
protected terraformResource:
|
|
1121
|
+
export declare class ContainerNetworksAdvancedList extends cdktn.ComplexList {
|
|
1122
|
+
protected terraformResource: cdktn.IInterpolatingParent;
|
|
1106
1123
|
protected terraformAttribute: string;
|
|
1107
1124
|
protected wrapsSet: boolean;
|
|
1108
|
-
internalValue?: ContainerNetworksAdvanced[] |
|
|
1125
|
+
internalValue?: ContainerNetworksAdvanced[] | cdktn.IResolvable;
|
|
1109
1126
|
/**
|
|
1110
1127
|
* @param terraformResource The parent resource
|
|
1111
1128
|
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
1112
1129
|
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
1113
1130
|
*/
|
|
1114
|
-
constructor(terraformResource:
|
|
1131
|
+
constructor(terraformResource: cdktn.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
|
|
1115
1132
|
/**
|
|
1116
1133
|
* @param index the index of the item to return
|
|
1117
1134
|
*/
|
|
@@ -1121,31 +1138,31 @@ export interface ContainerPorts {
|
|
|
1121
1138
|
/**
|
|
1122
1139
|
* Port exposed out of the container. If not given a free random port `>= 32768` will be used.
|
|
1123
1140
|
*
|
|
1124
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1141
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#external Container#external}
|
|
1125
1142
|
*/
|
|
1126
1143
|
readonly external?: number;
|
|
1127
1144
|
/**
|
|
1128
1145
|
* Port within the container.
|
|
1129
1146
|
*
|
|
1130
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1147
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#internal Container#internal}
|
|
1131
1148
|
*/
|
|
1132
1149
|
readonly internal: number;
|
|
1133
1150
|
/**
|
|
1134
1151
|
* IP address/mask that can access this port. Defaults to `0.0.0.0`.
|
|
1135
1152
|
*
|
|
1136
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1153
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#ip Container#ip}
|
|
1137
1154
|
*/
|
|
1138
1155
|
readonly ip?: string;
|
|
1139
1156
|
/**
|
|
1140
1157
|
* Protocol that can be used over this port. Defaults to `tcp`.
|
|
1141
1158
|
*
|
|
1142
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1159
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#protocol Container#protocol}
|
|
1143
1160
|
*/
|
|
1144
1161
|
readonly protocol?: string;
|
|
1145
1162
|
}
|
|
1146
|
-
export declare function containerPortsToTerraform(struct?: ContainerPorts |
|
|
1147
|
-
export declare function containerPortsToHclTerraform(struct?: ContainerPorts |
|
|
1148
|
-
export declare class ContainerPortsOutputReference extends
|
|
1163
|
+
export declare function containerPortsToTerraform(struct?: ContainerPorts | cdktn.IResolvable): any;
|
|
1164
|
+
export declare function containerPortsToHclTerraform(struct?: ContainerPorts | cdktn.IResolvable): any;
|
|
1165
|
+
export declare class ContainerPortsOutputReference extends cdktn.ComplexObject {
|
|
1149
1166
|
private isEmptyObject;
|
|
1150
1167
|
private resolvableValue?;
|
|
1151
1168
|
/**
|
|
@@ -1154,9 +1171,9 @@ export declare class ContainerPortsOutputReference extends cdktf.ComplexObject {
|
|
|
1154
1171
|
* @param complexObjectIndex the index of this item in the list
|
|
1155
1172
|
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
1156
1173
|
*/
|
|
1157
|
-
constructor(terraformResource:
|
|
1158
|
-
get internalValue(): ContainerPorts |
|
|
1159
|
-
set internalValue(value: ContainerPorts |
|
|
1174
|
+
constructor(terraformResource: cdktn.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
|
|
1175
|
+
get internalValue(): ContainerPorts | cdktn.IResolvable | undefined;
|
|
1176
|
+
set internalValue(value: ContainerPorts | cdktn.IResolvable | undefined);
|
|
1160
1177
|
private _external?;
|
|
1161
1178
|
get external(): number;
|
|
1162
1179
|
set external(value: number);
|
|
@@ -1177,17 +1194,17 @@ export declare class ContainerPortsOutputReference extends cdktf.ComplexObject {
|
|
|
1177
1194
|
resetProtocol(): void;
|
|
1178
1195
|
get protocolInput(): string | undefined;
|
|
1179
1196
|
}
|
|
1180
|
-
export declare class ContainerPortsList extends
|
|
1181
|
-
protected terraformResource:
|
|
1197
|
+
export declare class ContainerPortsList extends cdktn.ComplexList {
|
|
1198
|
+
protected terraformResource: cdktn.IInterpolatingParent;
|
|
1182
1199
|
protected terraformAttribute: string;
|
|
1183
1200
|
protected wrapsSet: boolean;
|
|
1184
|
-
internalValue?: ContainerPorts[] |
|
|
1201
|
+
internalValue?: ContainerPorts[] | cdktn.IResolvable;
|
|
1185
1202
|
/**
|
|
1186
1203
|
* @param terraformResource The parent resource
|
|
1187
1204
|
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
1188
1205
|
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
1189
1206
|
*/
|
|
1190
|
-
constructor(terraformResource:
|
|
1207
|
+
constructor(terraformResource: cdktn.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
|
|
1191
1208
|
/**
|
|
1192
1209
|
* @param index the index of the item to return
|
|
1193
1210
|
*/
|
|
@@ -1197,25 +1214,25 @@ export interface ContainerUlimit {
|
|
|
1197
1214
|
/**
|
|
1198
1215
|
* The hard limit
|
|
1199
1216
|
*
|
|
1200
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1217
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#hard Container#hard}
|
|
1201
1218
|
*/
|
|
1202
1219
|
readonly hard: number;
|
|
1203
1220
|
/**
|
|
1204
1221
|
* The name of the ulimit
|
|
1205
1222
|
*
|
|
1206
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1223
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#name Container#name}
|
|
1207
1224
|
*/
|
|
1208
1225
|
readonly name: string;
|
|
1209
1226
|
/**
|
|
1210
1227
|
* The soft limit
|
|
1211
1228
|
*
|
|
1212
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1229
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#soft Container#soft}
|
|
1213
1230
|
*/
|
|
1214
1231
|
readonly soft: number;
|
|
1215
1232
|
}
|
|
1216
|
-
export declare function containerUlimitToTerraform(struct?: ContainerUlimit |
|
|
1217
|
-
export declare function containerUlimitToHclTerraform(struct?: ContainerUlimit |
|
|
1218
|
-
export declare class ContainerUlimitOutputReference extends
|
|
1233
|
+
export declare function containerUlimitToTerraform(struct?: ContainerUlimit | cdktn.IResolvable): any;
|
|
1234
|
+
export declare function containerUlimitToHclTerraform(struct?: ContainerUlimit | cdktn.IResolvable): any;
|
|
1235
|
+
export declare class ContainerUlimitOutputReference extends cdktn.ComplexObject {
|
|
1219
1236
|
private isEmptyObject;
|
|
1220
1237
|
private resolvableValue?;
|
|
1221
1238
|
/**
|
|
@@ -1224,9 +1241,9 @@ export declare class ContainerUlimitOutputReference extends cdktf.ComplexObject
|
|
|
1224
1241
|
* @param complexObjectIndex the index of this item in the list
|
|
1225
1242
|
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
1226
1243
|
*/
|
|
1227
|
-
constructor(terraformResource:
|
|
1228
|
-
get internalValue(): ContainerUlimit |
|
|
1229
|
-
set internalValue(value: ContainerUlimit |
|
|
1244
|
+
constructor(terraformResource: cdktn.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
|
|
1245
|
+
get internalValue(): ContainerUlimit | cdktn.IResolvable | undefined;
|
|
1246
|
+
set internalValue(value: ContainerUlimit | cdktn.IResolvable | undefined);
|
|
1230
1247
|
private _hard?;
|
|
1231
1248
|
get hard(): number;
|
|
1232
1249
|
set hard(value: number);
|
|
@@ -1240,17 +1257,17 @@ export declare class ContainerUlimitOutputReference extends cdktf.ComplexObject
|
|
|
1240
1257
|
set soft(value: number);
|
|
1241
1258
|
get softInput(): number | undefined;
|
|
1242
1259
|
}
|
|
1243
|
-
export declare class ContainerUlimitList extends
|
|
1244
|
-
protected terraformResource:
|
|
1260
|
+
export declare class ContainerUlimitList extends cdktn.ComplexList {
|
|
1261
|
+
protected terraformResource: cdktn.IInterpolatingParent;
|
|
1245
1262
|
protected terraformAttribute: string;
|
|
1246
1263
|
protected wrapsSet: boolean;
|
|
1247
|
-
internalValue?: ContainerUlimit[] |
|
|
1264
|
+
internalValue?: ContainerUlimit[] | cdktn.IResolvable;
|
|
1248
1265
|
/**
|
|
1249
1266
|
* @param terraformResource The parent resource
|
|
1250
1267
|
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
1251
1268
|
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
1252
1269
|
*/
|
|
1253
|
-
constructor(terraformResource:
|
|
1270
|
+
constructor(terraformResource: cdktn.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
|
|
1254
1271
|
/**
|
|
1255
1272
|
* @param index the index of the item to return
|
|
1256
1273
|
*/
|
|
@@ -1260,49 +1277,49 @@ export interface ContainerUpload {
|
|
|
1260
1277
|
/**
|
|
1261
1278
|
* Literal string value to use as the object content, which will be uploaded as UTF-8-encoded text. Conflicts with `content_base64` & `source`
|
|
1262
1279
|
*
|
|
1263
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1280
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#content Container#content}
|
|
1264
1281
|
*/
|
|
1265
1282
|
readonly content?: string;
|
|
1266
1283
|
/**
|
|
1267
1284
|
* Base64-encoded data that will be decoded and uploaded as raw bytes for the object content. This allows safely uploading non-UTF8 binary data, but is recommended only for larger binary content such as the result of the `base64encode` interpolation function. See [here](https://github.com/terraform-providers/terraform-provider-docker/issues/48#issuecomment-374174588) for the reason. Conflicts with `content` & `source`
|
|
1268
1285
|
*
|
|
1269
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1286
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#content_base64 Container#content_base64}
|
|
1270
1287
|
*/
|
|
1271
1288
|
readonly contentBase64?: string;
|
|
1272
1289
|
/**
|
|
1273
1290
|
* If `true`, the file will be uploaded with user executable permission. Defaults to `false`.
|
|
1274
1291
|
*
|
|
1275
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1292
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#executable Container#executable}
|
|
1276
1293
|
*/
|
|
1277
|
-
readonly executable?: boolean |
|
|
1294
|
+
readonly executable?: boolean | cdktn.IResolvable;
|
|
1278
1295
|
/**
|
|
1279
1296
|
* Path to the file in the container where is upload goes to
|
|
1280
1297
|
*
|
|
1281
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1298
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#file Container#file}
|
|
1282
1299
|
*/
|
|
1283
1300
|
readonly file: string;
|
|
1284
1301
|
/**
|
|
1285
1302
|
* The permission mode for the file in the container. Has precedence over `executable`.
|
|
1286
1303
|
*
|
|
1287
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1304
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#permissions Container#permissions}
|
|
1288
1305
|
*/
|
|
1289
1306
|
readonly permissions?: string;
|
|
1290
1307
|
/**
|
|
1291
1308
|
* A filename that references a file which will be uploaded as the object content. This allows for large file uploads that do not get stored in state. Conflicts with `content` & `content_base64`
|
|
1292
1309
|
*
|
|
1293
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1310
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#source Container#source}
|
|
1294
1311
|
*/
|
|
1295
1312
|
readonly source?: string;
|
|
1296
1313
|
/**
|
|
1297
1314
|
* If using `source`, this will force an update if the file content has updated but the filename has not.
|
|
1298
1315
|
*
|
|
1299
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1316
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#source_hash Container#source_hash}
|
|
1300
1317
|
*/
|
|
1301
1318
|
readonly sourceHash?: string;
|
|
1302
1319
|
}
|
|
1303
|
-
export declare function containerUploadToTerraform(struct?: ContainerUpload |
|
|
1304
|
-
export declare function containerUploadToHclTerraform(struct?: ContainerUpload |
|
|
1305
|
-
export declare class ContainerUploadOutputReference extends
|
|
1320
|
+
export declare function containerUploadToTerraform(struct?: ContainerUpload | cdktn.IResolvable): any;
|
|
1321
|
+
export declare function containerUploadToHclTerraform(struct?: ContainerUpload | cdktn.IResolvable): any;
|
|
1322
|
+
export declare class ContainerUploadOutputReference extends cdktn.ComplexObject {
|
|
1306
1323
|
private isEmptyObject;
|
|
1307
1324
|
private resolvableValue?;
|
|
1308
1325
|
/**
|
|
@@ -1311,9 +1328,9 @@ export declare class ContainerUploadOutputReference extends cdktf.ComplexObject
|
|
|
1311
1328
|
* @param complexObjectIndex the index of this item in the list
|
|
1312
1329
|
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
1313
1330
|
*/
|
|
1314
|
-
constructor(terraformResource:
|
|
1315
|
-
get internalValue(): ContainerUpload |
|
|
1316
|
-
set internalValue(value: ContainerUpload |
|
|
1331
|
+
constructor(terraformResource: cdktn.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
|
|
1332
|
+
get internalValue(): ContainerUpload | cdktn.IResolvable | undefined;
|
|
1333
|
+
set internalValue(value: ContainerUpload | cdktn.IResolvable | undefined);
|
|
1317
1334
|
private _content?;
|
|
1318
1335
|
get content(): string;
|
|
1319
1336
|
set content(value: string);
|
|
@@ -1325,10 +1342,10 @@ export declare class ContainerUploadOutputReference extends cdktf.ComplexObject
|
|
|
1325
1342
|
resetContentBase64(): void;
|
|
1326
1343
|
get contentBase64Input(): string | undefined;
|
|
1327
1344
|
private _executable?;
|
|
1328
|
-
get executable(): boolean |
|
|
1329
|
-
set executable(value: boolean |
|
|
1345
|
+
get executable(): boolean | cdktn.IResolvable;
|
|
1346
|
+
set executable(value: boolean | cdktn.IResolvable);
|
|
1330
1347
|
resetExecutable(): void;
|
|
1331
|
-
get executableInput(): boolean |
|
|
1348
|
+
get executableInput(): boolean | cdktn.IResolvable | undefined;
|
|
1332
1349
|
private _file?;
|
|
1333
1350
|
get file(): string;
|
|
1334
1351
|
set file(value: string);
|
|
@@ -1349,17 +1366,17 @@ export declare class ContainerUploadOutputReference extends cdktf.ComplexObject
|
|
|
1349
1366
|
resetSourceHash(): void;
|
|
1350
1367
|
get sourceHashInput(): string | undefined;
|
|
1351
1368
|
}
|
|
1352
|
-
export declare class ContainerUploadList extends
|
|
1353
|
-
protected terraformResource:
|
|
1369
|
+
export declare class ContainerUploadList extends cdktn.ComplexList {
|
|
1370
|
+
protected terraformResource: cdktn.IInterpolatingParent;
|
|
1354
1371
|
protected terraformAttribute: string;
|
|
1355
1372
|
protected wrapsSet: boolean;
|
|
1356
|
-
internalValue?: ContainerUpload[] |
|
|
1373
|
+
internalValue?: ContainerUpload[] | cdktn.IResolvable;
|
|
1357
1374
|
/**
|
|
1358
1375
|
* @param terraformResource The parent resource
|
|
1359
1376
|
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
1360
1377
|
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
1361
1378
|
*/
|
|
1362
|
-
constructor(terraformResource:
|
|
1379
|
+
constructor(terraformResource: cdktn.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
|
|
1363
1380
|
/**
|
|
1364
1381
|
* @param index the index of the item to return
|
|
1365
1382
|
*/
|
|
@@ -1369,37 +1386,37 @@ export interface ContainerVolumes {
|
|
|
1369
1386
|
/**
|
|
1370
1387
|
* The path in the container where the volume will be mounted.
|
|
1371
1388
|
*
|
|
1372
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1389
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#container_path Container#container_path}
|
|
1373
1390
|
*/
|
|
1374
1391
|
readonly containerPath?: string;
|
|
1375
1392
|
/**
|
|
1376
1393
|
* The container where the volume is coming from.
|
|
1377
1394
|
*
|
|
1378
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1395
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#from_container Container#from_container}
|
|
1379
1396
|
*/
|
|
1380
1397
|
readonly fromContainer?: string;
|
|
1381
1398
|
/**
|
|
1382
1399
|
* The path on the host where the volume is coming from.
|
|
1383
1400
|
*
|
|
1384
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1401
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#host_path Container#host_path}
|
|
1385
1402
|
*/
|
|
1386
1403
|
readonly hostPath?: string;
|
|
1387
1404
|
/**
|
|
1388
1405
|
* If `true`, this volume will be readonly. Defaults to `false`.
|
|
1389
1406
|
*
|
|
1390
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1407
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#read_only Container#read_only}
|
|
1391
1408
|
*/
|
|
1392
|
-
readonly readOnly?: boolean |
|
|
1409
|
+
readonly readOnly?: boolean | cdktn.IResolvable;
|
|
1393
1410
|
/**
|
|
1394
1411
|
* The name of the docker volume which should be mounted.
|
|
1395
1412
|
*
|
|
1396
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1413
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#volume_name Container#volume_name}
|
|
1397
1414
|
*/
|
|
1398
1415
|
readonly volumeName?: string;
|
|
1399
1416
|
}
|
|
1400
|
-
export declare function containerVolumesToTerraform(struct?: ContainerVolumes |
|
|
1401
|
-
export declare function containerVolumesToHclTerraform(struct?: ContainerVolumes |
|
|
1402
|
-
export declare class ContainerVolumesOutputReference extends
|
|
1417
|
+
export declare function containerVolumesToTerraform(struct?: ContainerVolumes | cdktn.IResolvable): any;
|
|
1418
|
+
export declare function containerVolumesToHclTerraform(struct?: ContainerVolumes | cdktn.IResolvable): any;
|
|
1419
|
+
export declare class ContainerVolumesOutputReference extends cdktn.ComplexObject {
|
|
1403
1420
|
private isEmptyObject;
|
|
1404
1421
|
private resolvableValue?;
|
|
1405
1422
|
/**
|
|
@@ -1408,9 +1425,9 @@ export declare class ContainerVolumesOutputReference extends cdktf.ComplexObject
|
|
|
1408
1425
|
* @param complexObjectIndex the index of this item in the list
|
|
1409
1426
|
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
1410
1427
|
*/
|
|
1411
|
-
constructor(terraformResource:
|
|
1412
|
-
get internalValue(): ContainerVolumes |
|
|
1413
|
-
set internalValue(value: ContainerVolumes |
|
|
1428
|
+
constructor(terraformResource: cdktn.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
|
|
1429
|
+
get internalValue(): ContainerVolumes | cdktn.IResolvable | undefined;
|
|
1430
|
+
set internalValue(value: ContainerVolumes | cdktn.IResolvable | undefined);
|
|
1414
1431
|
private _containerPath?;
|
|
1415
1432
|
get containerPath(): string;
|
|
1416
1433
|
set containerPath(value: string);
|
|
@@ -1427,47 +1444,47 @@ export declare class ContainerVolumesOutputReference extends cdktf.ComplexObject
|
|
|
1427
1444
|
resetHostPath(): void;
|
|
1428
1445
|
get hostPathInput(): string | undefined;
|
|
1429
1446
|
private _readOnly?;
|
|
1430
|
-
get readOnly(): boolean |
|
|
1431
|
-
set readOnly(value: boolean |
|
|
1447
|
+
get readOnly(): boolean | cdktn.IResolvable;
|
|
1448
|
+
set readOnly(value: boolean | cdktn.IResolvable);
|
|
1432
1449
|
resetReadOnly(): void;
|
|
1433
|
-
get readOnlyInput(): boolean |
|
|
1450
|
+
get readOnlyInput(): boolean | cdktn.IResolvable | undefined;
|
|
1434
1451
|
private _volumeName?;
|
|
1435
1452
|
get volumeName(): string;
|
|
1436
1453
|
set volumeName(value: string);
|
|
1437
1454
|
resetVolumeName(): void;
|
|
1438
1455
|
get volumeNameInput(): string | undefined;
|
|
1439
1456
|
}
|
|
1440
|
-
export declare class ContainerVolumesList extends
|
|
1441
|
-
protected terraformResource:
|
|
1457
|
+
export declare class ContainerVolumesList extends cdktn.ComplexList {
|
|
1458
|
+
protected terraformResource: cdktn.IInterpolatingParent;
|
|
1442
1459
|
protected terraformAttribute: string;
|
|
1443
1460
|
protected wrapsSet: boolean;
|
|
1444
|
-
internalValue?: ContainerVolumes[] |
|
|
1461
|
+
internalValue?: ContainerVolumes[] | cdktn.IResolvable;
|
|
1445
1462
|
/**
|
|
1446
1463
|
* @param terraformResource The parent resource
|
|
1447
1464
|
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
1448
1465
|
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
1449
1466
|
*/
|
|
1450
|
-
constructor(terraformResource:
|
|
1467
|
+
constructor(terraformResource: cdktn.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
|
|
1451
1468
|
/**
|
|
1452
1469
|
* @param index the index of the item to return
|
|
1453
1470
|
*/
|
|
1454
1471
|
get(index: number): ContainerVolumesOutputReference;
|
|
1455
1472
|
}
|
|
1456
1473
|
/**
|
|
1457
|
-
* Represents a {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1474
|
+
* Represents a {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container docker_container}
|
|
1458
1475
|
*/
|
|
1459
|
-
export declare class Container extends
|
|
1476
|
+
export declare class Container extends cdktn.TerraformResource {
|
|
1460
1477
|
static readonly tfResourceType = "docker_container";
|
|
1461
1478
|
/**
|
|
1462
|
-
* Generates
|
|
1479
|
+
* Generates CDKTN code for importing a Container resource upon running "cdktn plan <stack-name>"
|
|
1463
1480
|
* @param scope The scope in which to define this construct
|
|
1464
1481
|
* @param importToId The construct id used in the generated config for the Container to import
|
|
1465
|
-
* @param importFromId The id of the existing Container that should be imported. Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1482
|
+
* @param importFromId The id of the existing Container that should be imported. Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container#import import section} in the documentation of this resource for the id to use
|
|
1466
1483
|
* @param provider? Optional instance of the provider where the Container to import is found
|
|
1467
1484
|
*/
|
|
1468
|
-
static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?:
|
|
1485
|
+
static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktn.TerraformProvider): cdktn.ImportableResource;
|
|
1469
1486
|
/**
|
|
1470
|
-
* Create a new {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
1487
|
+
* Create a new {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/container docker_container} Resource
|
|
1471
1488
|
*
|
|
1472
1489
|
* @param scope The scope in which to define this construct
|
|
1473
1490
|
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
@@ -1475,10 +1492,10 @@ export declare class Container extends cdktf.TerraformResource {
|
|
|
1475
1492
|
*/
|
|
1476
1493
|
constructor(scope: Construct, id: string, config: ContainerConfig);
|
|
1477
1494
|
private _attach?;
|
|
1478
|
-
get attach(): boolean |
|
|
1479
|
-
set attach(value: boolean |
|
|
1495
|
+
get attach(): boolean | cdktn.IResolvable;
|
|
1496
|
+
set attach(value: boolean | cdktn.IResolvable);
|
|
1480
1497
|
resetAttach(): void;
|
|
1481
|
-
get attachInput(): boolean |
|
|
1498
|
+
get attachInput(): boolean | cdktn.IResolvable | undefined;
|
|
1482
1499
|
get bridge(): string;
|
|
1483
1500
|
private _cgroupParent?;
|
|
1484
1501
|
get cgroupParent(): string;
|
|
@@ -1587,10 +1604,10 @@ export declare class Container extends cdktf.TerraformResource {
|
|
|
1587
1604
|
set image(value: string);
|
|
1588
1605
|
get imageInput(): string | undefined;
|
|
1589
1606
|
private _init?;
|
|
1590
|
-
get init(): boolean |
|
|
1591
|
-
set init(value: boolean |
|
|
1607
|
+
get init(): boolean | cdktn.IResolvable;
|
|
1608
|
+
set init(value: boolean | cdktn.IResolvable);
|
|
1592
1609
|
resetInit(): void;
|
|
1593
|
-
get initInput(): boolean |
|
|
1610
|
+
get initInput(): boolean | cdktn.IResolvable | undefined;
|
|
1594
1611
|
private _ipcMode?;
|
|
1595
1612
|
get ipcMode(): string;
|
|
1596
1613
|
set ipcMode(value: string);
|
|
@@ -1613,10 +1630,10 @@ export declare class Container extends cdktf.TerraformResource {
|
|
|
1613
1630
|
[key: string]: string;
|
|
1614
1631
|
} | undefined;
|
|
1615
1632
|
private _logs?;
|
|
1616
|
-
get logs(): boolean |
|
|
1617
|
-
set logs(value: boolean |
|
|
1633
|
+
get logs(): boolean | cdktn.IResolvable;
|
|
1634
|
+
set logs(value: boolean | cdktn.IResolvable);
|
|
1618
1635
|
resetLogs(): void;
|
|
1619
|
-
get logsInput(): boolean |
|
|
1636
|
+
get logsInput(): boolean | cdktn.IResolvable | undefined;
|
|
1620
1637
|
private _maxRetryCount?;
|
|
1621
1638
|
get maxRetryCount(): number;
|
|
1622
1639
|
set maxRetryCount(value: number);
|
|
@@ -1627,16 +1644,21 @@ export declare class Container extends cdktf.TerraformResource {
|
|
|
1627
1644
|
set memory(value: number);
|
|
1628
1645
|
resetMemory(): void;
|
|
1629
1646
|
get memoryInput(): number | undefined;
|
|
1647
|
+
private _memoryReservation?;
|
|
1648
|
+
get memoryReservation(): number;
|
|
1649
|
+
set memoryReservation(value: number);
|
|
1650
|
+
resetMemoryReservation(): void;
|
|
1651
|
+
get memoryReservationInput(): number | undefined;
|
|
1630
1652
|
private _memorySwap?;
|
|
1631
1653
|
get memorySwap(): number;
|
|
1632
1654
|
set memorySwap(value: number);
|
|
1633
1655
|
resetMemorySwap(): void;
|
|
1634
1656
|
get memorySwapInput(): number | undefined;
|
|
1635
1657
|
private _mustRun?;
|
|
1636
|
-
get mustRun(): boolean |
|
|
1637
|
-
set mustRun(value: boolean |
|
|
1658
|
+
get mustRun(): boolean | cdktn.IResolvable;
|
|
1659
|
+
set mustRun(value: boolean | cdktn.IResolvable);
|
|
1638
1660
|
resetMustRun(): void;
|
|
1639
|
-
get mustRunInput(): boolean |
|
|
1661
|
+
get mustRunInput(): boolean | cdktn.IResolvable | undefined;
|
|
1640
1662
|
private _name?;
|
|
1641
1663
|
get name(): string;
|
|
1642
1664
|
set name(value: string);
|
|
@@ -1654,35 +1676,35 @@ export declare class Container extends cdktf.TerraformResource {
|
|
|
1654
1676
|
resetPidMode(): void;
|
|
1655
1677
|
get pidModeInput(): string | undefined;
|
|
1656
1678
|
private _privileged?;
|
|
1657
|
-
get privileged(): boolean |
|
|
1658
|
-
set privileged(value: boolean |
|
|
1679
|
+
get privileged(): boolean | cdktn.IResolvable;
|
|
1680
|
+
set privileged(value: boolean | cdktn.IResolvable);
|
|
1659
1681
|
resetPrivileged(): void;
|
|
1660
|
-
get privilegedInput(): boolean |
|
|
1682
|
+
get privilegedInput(): boolean | cdktn.IResolvable | undefined;
|
|
1661
1683
|
private _publishAllPorts?;
|
|
1662
|
-
get publishAllPorts(): boolean |
|
|
1663
|
-
set publishAllPorts(value: boolean |
|
|
1684
|
+
get publishAllPorts(): boolean | cdktn.IResolvable;
|
|
1685
|
+
set publishAllPorts(value: boolean | cdktn.IResolvable);
|
|
1664
1686
|
resetPublishAllPorts(): void;
|
|
1665
|
-
get publishAllPortsInput(): boolean |
|
|
1687
|
+
get publishAllPortsInput(): boolean | cdktn.IResolvable | undefined;
|
|
1666
1688
|
private _readOnly?;
|
|
1667
|
-
get readOnly(): boolean |
|
|
1668
|
-
set readOnly(value: boolean |
|
|
1689
|
+
get readOnly(): boolean | cdktn.IResolvable;
|
|
1690
|
+
set readOnly(value: boolean | cdktn.IResolvable);
|
|
1669
1691
|
resetReadOnly(): void;
|
|
1670
|
-
get readOnlyInput(): boolean |
|
|
1692
|
+
get readOnlyInput(): boolean | cdktn.IResolvable | undefined;
|
|
1671
1693
|
private _removeVolumes?;
|
|
1672
|
-
get removeVolumes(): boolean |
|
|
1673
|
-
set removeVolumes(value: boolean |
|
|
1694
|
+
get removeVolumes(): boolean | cdktn.IResolvable;
|
|
1695
|
+
set removeVolumes(value: boolean | cdktn.IResolvable);
|
|
1674
1696
|
resetRemoveVolumes(): void;
|
|
1675
|
-
get removeVolumesInput(): boolean |
|
|
1697
|
+
get removeVolumesInput(): boolean | cdktn.IResolvable | undefined;
|
|
1676
1698
|
private _restart?;
|
|
1677
1699
|
get restart(): string;
|
|
1678
1700
|
set restart(value: string);
|
|
1679
1701
|
resetRestart(): void;
|
|
1680
1702
|
get restartInput(): string | undefined;
|
|
1681
1703
|
private _rm?;
|
|
1682
|
-
get rm(): boolean |
|
|
1683
|
-
set rm(value: boolean |
|
|
1704
|
+
get rm(): boolean | cdktn.IResolvable;
|
|
1705
|
+
set rm(value: boolean | cdktn.IResolvable);
|
|
1684
1706
|
resetRm(): void;
|
|
1685
|
-
get rmInput(): boolean |
|
|
1707
|
+
get rmInput(): boolean | cdktn.IResolvable | undefined;
|
|
1686
1708
|
private _runtime?;
|
|
1687
1709
|
get runtime(): string;
|
|
1688
1710
|
set runtime(value: string);
|
|
@@ -1699,15 +1721,15 @@ export declare class Container extends cdktf.TerraformResource {
|
|
|
1699
1721
|
resetShmSize(): void;
|
|
1700
1722
|
get shmSizeInput(): number | undefined;
|
|
1701
1723
|
private _start?;
|
|
1702
|
-
get start(): boolean |
|
|
1703
|
-
set start(value: boolean |
|
|
1724
|
+
get start(): boolean | cdktn.IResolvable;
|
|
1725
|
+
set start(value: boolean | cdktn.IResolvable);
|
|
1704
1726
|
resetStart(): void;
|
|
1705
|
-
get startInput(): boolean |
|
|
1727
|
+
get startInput(): boolean | cdktn.IResolvable | undefined;
|
|
1706
1728
|
private _stdinOpen?;
|
|
1707
|
-
get stdinOpen(): boolean |
|
|
1708
|
-
set stdinOpen(value: boolean |
|
|
1729
|
+
get stdinOpen(): boolean | cdktn.IResolvable;
|
|
1730
|
+
set stdinOpen(value: boolean | cdktn.IResolvable);
|
|
1709
1731
|
resetStdinOpen(): void;
|
|
1710
|
-
get stdinOpenInput(): boolean |
|
|
1732
|
+
get stdinOpenInput(): boolean | cdktn.IResolvable | undefined;
|
|
1711
1733
|
private _stopSignal?;
|
|
1712
1734
|
get stopSignal(): string;
|
|
1713
1735
|
set stopSignal(value: string);
|
|
@@ -1752,10 +1774,10 @@ export declare class Container extends cdktf.TerraformResource {
|
|
|
1752
1774
|
[key: string]: string;
|
|
1753
1775
|
} | undefined;
|
|
1754
1776
|
private _tty?;
|
|
1755
|
-
get tty(): boolean |
|
|
1756
|
-
set tty(value: boolean |
|
|
1777
|
+
get tty(): boolean | cdktn.IResolvable;
|
|
1778
|
+
set tty(value: boolean | cdktn.IResolvable);
|
|
1757
1779
|
resetTty(): void;
|
|
1758
|
-
get ttyInput(): boolean |
|
|
1780
|
+
get ttyInput(): boolean | cdktn.IResolvable | undefined;
|
|
1759
1781
|
private _user?;
|
|
1760
1782
|
get user(): string;
|
|
1761
1783
|
set user(value: string);
|
|
@@ -1767,10 +1789,10 @@ export declare class Container extends cdktf.TerraformResource {
|
|
|
1767
1789
|
resetUsernsMode(): void;
|
|
1768
1790
|
get usernsModeInput(): string | undefined;
|
|
1769
1791
|
private _wait?;
|
|
1770
|
-
get wait(): boolean |
|
|
1771
|
-
set wait(value: boolean |
|
|
1792
|
+
get wait(): boolean | cdktn.IResolvable;
|
|
1793
|
+
set wait(value: boolean | cdktn.IResolvable);
|
|
1772
1794
|
resetWait(): void;
|
|
1773
|
-
get waitInput(): boolean |
|
|
1795
|
+
get waitInput(): boolean | cdktn.IResolvable | undefined;
|
|
1774
1796
|
private _waitTimeout?;
|
|
1775
1797
|
get waitTimeout(): number;
|
|
1776
1798
|
set waitTimeout(value: number);
|
|
@@ -1788,9 +1810,9 @@ export declare class Container extends cdktf.TerraformResource {
|
|
|
1788
1810
|
get capabilitiesInput(): ContainerCapabilities | undefined;
|
|
1789
1811
|
private _devices;
|
|
1790
1812
|
get devices(): ContainerDevicesList;
|
|
1791
|
-
putDevices(value: ContainerDevices[] |
|
|
1813
|
+
putDevices(value: ContainerDevices[] | cdktn.IResolvable): void;
|
|
1792
1814
|
resetDevices(): void;
|
|
1793
|
-
get devicesInput():
|
|
1815
|
+
get devicesInput(): cdktn.IResolvable | ContainerDevices[] | undefined;
|
|
1794
1816
|
private _healthcheck;
|
|
1795
1817
|
get healthcheck(): ContainerHealthcheckOutputReference;
|
|
1796
1818
|
putHealthcheck(value: ContainerHealthcheck): void;
|
|
@@ -1798,44 +1820,44 @@ export declare class Container extends cdktf.TerraformResource {
|
|
|
1798
1820
|
get healthcheckInput(): ContainerHealthcheck | undefined;
|
|
1799
1821
|
private _host;
|
|
1800
1822
|
get host(): ContainerHostList;
|
|
1801
|
-
putHost(value: ContainerHost[] |
|
|
1823
|
+
putHost(value: ContainerHost[] | cdktn.IResolvable): void;
|
|
1802
1824
|
resetHost(): void;
|
|
1803
|
-
get hostInput():
|
|
1825
|
+
get hostInput(): cdktn.IResolvable | ContainerHost[] | undefined;
|
|
1804
1826
|
private _labels;
|
|
1805
1827
|
get labels(): ContainerLabelsList;
|
|
1806
|
-
putLabels(value: ContainerLabels[] |
|
|
1828
|
+
putLabels(value: ContainerLabels[] | cdktn.IResolvable): void;
|
|
1807
1829
|
resetLabels(): void;
|
|
1808
|
-
get labelsInput():
|
|
1830
|
+
get labelsInput(): cdktn.IResolvable | ContainerLabels[] | undefined;
|
|
1809
1831
|
private _mounts;
|
|
1810
1832
|
get mounts(): ContainerMountsList;
|
|
1811
|
-
putMounts(value: ContainerMounts[] |
|
|
1833
|
+
putMounts(value: ContainerMounts[] | cdktn.IResolvable): void;
|
|
1812
1834
|
resetMounts(): void;
|
|
1813
|
-
get mountsInput():
|
|
1835
|
+
get mountsInput(): cdktn.IResolvable | ContainerMounts[] | undefined;
|
|
1814
1836
|
private _networksAdvanced;
|
|
1815
1837
|
get networksAdvanced(): ContainerNetworksAdvancedList;
|
|
1816
|
-
putNetworksAdvanced(value: ContainerNetworksAdvanced[] |
|
|
1838
|
+
putNetworksAdvanced(value: ContainerNetworksAdvanced[] | cdktn.IResolvable): void;
|
|
1817
1839
|
resetNetworksAdvanced(): void;
|
|
1818
|
-
get networksAdvancedInput():
|
|
1840
|
+
get networksAdvancedInput(): cdktn.IResolvable | ContainerNetworksAdvanced[] | undefined;
|
|
1819
1841
|
private _ports;
|
|
1820
1842
|
get ports(): ContainerPortsList;
|
|
1821
|
-
putPorts(value: ContainerPorts[] |
|
|
1843
|
+
putPorts(value: ContainerPorts[] | cdktn.IResolvable): void;
|
|
1822
1844
|
resetPorts(): void;
|
|
1823
|
-
get portsInput():
|
|
1845
|
+
get portsInput(): cdktn.IResolvable | ContainerPorts[] | undefined;
|
|
1824
1846
|
private _ulimit;
|
|
1825
1847
|
get ulimit(): ContainerUlimitList;
|
|
1826
|
-
putUlimit(value: ContainerUlimit[] |
|
|
1848
|
+
putUlimit(value: ContainerUlimit[] | cdktn.IResolvable): void;
|
|
1827
1849
|
resetUlimit(): void;
|
|
1828
|
-
get ulimitInput():
|
|
1850
|
+
get ulimitInput(): cdktn.IResolvable | ContainerUlimit[] | undefined;
|
|
1829
1851
|
private _upload;
|
|
1830
1852
|
get upload(): ContainerUploadList;
|
|
1831
|
-
putUpload(value: ContainerUpload[] |
|
|
1853
|
+
putUpload(value: ContainerUpload[] | cdktn.IResolvable): void;
|
|
1832
1854
|
resetUpload(): void;
|
|
1833
|
-
get uploadInput():
|
|
1855
|
+
get uploadInput(): cdktn.IResolvable | ContainerUpload[] | undefined;
|
|
1834
1856
|
private _volumes;
|
|
1835
1857
|
get volumes(): ContainerVolumesList;
|
|
1836
|
-
putVolumes(value: ContainerVolumes[] |
|
|
1858
|
+
putVolumes(value: ContainerVolumes[] | cdktn.IResolvable): void;
|
|
1837
1859
|
resetVolumes(): void;
|
|
1838
|
-
get volumesInput():
|
|
1860
|
+
get volumesInput(): cdktn.IResolvable | ContainerVolumes[] | undefined;
|
|
1839
1861
|
protected synthesizeAttributes(): {
|
|
1840
1862
|
[name: string]: any;
|
|
1841
1863
|
};
|