@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.
Files changed (69) hide show
  1. package/LICENSE +355 -0
  2. package/README.md +19 -0
  3. package/dist/alert/index.d.ts +566 -0
  4. package/dist/alert/index.js +1489 -0
  5. package/dist/api-token/index.d.ts +199 -0
  6. package/dist/api-token/index.js +503 -0
  7. package/dist/cluster/index.d.ts +305 -0
  8. package/dist/cluster/index.js +755 -0
  9. package/dist/data-astro-alert/index.d.ts +277 -0
  10. package/dist/data-astro-alert/index.js +762 -0
  11. package/dist/data-astro-alerts/index.d.ts +232 -0
  12. package/dist/data-astro-alerts/index.js +600 -0
  13. package/dist/data-astro-api-token/index.d.ts +135 -0
  14. package/dist/data-astro-api-token/index.js +353 -0
  15. package/dist/data-astro-api-tokens/index.d.ts +196 -0
  16. package/dist/data-astro-api-tokens/index.js +502 -0
  17. package/dist/data-astro-cluster/index.d.ts +211 -0
  18. package/dist/data-astro-cluster/index.js +535 -0
  19. package/dist/data-astro-cluster-options/index.d.ts +255 -0
  20. package/dist/data-astro-cluster-options/index.js +640 -0
  21. package/dist/data-astro-clusters/index.d.ts +263 -0
  22. package/dist/data-astro-clusters/index.js +661 -0
  23. package/dist/data-astro-deployment/index.d.ts +355 -0
  24. package/dist/data-astro-deployment/index.js +1009 -0
  25. package/dist/data-astro-deployment-options/index.d.ts +475 -0
  26. package/dist/data-astro-deployment-options/index.js +1274 -0
  27. package/dist/data-astro-deployments/index.d.ts +416 -0
  28. package/dist/data-astro-deployments/index.js +1158 -0
  29. package/dist/data-astro-notification-channel/index.d.ts +122 -0
  30. package/dist/data-astro-notification-channel/index.js +345 -0
  31. package/dist/data-astro-notification-channels/index.d.ts +201 -0
  32. package/dist/data-astro-notification-channels/index.js +540 -0
  33. package/dist/data-astro-organization/index.d.ts +87 -0
  34. package/dist/data-astro-organization/index.js +251 -0
  35. package/dist/data-astro-team/index.d.ts +204 -0
  36. package/dist/data-astro-team/index.js +507 -0
  37. package/dist/data-astro-teams/index.d.ts +247 -0
  38. package/dist/data-astro-teams/index.js +610 -0
  39. package/dist/data-astro-user/index.d.ts +122 -0
  40. package/dist/data-astro-user/index.js +274 -0
  41. package/dist/data-astro-users/index.d.ts +174 -0
  42. package/dist/data-astro-users/index.js +400 -0
  43. package/dist/data-astro-workspace/index.d.ts +94 -0
  44. package/dist/data-astro-workspace/index.js +250 -0
  45. package/dist/data-astro-workspaces/index.d.ts +146 -0
  46. package/dist/data-astro-workspaces/index.js +376 -0
  47. package/dist/deployment/index.d.ts +813 -0
  48. package/dist/deployment/index.js +2083 -0
  49. package/dist/hybrid-cluster-workspace-authorization/index.d.ts +53 -0
  50. package/dist/hybrid-cluster-workspace-authorization/index.js +111 -0
  51. package/dist/index.d.ts +31 -0
  52. package/dist/index.js +32 -0
  53. package/dist/lazy-index.d.ts +0 -0
  54. package/dist/lazy-index.js +32 -0
  55. package/dist/notification-channel/index.d.ts +235 -0
  56. package/dist/notification-channel/index.js +608 -0
  57. package/dist/provider/index.d.ts +75 -0
  58. package/dist/provider/index.js +151 -0
  59. package/dist/team/index.d.ts +251 -0
  60. package/dist/team/index.js +622 -0
  61. package/dist/team-roles/index.d.ts +180 -0
  62. package/dist/team-roles/index.js +414 -0
  63. package/dist/user-invite/index.d.ts +99 -0
  64. package/dist/user-invite/index.js +262 -0
  65. package/dist/user-roles/index.d.ts +180 -0
  66. package/dist/user-roles/index.js +414 -0
  67. package/dist/workspace/index.d.ts +109 -0
  68. package/dist/workspace/index.js +282 -0
  69. package/package.json +51 -0
