@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,305 @@
1
+ import { Construct } from 'constructs';
2
+ import * as cdktf from 'cdktf';
3
+ export interface ClusterConfig extends cdktf.TerraformMetaArguments {
4
+ /**
5
+ * Cluster cloud provider - if changed, the cluster will be recreated.
6
+ *
7
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/cluster#cloud_provider Cluster#cloud_provider}
8
+ */
9
+ readonly cloudProvider: string;
10
+ /**
11
+ * Cluster name
12
+ *
13
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/cluster#name Cluster#name}
14
+ */
15
+ readonly name: string;
16
+ /**
17
+ * Cluster pod subnet range - required for 'GCP' clusters. If changed, the cluster will be recreated.
18
+ *
19
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/cluster#pod_subnet_range Cluster#pod_subnet_range}
20
+ */
21
+ readonly podSubnetRange?: string;
22
+ /**
23
+ * Cluster region - if changed, the cluster will be recreated.
24
+ *
25
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/cluster#region Cluster#region}
26
+ */
27
+ readonly region: string;
28
+ /**
29
+ * Cluster service peering range - required for 'GCP' clusters. If changed, the cluster will be recreated.
30
+ *
31
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/cluster#service_peering_range Cluster#service_peering_range}
32
+ */
33
+ readonly servicePeeringRange?: string;
34
+ /**
35
+ * Cluster service subnet range - required for 'GCP' clusters. If changed, the cluster will be recreated.
36
+ *
37
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/cluster#service_subnet_range Cluster#service_subnet_range}
38
+ */
39
+ readonly serviceSubnetRange?: string;
40
+ /**
41
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/cluster#timeouts Cluster#timeouts}
42
+ */
43
+ readonly timeouts?: ClusterTimeouts;
44
+ /**
45
+ * Cluster type
46
+ *
47
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/cluster#type Cluster#type}
48
+ */
49
+ readonly type: string;
50
+ /**
51
+ * Cluster VPC subnet range. If changed, the cluster will be recreated.
52
+ *
53
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/cluster#vpc_subnet_range Cluster#vpc_subnet_range}
54
+ */
55
+ readonly vpcSubnetRange: string;
56
+ /**
57
+ * Cluster workspace IDs
58
+ *
59
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/cluster#workspace_ids Cluster#workspace_ids}
60
+ */
61
+ readonly workspaceIds: string[];
62
+ }
63
+ export interface ClusterHealthStatusDetails {
64
+ }
65
+ export declare function clusterHealthStatusDetailsToTerraform(struct?: ClusterHealthStatusDetails): any;
66
+ export declare function clusterHealthStatusDetailsToHclTerraform(struct?: ClusterHealthStatusDetails): any;
67
+ export declare class ClusterHealthStatusDetailsOutputReference extends cdktf.ComplexObject {
68
+ private isEmptyObject;
69
+ /**
70
+ * @param terraformResource The parent resource
71
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
72
+ * @param complexObjectIndex the index of this item in the list
73
+ * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
74
+ */
75
+ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
76
+ get internalValue(): ClusterHealthStatusDetails | undefined;
77
+ set internalValue(value: ClusterHealthStatusDetails | undefined);
78
+ get code(): any;
79
+ get description(): any;
80
+ get severity(): any;
81
+ }
82
+ export declare class ClusterHealthStatusDetailsList extends cdktf.ComplexList {
83
+ protected terraformResource: cdktf.IInterpolatingParent;
84
+ protected terraformAttribute: string;
85
+ protected wrapsSet: boolean;
86
+ /**
87
+ * @param terraformResource The parent resource
88
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
89
+ * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
90
+ */
91
+ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
92
+ /**
93
+ * @param index the index of the item to return
94
+ */
95
+ get(index: number): ClusterHealthStatusDetailsOutputReference;
96
+ }
97
+ export interface ClusterHealthStatus {
98
+ }
99
+ export declare function clusterHealthStatusToTerraform(struct?: ClusterHealthStatus): any;
100
+ export declare function clusterHealthStatusToHclTerraform(struct?: ClusterHealthStatus): any;
101
+ export declare class ClusterHealthStatusOutputReference extends cdktf.ComplexObject {
102
+ private isEmptyObject;
103
+ /**
104
+ * @param terraformResource The parent resource
105
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
106
+ */
107
+ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
108
+ get internalValue(): ClusterHealthStatus | undefined;
109
+ set internalValue(value: ClusterHealthStatus | undefined);
110
+ private _details;
111
+ get details(): ClusterHealthStatusDetailsList;
112
+ get value(): any;
113
+ }
114
+ export interface ClusterMetadata {
115
+ }
116
+ export declare function clusterMetadataToTerraform(struct?: ClusterMetadata): any;
117
+ export declare function clusterMetadataToHclTerraform(struct?: ClusterMetadata): any;
118
+ export declare class ClusterMetadataOutputReference extends cdktf.ComplexObject {
119
+ private isEmptyObject;
120
+ /**
121
+ * @param terraformResource The parent resource
122
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
123
+ */
124
+ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
125
+ get internalValue(): ClusterMetadata | undefined;
126
+ set internalValue(value: ClusterMetadata | undefined);
127
+ get externalIps(): any;
128
+ get kubeDnsIp(): any;
129
+ get oidcIssuerUrl(): any;
130
+ }
131
+ export interface ClusterNodePools {
132
+ }
133
+ export declare function clusterNodePoolsToTerraform(struct?: ClusterNodePools): any;
134
+ export declare function clusterNodePoolsToHclTerraform(struct?: ClusterNodePools): any;
135
+ export declare class ClusterNodePoolsOutputReference extends cdktf.ComplexObject {
136
+ private isEmptyObject;
137
+ /**
138
+ * @param terraformResource The parent resource
139
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
140
+ * @param complexObjectIndex the index of this item in the list
141
+ * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
142
+ */
143
+ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
144
+ get internalValue(): ClusterNodePools | undefined;
145
+ set internalValue(value: ClusterNodePools | undefined);
146
+ get cloudProvider(): any;
147
+ get clusterId(): any;
148
+ get createdAt(): any;
149
+ get id(): any;
150
+ get isDefault(): any;
151
+ get maxNodeCount(): any;
152
+ get name(): any;
153
+ get nodeInstanceType(): any;
154
+ get supportedAstroMachines(): any;
155
+ get updatedAt(): any;
156
+ }
157
+ export declare class ClusterNodePoolsList extends cdktf.ComplexList {
158
+ protected terraformResource: cdktf.IInterpolatingParent;
159
+ protected terraformAttribute: string;
160
+ protected wrapsSet: boolean;
161
+ /**
162
+ * @param terraformResource The parent resource
163
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
164
+ * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
165
+ */
166
+ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
167
+ /**
168
+ * @param index the index of the item to return
169
+ */
170
+ get(index: number): ClusterNodePoolsOutputReference;
171
+ }
172
+ export interface ClusterTimeouts {
173
+ /**
174
+ * A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
175
+ *
176
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/cluster#create Cluster#create}
177
+ */
178
+ readonly create?: string;
179
+ /**
180
+ * A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
181
+ *
182
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/cluster#delete Cluster#delete}
183
+ */
184
+ readonly delete?: string;
185
+ /**
186
+ * A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
187
+ *
188
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/cluster#update Cluster#update}
189
+ */
190
+ readonly update?: string;
191
+ }
192
+ export declare function clusterTimeoutsToTerraform(struct?: ClusterTimeouts | cdktf.IResolvable): any;
193
+ export declare function clusterTimeoutsToHclTerraform(struct?: ClusterTimeouts | cdktf.IResolvable): any;
194
+ export declare class ClusterTimeoutsOutputReference extends cdktf.ComplexObject {
195
+ private isEmptyObject;
196
+ private resolvableValue?;
197
+ /**
198
+ * @param terraformResource The parent resource
199
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
200
+ */
201
+ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
202
+ get internalValue(): ClusterTimeouts | cdktf.IResolvable | undefined;
203
+ set internalValue(value: ClusterTimeouts | cdktf.IResolvable | undefined);
204
+ private _create?;
205
+ get create(): string;
206
+ set create(value: string);
207
+ resetCreate(): void;
208
+ get createInput(): string;
209
+ private _delete?;
210
+ get delete(): string;
211
+ set delete(value: string);
212
+ resetDelete(): void;
213
+ get deleteInput(): string;
214
+ private _update?;
215
+ get update(): string;
216
+ set update(value: string);
217
+ resetUpdate(): void;
218
+ get updateInput(): string;
219
+ }
220
+ /**
221
+ * Represents a {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/cluster astro_cluster}
222
+ */
223
+ export declare class Cluster extends cdktf.TerraformResource {
224
+ static readonly tfResourceType = "astro_cluster";
225
+ /**
226
+ * Generates CDKTF code for importing a Cluster resource upon running "cdktf plan <stack-name>"
227
+ * @param scope The scope in which to define this construct
228
+ * @param importToId The construct id used in the generated config for the Cluster to import
229
+ * @param importFromId The id of the existing Cluster that should be imported. Refer to the {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/cluster#import import section} in the documentation of this resource for the id to use
230
+ * @param provider? Optional instance of the provider where the Cluster to import is found
231
+ */
232
+ static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any;
233
+ /**
234
+ * Create a new {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/cluster astro_cluster} Resource
235
+ *
236
+ * @param scope The scope in which to define this construct
237
+ * @param id The scoped construct ID. Must be unique amongst siblings in the same scope
238
+ * @param options ClusterConfig
239
+ */
240
+ constructor(scope: Construct, id: string, config: ClusterConfig);
241
+ private _cloudProvider?;
242
+ get cloudProvider(): string;
243
+ set cloudProvider(value: string);
244
+ get cloudProviderInput(): string;
245
+ get createdAt(): any;
246
+ get dbInstanceType(): any;
247
+ private _healthStatus;
248
+ get healthStatus(): ClusterHealthStatusOutputReference;
249
+ get id(): any;
250
+ get isLimited(): any;
251
+ private _metadata;
252
+ get metadata(): ClusterMetadataOutputReference;
253
+ private _name?;
254
+ get name(): string;
255
+ set name(value: string);
256
+ get nameInput(): string;
257
+ private _nodePools;
258
+ get nodePools(): ClusterNodePoolsList;
259
+ private _podSubnetRange?;
260
+ get podSubnetRange(): string;
261
+ set podSubnetRange(value: string);
262
+ resetPodSubnetRange(): void;
263
+ get podSubnetRangeInput(): string;
264
+ get providerAccount(): any;
265
+ private _region?;
266
+ get region(): string;
267
+ set region(value: string);
268
+ get regionInput(): string;
269
+ private _servicePeeringRange?;
270
+ get servicePeeringRange(): string;
271
+ set servicePeeringRange(value: string);
272
+ resetServicePeeringRange(): void;
273
+ get servicePeeringRangeInput(): string;
274
+ private _serviceSubnetRange?;
275
+ get serviceSubnetRange(): string;
276
+ set serviceSubnetRange(value: string);
277
+ resetServiceSubnetRange(): void;
278
+ get serviceSubnetRangeInput(): string;
279
+ get status(): any;
280
+ get tenantId(): any;
281
+ private _timeouts;
282
+ get timeouts(): ClusterTimeoutsOutputReference;
283
+ putTimeouts(value: ClusterTimeouts): void;
284
+ resetTimeouts(): void;
285
+ get timeoutsInput(): any;
286
+ private _type?;
287
+ get type(): string;
288
+ set type(value: string);
289
+ get typeInput(): string;
290
+ get updatedAt(): any;
291
+ private _vpcSubnetRange?;
292
+ get vpcSubnetRange(): string;
293
+ set vpcSubnetRange(value: string);
294
+ get vpcSubnetRangeInput(): string;
295
+ private _workspaceIds?;
296
+ get workspaceIds(): string[];
297
+ set workspaceIds(value: string[]);
298
+ get workspaceIdsInput(): string[];
299
+ protected synthesizeAttributes(): {
300
+ [name: string]: any;
301
+ };
302
+ protected synthesizeHclAttributes(): {
303
+ [name: string]: any;
304
+ };
305
+ }