@cdktf-providers/astronomer-astro 1.0.8
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/LICENSE +355 -0
- package/README.md +19 -0
- package/dist/alert/index.d.ts +566 -0
- package/dist/alert/index.js +1489 -0
- package/dist/api-token/index.d.ts +199 -0
- package/dist/api-token/index.js +503 -0
- package/dist/cluster/index.d.ts +305 -0
- package/dist/cluster/index.js +755 -0
- package/dist/data-astro-alert/index.d.ts +277 -0
- package/dist/data-astro-alert/index.js +762 -0
- package/dist/data-astro-alerts/index.d.ts +232 -0
- package/dist/data-astro-alerts/index.js +600 -0
- package/dist/data-astro-api-token/index.d.ts +135 -0
- package/dist/data-astro-api-token/index.js +353 -0
- package/dist/data-astro-api-tokens/index.d.ts +196 -0
- package/dist/data-astro-api-tokens/index.js +502 -0
- package/dist/data-astro-cluster/index.d.ts +211 -0
- package/dist/data-astro-cluster/index.js +535 -0
- package/dist/data-astro-cluster-options/index.d.ts +255 -0
- package/dist/data-astro-cluster-options/index.js +640 -0
- package/dist/data-astro-clusters/index.d.ts +263 -0
- package/dist/data-astro-clusters/index.js +661 -0
- package/dist/data-astro-deployment/index.d.ts +355 -0
- package/dist/data-astro-deployment/index.js +1009 -0
- package/dist/data-astro-deployment-options/index.d.ts +475 -0
- package/dist/data-astro-deployment-options/index.js +1274 -0
- package/dist/data-astro-deployments/index.d.ts +416 -0
- package/dist/data-astro-deployments/index.js +1158 -0
- package/dist/data-astro-notification-channel/index.d.ts +122 -0
- package/dist/data-astro-notification-channel/index.js +345 -0
- package/dist/data-astro-notification-channels/index.d.ts +201 -0
- package/dist/data-astro-notification-channels/index.js +540 -0
- package/dist/data-astro-organization/index.d.ts +87 -0
- package/dist/data-astro-organization/index.js +251 -0
- package/dist/data-astro-team/index.d.ts +204 -0
- package/dist/data-astro-team/index.js +507 -0
- package/dist/data-astro-teams/index.d.ts +247 -0
- package/dist/data-astro-teams/index.js +610 -0
- package/dist/data-astro-user/index.d.ts +122 -0
- package/dist/data-astro-user/index.js +274 -0
- package/dist/data-astro-users/index.d.ts +174 -0
- package/dist/data-astro-users/index.js +400 -0
- package/dist/data-astro-workspace/index.d.ts +94 -0
- package/dist/data-astro-workspace/index.js +250 -0
- package/dist/data-astro-workspaces/index.d.ts +146 -0
- package/dist/data-astro-workspaces/index.js +376 -0
- package/dist/deployment/index.d.ts +813 -0
- package/dist/deployment/index.js +2083 -0
- package/dist/hybrid-cluster-workspace-authorization/index.d.ts +53 -0
- package/dist/hybrid-cluster-workspace-authorization/index.js +111 -0
- package/dist/index.d.ts +31 -0
- package/dist/index.js +32 -0
- package/dist/lazy-index.d.ts +0 -0
- package/dist/lazy-index.js +32 -0
- package/dist/notification-channel/index.d.ts +235 -0
- package/dist/notification-channel/index.js +608 -0
- package/dist/provider/index.d.ts +75 -0
- package/dist/provider/index.js +151 -0
- package/dist/team/index.d.ts +251 -0
- package/dist/team/index.js +622 -0
- package/dist/team-roles/index.d.ts +180 -0
- package/dist/team-roles/index.js +414 -0
- package/dist/user-invite/index.d.ts +99 -0
- package/dist/user-invite/index.js +262 -0
- package/dist/user-roles/index.d.ts +180 -0
- package/dist/user-roles/index.js +414 -0
- package/dist/workspace/index.d.ts +109 -0
- package/dist/workspace/index.js +282 -0
- package/package.json +51 -0
|
@@ -0,0 +1,1274 @@
|
|
|
1
|
+
// https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/data-sources/deployment_options
|
|
2
|
+
// generated from terraform resource schema
|
|
3
|
+
import * as cdktf from 'cdktf';
|
|
4
|
+
export function dataAstroDeploymentOptionsResourceQuotasDefaultPodSizeCpuToTerraform(struct) {
|
|
5
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
6
|
+
return struct;
|
|
7
|
+
}
|
|
8
|
+
if (cdktf.isComplexElement(struct)) {
|
|
9
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
10
|
+
}
|
|
11
|
+
return {};
|
|
12
|
+
}
|
|
13
|
+
export function dataAstroDeploymentOptionsResourceQuotasDefaultPodSizeCpuToHclTerraform(struct) {
|
|
14
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
15
|
+
return struct;
|
|
16
|
+
}
|
|
17
|
+
if (cdktf.isComplexElement(struct)) {
|
|
18
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
19
|
+
}
|
|
20
|
+
const attrs = {};
|
|
21
|
+
return attrs;
|
|
22
|
+
}
|
|
23
|
+
export class DataAstroDeploymentOptionsResourceQuotasDefaultPodSizeCpuOutputReference extends cdktf.ComplexObject {
|
|
24
|
+
isEmptyObject = false;
|
|
25
|
+
/**
|
|
26
|
+
* @param terraformResource The parent resource
|
|
27
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
28
|
+
*/
|
|
29
|
+
constructor(terraformResource, terraformAttribute) {
|
|
30
|
+
super(terraformResource, terraformAttribute, false);
|
|
31
|
+
}
|
|
32
|
+
get internalValue() {
|
|
33
|
+
let hasAnyValues = this.isEmptyObject;
|
|
34
|
+
const internalValueResult = {};
|
|
35
|
+
return hasAnyValues ? internalValueResult : undefined;
|
|
36
|
+
}
|
|
37
|
+
set internalValue(value) {
|
|
38
|
+
if (value === undefined) {
|
|
39
|
+
this.isEmptyObject = false;
|
|
40
|
+
}
|
|
41
|
+
else {
|
|
42
|
+
this.isEmptyObject = Object.keys(value).length === 0;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
// ceiling - computed: true, optional: false, required: false
|
|
46
|
+
get ceiling() {
|
|
47
|
+
return this.getStringAttribute('ceiling');
|
|
48
|
+
}
|
|
49
|
+
// default - computed: true, optional: false, required: false
|
|
50
|
+
get default() {
|
|
51
|
+
return this.getStringAttribute('default');
|
|
52
|
+
}
|
|
53
|
+
// floor - computed: true, optional: false, required: false
|
|
54
|
+
get floor() {
|
|
55
|
+
return this.getStringAttribute('floor');
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
export function dataAstroDeploymentOptionsResourceQuotasDefaultPodSizeMemoryToTerraform(struct) {
|
|
59
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
60
|
+
return struct;
|
|
61
|
+
}
|
|
62
|
+
if (cdktf.isComplexElement(struct)) {
|
|
63
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
64
|
+
}
|
|
65
|
+
return {};
|
|
66
|
+
}
|
|
67
|
+
export function dataAstroDeploymentOptionsResourceQuotasDefaultPodSizeMemoryToHclTerraform(struct) {
|
|
68
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
69
|
+
return struct;
|
|
70
|
+
}
|
|
71
|
+
if (cdktf.isComplexElement(struct)) {
|
|
72
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
73
|
+
}
|
|
74
|
+
const attrs = {};
|
|
75
|
+
return attrs;
|
|
76
|
+
}
|
|
77
|
+
export class DataAstroDeploymentOptionsResourceQuotasDefaultPodSizeMemoryOutputReference extends cdktf.ComplexObject {
|
|
78
|
+
isEmptyObject = false;
|
|
79
|
+
/**
|
|
80
|
+
* @param terraformResource The parent resource
|
|
81
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
82
|
+
*/
|
|
83
|
+
constructor(terraformResource, terraformAttribute) {
|
|
84
|
+
super(terraformResource, terraformAttribute, false);
|
|
85
|
+
}
|
|
86
|
+
get internalValue() {
|
|
87
|
+
let hasAnyValues = this.isEmptyObject;
|
|
88
|
+
const internalValueResult = {};
|
|
89
|
+
return hasAnyValues ? internalValueResult : undefined;
|
|
90
|
+
}
|
|
91
|
+
set internalValue(value) {
|
|
92
|
+
if (value === undefined) {
|
|
93
|
+
this.isEmptyObject = false;
|
|
94
|
+
}
|
|
95
|
+
else {
|
|
96
|
+
this.isEmptyObject = Object.keys(value).length === 0;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
// ceiling - computed: true, optional: false, required: false
|
|
100
|
+
get ceiling() {
|
|
101
|
+
return this.getStringAttribute('ceiling');
|
|
102
|
+
}
|
|
103
|
+
// default - computed: true, optional: false, required: false
|
|
104
|
+
get default() {
|
|
105
|
+
return this.getStringAttribute('default');
|
|
106
|
+
}
|
|
107
|
+
// floor - computed: true, optional: false, required: false
|
|
108
|
+
get floor() {
|
|
109
|
+
return this.getStringAttribute('floor');
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
export function dataAstroDeploymentOptionsResourceQuotasDefaultPodSizeToTerraform(struct) {
|
|
113
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
114
|
+
return struct;
|
|
115
|
+
}
|
|
116
|
+
if (cdktf.isComplexElement(struct)) {
|
|
117
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
118
|
+
}
|
|
119
|
+
return {};
|
|
120
|
+
}
|
|
121
|
+
export function dataAstroDeploymentOptionsResourceQuotasDefaultPodSizeToHclTerraform(struct) {
|
|
122
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
123
|
+
return struct;
|
|
124
|
+
}
|
|
125
|
+
if (cdktf.isComplexElement(struct)) {
|
|
126
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
127
|
+
}
|
|
128
|
+
const attrs = {};
|
|
129
|
+
return attrs;
|
|
130
|
+
}
|
|
131
|
+
export class DataAstroDeploymentOptionsResourceQuotasDefaultPodSizeOutputReference extends cdktf.ComplexObject {
|
|
132
|
+
isEmptyObject = false;
|
|
133
|
+
/**
|
|
134
|
+
* @param terraformResource The parent resource
|
|
135
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
136
|
+
*/
|
|
137
|
+
constructor(terraformResource, terraformAttribute) {
|
|
138
|
+
super(terraformResource, terraformAttribute, false);
|
|
139
|
+
}
|
|
140
|
+
get internalValue() {
|
|
141
|
+
let hasAnyValues = this.isEmptyObject;
|
|
142
|
+
const internalValueResult = {};
|
|
143
|
+
return hasAnyValues ? internalValueResult : undefined;
|
|
144
|
+
}
|
|
145
|
+
set internalValue(value) {
|
|
146
|
+
if (value === undefined) {
|
|
147
|
+
this.isEmptyObject = false;
|
|
148
|
+
}
|
|
149
|
+
else {
|
|
150
|
+
this.isEmptyObject = Object.keys(value).length === 0;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
// cpu - computed: true, optional: false, required: false
|
|
154
|
+
_cpu = new DataAstroDeploymentOptionsResourceQuotasDefaultPodSizeCpuOutputReference(this, "cpu");
|
|
155
|
+
get cpu() {
|
|
156
|
+
return this._cpu;
|
|
157
|
+
}
|
|
158
|
+
// memory - computed: true, optional: false, required: false
|
|
159
|
+
_memory = new DataAstroDeploymentOptionsResourceQuotasDefaultPodSizeMemoryOutputReference(this, "memory");
|
|
160
|
+
get memory() {
|
|
161
|
+
return this._memory;
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
export function dataAstroDeploymentOptionsResourceQuotasResourceQuotaCpuToTerraform(struct) {
|
|
165
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
166
|
+
return struct;
|
|
167
|
+
}
|
|
168
|
+
if (cdktf.isComplexElement(struct)) {
|
|
169
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
170
|
+
}
|
|
171
|
+
return {};
|
|
172
|
+
}
|
|
173
|
+
export function dataAstroDeploymentOptionsResourceQuotasResourceQuotaCpuToHclTerraform(struct) {
|
|
174
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
175
|
+
return struct;
|
|
176
|
+
}
|
|
177
|
+
if (cdktf.isComplexElement(struct)) {
|
|
178
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
179
|
+
}
|
|
180
|
+
const attrs = {};
|
|
181
|
+
return attrs;
|
|
182
|
+
}
|
|
183
|
+
export class DataAstroDeploymentOptionsResourceQuotasResourceQuotaCpuOutputReference extends cdktf.ComplexObject {
|
|
184
|
+
isEmptyObject = false;
|
|
185
|
+
/**
|
|
186
|
+
* @param terraformResource The parent resource
|
|
187
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
188
|
+
*/
|
|
189
|
+
constructor(terraformResource, terraformAttribute) {
|
|
190
|
+
super(terraformResource, terraformAttribute, false);
|
|
191
|
+
}
|
|
192
|
+
get internalValue() {
|
|
193
|
+
let hasAnyValues = this.isEmptyObject;
|
|
194
|
+
const internalValueResult = {};
|
|
195
|
+
return hasAnyValues ? internalValueResult : undefined;
|
|
196
|
+
}
|
|
197
|
+
set internalValue(value) {
|
|
198
|
+
if (value === undefined) {
|
|
199
|
+
this.isEmptyObject = false;
|
|
200
|
+
}
|
|
201
|
+
else {
|
|
202
|
+
this.isEmptyObject = Object.keys(value).length === 0;
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
// ceiling - computed: true, optional: false, required: false
|
|
206
|
+
get ceiling() {
|
|
207
|
+
return this.getStringAttribute('ceiling');
|
|
208
|
+
}
|
|
209
|
+
// default - computed: true, optional: false, required: false
|
|
210
|
+
get default() {
|
|
211
|
+
return this.getStringAttribute('default');
|
|
212
|
+
}
|
|
213
|
+
// floor - computed: true, optional: false, required: false
|
|
214
|
+
get floor() {
|
|
215
|
+
return this.getStringAttribute('floor');
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
export function dataAstroDeploymentOptionsResourceQuotasResourceQuotaMemoryToTerraform(struct) {
|
|
219
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
220
|
+
return struct;
|
|
221
|
+
}
|
|
222
|
+
if (cdktf.isComplexElement(struct)) {
|
|
223
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
224
|
+
}
|
|
225
|
+
return {};
|
|
226
|
+
}
|
|
227
|
+
export function dataAstroDeploymentOptionsResourceQuotasResourceQuotaMemoryToHclTerraform(struct) {
|
|
228
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
229
|
+
return struct;
|
|
230
|
+
}
|
|
231
|
+
if (cdktf.isComplexElement(struct)) {
|
|
232
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
233
|
+
}
|
|
234
|
+
const attrs = {};
|
|
235
|
+
return attrs;
|
|
236
|
+
}
|
|
237
|
+
export class DataAstroDeploymentOptionsResourceQuotasResourceQuotaMemoryOutputReference extends cdktf.ComplexObject {
|
|
238
|
+
isEmptyObject = false;
|
|
239
|
+
/**
|
|
240
|
+
* @param terraformResource The parent resource
|
|
241
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
242
|
+
*/
|
|
243
|
+
constructor(terraformResource, terraformAttribute) {
|
|
244
|
+
super(terraformResource, terraformAttribute, false);
|
|
245
|
+
}
|
|
246
|
+
get internalValue() {
|
|
247
|
+
let hasAnyValues = this.isEmptyObject;
|
|
248
|
+
const internalValueResult = {};
|
|
249
|
+
return hasAnyValues ? internalValueResult : undefined;
|
|
250
|
+
}
|
|
251
|
+
set internalValue(value) {
|
|
252
|
+
if (value === undefined) {
|
|
253
|
+
this.isEmptyObject = false;
|
|
254
|
+
}
|
|
255
|
+
else {
|
|
256
|
+
this.isEmptyObject = Object.keys(value).length === 0;
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
// ceiling - computed: true, optional: false, required: false
|
|
260
|
+
get ceiling() {
|
|
261
|
+
return this.getStringAttribute('ceiling');
|
|
262
|
+
}
|
|
263
|
+
// default - computed: true, optional: false, required: false
|
|
264
|
+
get default() {
|
|
265
|
+
return this.getStringAttribute('default');
|
|
266
|
+
}
|
|
267
|
+
// floor - computed: true, optional: false, required: false
|
|
268
|
+
get floor() {
|
|
269
|
+
return this.getStringAttribute('floor');
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
export function dataAstroDeploymentOptionsResourceQuotasResourceQuotaToTerraform(struct) {
|
|
273
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
274
|
+
return struct;
|
|
275
|
+
}
|
|
276
|
+
if (cdktf.isComplexElement(struct)) {
|
|
277
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
278
|
+
}
|
|
279
|
+
return {};
|
|
280
|
+
}
|
|
281
|
+
export function dataAstroDeploymentOptionsResourceQuotasResourceQuotaToHclTerraform(struct) {
|
|
282
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
283
|
+
return struct;
|
|
284
|
+
}
|
|
285
|
+
if (cdktf.isComplexElement(struct)) {
|
|
286
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
287
|
+
}
|
|
288
|
+
const attrs = {};
|
|
289
|
+
return attrs;
|
|
290
|
+
}
|
|
291
|
+
export class DataAstroDeploymentOptionsResourceQuotasResourceQuotaOutputReference extends cdktf.ComplexObject {
|
|
292
|
+
isEmptyObject = false;
|
|
293
|
+
/**
|
|
294
|
+
* @param terraformResource The parent resource
|
|
295
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
296
|
+
*/
|
|
297
|
+
constructor(terraformResource, terraformAttribute) {
|
|
298
|
+
super(terraformResource, terraformAttribute, false);
|
|
299
|
+
}
|
|
300
|
+
get internalValue() {
|
|
301
|
+
let hasAnyValues = this.isEmptyObject;
|
|
302
|
+
const internalValueResult = {};
|
|
303
|
+
return hasAnyValues ? internalValueResult : undefined;
|
|
304
|
+
}
|
|
305
|
+
set internalValue(value) {
|
|
306
|
+
if (value === undefined) {
|
|
307
|
+
this.isEmptyObject = false;
|
|
308
|
+
}
|
|
309
|
+
else {
|
|
310
|
+
this.isEmptyObject = Object.keys(value).length === 0;
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
// cpu - computed: true, optional: false, required: false
|
|
314
|
+
_cpu = new DataAstroDeploymentOptionsResourceQuotasResourceQuotaCpuOutputReference(this, "cpu");
|
|
315
|
+
get cpu() {
|
|
316
|
+
return this._cpu;
|
|
317
|
+
}
|
|
318
|
+
// memory - computed: true, optional: false, required: false
|
|
319
|
+
_memory = new DataAstroDeploymentOptionsResourceQuotasResourceQuotaMemoryOutputReference(this, "memory");
|
|
320
|
+
get memory() {
|
|
321
|
+
return this._memory;
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
export function dataAstroDeploymentOptionsResourceQuotasToTerraform(struct) {
|
|
325
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
326
|
+
return struct;
|
|
327
|
+
}
|
|
328
|
+
if (cdktf.isComplexElement(struct)) {
|
|
329
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
330
|
+
}
|
|
331
|
+
return {};
|
|
332
|
+
}
|
|
333
|
+
export function dataAstroDeploymentOptionsResourceQuotasToHclTerraform(struct) {
|
|
334
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
335
|
+
return struct;
|
|
336
|
+
}
|
|
337
|
+
if (cdktf.isComplexElement(struct)) {
|
|
338
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
339
|
+
}
|
|
340
|
+
const attrs = {};
|
|
341
|
+
return attrs;
|
|
342
|
+
}
|
|
343
|
+
export class DataAstroDeploymentOptionsResourceQuotasOutputReference extends cdktf.ComplexObject {
|
|
344
|
+
isEmptyObject = false;
|
|
345
|
+
/**
|
|
346
|
+
* @param terraformResource The parent resource
|
|
347
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
348
|
+
*/
|
|
349
|
+
constructor(terraformResource, terraformAttribute) {
|
|
350
|
+
super(terraformResource, terraformAttribute, false);
|
|
351
|
+
}
|
|
352
|
+
get internalValue() {
|
|
353
|
+
let hasAnyValues = this.isEmptyObject;
|
|
354
|
+
const internalValueResult = {};
|
|
355
|
+
return hasAnyValues ? internalValueResult : undefined;
|
|
356
|
+
}
|
|
357
|
+
set internalValue(value) {
|
|
358
|
+
if (value === undefined) {
|
|
359
|
+
this.isEmptyObject = false;
|
|
360
|
+
}
|
|
361
|
+
else {
|
|
362
|
+
this.isEmptyObject = Object.keys(value).length === 0;
|
|
363
|
+
}
|
|
364
|
+
}
|
|
365
|
+
// default_pod_size - computed: true, optional: false, required: false
|
|
366
|
+
_defaultPodSize = new DataAstroDeploymentOptionsResourceQuotasDefaultPodSizeOutputReference(this, "default_pod_size");
|
|
367
|
+
get defaultPodSize() {
|
|
368
|
+
return this._defaultPodSize;
|
|
369
|
+
}
|
|
370
|
+
// resource_quota - computed: true, optional: false, required: false
|
|
371
|
+
_resourceQuota = new DataAstroDeploymentOptionsResourceQuotasResourceQuotaOutputReference(this, "resource_quota");
|
|
372
|
+
get resourceQuota() {
|
|
373
|
+
return this._resourceQuota;
|
|
374
|
+
}
|
|
375
|
+
}
|
|
376
|
+
export function dataAstroDeploymentOptionsRuntimeReleasesToTerraform(struct) {
|
|
377
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
378
|
+
return struct;
|
|
379
|
+
}
|
|
380
|
+
if (cdktf.isComplexElement(struct)) {
|
|
381
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
382
|
+
}
|
|
383
|
+
return {};
|
|
384
|
+
}
|
|
385
|
+
export function dataAstroDeploymentOptionsRuntimeReleasesToHclTerraform(struct) {
|
|
386
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
387
|
+
return struct;
|
|
388
|
+
}
|
|
389
|
+
if (cdktf.isComplexElement(struct)) {
|
|
390
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
391
|
+
}
|
|
392
|
+
const attrs = {};
|
|
393
|
+
return attrs;
|
|
394
|
+
}
|
|
395
|
+
export class DataAstroDeploymentOptionsRuntimeReleasesOutputReference extends cdktf.ComplexObject {
|
|
396
|
+
isEmptyObject = false;
|
|
397
|
+
/**
|
|
398
|
+
* @param terraformResource The parent resource
|
|
399
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
400
|
+
* @param complexObjectIndex the index of this item in the list
|
|
401
|
+
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
402
|
+
*/
|
|
403
|
+
constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
|
|
404
|
+
super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
|
|
405
|
+
}
|
|
406
|
+
get internalValue() {
|
|
407
|
+
let hasAnyValues = this.isEmptyObject;
|
|
408
|
+
const internalValueResult = {};
|
|
409
|
+
return hasAnyValues ? internalValueResult : undefined;
|
|
410
|
+
}
|
|
411
|
+
set internalValue(value) {
|
|
412
|
+
if (value === undefined) {
|
|
413
|
+
this.isEmptyObject = false;
|
|
414
|
+
}
|
|
415
|
+
else {
|
|
416
|
+
this.isEmptyObject = Object.keys(value).length === 0;
|
|
417
|
+
}
|
|
418
|
+
}
|
|
419
|
+
// airflow_database_migration - computed: true, optional: false, required: false
|
|
420
|
+
get airflowDatabaseMigration() {
|
|
421
|
+
return this.getBooleanAttribute('airflow_database_migration');
|
|
422
|
+
}
|
|
423
|
+
// airflow_version - computed: true, optional: false, required: false
|
|
424
|
+
get airflowVersion() {
|
|
425
|
+
return this.getStringAttribute('airflow_version');
|
|
426
|
+
}
|
|
427
|
+
// channel - computed: true, optional: false, required: false
|
|
428
|
+
get channel() {
|
|
429
|
+
return this.getStringAttribute('channel');
|
|
430
|
+
}
|
|
431
|
+
// release_date - computed: true, optional: false, required: false
|
|
432
|
+
get releaseDate() {
|
|
433
|
+
return this.getStringAttribute('release_date');
|
|
434
|
+
}
|
|
435
|
+
// stellar_database_migration - computed: true, optional: false, required: false
|
|
436
|
+
get stellarDatabaseMigration() {
|
|
437
|
+
return this.getBooleanAttribute('stellar_database_migration');
|
|
438
|
+
}
|
|
439
|
+
// version - computed: true, optional: false, required: false
|
|
440
|
+
get version() {
|
|
441
|
+
return this.getStringAttribute('version');
|
|
442
|
+
}
|
|
443
|
+
}
|
|
444
|
+
export class DataAstroDeploymentOptionsRuntimeReleasesList extends cdktf.ComplexList {
|
|
445
|
+
terraformResource;
|
|
446
|
+
terraformAttribute;
|
|
447
|
+
wrapsSet;
|
|
448
|
+
/**
|
|
449
|
+
* @param terraformResource The parent resource
|
|
450
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
451
|
+
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
452
|
+
*/
|
|
453
|
+
constructor(terraformResource, terraformAttribute, wrapsSet) {
|
|
454
|
+
super(terraformResource, terraformAttribute, wrapsSet);
|
|
455
|
+
this.terraformResource = terraformResource;
|
|
456
|
+
this.terraformAttribute = terraformAttribute;
|
|
457
|
+
this.wrapsSet = wrapsSet;
|
|
458
|
+
}
|
|
459
|
+
/**
|
|
460
|
+
* @param index the index of the item to return
|
|
461
|
+
*/
|
|
462
|
+
get(index) {
|
|
463
|
+
return new DataAstroDeploymentOptionsRuntimeReleasesOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
|
|
464
|
+
}
|
|
465
|
+
}
|
|
466
|
+
export function dataAstroDeploymentOptionsSchedulerMachinesSpecToTerraform(struct) {
|
|
467
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
468
|
+
return struct;
|
|
469
|
+
}
|
|
470
|
+
if (cdktf.isComplexElement(struct)) {
|
|
471
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
472
|
+
}
|
|
473
|
+
return {};
|
|
474
|
+
}
|
|
475
|
+
export function dataAstroDeploymentOptionsSchedulerMachinesSpecToHclTerraform(struct) {
|
|
476
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
477
|
+
return struct;
|
|
478
|
+
}
|
|
479
|
+
if (cdktf.isComplexElement(struct)) {
|
|
480
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
481
|
+
}
|
|
482
|
+
const attrs = {};
|
|
483
|
+
return attrs;
|
|
484
|
+
}
|
|
485
|
+
export class DataAstroDeploymentOptionsSchedulerMachinesSpecOutputReference extends cdktf.ComplexObject {
|
|
486
|
+
isEmptyObject = false;
|
|
487
|
+
/**
|
|
488
|
+
* @param terraformResource The parent resource
|
|
489
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
490
|
+
*/
|
|
491
|
+
constructor(terraformResource, terraformAttribute) {
|
|
492
|
+
super(terraformResource, terraformAttribute, false);
|
|
493
|
+
}
|
|
494
|
+
get internalValue() {
|
|
495
|
+
let hasAnyValues = this.isEmptyObject;
|
|
496
|
+
const internalValueResult = {};
|
|
497
|
+
return hasAnyValues ? internalValueResult : undefined;
|
|
498
|
+
}
|
|
499
|
+
set internalValue(value) {
|
|
500
|
+
if (value === undefined) {
|
|
501
|
+
this.isEmptyObject = false;
|
|
502
|
+
}
|
|
503
|
+
else {
|
|
504
|
+
this.isEmptyObject = Object.keys(value).length === 0;
|
|
505
|
+
}
|
|
506
|
+
}
|
|
507
|
+
// concurrency - computed: true, optional: false, required: false
|
|
508
|
+
get concurrency() {
|
|
509
|
+
return this.getStringAttribute('concurrency');
|
|
510
|
+
}
|
|
511
|
+
// cpu - computed: true, optional: false, required: false
|
|
512
|
+
get cpu() {
|
|
513
|
+
return this.getStringAttribute('cpu');
|
|
514
|
+
}
|
|
515
|
+
// ephemeral_storage - computed: true, optional: false, required: false
|
|
516
|
+
get ephemeralStorage() {
|
|
517
|
+
return this.getStringAttribute('ephemeral_storage');
|
|
518
|
+
}
|
|
519
|
+
// memory - computed: true, optional: false, required: false
|
|
520
|
+
get memory() {
|
|
521
|
+
return this.getStringAttribute('memory');
|
|
522
|
+
}
|
|
523
|
+
}
|
|
524
|
+
export function dataAstroDeploymentOptionsSchedulerMachinesToTerraform(struct) {
|
|
525
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
526
|
+
return struct;
|
|
527
|
+
}
|
|
528
|
+
if (cdktf.isComplexElement(struct)) {
|
|
529
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
530
|
+
}
|
|
531
|
+
return {};
|
|
532
|
+
}
|
|
533
|
+
export function dataAstroDeploymentOptionsSchedulerMachinesToHclTerraform(struct) {
|
|
534
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
535
|
+
return struct;
|
|
536
|
+
}
|
|
537
|
+
if (cdktf.isComplexElement(struct)) {
|
|
538
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
539
|
+
}
|
|
540
|
+
const attrs = {};
|
|
541
|
+
return attrs;
|
|
542
|
+
}
|
|
543
|
+
export class DataAstroDeploymentOptionsSchedulerMachinesOutputReference extends cdktf.ComplexObject {
|
|
544
|
+
isEmptyObject = false;
|
|
545
|
+
/**
|
|
546
|
+
* @param terraformResource The parent resource
|
|
547
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
548
|
+
* @param complexObjectIndex the index of this item in the list
|
|
549
|
+
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
550
|
+
*/
|
|
551
|
+
constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
|
|
552
|
+
super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
|
|
553
|
+
}
|
|
554
|
+
get internalValue() {
|
|
555
|
+
let hasAnyValues = this.isEmptyObject;
|
|
556
|
+
const internalValueResult = {};
|
|
557
|
+
return hasAnyValues ? internalValueResult : undefined;
|
|
558
|
+
}
|
|
559
|
+
set internalValue(value) {
|
|
560
|
+
if (value === undefined) {
|
|
561
|
+
this.isEmptyObject = false;
|
|
562
|
+
}
|
|
563
|
+
else {
|
|
564
|
+
this.isEmptyObject = Object.keys(value).length === 0;
|
|
565
|
+
}
|
|
566
|
+
}
|
|
567
|
+
// name - computed: true, optional: false, required: false
|
|
568
|
+
get name() {
|
|
569
|
+
return this.getStringAttribute('name');
|
|
570
|
+
}
|
|
571
|
+
// spec - computed: true, optional: false, required: false
|
|
572
|
+
_spec = new DataAstroDeploymentOptionsSchedulerMachinesSpecOutputReference(this, "spec");
|
|
573
|
+
get spec() {
|
|
574
|
+
return this._spec;
|
|
575
|
+
}
|
|
576
|
+
}
|
|
577
|
+
export class DataAstroDeploymentOptionsSchedulerMachinesList extends cdktf.ComplexList {
|
|
578
|
+
terraformResource;
|
|
579
|
+
terraformAttribute;
|
|
580
|
+
wrapsSet;
|
|
581
|
+
/**
|
|
582
|
+
* @param terraformResource The parent resource
|
|
583
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
584
|
+
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
585
|
+
*/
|
|
586
|
+
constructor(terraformResource, terraformAttribute, wrapsSet) {
|
|
587
|
+
super(terraformResource, terraformAttribute, wrapsSet);
|
|
588
|
+
this.terraformResource = terraformResource;
|
|
589
|
+
this.terraformAttribute = terraformAttribute;
|
|
590
|
+
this.wrapsSet = wrapsSet;
|
|
591
|
+
}
|
|
592
|
+
/**
|
|
593
|
+
* @param index the index of the item to return
|
|
594
|
+
*/
|
|
595
|
+
get(index) {
|
|
596
|
+
return new DataAstroDeploymentOptionsSchedulerMachinesOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
|
|
597
|
+
}
|
|
598
|
+
}
|
|
599
|
+
export function dataAstroDeploymentOptionsWorkerMachinesConcurrencyToTerraform(struct) {
|
|
600
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
601
|
+
return struct;
|
|
602
|
+
}
|
|
603
|
+
if (cdktf.isComplexElement(struct)) {
|
|
604
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
605
|
+
}
|
|
606
|
+
return {};
|
|
607
|
+
}
|
|
608
|
+
export function dataAstroDeploymentOptionsWorkerMachinesConcurrencyToHclTerraform(struct) {
|
|
609
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
610
|
+
return struct;
|
|
611
|
+
}
|
|
612
|
+
if (cdktf.isComplexElement(struct)) {
|
|
613
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
614
|
+
}
|
|
615
|
+
const attrs = {};
|
|
616
|
+
return attrs;
|
|
617
|
+
}
|
|
618
|
+
export class DataAstroDeploymentOptionsWorkerMachinesConcurrencyOutputReference extends cdktf.ComplexObject {
|
|
619
|
+
isEmptyObject = false;
|
|
620
|
+
/**
|
|
621
|
+
* @param terraformResource The parent resource
|
|
622
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
623
|
+
*/
|
|
624
|
+
constructor(terraformResource, terraformAttribute) {
|
|
625
|
+
super(terraformResource, terraformAttribute, false);
|
|
626
|
+
}
|
|
627
|
+
get internalValue() {
|
|
628
|
+
let hasAnyValues = this.isEmptyObject;
|
|
629
|
+
const internalValueResult = {};
|
|
630
|
+
return hasAnyValues ? internalValueResult : undefined;
|
|
631
|
+
}
|
|
632
|
+
set internalValue(value) {
|
|
633
|
+
if (value === undefined) {
|
|
634
|
+
this.isEmptyObject = false;
|
|
635
|
+
}
|
|
636
|
+
else {
|
|
637
|
+
this.isEmptyObject = Object.keys(value).length === 0;
|
|
638
|
+
}
|
|
639
|
+
}
|
|
640
|
+
// ceiling - computed: true, optional: false, required: false
|
|
641
|
+
get ceiling() {
|
|
642
|
+
return this.getStringAttribute('ceiling');
|
|
643
|
+
}
|
|
644
|
+
// default - computed: true, optional: false, required: false
|
|
645
|
+
get default() {
|
|
646
|
+
return this.getStringAttribute('default');
|
|
647
|
+
}
|
|
648
|
+
// floor - computed: true, optional: false, required: false
|
|
649
|
+
get floor() {
|
|
650
|
+
return this.getStringAttribute('floor');
|
|
651
|
+
}
|
|
652
|
+
}
|
|
653
|
+
export function dataAstroDeploymentOptionsWorkerMachinesSpecToTerraform(struct) {
|
|
654
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
655
|
+
return struct;
|
|
656
|
+
}
|
|
657
|
+
if (cdktf.isComplexElement(struct)) {
|
|
658
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
659
|
+
}
|
|
660
|
+
return {};
|
|
661
|
+
}
|
|
662
|
+
export function dataAstroDeploymentOptionsWorkerMachinesSpecToHclTerraform(struct) {
|
|
663
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
664
|
+
return struct;
|
|
665
|
+
}
|
|
666
|
+
if (cdktf.isComplexElement(struct)) {
|
|
667
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
668
|
+
}
|
|
669
|
+
const attrs = {};
|
|
670
|
+
return attrs;
|
|
671
|
+
}
|
|
672
|
+
export class DataAstroDeploymentOptionsWorkerMachinesSpecOutputReference extends cdktf.ComplexObject {
|
|
673
|
+
isEmptyObject = false;
|
|
674
|
+
/**
|
|
675
|
+
* @param terraformResource The parent resource
|
|
676
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
677
|
+
*/
|
|
678
|
+
constructor(terraformResource, terraformAttribute) {
|
|
679
|
+
super(terraformResource, terraformAttribute, false);
|
|
680
|
+
}
|
|
681
|
+
get internalValue() {
|
|
682
|
+
let hasAnyValues = this.isEmptyObject;
|
|
683
|
+
const internalValueResult = {};
|
|
684
|
+
return hasAnyValues ? internalValueResult : undefined;
|
|
685
|
+
}
|
|
686
|
+
set internalValue(value) {
|
|
687
|
+
if (value === undefined) {
|
|
688
|
+
this.isEmptyObject = false;
|
|
689
|
+
}
|
|
690
|
+
else {
|
|
691
|
+
this.isEmptyObject = Object.keys(value).length === 0;
|
|
692
|
+
}
|
|
693
|
+
}
|
|
694
|
+
// concurrency - computed: true, optional: false, required: false
|
|
695
|
+
get concurrency() {
|
|
696
|
+
return this.getStringAttribute('concurrency');
|
|
697
|
+
}
|
|
698
|
+
// cpu - computed: true, optional: false, required: false
|
|
699
|
+
get cpu() {
|
|
700
|
+
return this.getStringAttribute('cpu');
|
|
701
|
+
}
|
|
702
|
+
// ephemeral_storage - computed: true, optional: false, required: false
|
|
703
|
+
get ephemeralStorage() {
|
|
704
|
+
return this.getStringAttribute('ephemeral_storage');
|
|
705
|
+
}
|
|
706
|
+
// memory - computed: true, optional: false, required: false
|
|
707
|
+
get memory() {
|
|
708
|
+
return this.getStringAttribute('memory');
|
|
709
|
+
}
|
|
710
|
+
}
|
|
711
|
+
export function dataAstroDeploymentOptionsWorkerMachinesToTerraform(struct) {
|
|
712
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
713
|
+
return struct;
|
|
714
|
+
}
|
|
715
|
+
if (cdktf.isComplexElement(struct)) {
|
|
716
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
717
|
+
}
|
|
718
|
+
return {};
|
|
719
|
+
}
|
|
720
|
+
export function dataAstroDeploymentOptionsWorkerMachinesToHclTerraform(struct) {
|
|
721
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
722
|
+
return struct;
|
|
723
|
+
}
|
|
724
|
+
if (cdktf.isComplexElement(struct)) {
|
|
725
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
726
|
+
}
|
|
727
|
+
const attrs = {};
|
|
728
|
+
return attrs;
|
|
729
|
+
}
|
|
730
|
+
export class DataAstroDeploymentOptionsWorkerMachinesOutputReference extends cdktf.ComplexObject {
|
|
731
|
+
isEmptyObject = false;
|
|
732
|
+
/**
|
|
733
|
+
* @param terraformResource The parent resource
|
|
734
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
735
|
+
* @param complexObjectIndex the index of this item in the list
|
|
736
|
+
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
737
|
+
*/
|
|
738
|
+
constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
|
|
739
|
+
super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
|
|
740
|
+
}
|
|
741
|
+
get internalValue() {
|
|
742
|
+
let hasAnyValues = this.isEmptyObject;
|
|
743
|
+
const internalValueResult = {};
|
|
744
|
+
return hasAnyValues ? internalValueResult : undefined;
|
|
745
|
+
}
|
|
746
|
+
set internalValue(value) {
|
|
747
|
+
if (value === undefined) {
|
|
748
|
+
this.isEmptyObject = false;
|
|
749
|
+
}
|
|
750
|
+
else {
|
|
751
|
+
this.isEmptyObject = Object.keys(value).length === 0;
|
|
752
|
+
}
|
|
753
|
+
}
|
|
754
|
+
// concurrency - computed: true, optional: false, required: false
|
|
755
|
+
_concurrency = new DataAstroDeploymentOptionsWorkerMachinesConcurrencyOutputReference(this, "concurrency");
|
|
756
|
+
get concurrency() {
|
|
757
|
+
return this._concurrency;
|
|
758
|
+
}
|
|
759
|
+
// name - computed: true, optional: false, required: false
|
|
760
|
+
get name() {
|
|
761
|
+
return this.getStringAttribute('name');
|
|
762
|
+
}
|
|
763
|
+
// spec - computed: true, optional: false, required: false
|
|
764
|
+
_spec = new DataAstroDeploymentOptionsWorkerMachinesSpecOutputReference(this, "spec");
|
|
765
|
+
get spec() {
|
|
766
|
+
return this._spec;
|
|
767
|
+
}
|
|
768
|
+
}
|
|
769
|
+
export class DataAstroDeploymentOptionsWorkerMachinesList extends cdktf.ComplexList {
|
|
770
|
+
terraformResource;
|
|
771
|
+
terraformAttribute;
|
|
772
|
+
wrapsSet;
|
|
773
|
+
/**
|
|
774
|
+
* @param terraformResource The parent resource
|
|
775
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
776
|
+
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
777
|
+
*/
|
|
778
|
+
constructor(terraformResource, terraformAttribute, wrapsSet) {
|
|
779
|
+
super(terraformResource, terraformAttribute, wrapsSet);
|
|
780
|
+
this.terraformResource = terraformResource;
|
|
781
|
+
this.terraformAttribute = terraformAttribute;
|
|
782
|
+
this.wrapsSet = wrapsSet;
|
|
783
|
+
}
|
|
784
|
+
/**
|
|
785
|
+
* @param index the index of the item to return
|
|
786
|
+
*/
|
|
787
|
+
get(index) {
|
|
788
|
+
return new DataAstroDeploymentOptionsWorkerMachinesOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
|
|
789
|
+
}
|
|
790
|
+
}
|
|
791
|
+
export function dataAstroDeploymentOptionsWorkerQueuesMaxWorkersToTerraform(struct) {
|
|
792
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
793
|
+
return struct;
|
|
794
|
+
}
|
|
795
|
+
if (cdktf.isComplexElement(struct)) {
|
|
796
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
797
|
+
}
|
|
798
|
+
return {};
|
|
799
|
+
}
|
|
800
|
+
export function dataAstroDeploymentOptionsWorkerQueuesMaxWorkersToHclTerraform(struct) {
|
|
801
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
802
|
+
return struct;
|
|
803
|
+
}
|
|
804
|
+
if (cdktf.isComplexElement(struct)) {
|
|
805
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
806
|
+
}
|
|
807
|
+
const attrs = {};
|
|
808
|
+
return attrs;
|
|
809
|
+
}
|
|
810
|
+
export class DataAstroDeploymentOptionsWorkerQueuesMaxWorkersOutputReference extends cdktf.ComplexObject {
|
|
811
|
+
isEmptyObject = false;
|
|
812
|
+
/**
|
|
813
|
+
* @param terraformResource The parent resource
|
|
814
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
815
|
+
*/
|
|
816
|
+
constructor(terraformResource, terraformAttribute) {
|
|
817
|
+
super(terraformResource, terraformAttribute, false);
|
|
818
|
+
}
|
|
819
|
+
get internalValue() {
|
|
820
|
+
let hasAnyValues = this.isEmptyObject;
|
|
821
|
+
const internalValueResult = {};
|
|
822
|
+
return hasAnyValues ? internalValueResult : undefined;
|
|
823
|
+
}
|
|
824
|
+
set internalValue(value) {
|
|
825
|
+
if (value === undefined) {
|
|
826
|
+
this.isEmptyObject = false;
|
|
827
|
+
}
|
|
828
|
+
else {
|
|
829
|
+
this.isEmptyObject = Object.keys(value).length === 0;
|
|
830
|
+
}
|
|
831
|
+
}
|
|
832
|
+
// ceiling - computed: true, optional: false, required: false
|
|
833
|
+
get ceiling() {
|
|
834
|
+
return this.getStringAttribute('ceiling');
|
|
835
|
+
}
|
|
836
|
+
// default - computed: true, optional: false, required: false
|
|
837
|
+
get default() {
|
|
838
|
+
return this.getStringAttribute('default');
|
|
839
|
+
}
|
|
840
|
+
// floor - computed: true, optional: false, required: false
|
|
841
|
+
get floor() {
|
|
842
|
+
return this.getStringAttribute('floor');
|
|
843
|
+
}
|
|
844
|
+
}
|
|
845
|
+
export function dataAstroDeploymentOptionsWorkerQueuesMinWorkersToTerraform(struct) {
|
|
846
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
847
|
+
return struct;
|
|
848
|
+
}
|
|
849
|
+
if (cdktf.isComplexElement(struct)) {
|
|
850
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
851
|
+
}
|
|
852
|
+
return {};
|
|
853
|
+
}
|
|
854
|
+
export function dataAstroDeploymentOptionsWorkerQueuesMinWorkersToHclTerraform(struct) {
|
|
855
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
856
|
+
return struct;
|
|
857
|
+
}
|
|
858
|
+
if (cdktf.isComplexElement(struct)) {
|
|
859
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
860
|
+
}
|
|
861
|
+
const attrs = {};
|
|
862
|
+
return attrs;
|
|
863
|
+
}
|
|
864
|
+
export class DataAstroDeploymentOptionsWorkerQueuesMinWorkersOutputReference extends cdktf.ComplexObject {
|
|
865
|
+
isEmptyObject = false;
|
|
866
|
+
/**
|
|
867
|
+
* @param terraformResource The parent resource
|
|
868
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
869
|
+
*/
|
|
870
|
+
constructor(terraformResource, terraformAttribute) {
|
|
871
|
+
super(terraformResource, terraformAttribute, false);
|
|
872
|
+
}
|
|
873
|
+
get internalValue() {
|
|
874
|
+
let hasAnyValues = this.isEmptyObject;
|
|
875
|
+
const internalValueResult = {};
|
|
876
|
+
return hasAnyValues ? internalValueResult : undefined;
|
|
877
|
+
}
|
|
878
|
+
set internalValue(value) {
|
|
879
|
+
if (value === undefined) {
|
|
880
|
+
this.isEmptyObject = false;
|
|
881
|
+
}
|
|
882
|
+
else {
|
|
883
|
+
this.isEmptyObject = Object.keys(value).length === 0;
|
|
884
|
+
}
|
|
885
|
+
}
|
|
886
|
+
// ceiling - computed: true, optional: false, required: false
|
|
887
|
+
get ceiling() {
|
|
888
|
+
return this.getStringAttribute('ceiling');
|
|
889
|
+
}
|
|
890
|
+
// default - computed: true, optional: false, required: false
|
|
891
|
+
get default() {
|
|
892
|
+
return this.getStringAttribute('default');
|
|
893
|
+
}
|
|
894
|
+
// floor - computed: true, optional: false, required: false
|
|
895
|
+
get floor() {
|
|
896
|
+
return this.getStringAttribute('floor');
|
|
897
|
+
}
|
|
898
|
+
}
|
|
899
|
+
export function dataAstroDeploymentOptionsWorkerQueuesWorkerConcurrencyToTerraform(struct) {
|
|
900
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
901
|
+
return struct;
|
|
902
|
+
}
|
|
903
|
+
if (cdktf.isComplexElement(struct)) {
|
|
904
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
905
|
+
}
|
|
906
|
+
return {};
|
|
907
|
+
}
|
|
908
|
+
export function dataAstroDeploymentOptionsWorkerQueuesWorkerConcurrencyToHclTerraform(struct) {
|
|
909
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
910
|
+
return struct;
|
|
911
|
+
}
|
|
912
|
+
if (cdktf.isComplexElement(struct)) {
|
|
913
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
914
|
+
}
|
|
915
|
+
const attrs = {};
|
|
916
|
+
return attrs;
|
|
917
|
+
}
|
|
918
|
+
export class DataAstroDeploymentOptionsWorkerQueuesWorkerConcurrencyOutputReference extends cdktf.ComplexObject {
|
|
919
|
+
isEmptyObject = false;
|
|
920
|
+
/**
|
|
921
|
+
* @param terraformResource The parent resource
|
|
922
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
923
|
+
*/
|
|
924
|
+
constructor(terraformResource, terraformAttribute) {
|
|
925
|
+
super(terraformResource, terraformAttribute, false);
|
|
926
|
+
}
|
|
927
|
+
get internalValue() {
|
|
928
|
+
let hasAnyValues = this.isEmptyObject;
|
|
929
|
+
const internalValueResult = {};
|
|
930
|
+
return hasAnyValues ? internalValueResult : undefined;
|
|
931
|
+
}
|
|
932
|
+
set internalValue(value) {
|
|
933
|
+
if (value === undefined) {
|
|
934
|
+
this.isEmptyObject = false;
|
|
935
|
+
}
|
|
936
|
+
else {
|
|
937
|
+
this.isEmptyObject = Object.keys(value).length === 0;
|
|
938
|
+
}
|
|
939
|
+
}
|
|
940
|
+
// ceiling - computed: true, optional: false, required: false
|
|
941
|
+
get ceiling() {
|
|
942
|
+
return this.getStringAttribute('ceiling');
|
|
943
|
+
}
|
|
944
|
+
// default - computed: true, optional: false, required: false
|
|
945
|
+
get default() {
|
|
946
|
+
return this.getStringAttribute('default');
|
|
947
|
+
}
|
|
948
|
+
// floor - computed: true, optional: false, required: false
|
|
949
|
+
get floor() {
|
|
950
|
+
return this.getStringAttribute('floor');
|
|
951
|
+
}
|
|
952
|
+
}
|
|
953
|
+
export function dataAstroDeploymentOptionsWorkerQueuesToTerraform(struct) {
|
|
954
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
955
|
+
return struct;
|
|
956
|
+
}
|
|
957
|
+
if (cdktf.isComplexElement(struct)) {
|
|
958
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
959
|
+
}
|
|
960
|
+
return {};
|
|
961
|
+
}
|
|
962
|
+
export function dataAstroDeploymentOptionsWorkerQueuesToHclTerraform(struct) {
|
|
963
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
964
|
+
return struct;
|
|
965
|
+
}
|
|
966
|
+
if (cdktf.isComplexElement(struct)) {
|
|
967
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
968
|
+
}
|
|
969
|
+
const attrs = {};
|
|
970
|
+
return attrs;
|
|
971
|
+
}
|
|
972
|
+
export class DataAstroDeploymentOptionsWorkerQueuesOutputReference extends cdktf.ComplexObject {
|
|
973
|
+
isEmptyObject = false;
|
|
974
|
+
/**
|
|
975
|
+
* @param terraformResource The parent resource
|
|
976
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
977
|
+
*/
|
|
978
|
+
constructor(terraformResource, terraformAttribute) {
|
|
979
|
+
super(terraformResource, terraformAttribute, false);
|
|
980
|
+
}
|
|
981
|
+
get internalValue() {
|
|
982
|
+
let hasAnyValues = this.isEmptyObject;
|
|
983
|
+
const internalValueResult = {};
|
|
984
|
+
return hasAnyValues ? internalValueResult : undefined;
|
|
985
|
+
}
|
|
986
|
+
set internalValue(value) {
|
|
987
|
+
if (value === undefined) {
|
|
988
|
+
this.isEmptyObject = false;
|
|
989
|
+
}
|
|
990
|
+
else {
|
|
991
|
+
this.isEmptyObject = Object.keys(value).length === 0;
|
|
992
|
+
}
|
|
993
|
+
}
|
|
994
|
+
// max_workers - computed: true, optional: false, required: false
|
|
995
|
+
_maxWorkers = new DataAstroDeploymentOptionsWorkerQueuesMaxWorkersOutputReference(this, "max_workers");
|
|
996
|
+
get maxWorkers() {
|
|
997
|
+
return this._maxWorkers;
|
|
998
|
+
}
|
|
999
|
+
// min_workers - computed: true, optional: false, required: false
|
|
1000
|
+
_minWorkers = new DataAstroDeploymentOptionsWorkerQueuesMinWorkersOutputReference(this, "min_workers");
|
|
1001
|
+
get minWorkers() {
|
|
1002
|
+
return this._minWorkers;
|
|
1003
|
+
}
|
|
1004
|
+
// worker_concurrency - computed: true, optional: false, required: false
|
|
1005
|
+
_workerConcurrency = new DataAstroDeploymentOptionsWorkerQueuesWorkerConcurrencyOutputReference(this, "worker_concurrency");
|
|
1006
|
+
get workerConcurrency() {
|
|
1007
|
+
return this._workerConcurrency;
|
|
1008
|
+
}
|
|
1009
|
+
}
|
|
1010
|
+
export function dataAstroDeploymentOptionsWorkloadIdentityOptionsToTerraform(struct) {
|
|
1011
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
1012
|
+
return struct;
|
|
1013
|
+
}
|
|
1014
|
+
if (cdktf.isComplexElement(struct)) {
|
|
1015
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
1016
|
+
}
|
|
1017
|
+
return {};
|
|
1018
|
+
}
|
|
1019
|
+
export function dataAstroDeploymentOptionsWorkloadIdentityOptionsToHclTerraform(struct) {
|
|
1020
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
1021
|
+
return struct;
|
|
1022
|
+
}
|
|
1023
|
+
if (cdktf.isComplexElement(struct)) {
|
|
1024
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
1025
|
+
}
|
|
1026
|
+
const attrs = {};
|
|
1027
|
+
return attrs;
|
|
1028
|
+
}
|
|
1029
|
+
export class DataAstroDeploymentOptionsWorkloadIdentityOptionsOutputReference extends cdktf.ComplexObject {
|
|
1030
|
+
isEmptyObject = false;
|
|
1031
|
+
/**
|
|
1032
|
+
* @param terraformResource The parent resource
|
|
1033
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
1034
|
+
* @param complexObjectIndex the index of this item in the list
|
|
1035
|
+
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
1036
|
+
*/
|
|
1037
|
+
constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
|
|
1038
|
+
super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
|
|
1039
|
+
}
|
|
1040
|
+
get internalValue() {
|
|
1041
|
+
let hasAnyValues = this.isEmptyObject;
|
|
1042
|
+
const internalValueResult = {};
|
|
1043
|
+
return hasAnyValues ? internalValueResult : undefined;
|
|
1044
|
+
}
|
|
1045
|
+
set internalValue(value) {
|
|
1046
|
+
if (value === undefined) {
|
|
1047
|
+
this.isEmptyObject = false;
|
|
1048
|
+
}
|
|
1049
|
+
else {
|
|
1050
|
+
this.isEmptyObject = Object.keys(value).length === 0;
|
|
1051
|
+
}
|
|
1052
|
+
}
|
|
1053
|
+
// label - computed: true, optional: false, required: false
|
|
1054
|
+
get label() {
|
|
1055
|
+
return this.getStringAttribute('label');
|
|
1056
|
+
}
|
|
1057
|
+
// role - computed: true, optional: false, required: false
|
|
1058
|
+
get role() {
|
|
1059
|
+
return this.getStringAttribute('role');
|
|
1060
|
+
}
|
|
1061
|
+
}
|
|
1062
|
+
export class DataAstroDeploymentOptionsWorkloadIdentityOptionsList extends cdktf.ComplexList {
|
|
1063
|
+
terraformResource;
|
|
1064
|
+
terraformAttribute;
|
|
1065
|
+
wrapsSet;
|
|
1066
|
+
/**
|
|
1067
|
+
* @param terraformResource The parent resource
|
|
1068
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
1069
|
+
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
1070
|
+
*/
|
|
1071
|
+
constructor(terraformResource, terraformAttribute, wrapsSet) {
|
|
1072
|
+
super(terraformResource, terraformAttribute, wrapsSet);
|
|
1073
|
+
this.terraformResource = terraformResource;
|
|
1074
|
+
this.terraformAttribute = terraformAttribute;
|
|
1075
|
+
this.wrapsSet = wrapsSet;
|
|
1076
|
+
}
|
|
1077
|
+
/**
|
|
1078
|
+
* @param index the index of the item to return
|
|
1079
|
+
*/
|
|
1080
|
+
get(index) {
|
|
1081
|
+
return new DataAstroDeploymentOptionsWorkloadIdentityOptionsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
|
|
1082
|
+
}
|
|
1083
|
+
}
|
|
1084
|
+
/**
|
|
1085
|
+
* Represents a {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/data-sources/deployment_options astro_deployment_options}
|
|
1086
|
+
*/
|
|
1087
|
+
export class DataAstroDeploymentOptions extends cdktf.TerraformDataSource {
|
|
1088
|
+
// =================
|
|
1089
|
+
// STATIC PROPERTIES
|
|
1090
|
+
// =================
|
|
1091
|
+
static tfResourceType = "astro_deployment_options";
|
|
1092
|
+
// ==============
|
|
1093
|
+
// STATIC Methods
|
|
1094
|
+
// ==============
|
|
1095
|
+
/**
|
|
1096
|
+
* Generates CDKTF code for importing a DataAstroDeploymentOptions resource upon running "cdktf plan <stack-name>"
|
|
1097
|
+
* @param scope The scope in which to define this construct
|
|
1098
|
+
* @param importToId The construct id used in the generated config for the DataAstroDeploymentOptions to import
|
|
1099
|
+
* @param importFromId The id of the existing DataAstroDeploymentOptions that should be imported. Refer to the {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/data-sources/deployment_options#import import section} in the documentation of this resource for the id to use
|
|
1100
|
+
* @param provider? Optional instance of the provider where the DataAstroDeploymentOptions to import is found
|
|
1101
|
+
*/
|
|
1102
|
+
static generateConfigForImport(scope, importToId, importFromId, provider) {
|
|
1103
|
+
return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "astro_deployment_options", importId: importFromId, provider });
|
|
1104
|
+
}
|
|
1105
|
+
// ===========
|
|
1106
|
+
// INITIALIZER
|
|
1107
|
+
// ===========
|
|
1108
|
+
/**
|
|
1109
|
+
* Create a new {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/data-sources/deployment_options astro_deployment_options} Data Source
|
|
1110
|
+
*
|
|
1111
|
+
* @param scope The scope in which to define this construct
|
|
1112
|
+
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
1113
|
+
* @param options DataAstroDeploymentOptionsConfig = {}
|
|
1114
|
+
*/
|
|
1115
|
+
constructor(scope, id, config = {}) {
|
|
1116
|
+
super(scope, id, {
|
|
1117
|
+
terraformResourceType: 'astro_deployment_options',
|
|
1118
|
+
terraformGeneratorMetadata: {
|
|
1119
|
+
providerName: 'astro',
|
|
1120
|
+
providerVersion: '1.0.8',
|
|
1121
|
+
providerVersionConstraint: '1.0.8'
|
|
1122
|
+
},
|
|
1123
|
+
provider: config.provider,
|
|
1124
|
+
dependsOn: config.dependsOn,
|
|
1125
|
+
count: config.count,
|
|
1126
|
+
lifecycle: config.lifecycle,
|
|
1127
|
+
provisioners: config.provisioners,
|
|
1128
|
+
connection: config.connection,
|
|
1129
|
+
forEach: config.forEach
|
|
1130
|
+
});
|
|
1131
|
+
this._cloudProvider = config.cloudProvider;
|
|
1132
|
+
this._deploymentId = config.deploymentId;
|
|
1133
|
+
this._deploymentType = config.deploymentType;
|
|
1134
|
+
this._executor = config.executor;
|
|
1135
|
+
}
|
|
1136
|
+
// ==========
|
|
1137
|
+
// ATTRIBUTES
|
|
1138
|
+
// ==========
|
|
1139
|
+
// cloud_provider - computed: false, optional: true, required: false
|
|
1140
|
+
_cloudProvider;
|
|
1141
|
+
get cloudProvider() {
|
|
1142
|
+
return this.getStringAttribute('cloud_provider');
|
|
1143
|
+
}
|
|
1144
|
+
set cloudProvider(value) {
|
|
1145
|
+
this._cloudProvider = value;
|
|
1146
|
+
}
|
|
1147
|
+
resetCloudProvider() {
|
|
1148
|
+
this._cloudProvider = undefined;
|
|
1149
|
+
}
|
|
1150
|
+
// Temporarily expose input value. Use with caution.
|
|
1151
|
+
get cloudProviderInput() {
|
|
1152
|
+
return this._cloudProvider;
|
|
1153
|
+
}
|
|
1154
|
+
// deployment_id - computed: false, optional: true, required: false
|
|
1155
|
+
_deploymentId;
|
|
1156
|
+
get deploymentId() {
|
|
1157
|
+
return this.getStringAttribute('deployment_id');
|
|
1158
|
+
}
|
|
1159
|
+
set deploymentId(value) {
|
|
1160
|
+
this._deploymentId = value;
|
|
1161
|
+
}
|
|
1162
|
+
resetDeploymentId() {
|
|
1163
|
+
this._deploymentId = undefined;
|
|
1164
|
+
}
|
|
1165
|
+
// Temporarily expose input value. Use with caution.
|
|
1166
|
+
get deploymentIdInput() {
|
|
1167
|
+
return this._deploymentId;
|
|
1168
|
+
}
|
|
1169
|
+
// deployment_type - computed: false, optional: true, required: false
|
|
1170
|
+
_deploymentType;
|
|
1171
|
+
get deploymentType() {
|
|
1172
|
+
return this.getStringAttribute('deployment_type');
|
|
1173
|
+
}
|
|
1174
|
+
set deploymentType(value) {
|
|
1175
|
+
this._deploymentType = value;
|
|
1176
|
+
}
|
|
1177
|
+
resetDeploymentType() {
|
|
1178
|
+
this._deploymentType = undefined;
|
|
1179
|
+
}
|
|
1180
|
+
// Temporarily expose input value. Use with caution.
|
|
1181
|
+
get deploymentTypeInput() {
|
|
1182
|
+
return this._deploymentType;
|
|
1183
|
+
}
|
|
1184
|
+
// executor - computed: false, optional: true, required: false
|
|
1185
|
+
_executor;
|
|
1186
|
+
get executor() {
|
|
1187
|
+
return this.getStringAttribute('executor');
|
|
1188
|
+
}
|
|
1189
|
+
set executor(value) {
|
|
1190
|
+
this._executor = value;
|
|
1191
|
+
}
|
|
1192
|
+
resetExecutor() {
|
|
1193
|
+
this._executor = undefined;
|
|
1194
|
+
}
|
|
1195
|
+
// Temporarily expose input value. Use with caution.
|
|
1196
|
+
get executorInput() {
|
|
1197
|
+
return this._executor;
|
|
1198
|
+
}
|
|
1199
|
+
// executors - computed: true, optional: false, required: false
|
|
1200
|
+
get executors() {
|
|
1201
|
+
return cdktf.Fn.tolist(this.getListAttribute('executors'));
|
|
1202
|
+
}
|
|
1203
|
+
// resource_quotas - computed: true, optional: false, required: false
|
|
1204
|
+
_resourceQuotas = new DataAstroDeploymentOptionsResourceQuotasOutputReference(this, "resource_quotas");
|
|
1205
|
+
get resourceQuotas() {
|
|
1206
|
+
return this._resourceQuotas;
|
|
1207
|
+
}
|
|
1208
|
+
// runtime_releases - computed: true, optional: false, required: false
|
|
1209
|
+
_runtimeReleases = new DataAstroDeploymentOptionsRuntimeReleasesList(this, "runtime_releases", true);
|
|
1210
|
+
get runtimeReleases() {
|
|
1211
|
+
return this._runtimeReleases;
|
|
1212
|
+
}
|
|
1213
|
+
// scheduler_machines - computed: true, optional: false, required: false
|
|
1214
|
+
_schedulerMachines = new DataAstroDeploymentOptionsSchedulerMachinesList(this, "scheduler_machines", true);
|
|
1215
|
+
get schedulerMachines() {
|
|
1216
|
+
return this._schedulerMachines;
|
|
1217
|
+
}
|
|
1218
|
+
// worker_machines - computed: true, optional: false, required: false
|
|
1219
|
+
_workerMachines = new DataAstroDeploymentOptionsWorkerMachinesList(this, "worker_machines", true);
|
|
1220
|
+
get workerMachines() {
|
|
1221
|
+
return this._workerMachines;
|
|
1222
|
+
}
|
|
1223
|
+
// worker_queues - computed: true, optional: false, required: false
|
|
1224
|
+
_workerQueues = new DataAstroDeploymentOptionsWorkerQueuesOutputReference(this, "worker_queues");
|
|
1225
|
+
get workerQueues() {
|
|
1226
|
+
return this._workerQueues;
|
|
1227
|
+
}
|
|
1228
|
+
// workload_identity_options - computed: true, optional: false, required: false
|
|
1229
|
+
_workloadIdentityOptions = new DataAstroDeploymentOptionsWorkloadIdentityOptionsList(this, "workload_identity_options", true);
|
|
1230
|
+
get workloadIdentityOptions() {
|
|
1231
|
+
return this._workloadIdentityOptions;
|
|
1232
|
+
}
|
|
1233
|
+
// =========
|
|
1234
|
+
// SYNTHESIS
|
|
1235
|
+
// =========
|
|
1236
|
+
synthesizeAttributes() {
|
|
1237
|
+
return {
|
|
1238
|
+
cloud_provider: cdktf.stringToTerraform(this._cloudProvider),
|
|
1239
|
+
deployment_id: cdktf.stringToTerraform(this._deploymentId),
|
|
1240
|
+
deployment_type: cdktf.stringToTerraform(this._deploymentType),
|
|
1241
|
+
executor: cdktf.stringToTerraform(this._executor),
|
|
1242
|
+
};
|
|
1243
|
+
}
|
|
1244
|
+
synthesizeHclAttributes() {
|
|
1245
|
+
const attrs = {
|
|
1246
|
+
cloud_provider: {
|
|
1247
|
+
value: cdktf.stringToHclTerraform(this._cloudProvider),
|
|
1248
|
+
isBlock: false,
|
|
1249
|
+
type: "simple",
|
|
1250
|
+
storageClassType: "string",
|
|
1251
|
+
},
|
|
1252
|
+
deployment_id: {
|
|
1253
|
+
value: cdktf.stringToHclTerraform(this._deploymentId),
|
|
1254
|
+
isBlock: false,
|
|
1255
|
+
type: "simple",
|
|
1256
|
+
storageClassType: "string",
|
|
1257
|
+
},
|
|
1258
|
+
deployment_type: {
|
|
1259
|
+
value: cdktf.stringToHclTerraform(this._deploymentType),
|
|
1260
|
+
isBlock: false,
|
|
1261
|
+
type: "simple",
|
|
1262
|
+
storageClassType: "string",
|
|
1263
|
+
},
|
|
1264
|
+
executor: {
|
|
1265
|
+
value: cdktf.stringToHclTerraform(this._executor),
|
|
1266
|
+
isBlock: false,
|
|
1267
|
+
type: "simple",
|
|
1268
|
+
storageClassType: "string",
|
|
1269
|
+
},
|
|
1270
|
+
};
|
|
1271
|
+
// remove undefined attributes
|
|
1272
|
+
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
|
|
1273
|
+
}
|
|
1274
|
+
}
|