@@ -0,0 +1,414 @@
1
+ // https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/user_roles
2
+ // generated from terraform resource schema
3
+ import * as cdktf from 'cdktf';
4
+ export function userRolesDeploymentRolesToTerraform(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
+ deployment_id: cdktf.stringToTerraform(struct.deploymentId),
13
+ role: cdktf.stringToTerraform(struct.role),
14
+ };
15
+ }
16
+ export function userRolesDeploymentRolesToHclTerraform(struct) {
17
+ if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
18
+ return struct;
19
+ }
20
+ if (cdktf.isComplexElement(struct)) {
21
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
22
+ }
23
+ const attrs = {
24
+ deployment_id: {
25
+ value: cdktf.stringToHclTerraform(struct.deploymentId),
26
+ isBlock: false,
27
+ type: "simple",
28
+ storageClassType: "string",
29
+ },
30
+ role: {
31
+ value: cdktf.stringToHclTerraform(struct.role),
32
+ isBlock: false,
33
+ type: "simple",
34
+ storageClassType: "string",
35
+ },
36
+ };
37
+ // remove undefined attributes
38
+ return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
39
+ }
40
+ export class UserRolesDeploymentRolesOutputReference extends cdktf.ComplexObject {
41
+ isEmptyObject = false;
42
+ resolvableValue;
43
+ /**
44
+ * @param terraformResource The parent resource
45
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
46
+ * @param complexObjectIndex the index of this item in the list
47
+ * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
48
+ */
49
+ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
50
+ super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
51
+ }
52
+ get internalValue() {
53
+ if (this.resolvableValue) {
54
+ return this.resolvableValue;
55
+ }
56
+ let hasAnyValues = this.isEmptyObject;
57
+ const internalValueResult = {};
58
+ if (this._deploymentId !== undefined) {
59
+ hasAnyValues = true;
60
+ internalValueResult.deploymentId = this._deploymentId;
61
+ }
62
+ if (this._role !== undefined) {
63
+ hasAnyValues = true;
64
+ internalValueResult.role = this._role;
65
+ }
66
+ return hasAnyValues ? internalValueResult : undefined;
67
+ }
68
+ set internalValue(value) {
69
+ if (value === undefined) {
70
+ this.isEmptyObject = false;
71
+ this.resolvableValue = undefined;
72
+ this._deploymentId = undefined;
73
+ this._role = undefined;
74
+ }
75
+ else if (cdktf.Tokenization.isResolvable(value)) {
76
+ this.isEmptyObject = false;
77
+ this.resolvableValue = value;
78
+ }
79
+ else {
80
+ this.isEmptyObject = Object.keys(value).length === 0;
81
+ this.resolvableValue = undefined;
82
+ this._deploymentId = value.deploymentId;
83
+ this._role = value.role;
84
+ }
85
+ }
86
+ // deployment_id - computed: false, optional: false, required: true
87
+ _deploymentId;
88
+ get deploymentId() {
89
+ return this.getStringAttribute('deployment_id');
90
+ }
91
+ set deploymentId(value) {
92
+ this._deploymentId = value;
93
+ }
94
+ // Temporarily expose input value. Use with caution.
95
+ get deploymentIdInput() {
96
+ return this._deploymentId;
97
+ }
98
+ // role - computed: false, optional: false, required: true
99
+ _role;
100
+ get role() {
101
+ return this.getStringAttribute('role');
102
+ }
103
+ set role(value) {
104
+ this._role = value;
105
+ }
106
+ // Temporarily expose input value. Use with caution.
107
+ get roleInput() {
108
+ return this._role;
109
+ }
110
+ }
111
+ export class UserRolesDeploymentRolesList extends cdktf.ComplexList {
112
+ terraformResource;
113
+ terraformAttribute;
114
+ wrapsSet;
115
+ internalValue;
116
+ /**
117
+ * @param terraformResource The parent resource
118
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
119
+ * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
120
+ */
121
+ constructor(terraformResource, terraformAttribute, wrapsSet) {
122
+ super(terraformResource, terraformAttribute, wrapsSet);
123
+ this.terraformResource = terraformResource;
124
+ this.terraformAttribute = terraformAttribute;
125
+ this.wrapsSet = wrapsSet;
126
+ }
127
+ /**
128
+ * @param index the index of the item to return
129
+ */
130
+ get(index) {
131
+ return new UserRolesDeploymentRolesOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
132
+ }
133
+ }
134
+ export function userRolesWorkspaceRolesToTerraform(struct) {
135
+ if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
136
+ return struct;
137
+ }
138
+ if (cdktf.isComplexElement(struct)) {
139
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
140
+ }
141
+ return {
142
+ role: cdktf.stringToTerraform(struct.role),
143
+ workspace_id: cdktf.stringToTerraform(struct.workspaceId),
144
+ };
145
+ }
146
+ export function userRolesWorkspaceRolesToHclTerraform(struct) {
147
+ if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
148
+ return struct;
149
+ }
150
+ if (cdktf.isComplexElement(struct)) {
151
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
152
+ }
153
+ const attrs = {
154
+ role: {
155
+ value: cdktf.stringToHclTerraform(struct.role),
156
+ isBlock: false,
157
+ type: "simple",
158
+ storageClassType: "string",
159
+ },
160
+ workspace_id: {
161
+ value: cdktf.stringToHclTerraform(struct.workspaceId),
162
+ isBlock: false,
163
+ type: "simple",
164
+ storageClassType: "string",
165
+ },
166
+ };
167
+ // remove undefined attributes
168
+ return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
169
+ }
170
+ export class UserRolesWorkspaceRolesOutputReference extends cdktf.ComplexObject {
171
+ isEmptyObject = false;
172
+ resolvableValue;
173
+ /**
174
+ * @param terraformResource The parent resource
175
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
176
+ * @param complexObjectIndex the index of this item in the list
177
+ * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
178
+ */
179
+ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
180
+ super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
181
+ }
182
+ get internalValue() {
183
+ if (this.resolvableValue) {
184
+ return this.resolvableValue;
185
+ }
186
+ let hasAnyValues = this.isEmptyObject;
187
+ const internalValueResult = {};
188
+ if (this._role !== undefined) {
189
+ hasAnyValues = true;
190
+ internalValueResult.role = this._role;
191
+ }
192
+ if (this._workspaceId !== undefined) {
193
+ hasAnyValues = true;
194
+ internalValueResult.workspaceId = this._workspaceId;
195
+ }
196
+ return hasAnyValues ? internalValueResult : undefined;
197
+ }
198
+ set internalValue(value) {
199
+ if (value === undefined) {
200
+ this.isEmptyObject = false;
201
+ this.resolvableValue = undefined;
202
+ this._role = undefined;
203
+ this._workspaceId = undefined;
204
+ }
205
+ else if (cdktf.Tokenization.isResolvable(value)) {
206
+ this.isEmptyObject = false;
207
+ this.resolvableValue = value;
208
+ }
209
+ else {
210
+ this.isEmptyObject = Object.keys(value).length === 0;
211
+ this.resolvableValue = undefined;
212
+ this._role = value.role;
213
+ this._workspaceId = value.workspaceId;
214
+ }
215
+ }
216
+ // role - computed: false, optional: false, required: true
217
+ _role;
218
+ get role() {
219
+ return this.getStringAttribute('role');
220
+ }
221
+ set role(value) {
222
+ this._role = value;
223
+ }
224
+ // Temporarily expose input value. Use with caution.
225
+ get roleInput() {
226
+ return this._role;
227
+ }
228
+ // workspace_id - computed: false, optional: false, required: true
229
+ _workspaceId;
230
+ get workspaceId() {
231
+ return this.getStringAttribute('workspace_id');
232
+ }
233
+ set workspaceId(value) {
234
+ this._workspaceId = value;
235
+ }
236
+ // Temporarily expose input value. Use with caution.
237
+ get workspaceIdInput() {
238
+ return this._workspaceId;
239
+ }
240
+ }
241
+ export class UserRolesWorkspaceRolesList extends cdktf.ComplexList {
242
+ terraformResource;
243
+ terraformAttribute;
244
+ wrapsSet;
245
+ internalValue;
246
+ /**
247
+ * @param terraformResource The parent resource
248
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
249
+ * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
250
+ */
251
+ constructor(terraformResource, terraformAttribute, wrapsSet) {
252
+ super(terraformResource, terraformAttribute, wrapsSet);
253
+ this.terraformResource = terraformResource;
254
+ this.terraformAttribute = terraformAttribute;
255
+ this.wrapsSet = wrapsSet;
256
+ }
257
+ /**
258
+ * @param index the index of the item to return
259
+ */
260
+ get(index) {
261
+ return new UserRolesWorkspaceRolesOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
262
+ }
263
+ }
264
+ /**
265
+ * Represents a {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/user_roles astro_user_roles}
266
+ */
267
+ export class UserRoles extends cdktf.TerraformResource {
268
+ // =================
269
+ // STATIC PROPERTIES
270
+ // =================
271
+ static tfResourceType = "astro_user_roles";
272
+ // ==============
273
+ // STATIC Methods
274
+ // ==============
275
+ /**
276
+ * Generates CDKTF code for importing a UserRoles resource upon running "cdktf plan <stack-name>"
277
+ * @param scope The scope in which to define this construct
278
+ * @param importToId The construct id used in the generated config for the UserRoles to import
279
+ * @param importFromId The id of the existing UserRoles that should be imported. Refer to the {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/user_roles#import import section} in the documentation of this resource for the id to use
280
+ * @param provider? Optional instance of the provider where the UserRoles to import is found
281
+ */
282
+ static generateConfigForImport(scope, importToId, importFromId, provider) {
283
+ return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "astro_user_roles", importId: importFromId, provider });
284
+ }
285
+ // ===========
286
+ // INITIALIZER
287
+ // ===========
288
+ /**
289
+ * Create a new {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/user_roles astro_user_roles} Resource
290
+ *
291
+ * @param scope The scope in which to define this construct
292
+ * @param id The scoped construct ID. Must be unique amongst siblings in the same scope
293
+ * @param options UserRolesConfig
294
+ */
295
+ constructor(scope, id, config) {
296
+ super(scope, id, {
297
+ terraformResourceType: 'astro_user_roles',
298
+ terraformGeneratorMetadata: {
299
+ providerName: 'astro',
300
+ providerVersion: '1.0.8',
301
+ providerVersionConstraint: '1.0.8'
302
+ },
303
+ provider: config.provider,
304
+ dependsOn: config.dependsOn,
305
+ count: config.count,
306
+ lifecycle: config.lifecycle,
307
+ provisioners: config.provisioners,
308
+ connection: config.connection,
309
+ forEach: config.forEach
310
+ });
311
+ this._deploymentRoles.internalValue = config.deploymentRoles;
312
+ this._organizationRole = config.organizationRole;
313
+ this._userId = config.userId;
314
+ this._workspaceRoles.internalValue = config.workspaceRoles;
315
+ }
316
+ // ==========
317
+ // ATTRIBUTES
318
+ // ==========
319
+ // deployment_roles - computed: false, optional: true, required: false
320
+ _deploymentRoles = new UserRolesDeploymentRolesList(this, "deployment_roles", true);
321
+ get deploymentRoles() {
322
+ return this._deploymentRoles;
323
+ }
324
+ putDeploymentRoles(value) {
325
+ this._deploymentRoles.internalValue = value;
326
+ }
327
+ resetDeploymentRoles() {
328
+ this._deploymentRoles.internalValue = undefined;
329
+ }
330
+ // Temporarily expose input value. Use with caution.
331
+ get deploymentRolesInput() {
332
+ return this._deploymentRoles.internalValue;
333
+ }
334
+ // organization_role - computed: false, optional: false, required: true
335
+ _organizationRole;
336
+ get organizationRole() {
337
+ return this.getStringAttribute('organization_role');
338
+ }
339
+ set organizationRole(value) {
340
+ this._organizationRole = value;
341
+ }
342
+ // Temporarily expose input value. Use with caution.
343
+ get organizationRoleInput() {
344
+ return this._organizationRole;
345
+ }
346
+ // user_id - computed: false, optional: false, required: true
347
+ _userId;
348
+ get userId() {
349
+ return this.getStringAttribute('user_id');
350
+ }
351
+ set userId(value) {
352
+ this._userId = value;
353
+ }
354
+ // Temporarily expose input value. Use with caution.
355
+ get userIdInput() {
356
+ return this._userId;
357
+ }
358
+ // workspace_roles - computed: false, optional: true, required: false
359
+ _workspaceRoles = new UserRolesWorkspaceRolesList(this, "workspace_roles", true);
360
+ get workspaceRoles() {
361
+ return this._workspaceRoles;
362
+ }
363
+ putWorkspaceRoles(value) {
364
+ this._workspaceRoles.internalValue = value;
365
+ }
366
+ resetWorkspaceRoles() {
367
+ this._workspaceRoles.internalValue = undefined;
368
+ }
369
+ // Temporarily expose input value. Use with caution.
370
+ get workspaceRolesInput() {
371
+ return this._workspaceRoles.internalValue;
372
+ }
373
+ // =========
374
+ // SYNTHESIS
375
+ // =========
376
+ synthesizeAttributes() {
377
+ return {
378
+ deployment_roles: cdktf.listMapper(userRolesDeploymentRolesToTerraform, false)(this._deploymentRoles.internalValue),
379
+ organization_role: cdktf.stringToTerraform(this._organizationRole),
380
+ user_id: cdktf.stringToTerraform(this._userId),
381
+ workspace_roles: cdktf.listMapper(userRolesWorkspaceRolesToTerraform, false)(this._workspaceRoles.internalValue),
382
+ };
383
+ }
384
+ synthesizeHclAttributes() {
385
+ const attrs = {
386
+ deployment_roles: {
387
+ value: cdktf.listMapperHcl(userRolesDeploymentRolesToHclTerraform, false)(this._deploymentRoles.internalValue),
388
+ isBlock: true,
389
+ type: "set",
390
+ storageClassType: "UserRolesDeploymentRolesList",
391
+ },
392
+ organization_role: {
393
+ value: cdktf.stringToHclTerraform(this._organizationRole),
394
+ isBlock: false,
395
+ type: "simple",
396
+ storageClassType: "string",
397
+ },
398
+ user_id: {
399
+ value: cdktf.stringToHclTerraform(this._userId),
400
+ isBlock: false,
401
+ type: "simple",
402
+ storageClassType: "string",
403
+ },
404
+ workspace_roles: {
405
+ value: cdktf.listMapperHcl(userRolesWorkspaceRolesToHclTerraform, false)(this._workspaceRoles.internalValue),
406
+ isBlock: true,
407
+ type: "set",
408
+ storageClassType: "UserRolesWorkspaceRolesList",
409
+ },
410
+ };
411
+ // remove undefined attributes
412
+ return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
413
+ }
414
+ }
@@ -0,0 +1,109 @@
1
+ import { Construct } from 'constructs';
2
+ import * as cdktf from 'cdktf';
3
+ export interface WorkspaceConfig extends cdktf.TerraformMetaArguments {
4
+ /**
5
+ * Whether new Deployments enforce CI/CD deploys by default
6
+ *
7
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/workspace#cicd_enforced_default Workspace#cicd_enforced_default}
8
+ */
9
+ readonly cicdEnforcedDefault: boolean | cdktf.IResolvable;
10
+ /**
11
+ * Workspace description
12
+ *
13
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/workspace#description Workspace#description}
14
+ */
15
+ readonly description: string;
16
+ /**
17
+ * Workspace name
18
+ *
19
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/workspace#name Workspace#name}
20
+ */
21
+ readonly name: string;
22
+ }
23
+ export interface WorkspaceCreatedBy {
24
+ }
25
+ export declare function workspaceCreatedByToTerraform(struct?: WorkspaceCreatedBy): any;
26
+ export declare function workspaceCreatedByToHclTerraform(struct?: WorkspaceCreatedBy): any;
27
+ export declare class WorkspaceCreatedByOutputReference extends cdktf.ComplexObject {
28
+ private isEmptyObject;
29
+ /**
30
+ * @param terraformResource The parent resource
31
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
32
+ */
33
+ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
34
+ get internalValue(): WorkspaceCreatedBy | undefined;
35
+ set internalValue(value: WorkspaceCreatedBy | undefined);
36
+ get apiTokenName(): any;
37
+ get avatarUrl(): any;
38
+ get fullName(): any;
39
+ get id(): any;
40
+ get subjectType(): any;
41
+ get username(): any;
42
+ }
43
+ export interface WorkspaceUpdatedBy {
44
+ }
45
+ export declare function workspaceUpdatedByToTerraform(struct?: WorkspaceUpdatedBy): any;
46
+ export declare function workspaceUpdatedByToHclTerraform(struct?: WorkspaceUpdatedBy): any;
47
+ export declare class WorkspaceUpdatedByOutputReference extends cdktf.ComplexObject {
48
+ private isEmptyObject;
49
+ /**
50
+ * @param terraformResource The parent resource
51
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
52
+ */
53
+ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
54
+ get internalValue(): WorkspaceUpdatedBy | undefined;
55
+ set internalValue(value: WorkspaceUpdatedBy | undefined);
56
+ get apiTokenName(): any;
57
+ get avatarUrl(): any;
58
+ get fullName(): any;
59
+ get id(): any;
60
+ get subjectType(): any;
61
+ get username(): any;
62
+ }
63
+ /**
64
+ * Represents a {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/workspace astro_workspace}
65
+ */
66
+ export declare class Workspace extends cdktf.TerraformResource {
67
+ static readonly tfResourceType = "astro_workspace";
68
+ /**
69
+ * Generates CDKTF code for importing a Workspace resource upon running "cdktf plan <stack-name>"
70
+ * @param scope The scope in which to define this construct
71
+ * @param importToId The construct id used in the generated config for the Workspace to import
72
+ * @param importFromId The id of the existing Workspace that should be imported. Refer to the {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/workspace#import import section} in the documentation of this resource for the id to use
73
+ * @param provider? Optional instance of the provider where the Workspace to import is found
74
+ */
75
+ static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any;
76
+ /**
77
+ * Create a new {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/workspace astro_workspace} Resource
78
+ *
79
+ * @param scope The scope in which to define this construct
80
+ * @param id The scoped construct ID. Must be unique amongst siblings in the same scope
81
+ * @param options WorkspaceConfig
82
+ */
83
+ constructor(scope: Construct, id: string, config: WorkspaceConfig);
84
+ private _cicdEnforcedDefault?;
85
+ get cicdEnforcedDefault(): boolean | cdktf.IResolvable;
86
+ set cicdEnforcedDefault(value: boolean | cdktf.IResolvable);
87
+ get cicdEnforcedDefaultInput(): any;
88
+ get createdAt(): any;
89
+ private _createdBy;
90
+ get createdBy(): WorkspaceCreatedByOutputReference;
91
+ private _description?;
92
+ get description(): string;
93
+ set description(value: string);
94
+ get descriptionInput(): string;
95
+ get id(): any;
96
+ private _name?;
97
+ get name(): string;
98
+ set name(value: string);
99
+ get nameInput(): string;
100
+ get updatedAt(): any;
101
+ private _updatedBy;
102
+ get updatedBy(): WorkspaceUpdatedByOutputReference;
103
+ protected synthesizeAttributes(): {
104
+ [name: string]: any;
105
+ };
106
+ protected synthesizeHclAttributes(): {
107
+ [name: string]: any;
108
+ };
109
+ }