@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,232 @@
1
+ import { Construct } from 'constructs';
2
+ import * as cdktf from 'cdktf';
3
+ export interface DataAstroAlertsConfig extends cdktf.TerraformMetaArguments {
4
+ /**
5
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/data-sources/alerts#alert_ids DataAstroAlerts#alert_ids}
6
+ */
7
+ readonly alertIds?: string[];
8
+ /**
9
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/data-sources/alerts#alert_types DataAstroAlerts#alert_types}
10
+ */
11
+ readonly alertTypes?: string[];
12
+ /**
13
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/data-sources/alerts#deployment_ids DataAstroAlerts#deployment_ids}
14
+ */
15
+ readonly deploymentIds?: string[];
16
+ /**
17
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/data-sources/alerts#entity_type DataAstroAlerts#entity_type}
18
+ */
19
+ readonly entityType?: string;
20
+ /**
21
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/data-sources/alerts#workspace_ids DataAstroAlerts#workspace_ids}
22
+ */
23
+ readonly workspaceIds?: string[];
24
+ }
25
+ export interface DataAstroAlertsAlertsCreatedBy {
26
+ }
27
+ export declare function dataAstroAlertsAlertsCreatedByToTerraform(struct?: DataAstroAlertsAlertsCreatedBy): any;
28
+ export declare function dataAstroAlertsAlertsCreatedByToHclTerraform(struct?: DataAstroAlertsAlertsCreatedBy): any;
29
+ export declare class DataAstroAlertsAlertsCreatedByOutputReference extends cdktf.ComplexObject {
30
+ private isEmptyObject;
31
+ /**
32
+ * @param terraformResource The parent resource
33
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
34
+ */
35
+ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
36
+ get internalValue(): DataAstroAlertsAlertsCreatedBy | undefined;
37
+ set internalValue(value: DataAstroAlertsAlertsCreatedBy | undefined);
38
+ get apiTokenName(): any;
39
+ get avatarUrl(): any;
40
+ get fullName(): any;
41
+ get id(): any;
42
+ get subjectType(): any;
43
+ get username(): any;
44
+ }
45
+ export interface DataAstroAlertsAlertsRulesPatternMatches {
46
+ }
47
+ export declare function dataAstroAlertsAlertsRulesPatternMatchesToTerraform(struct?: DataAstroAlertsAlertsRulesPatternMatches): any;
48
+ export declare function dataAstroAlertsAlertsRulesPatternMatchesToHclTerraform(struct?: DataAstroAlertsAlertsRulesPatternMatches): any;
49
+ export declare class DataAstroAlertsAlertsRulesPatternMatchesOutputReference extends cdktf.ComplexObject {
50
+ private isEmptyObject;
51
+ /**
52
+ * @param terraformResource The parent resource
53
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
54
+ * @param complexObjectIndex the index of this item in the list
55
+ * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
56
+ */
57
+ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
58
+ get internalValue(): DataAstroAlertsAlertsRulesPatternMatches | undefined;
59
+ set internalValue(value: DataAstroAlertsAlertsRulesPatternMatches | undefined);
60
+ get entityType(): any;
61
+ get operatorType(): any;
62
+ get values(): any;
63
+ }
64
+ export declare class DataAstroAlertsAlertsRulesPatternMatchesList extends cdktf.ComplexList {
65
+ protected terraformResource: cdktf.IInterpolatingParent;
66
+ protected terraformAttribute: string;
67
+ protected wrapsSet: boolean;
68
+ /**
69
+ * @param terraformResource The parent resource
70
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
71
+ * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
72
+ */
73
+ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
74
+ /**
75
+ * @param index the index of the item to return
76
+ */
77
+ get(index: number): DataAstroAlertsAlertsRulesPatternMatchesOutputReference;
78
+ }
79
+ export interface DataAstroAlertsAlertsRules {
80
+ }
81
+ export declare function dataAstroAlertsAlertsRulesToTerraform(struct?: DataAstroAlertsAlertsRules): any;
82
+ export declare function dataAstroAlertsAlertsRulesToHclTerraform(struct?: DataAstroAlertsAlertsRules): any;
83
+ export declare class DataAstroAlertsAlertsRulesOutputReference extends cdktf.ComplexObject {
84
+ private isEmptyObject;
85
+ /**
86
+ * @param terraformResource The parent resource
87
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
88
+ */
89
+ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
90
+ get internalValue(): DataAstroAlertsAlertsRules | undefined;
91
+ set internalValue(value: DataAstroAlertsAlertsRules | undefined);
92
+ private _patternMatches;
93
+ get patternMatches(): DataAstroAlertsAlertsRulesPatternMatchesList;
94
+ private _properties;
95
+ get properties(): any;
96
+ }
97
+ export interface DataAstroAlertsAlertsUpdatedBy {
98
+ }
99
+ export declare function dataAstroAlertsAlertsUpdatedByToTerraform(struct?: DataAstroAlertsAlertsUpdatedBy): any;
100
+ export declare function dataAstroAlertsAlertsUpdatedByToHclTerraform(struct?: DataAstroAlertsAlertsUpdatedBy): any;
101
+ export declare class DataAstroAlertsAlertsUpdatedByOutputReference 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(): DataAstroAlertsAlertsUpdatedBy | undefined;
109
+ set internalValue(value: DataAstroAlertsAlertsUpdatedBy | undefined);
110
+ get apiTokenName(): any;
111
+ get avatarUrl(): any;
112
+ get fullName(): any;
113
+ get id(): any;
114
+ get subjectType(): any;
115
+ get username(): any;
116
+ }
117
+ export interface DataAstroAlertsAlerts {
118
+ /**
119
+ * Alert identifier
120
+ *
121
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/data-sources/alerts#id DataAstroAlerts#id}
122
+ *
123
+ * Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
124
+ * 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.
125
+ */
126
+ readonly id: string;
127
+ }
128
+ export declare function dataAstroAlertsAlertsToTerraform(struct?: DataAstroAlertsAlerts): any;
129
+ export declare function dataAstroAlertsAlertsToHclTerraform(struct?: DataAstroAlertsAlerts): any;
130
+ export declare class DataAstroAlertsAlertsOutputReference extends cdktf.ComplexObject {
131
+ private isEmptyObject;
132
+ /**
133
+ * @param terraformResource The parent resource
134
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
135
+ * @param complexObjectIndex the index of this item in the list
136
+ * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
137
+ */
138
+ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
139
+ get internalValue(): DataAstroAlertsAlerts | undefined;
140
+ set internalValue(value: DataAstroAlertsAlerts | undefined);
141
+ get createdAt(): any;
142
+ private _createdBy;
143
+ get createdBy(): DataAstroAlertsAlertsCreatedByOutputReference;
144
+ get deploymentId(): any;
145
+ get entityId(): any;
146
+ get entityName(): any;
147
+ get entityType(): any;
148
+ private _id?;
149
+ get id(): string;
150
+ set id(value: string);
151
+ get idInput(): string;
152
+ get name(): any;
153
+ private _rules;
154
+ get rules(): DataAstroAlertsAlertsRulesOutputReference;
155
+ get severity(): any;
156
+ get type(): any;
157
+ get updatedAt(): any;
158
+ private _updatedBy;
159
+ get updatedBy(): DataAstroAlertsAlertsUpdatedByOutputReference;
160
+ get workspaceId(): any;
161
+ }
162
+ export declare class DataAstroAlertsAlertsList extends cdktf.ComplexList {
163
+ protected terraformResource: cdktf.IInterpolatingParent;
164
+ protected terraformAttribute: string;
165
+ protected wrapsSet: boolean;
166
+ internalValue?: DataAstroAlertsAlerts[] | cdktf.IResolvable;
167
+ /**
168
+ * @param terraformResource The parent resource
169
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
170
+ * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
171
+ */
172
+ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
173
+ /**
174
+ * @param index the index of the item to return
175
+ */
176
+ get(index: number): DataAstroAlertsAlertsOutputReference;
177
+ }
178
+ /**
179
+ * Represents a {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/data-sources/alerts astro_alerts}
180
+ */
181
+ export declare class DataAstroAlerts extends cdktf.TerraformDataSource {
182
+ static readonly tfResourceType = "astro_alerts";
183
+ /**
184
+ * Generates CDKTF code for importing a DataAstroAlerts resource upon running "cdktf plan <stack-name>"
185
+ * @param scope The scope in which to define this construct
186
+ * @param importToId The construct id used in the generated config for the DataAstroAlerts to import
187
+ * @param importFromId The id of the existing DataAstroAlerts that should be imported. Refer to the {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/data-sources/alerts#import import section} in the documentation of this resource for the id to use
188
+ * @param provider? Optional instance of the provider where the DataAstroAlerts to import is found
189
+ */
190
+ static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any;
191
+ /**
192
+ * Create a new {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/data-sources/alerts astro_alerts} Data Source
193
+ *
194
+ * @param scope The scope in which to define this construct
195
+ * @param id The scoped construct ID. Must be unique amongst siblings in the same scope
196
+ * @param options DataAstroAlertsConfig = {}
197
+ */
198
+ constructor(scope: Construct, id: string, config?: DataAstroAlertsConfig);
199
+ private _alertIds?;
200
+ get alertIds(): string[];
201
+ set alertIds(value: string[]);
202
+ resetAlertIds(): void;
203
+ get alertIdsInput(): string[];
204
+ private _alertTypes?;
205
+ get alertTypes(): string[];
206
+ set alertTypes(value: string[]);
207
+ resetAlertTypes(): void;
208
+ get alertTypesInput(): string[];
209
+ private _alerts;
210
+ get alerts(): DataAstroAlertsAlertsList;
211
+ private _deploymentIds?;
212
+ get deploymentIds(): string[];
213
+ set deploymentIds(value: string[]);
214
+ resetDeploymentIds(): void;
215
+ get deploymentIdsInput(): string[];
216
+ private _entityType?;
217
+ get entityType(): string;
218
+ set entityType(value: string);
219
+ resetEntityType(): void;
220
+ get entityTypeInput(): string;
221
+ private _workspaceIds?;
222
+ get workspaceIds(): string[];
223
+ set workspaceIds(value: string[]);
224
+ resetWorkspaceIds(): void;
225
+ get workspaceIdsInput(): string[];
226
+ protected synthesizeAttributes(): {
227
+ [name: string]: any;
228
+ };
229
+ protected synthesizeHclAttributes(): {
230
+ [name: string]: any;
231
+ };
232
+ }