@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,255 @@
1
+ import { Construct } from 'constructs';
2
+ import * as cdktf from 'cdktf';
3
+ export interface DataAstroClusterOptionsConfig extends cdktf.TerraformMetaArguments {
4
+ /**
5
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/data-sources/cluster_options#cloud_provider DataAstroClusterOptions#cloud_provider}
6
+ */
7
+ readonly cloudProvider?: string;
8
+ /**
9
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/data-sources/cluster_options#type DataAstroClusterOptions#type}
10
+ */
11
+ readonly type: string;
12
+ }
13
+ export interface DataAstroClusterOptionsClusterOptionsDatabaseInstances {
14
+ }
15
+ export declare function dataAstroClusterOptionsClusterOptionsDatabaseInstancesToTerraform(struct?: DataAstroClusterOptionsClusterOptionsDatabaseInstances): any;
16
+ export declare function dataAstroClusterOptionsClusterOptionsDatabaseInstancesToHclTerraform(struct?: DataAstroClusterOptionsClusterOptionsDatabaseInstances): any;
17
+ export declare class DataAstroClusterOptionsClusterOptionsDatabaseInstancesOutputReference extends cdktf.ComplexObject {
18
+ private isEmptyObject;
19
+ /**
20
+ * @param terraformResource The parent resource
21
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
22
+ * @param complexObjectIndex the index of this item in the list
23
+ * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
24
+ */
25
+ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
26
+ get internalValue(): DataAstroClusterOptionsClusterOptionsDatabaseInstances | undefined;
27
+ set internalValue(value: DataAstroClusterOptionsClusterOptionsDatabaseInstances | undefined);
28
+ get cpu(): any;
29
+ get memory(): any;
30
+ get name(): any;
31
+ }
32
+ export declare class DataAstroClusterOptionsClusterOptionsDatabaseInstancesList extends cdktf.ComplexList {
33
+ protected terraformResource: cdktf.IInterpolatingParent;
34
+ protected terraformAttribute: string;
35
+ protected wrapsSet: boolean;
36
+ /**
37
+ * @param terraformResource The parent resource
38
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
39
+ * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
40
+ */
41
+ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
42
+ /**
43
+ * @param index the index of the item to return
44
+ */
45
+ get(index: number): DataAstroClusterOptionsClusterOptionsDatabaseInstancesOutputReference;
46
+ }
47
+ export interface DataAstroClusterOptionsClusterOptionsDefaultDatabaseInstance {
48
+ }
49
+ export declare function dataAstroClusterOptionsClusterOptionsDefaultDatabaseInstanceToTerraform(struct?: DataAstroClusterOptionsClusterOptionsDefaultDatabaseInstance): any;
50
+ export declare function dataAstroClusterOptionsClusterOptionsDefaultDatabaseInstanceToHclTerraform(struct?: DataAstroClusterOptionsClusterOptionsDefaultDatabaseInstance): any;
51
+ export declare class DataAstroClusterOptionsClusterOptionsDefaultDatabaseInstanceOutputReference extends cdktf.ComplexObject {
52
+ private isEmptyObject;
53
+ /**
54
+ * @param terraformResource The parent resource
55
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
56
+ */
57
+ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
58
+ get internalValue(): DataAstroClusterOptionsClusterOptionsDefaultDatabaseInstance | undefined;
59
+ set internalValue(value: DataAstroClusterOptionsClusterOptionsDefaultDatabaseInstance | undefined);
60
+ get cpu(): any;
61
+ get memory(): any;
62
+ get name(): any;
63
+ }
64
+ export interface DataAstroClusterOptionsClusterOptionsDefaultNodeInstance {
65
+ }
66
+ export declare function dataAstroClusterOptionsClusterOptionsDefaultNodeInstanceToTerraform(struct?: DataAstroClusterOptionsClusterOptionsDefaultNodeInstance): any;
67
+ export declare function dataAstroClusterOptionsClusterOptionsDefaultNodeInstanceToHclTerraform(struct?: DataAstroClusterOptionsClusterOptionsDefaultNodeInstance): any;
68
+ export declare class DataAstroClusterOptionsClusterOptionsDefaultNodeInstanceOutputReference extends cdktf.ComplexObject {
69
+ private isEmptyObject;
70
+ /**
71
+ * @param terraformResource The parent resource
72
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
73
+ */
74
+ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
75
+ get internalValue(): DataAstroClusterOptionsClusterOptionsDefaultNodeInstance | undefined;
76
+ set internalValue(value: DataAstroClusterOptionsClusterOptionsDefaultNodeInstance | undefined);
77
+ get cpu(): any;
78
+ get memory(): any;
79
+ get name(): any;
80
+ }
81
+ export interface DataAstroClusterOptionsClusterOptionsDefaultRegion {
82
+ }
83
+ export declare function dataAstroClusterOptionsClusterOptionsDefaultRegionToTerraform(struct?: DataAstroClusterOptionsClusterOptionsDefaultRegion): any;
84
+ export declare function dataAstroClusterOptionsClusterOptionsDefaultRegionToHclTerraform(struct?: DataAstroClusterOptionsClusterOptionsDefaultRegion): any;
85
+ export declare class DataAstroClusterOptionsClusterOptionsDefaultRegionOutputReference extends cdktf.ComplexObject {
86
+ private isEmptyObject;
87
+ /**
88
+ * @param terraformResource The parent resource
89
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
90
+ */
91
+ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
92
+ get internalValue(): DataAstroClusterOptionsClusterOptionsDefaultRegion | undefined;
93
+ set internalValue(value: DataAstroClusterOptionsClusterOptionsDefaultRegion | undefined);
94
+ get bannedInstances(): any;
95
+ get limited(): any;
96
+ get name(): any;
97
+ }
98
+ export interface DataAstroClusterOptionsClusterOptionsNodeInstances {
99
+ }
100
+ export declare function dataAstroClusterOptionsClusterOptionsNodeInstancesToTerraform(struct?: DataAstroClusterOptionsClusterOptionsNodeInstances): any;
101
+ export declare function dataAstroClusterOptionsClusterOptionsNodeInstancesToHclTerraform(struct?: DataAstroClusterOptionsClusterOptionsNodeInstances): any;
102
+ export declare class DataAstroClusterOptionsClusterOptionsNodeInstancesOutputReference extends cdktf.ComplexObject {
103
+ private isEmptyObject;
104
+ /**
105
+ * @param terraformResource The parent resource
106
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
107
+ * @param complexObjectIndex the index of this item in the list
108
+ * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
109
+ */
110
+ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
111
+ get internalValue(): DataAstroClusterOptionsClusterOptionsNodeInstances | undefined;
112
+ set internalValue(value: DataAstroClusterOptionsClusterOptionsNodeInstances | undefined);
113
+ get cpu(): any;
114
+ get memory(): any;
115
+ get name(): any;
116
+ }
117
+ export declare class DataAstroClusterOptionsClusterOptionsNodeInstancesList extends cdktf.ComplexList {
118
+ protected terraformResource: cdktf.IInterpolatingParent;
119
+ protected terraformAttribute: string;
120
+ protected wrapsSet: boolean;
121
+ /**
122
+ * @param terraformResource The parent resource
123
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
124
+ * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
125
+ */
126
+ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
127
+ /**
128
+ * @param index the index of the item to return
129
+ */
130
+ get(index: number): DataAstroClusterOptionsClusterOptionsNodeInstancesOutputReference;
131
+ }
132
+ export interface DataAstroClusterOptionsClusterOptionsRegions {
133
+ }
134
+ export declare function dataAstroClusterOptionsClusterOptionsRegionsToTerraform(struct?: DataAstroClusterOptionsClusterOptionsRegions): any;
135
+ export declare function dataAstroClusterOptionsClusterOptionsRegionsToHclTerraform(struct?: DataAstroClusterOptionsClusterOptionsRegions): any;
136
+ export declare class DataAstroClusterOptionsClusterOptionsRegionsOutputReference extends cdktf.ComplexObject {
137
+ private isEmptyObject;
138
+ /**
139
+ * @param terraformResource The parent resource
140
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
141
+ * @param complexObjectIndex the index of this item in the list
142
+ * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
143
+ */
144
+ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
145
+ get internalValue(): DataAstroClusterOptionsClusterOptionsRegions | undefined;
146
+ set internalValue(value: DataAstroClusterOptionsClusterOptionsRegions | undefined);
147
+ get bannedInstances(): any;
148
+ get limited(): any;
149
+ get name(): any;
150
+ }
151
+ export declare class DataAstroClusterOptionsClusterOptionsRegionsList extends cdktf.ComplexList {
152
+ protected terraformResource: cdktf.IInterpolatingParent;
153
+ protected terraformAttribute: string;
154
+ protected wrapsSet: boolean;
155
+ /**
156
+ * @param terraformResource The parent resource
157
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
158
+ * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
159
+ */
160
+ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
161
+ /**
162
+ * @param index the index of the item to return
163
+ */
164
+ get(index: number): DataAstroClusterOptionsClusterOptionsRegionsOutputReference;
165
+ }
166
+ export interface DataAstroClusterOptionsClusterOptions {
167
+ }
168
+ export declare function dataAstroClusterOptionsClusterOptionsToTerraform(struct?: DataAstroClusterOptionsClusterOptions): any;
169
+ export declare function dataAstroClusterOptionsClusterOptionsToHclTerraform(struct?: DataAstroClusterOptionsClusterOptions): any;
170
+ export declare class DataAstroClusterOptionsClusterOptionsOutputReference extends cdktf.ComplexObject {
171
+ private isEmptyObject;
172
+ /**
173
+ * @param terraformResource The parent resource
174
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
175
+ * @param complexObjectIndex the index of this item in the list
176
+ * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
177
+ */
178
+ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
179
+ get internalValue(): DataAstroClusterOptionsClusterOptions | undefined;
180
+ set internalValue(value: DataAstroClusterOptionsClusterOptions | undefined);
181
+ private _databaseInstances;
182
+ get databaseInstances(): DataAstroClusterOptionsClusterOptionsDatabaseInstancesList;
183
+ private _defaultDatabaseInstance;
184
+ get defaultDatabaseInstance(): DataAstroClusterOptionsClusterOptionsDefaultDatabaseInstanceOutputReference;
185
+ private _defaultNodeInstance;
186
+ get defaultNodeInstance(): DataAstroClusterOptionsClusterOptionsDefaultNodeInstanceOutputReference;
187
+ get defaultPodSubnetRange(): any;
188
+ private _defaultRegion;
189
+ get defaultRegion(): DataAstroClusterOptionsClusterOptionsDefaultRegionOutputReference;
190
+ get defaultServicePeeringRange(): any;
191
+ get defaultServiceSubnetRange(): any;
192
+ get defaultVpcSubnetRange(): any;
193
+ get nodeCountDefault(): any;
194
+ get nodeCountMax(): any;
195
+ get nodeCountMin(): any;
196
+ private _nodeInstances;
197
+ get nodeInstances(): DataAstroClusterOptionsClusterOptionsNodeInstancesList;
198
+ get provider(): any;
199
+ private _regions;
200
+ get regions(): DataAstroClusterOptionsClusterOptionsRegionsList;
201
+ }
202
+ export declare class DataAstroClusterOptionsClusterOptionsList extends cdktf.ComplexList {
203
+ protected terraformResource: cdktf.IInterpolatingParent;
204
+ protected terraformAttribute: string;
205
+ protected wrapsSet: boolean;
206
+ /**
207
+ * @param terraformResource The parent resource
208
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
209
+ * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
210
+ */
211
+ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
212
+ /**
213
+ * @param index the index of the item to return
214
+ */
215
+ get(index: number): DataAstroClusterOptionsClusterOptionsOutputReference;
216
+ }
217
+ /**
218
+ * Represents a {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/data-sources/cluster_options astro_cluster_options}
219
+ */
220
+ export declare class DataAstroClusterOptions extends cdktf.TerraformDataSource {
221
+ static readonly tfResourceType = "astro_cluster_options";
222
+ /**
223
+ * Generates CDKTF code for importing a DataAstroClusterOptions resource upon running "cdktf plan <stack-name>"
224
+ * @param scope The scope in which to define this construct
225
+ * @param importToId The construct id used in the generated config for the DataAstroClusterOptions to import
226
+ * @param importFromId The id of the existing DataAstroClusterOptions that should be imported. Refer to the {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/data-sources/cluster_options#import import section} in the documentation of this resource for the id to use
227
+ * @param provider? Optional instance of the provider where the DataAstroClusterOptions to import is found
228
+ */
229
+ static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any;
230
+ /**
231
+ * Create a new {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/data-sources/cluster_options astro_cluster_options} Data Source
232
+ *
233
+ * @param scope The scope in which to define this construct
234
+ * @param id The scoped construct ID. Must be unique amongst siblings in the same scope
235
+ * @param options DataAstroClusterOptionsConfig
236
+ */
237
+ constructor(scope: Construct, id: string, config: DataAstroClusterOptionsConfig);
238
+ private _cloudProvider?;
239
+ get cloudProvider(): string;
240
+ set cloudProvider(value: string);
241
+ resetCloudProvider(): void;
242
+ get cloudProviderInput(): string;
243
+ private _clusterOptions;
244
+ get clusterOptions(): DataAstroClusterOptionsClusterOptionsList;
245
+ private _type?;
246
+ get type(): string;
247
+ set type(value: string);
248
+ get typeInput(): string;
249
+ protected synthesizeAttributes(): {
250
+ [name: string]: any;
251
+ };
252
+ protected synthesizeHclAttributes(): {
253
+ [name: string]: any;
254
+ };
255
+ }