@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,400 @@
1
+ // https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/data-sources/users
2
+ // generated from terraform resource schema
3
+ import * as cdktf from 'cdktf';
4
+ export function dataAstroUsersUsersDeploymentRolesToTerraform(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 dataAstroUsersUsersDeploymentRolesToHclTerraform(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 DataAstroUsersUsersDeploymentRolesOutputReference 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
+ * @param complexObjectIndex the index of this item in the list
29
+ * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
30
+ */
31
+ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
32
+ super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
33
+ }
34
+ get internalValue() {
35
+ let hasAnyValues = this.isEmptyObject;
36
+ const internalValueResult = {};
37
+ return hasAnyValues ? internalValueResult : undefined;
38
+ }
39
+ set internalValue(value) {
40
+ if (value === undefined) {
41
+ this.isEmptyObject = false;
42
+ }
43
+ else {
44
+ this.isEmptyObject = Object.keys(value).length === 0;
45
+ }
46
+ }
47
+ // deployment_id - computed: true, optional: false, required: false
48
+ get deploymentId() {
49
+ return this.getStringAttribute('deployment_id');
50
+ }
51
+ // role - computed: true, optional: false, required: false
52
+ get role() {
53
+ return this.getStringAttribute('role');
54
+ }
55
+ }
56
+ export class DataAstroUsersUsersDeploymentRolesList extends cdktf.ComplexList {
57
+ terraformResource;
58
+ terraformAttribute;
59
+ wrapsSet;
60
+ /**
61
+ * @param terraformResource The parent resource
62
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
63
+ * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
64
+ */
65
+ constructor(terraformResource, terraformAttribute, wrapsSet) {
66
+ super(terraformResource, terraformAttribute, wrapsSet);
67
+ this.terraformResource = terraformResource;
68
+ this.terraformAttribute = terraformAttribute;
69
+ this.wrapsSet = wrapsSet;
70
+ }
71
+ /**
72
+ * @param index the index of the item to return
73
+ */
74
+ get(index) {
75
+ return new DataAstroUsersUsersDeploymentRolesOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
76
+ }
77
+ }
78
+ export function dataAstroUsersUsersWorkspaceRolesToTerraform(struct) {
79
+ if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
80
+ return struct;
81
+ }
82
+ if (cdktf.isComplexElement(struct)) {
83
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
84
+ }
85
+ return {};
86
+ }
87
+ export function dataAstroUsersUsersWorkspaceRolesToHclTerraform(struct) {
88
+ if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
89
+ return struct;
90
+ }
91
+ if (cdktf.isComplexElement(struct)) {
92
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
93
+ }
94
+ const attrs = {};
95
+ return attrs;
96
+ }
97
+ export class DataAstroUsersUsersWorkspaceRolesOutputReference extends cdktf.ComplexObject {
98
+ isEmptyObject = false;
99
+ /**
100
+ * @param terraformResource The parent resource
101
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
102
+ * @param complexObjectIndex the index of this item in the list
103
+ * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
104
+ */
105
+ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
106
+ super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
107
+ }
108
+ get internalValue() {
109
+ let hasAnyValues = this.isEmptyObject;
110
+ const internalValueResult = {};
111
+ return hasAnyValues ? internalValueResult : undefined;
112
+ }
113
+ set internalValue(value) {
114
+ if (value === undefined) {
115
+ this.isEmptyObject = false;
116
+ }
117
+ else {
118
+ this.isEmptyObject = Object.keys(value).length === 0;
119
+ }
120
+ }
121
+ // role - computed: true, optional: false, required: false
122
+ get role() {
123
+ return this.getStringAttribute('role');
124
+ }
125
+ // workspace_id - computed: true, optional: false, required: false
126
+ get workspaceId() {
127
+ return this.getStringAttribute('workspace_id');
128
+ }
129
+ }
130
+ export class DataAstroUsersUsersWorkspaceRolesList extends cdktf.ComplexList {
131
+ terraformResource;
132
+ terraformAttribute;
133
+ wrapsSet;
134
+ /**
135
+ * @param terraformResource The parent resource
136
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
137
+ * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
138
+ */
139
+ constructor(terraformResource, terraformAttribute, wrapsSet) {
140
+ super(terraformResource, terraformAttribute, wrapsSet);
141
+ this.terraformResource = terraformResource;
142
+ this.terraformAttribute = terraformAttribute;
143
+ this.wrapsSet = wrapsSet;
144
+ }
145
+ /**
146
+ * @param index the index of the item to return
147
+ */
148
+ get(index) {
149
+ return new DataAstroUsersUsersWorkspaceRolesOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
150
+ }
151
+ }
152
+ export function dataAstroUsersUsersToTerraform(struct) {
153
+ if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
154
+ return struct;
155
+ }
156
+ if (cdktf.isComplexElement(struct)) {
157
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
158
+ }
159
+ return {
160
+ id: cdktf.stringToTerraform(struct.id),
161
+ };
162
+ }
163
+ export function dataAstroUsersUsersToHclTerraform(struct) {
164
+ if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
165
+ return struct;
166
+ }
167
+ if (cdktf.isComplexElement(struct)) {
168
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
169
+ }
170
+ const attrs = {
171
+ id: {
172
+ value: cdktf.stringToHclTerraform(struct.id),
173
+ isBlock: false,
174
+ type: "simple",
175
+ storageClassType: "string",
176
+ },
177
+ };
178
+ // remove undefined attributes
179
+ return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
180
+ }
181
+ export class DataAstroUsersUsersOutputReference extends cdktf.ComplexObject {
182
+ isEmptyObject = false;
183
+ /**
184
+ * @param terraformResource The parent resource
185
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
186
+ * @param complexObjectIndex the index of this item in the list
187
+ * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
188
+ */
189
+ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
190
+ super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
191
+ }
192
+ get internalValue() {
193
+ let hasAnyValues = this.isEmptyObject;
194
+ const internalValueResult = {};
195
+ if (this._id !== undefined) {
196
+ hasAnyValues = true;
197
+ internalValueResult.id = this._id;
198
+ }
199
+ return hasAnyValues ? internalValueResult : undefined;
200
+ }
201
+ set internalValue(value) {
202
+ if (value === undefined) {
203
+ this.isEmptyObject = false;
204
+ this._id = undefined;
205
+ }
206
+ else {
207
+ this.isEmptyObject = Object.keys(value).length === 0;
208
+ this._id = value.id;
209
+ }
210
+ }
211
+ // avatar_url - computed: true, optional: false, required: false
212
+ get avatarUrl() {
213
+ return this.getStringAttribute('avatar_url');
214
+ }
215
+ // created_at - computed: true, optional: false, required: false
216
+ get createdAt() {
217
+ return this.getStringAttribute('created_at');
218
+ }
219
+ // deployment_roles - computed: true, optional: false, required: false
220
+ _deploymentRoles = new DataAstroUsersUsersDeploymentRolesList(this, "deployment_roles", true);
221
+ get deploymentRoles() {
222
+ return this._deploymentRoles;
223
+ }
224
+ // full_name - computed: true, optional: false, required: false
225
+ get fullName() {
226
+ return this.getStringAttribute('full_name');
227
+ }
228
+ // id - computed: true, optional: false, required: true
229
+ _id;
230
+ get id() {
231
+ return this.getStringAttribute('id');
232
+ }
233
+ set id(value) {
234
+ this._id = value;
235
+ }
236
+ // Temporarily expose input value. Use with caution.
237
+ get idInput() {
238
+ return this._id;
239
+ }
240
+ // organization_role - computed: true, optional: false, required: false
241
+ get organizationRole() {
242
+ return this.getStringAttribute('organization_role');
243
+ }
244
+ // status - computed: true, optional: false, required: false
245
+ get status() {
246
+ return this.getStringAttribute('status');
247
+ }
248
+ // updated_at - computed: true, optional: false, required: false
249
+ get updatedAt() {
250
+ return this.getStringAttribute('updated_at');
251
+ }
252
+ // username - computed: true, optional: false, required: false
253
+ get username() {
254
+ return this.getStringAttribute('username');
255
+ }
256
+ // workspace_roles - computed: true, optional: false, required: false
257
+ _workspaceRoles = new DataAstroUsersUsersWorkspaceRolesList(this, "workspace_roles", true);
258
+ get workspaceRoles() {
259
+ return this._workspaceRoles;
260
+ }
261
+ }
262
+ export class DataAstroUsersUsersList extends cdktf.ComplexList {
263
+ terraformResource;
264
+ terraformAttribute;
265
+ wrapsSet;
266
+ internalValue;
267
+ /**
268
+ * @param terraformResource The parent resource
269
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
270
+ * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
271
+ */
272
+ constructor(terraformResource, terraformAttribute, wrapsSet) {
273
+ super(terraformResource, terraformAttribute, wrapsSet);
274
+ this.terraformResource = terraformResource;
275
+ this.terraformAttribute = terraformAttribute;
276
+ this.wrapsSet = wrapsSet;
277
+ }
278
+ /**
279
+ * @param index the index of the item to return
280
+ */
281
+ get(index) {
282
+ return new DataAstroUsersUsersOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
283
+ }
284
+ }
285
+ /**
286
+ * Represents a {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/data-sources/users astro_users}
287
+ */
288
+ export class DataAstroUsers extends cdktf.TerraformDataSource {
289
+ // =================
290
+ // STATIC PROPERTIES
291
+ // =================
292
+ static tfResourceType = "astro_users";
293
+ // ==============
294
+ // STATIC Methods
295
+ // ==============
296
+ /**
297
+ * Generates CDKTF code for importing a DataAstroUsers resource upon running "cdktf plan <stack-name>"
298
+ * @param scope The scope in which to define this construct
299
+ * @param importToId The construct id used in the generated config for the DataAstroUsers to import
300
+ * @param importFromId The id of the existing DataAstroUsers that should be imported. Refer to the {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/data-sources/users#import import section} in the documentation of this resource for the id to use
301
+ * @param provider? Optional instance of the provider where the DataAstroUsers to import is found
302
+ */
303
+ static generateConfigForImport(scope, importToId, importFromId, provider) {
304
+ return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "astro_users", importId: importFromId, provider });
305
+ }
306
+ // ===========
307
+ // INITIALIZER
308
+ // ===========
309
+ /**
310
+ * Create a new {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/data-sources/users astro_users} Data Source
311
+ *
312
+ * @param scope The scope in which to define this construct
313
+ * @param id The scoped construct ID. Must be unique amongst siblings in the same scope
314
+ * @param options DataAstroUsersConfig = {}
315
+ */
316
+ constructor(scope, id, config = {}) {
317
+ super(scope, id, {
318
+ terraformResourceType: 'astro_users',
319
+ terraformGeneratorMetadata: {
320
+ providerName: 'astro',
321
+ providerVersion: '1.0.8',
322
+ providerVersionConstraint: '1.0.8'
323
+ },
324
+ provider: config.provider,
325
+ dependsOn: config.dependsOn,
326
+ count: config.count,
327
+ lifecycle: config.lifecycle,
328
+ provisioners: config.provisioners,
329
+ connection: config.connection,
330
+ forEach: config.forEach
331
+ });
332
+ this._deploymentId = config.deploymentId;
333
+ this._workspaceId = config.workspaceId;
334
+ }
335
+ // ==========
336
+ // ATTRIBUTES
337
+ // ==========
338
+ // deployment_id - computed: false, optional: true, required: false
339
+ _deploymentId;
340
+ get deploymentId() {
341
+ return this.getStringAttribute('deployment_id');
342
+ }
343
+ set deploymentId(value) {
344
+ this._deploymentId = value;
345
+ }
346
+ resetDeploymentId() {
347
+ this._deploymentId = undefined;
348
+ }
349
+ // Temporarily expose input value. Use with caution.
350
+ get deploymentIdInput() {
351
+ return this._deploymentId;
352
+ }
353
+ // users - computed: true, optional: false, required: false
354
+ _users = new DataAstroUsersUsersList(this, "users", true);
355
+ get users() {
356
+ return this._users;
357
+ }
358
+ // workspace_id - computed: false, optional: true, required: false
359
+ _workspaceId;
360
+ get workspaceId() {
361
+ return this.getStringAttribute('workspace_id');
362
+ }
363
+ set workspaceId(value) {
364
+ this._workspaceId = value;
365
+ }
366
+ resetWorkspaceId() {
367
+ this._workspaceId = undefined;
368
+ }
369
+ // Temporarily expose input value. Use with caution.
370
+ get workspaceIdInput() {
371
+ return this._workspaceId;
372
+ }
373
+ // =========
374
+ // SYNTHESIS
375
+ // =========
376
+ synthesizeAttributes() {
377
+ return {
378
+ deployment_id: cdktf.stringToTerraform(this._deploymentId),
379
+ workspace_id: cdktf.stringToTerraform(this._workspaceId),
380
+ };
381
+ }
382
+ synthesizeHclAttributes() {
383
+ const attrs = {
384
+ deployment_id: {
385
+ value: cdktf.stringToHclTerraform(this._deploymentId),
386
+ isBlock: false,
387
+ type: "simple",
388
+ storageClassType: "string",
389
+ },
390
+ workspace_id: {
391
+ value: cdktf.stringToHclTerraform(this._workspaceId),
392
+ isBlock: false,
393
+ type: "simple",
394
+ storageClassType: "string",
395
+ },
396
+ };
397
+ // remove undefined attributes
398
+ return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
399
+ }
400
+ }
@@ -0,0 +1,94 @@
1
+ import { Construct } from 'constructs';
2
+ import * as cdktf from 'cdktf';
3
+ export interface DataAstroWorkspaceConfig extends cdktf.TerraformMetaArguments {
4
+ /**
5
+ * Workspace identifier
6
+ *
7
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/data-sources/workspace#id DataAstroWorkspace#id}
8
+ *
9
+ * Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
10
+ * 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.
11
+ */
12
+ readonly id: string;
13
+ }
14
+ export interface DataAstroWorkspaceCreatedBy {
15
+ }
16
+ export declare function dataAstroWorkspaceCreatedByToTerraform(struct?: DataAstroWorkspaceCreatedBy): any;
17
+ export declare function dataAstroWorkspaceCreatedByToHclTerraform(struct?: DataAstroWorkspaceCreatedBy): any;
18
+ export declare class DataAstroWorkspaceCreatedByOutputReference extends cdktf.ComplexObject {
19
+ private isEmptyObject;
20
+ /**
21
+ * @param terraformResource The parent resource
22
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
23
+ */
24
+ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
25
+ get internalValue(): DataAstroWorkspaceCreatedBy | undefined;
26
+ set internalValue(value: DataAstroWorkspaceCreatedBy | undefined);
27
+ get apiTokenName(): any;
28
+ get avatarUrl(): any;
29
+ get fullName(): any;
30
+ get id(): any;
31
+ get subjectType(): any;
32
+ get username(): any;
33
+ }
34
+ export interface DataAstroWorkspaceUpdatedBy {
35
+ }
36
+ export declare function dataAstroWorkspaceUpdatedByToTerraform(struct?: DataAstroWorkspaceUpdatedBy): any;
37
+ export declare function dataAstroWorkspaceUpdatedByToHclTerraform(struct?: DataAstroWorkspaceUpdatedBy): any;
38
+ export declare class DataAstroWorkspaceUpdatedByOutputReference extends cdktf.ComplexObject {
39
+ private isEmptyObject;
40
+ /**
41
+ * @param terraformResource The parent resource
42
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
43
+ */
44
+ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
45
+ get internalValue(): DataAstroWorkspaceUpdatedBy | undefined;
46
+ set internalValue(value: DataAstroWorkspaceUpdatedBy | undefined);
47
+ get apiTokenName(): any;
48
+ get avatarUrl(): any;
49
+ get fullName(): any;
50
+ get id(): any;
51
+ get subjectType(): any;
52
+ get username(): any;
53
+ }
54
+ /**
55
+ * Represents a {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/data-sources/workspace astro_workspace}
56
+ */
57
+ export declare class DataAstroWorkspace extends cdktf.TerraformDataSource {
58
+ static readonly tfResourceType = "astro_workspace";
59
+ /**
60
+ * Generates CDKTF code for importing a DataAstroWorkspace resource upon running "cdktf plan <stack-name>"
61
+ * @param scope The scope in which to define this construct
62
+ * @param importToId The construct id used in the generated config for the DataAstroWorkspace to import
63
+ * @param importFromId The id of the existing DataAstroWorkspace that should be imported. Refer to the {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/data-sources/workspace#import import section} in the documentation of this resource for the id to use
64
+ * @param provider? Optional instance of the provider where the DataAstroWorkspace to import is found
65
+ */
66
+ static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any;
67
+ /**
68
+ * Create a new {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/data-sources/workspace astro_workspace} Data Source
69
+ *
70
+ * @param scope The scope in which to define this construct
71
+ * @param id The scoped construct ID. Must be unique amongst siblings in the same scope
72
+ * @param options DataAstroWorkspaceConfig
73
+ */
74
+ constructor(scope: Construct, id: string, config: DataAstroWorkspaceConfig);
75
+ get cicdEnforcedDefault(): any;
76
+ get createdAt(): any;
77
+ private _createdBy;
78
+ get createdBy(): DataAstroWorkspaceCreatedByOutputReference;
79
+ get description(): any;
80
+ private _id?;
81
+ get id(): string;
82
+ set id(value: string);
83
+ get idInput(): string;
84
+ get name(): any;
85
+ get updatedAt(): any;
86
+ private _updatedBy;
87
+ get updatedBy(): DataAstroWorkspaceUpdatedByOutputReference;
88
+ protected synthesizeAttributes(): {
89
+ [name: string]: any;
90
+ };
91
+ protected synthesizeHclAttributes(): {
92
+ [name: string]: any;
93
+ };
94
+ }