@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.
- package/LICENSE +355 -0
- package/README.md +19 -0
- package/dist/alert/index.d.ts +566 -0
- package/dist/alert/index.js +1489 -0
- package/dist/api-token/index.d.ts +199 -0
- package/dist/api-token/index.js +503 -0
- package/dist/cluster/index.d.ts +305 -0
- package/dist/cluster/index.js +755 -0
- package/dist/data-astro-alert/index.d.ts +277 -0
- package/dist/data-astro-alert/index.js +762 -0
- package/dist/data-astro-alerts/index.d.ts +232 -0
- package/dist/data-astro-alerts/index.js +600 -0
- package/dist/data-astro-api-token/index.d.ts +135 -0
- package/dist/data-astro-api-token/index.js +353 -0
- package/dist/data-astro-api-tokens/index.d.ts +196 -0
- package/dist/data-astro-api-tokens/index.js +502 -0
- package/dist/data-astro-cluster/index.d.ts +211 -0
- package/dist/data-astro-cluster/index.js +535 -0
- package/dist/data-astro-cluster-options/index.d.ts +255 -0
- package/dist/data-astro-cluster-options/index.js +640 -0
- package/dist/data-astro-clusters/index.d.ts +263 -0
- package/dist/data-astro-clusters/index.js +661 -0
- package/dist/data-astro-deployment/index.d.ts +355 -0
- package/dist/data-astro-deployment/index.js +1009 -0
- package/dist/data-astro-deployment-options/index.d.ts +475 -0
- package/dist/data-astro-deployment-options/index.js +1274 -0
- package/dist/data-astro-deployments/index.d.ts +416 -0
- package/dist/data-astro-deployments/index.js +1158 -0
- package/dist/data-astro-notification-channel/index.d.ts +122 -0
- package/dist/data-astro-notification-channel/index.js +345 -0
- package/dist/data-astro-notification-channels/index.d.ts +201 -0
- package/dist/data-astro-notification-channels/index.js +540 -0
- package/dist/data-astro-organization/index.d.ts +87 -0
- package/dist/data-astro-organization/index.js +251 -0
- package/dist/data-astro-team/index.d.ts +204 -0
- package/dist/data-astro-team/index.js +507 -0
- package/dist/data-astro-teams/index.d.ts +247 -0
- package/dist/data-astro-teams/index.js +610 -0
- package/dist/data-astro-user/index.d.ts +122 -0
- package/dist/data-astro-user/index.js +274 -0
- package/dist/data-astro-users/index.d.ts +174 -0
- package/dist/data-astro-users/index.js +400 -0
- package/dist/data-astro-workspace/index.d.ts +94 -0
- package/dist/data-astro-workspace/index.js +250 -0
- package/dist/data-astro-workspaces/index.d.ts +146 -0
- package/dist/data-astro-workspaces/index.js +376 -0
- package/dist/deployment/index.d.ts +813 -0
- package/dist/deployment/index.js +2083 -0
- package/dist/hybrid-cluster-workspace-authorization/index.d.ts +53 -0
- package/dist/hybrid-cluster-workspace-authorization/index.js +111 -0
- package/dist/index.d.ts +31 -0
- package/dist/index.js +32 -0
- package/dist/lazy-index.d.ts +0 -0
- package/dist/lazy-index.js +32 -0
- package/dist/notification-channel/index.d.ts +235 -0
- package/dist/notification-channel/index.js +608 -0
- package/dist/provider/index.d.ts +75 -0
- package/dist/provider/index.js +151 -0
- package/dist/team/index.d.ts +251 -0
- package/dist/team/index.js +622 -0
- package/dist/team-roles/index.d.ts +180 -0
- package/dist/team-roles/index.js +414 -0
- package/dist/user-invite/index.d.ts +99 -0
- package/dist/user-invite/index.js +262 -0
- package/dist/user-roles/index.d.ts +180 -0
- package/dist/user-roles/index.js +414 -0
- package/dist/workspace/index.d.ts +109 -0
- package/dist/workspace/index.js +282 -0
- package/package.json +51 -0
|
@@ -0,0 +1,277 @@
|
|
|
1
|
+
import { Construct } from 'constructs';
|
|
2
|
+
import * as cdktf from 'cdktf';
|
|
3
|
+
export interface DataAstroAlertConfig extends cdktf.TerraformMetaArguments {
|
|
4
|
+
/**
|
|
5
|
+
* Alert identifier
|
|
6
|
+
*
|
|
7
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/data-sources/alert#id DataAstroAlert#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 DataAstroAlertCreatedBy {
|
|
15
|
+
}
|
|
16
|
+
export declare function dataAstroAlertCreatedByToTerraform(struct?: DataAstroAlertCreatedBy): any;
|
|
17
|
+
export declare function dataAstroAlertCreatedByToHclTerraform(struct?: DataAstroAlertCreatedBy): any;
|
|
18
|
+
export declare class DataAstroAlertCreatedByOutputReference 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(): DataAstroAlertCreatedBy | undefined;
|
|
26
|
+
set internalValue(value: DataAstroAlertCreatedBy | 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 DataAstroAlertNotificationChannelsCreatedBy {
|
|
35
|
+
}
|
|
36
|
+
export declare function dataAstroAlertNotificationChannelsCreatedByToTerraform(struct?: DataAstroAlertNotificationChannelsCreatedBy): any;
|
|
37
|
+
export declare function dataAstroAlertNotificationChannelsCreatedByToHclTerraform(struct?: DataAstroAlertNotificationChannelsCreatedBy): any;
|
|
38
|
+
export declare class DataAstroAlertNotificationChannelsCreatedByOutputReference 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(): DataAstroAlertNotificationChannelsCreatedBy | undefined;
|
|
46
|
+
set internalValue(value: DataAstroAlertNotificationChannelsCreatedBy | 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
|
+
export interface DataAstroAlertNotificationChannelsDefinition {
|
|
55
|
+
}
|
|
56
|
+
export declare function dataAstroAlertNotificationChannelsDefinitionToTerraform(struct?: DataAstroAlertNotificationChannelsDefinition): any;
|
|
57
|
+
export declare function dataAstroAlertNotificationChannelsDefinitionToHclTerraform(struct?: DataAstroAlertNotificationChannelsDefinition): any;
|
|
58
|
+
export declare class DataAstroAlertNotificationChannelsDefinitionOutputReference extends cdktf.ComplexObject {
|
|
59
|
+
private isEmptyObject;
|
|
60
|
+
/**
|
|
61
|
+
* @param terraformResource The parent resource
|
|
62
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
63
|
+
*/
|
|
64
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
|
|
65
|
+
get internalValue(): DataAstroAlertNotificationChannelsDefinition | undefined;
|
|
66
|
+
set internalValue(value: DataAstroAlertNotificationChannelsDefinition | undefined);
|
|
67
|
+
get apiKey(): any;
|
|
68
|
+
get dagId(): any;
|
|
69
|
+
get deploymentApiToken(): any;
|
|
70
|
+
get deploymentId(): any;
|
|
71
|
+
get integrationKey(): any;
|
|
72
|
+
get recipients(): any;
|
|
73
|
+
get webhookUrl(): any;
|
|
74
|
+
}
|
|
75
|
+
export interface DataAstroAlertNotificationChannelsUpdatedBy {
|
|
76
|
+
}
|
|
77
|
+
export declare function dataAstroAlertNotificationChannelsUpdatedByToTerraform(struct?: DataAstroAlertNotificationChannelsUpdatedBy): any;
|
|
78
|
+
export declare function dataAstroAlertNotificationChannelsUpdatedByToHclTerraform(struct?: DataAstroAlertNotificationChannelsUpdatedBy): any;
|
|
79
|
+
export declare class DataAstroAlertNotificationChannelsUpdatedByOutputReference extends cdktf.ComplexObject {
|
|
80
|
+
private isEmptyObject;
|
|
81
|
+
/**
|
|
82
|
+
* @param terraformResource The parent resource
|
|
83
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
84
|
+
*/
|
|
85
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
|
|
86
|
+
get internalValue(): DataAstroAlertNotificationChannelsUpdatedBy | undefined;
|
|
87
|
+
set internalValue(value: DataAstroAlertNotificationChannelsUpdatedBy | undefined);
|
|
88
|
+
get apiTokenName(): any;
|
|
89
|
+
get avatarUrl(): any;
|
|
90
|
+
get fullName(): any;
|
|
91
|
+
get id(): any;
|
|
92
|
+
get subjectType(): any;
|
|
93
|
+
get username(): any;
|
|
94
|
+
}
|
|
95
|
+
export interface DataAstroAlertNotificationChannels {
|
|
96
|
+
/**
|
|
97
|
+
* The notification channel's ID
|
|
98
|
+
*
|
|
99
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/data-sources/alert#id DataAstroAlert#id}
|
|
100
|
+
*
|
|
101
|
+
* Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
102
|
+
* 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.
|
|
103
|
+
*/
|
|
104
|
+
readonly id: string;
|
|
105
|
+
}
|
|
106
|
+
export declare function dataAstroAlertNotificationChannelsToTerraform(struct?: DataAstroAlertNotificationChannels): any;
|
|
107
|
+
export declare function dataAstroAlertNotificationChannelsToHclTerraform(struct?: DataAstroAlertNotificationChannels): any;
|
|
108
|
+
export declare class DataAstroAlertNotificationChannelsOutputReference extends cdktf.ComplexObject {
|
|
109
|
+
private isEmptyObject;
|
|
110
|
+
/**
|
|
111
|
+
* @param terraformResource The parent resource
|
|
112
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
113
|
+
* @param complexObjectIndex the index of this item in the list
|
|
114
|
+
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
115
|
+
*/
|
|
116
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
|
|
117
|
+
get internalValue(): DataAstroAlertNotificationChannels | undefined;
|
|
118
|
+
set internalValue(value: DataAstroAlertNotificationChannels | undefined);
|
|
119
|
+
get createdAt(): any;
|
|
120
|
+
private _createdBy;
|
|
121
|
+
get createdBy(): DataAstroAlertNotificationChannelsCreatedByOutputReference;
|
|
122
|
+
private _definition;
|
|
123
|
+
get definition(): DataAstroAlertNotificationChannelsDefinitionOutputReference;
|
|
124
|
+
get deploymentId(): any;
|
|
125
|
+
get entityId(): any;
|
|
126
|
+
get entityName(): any;
|
|
127
|
+
get entityType(): any;
|
|
128
|
+
private _id?;
|
|
129
|
+
get id(): string;
|
|
130
|
+
set id(value: string);
|
|
131
|
+
get idInput(): string;
|
|
132
|
+
get isShared(): any;
|
|
133
|
+
get name(): any;
|
|
134
|
+
get type(): any;
|
|
135
|
+
get updatedAt(): any;
|
|
136
|
+
private _updatedBy;
|
|
137
|
+
get updatedBy(): DataAstroAlertNotificationChannelsUpdatedByOutputReference;
|
|
138
|
+
get workspaceId(): any;
|
|
139
|
+
}
|
|
140
|
+
export declare class DataAstroAlertNotificationChannelsList extends cdktf.ComplexList {
|
|
141
|
+
protected terraformResource: cdktf.IInterpolatingParent;
|
|
142
|
+
protected terraformAttribute: string;
|
|
143
|
+
protected wrapsSet: boolean;
|
|
144
|
+
internalValue?: DataAstroAlertNotificationChannels[] | cdktf.IResolvable;
|
|
145
|
+
/**
|
|
146
|
+
* @param terraformResource The parent resource
|
|
147
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
148
|
+
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
149
|
+
*/
|
|
150
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
|
|
151
|
+
/**
|
|
152
|
+
* @param index the index of the item to return
|
|
153
|
+
*/
|
|
154
|
+
get(index: number): DataAstroAlertNotificationChannelsOutputReference;
|
|
155
|
+
}
|
|
156
|
+
export interface DataAstroAlertRulesPatternMatches {
|
|
157
|
+
}
|
|
158
|
+
export declare function dataAstroAlertRulesPatternMatchesToTerraform(struct?: DataAstroAlertRulesPatternMatches): any;
|
|
159
|
+
export declare function dataAstroAlertRulesPatternMatchesToHclTerraform(struct?: DataAstroAlertRulesPatternMatches): any;
|
|
160
|
+
export declare class DataAstroAlertRulesPatternMatchesOutputReference extends cdktf.ComplexObject {
|
|
161
|
+
private isEmptyObject;
|
|
162
|
+
/**
|
|
163
|
+
* @param terraformResource The parent resource
|
|
164
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
165
|
+
* @param complexObjectIndex the index of this item in the list
|
|
166
|
+
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
167
|
+
*/
|
|
168
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
|
|
169
|
+
get internalValue(): DataAstroAlertRulesPatternMatches | undefined;
|
|
170
|
+
set internalValue(value: DataAstroAlertRulesPatternMatches | undefined);
|
|
171
|
+
get entityType(): any;
|
|
172
|
+
get operatorType(): any;
|
|
173
|
+
get values(): any;
|
|
174
|
+
}
|
|
175
|
+
export declare class DataAstroAlertRulesPatternMatchesList extends cdktf.ComplexList {
|
|
176
|
+
protected terraformResource: cdktf.IInterpolatingParent;
|
|
177
|
+
protected terraformAttribute: string;
|
|
178
|
+
protected wrapsSet: boolean;
|
|
179
|
+
/**
|
|
180
|
+
* @param terraformResource The parent resource
|
|
181
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
182
|
+
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
183
|
+
*/
|
|
184
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
|
|
185
|
+
/**
|
|
186
|
+
* @param index the index of the item to return
|
|
187
|
+
*/
|
|
188
|
+
get(index: number): DataAstroAlertRulesPatternMatchesOutputReference;
|
|
189
|
+
}
|
|
190
|
+
export interface DataAstroAlertRules {
|
|
191
|
+
}
|
|
192
|
+
export declare function dataAstroAlertRulesToTerraform(struct?: DataAstroAlertRules): any;
|
|
193
|
+
export declare function dataAstroAlertRulesToHclTerraform(struct?: DataAstroAlertRules): any;
|
|
194
|
+
export declare class DataAstroAlertRulesOutputReference extends cdktf.ComplexObject {
|
|
195
|
+
private isEmptyObject;
|
|
196
|
+
/**
|
|
197
|
+
* @param terraformResource The parent resource
|
|
198
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
199
|
+
*/
|
|
200
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
|
|
201
|
+
get internalValue(): DataAstroAlertRules | undefined;
|
|
202
|
+
set internalValue(value: DataAstroAlertRules | undefined);
|
|
203
|
+
private _patternMatches;
|
|
204
|
+
get patternMatches(): DataAstroAlertRulesPatternMatchesList;
|
|
205
|
+
private _properties;
|
|
206
|
+
get properties(): any;
|
|
207
|
+
}
|
|
208
|
+
export interface DataAstroAlertUpdatedBy {
|
|
209
|
+
}
|
|
210
|
+
export declare function dataAstroAlertUpdatedByToTerraform(struct?: DataAstroAlertUpdatedBy): any;
|
|
211
|
+
export declare function dataAstroAlertUpdatedByToHclTerraform(struct?: DataAstroAlertUpdatedBy): any;
|
|
212
|
+
export declare class DataAstroAlertUpdatedByOutputReference extends cdktf.ComplexObject {
|
|
213
|
+
private isEmptyObject;
|
|
214
|
+
/**
|
|
215
|
+
* @param terraformResource The parent resource
|
|
216
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
217
|
+
*/
|
|
218
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
|
|
219
|
+
get internalValue(): DataAstroAlertUpdatedBy | undefined;
|
|
220
|
+
set internalValue(value: DataAstroAlertUpdatedBy | undefined);
|
|
221
|
+
get apiTokenName(): any;
|
|
222
|
+
get avatarUrl(): any;
|
|
223
|
+
get fullName(): any;
|
|
224
|
+
get id(): any;
|
|
225
|
+
get subjectType(): any;
|
|
226
|
+
get username(): any;
|
|
227
|
+
}
|
|
228
|
+
/**
|
|
229
|
+
* Represents a {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/data-sources/alert astro_alert}
|
|
230
|
+
*/
|
|
231
|
+
export declare class DataAstroAlert extends cdktf.TerraformDataSource {
|
|
232
|
+
static readonly tfResourceType = "astro_alert";
|
|
233
|
+
/**
|
|
234
|
+
* Generates CDKTF code for importing a DataAstroAlert resource upon running "cdktf plan <stack-name>"
|
|
235
|
+
* @param scope The scope in which to define this construct
|
|
236
|
+
* @param importToId The construct id used in the generated config for the DataAstroAlert to import
|
|
237
|
+
* @param importFromId The id of the existing DataAstroAlert that should be imported. Refer to the {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/data-sources/alert#import import section} in the documentation of this resource for the id to use
|
|
238
|
+
* @param provider? Optional instance of the provider where the DataAstroAlert to import is found
|
|
239
|
+
*/
|
|
240
|
+
static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any;
|
|
241
|
+
/**
|
|
242
|
+
* Create a new {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/data-sources/alert astro_alert} Data Source
|
|
243
|
+
*
|
|
244
|
+
* @param scope The scope in which to define this construct
|
|
245
|
+
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
246
|
+
* @param options DataAstroAlertConfig
|
|
247
|
+
*/
|
|
248
|
+
constructor(scope: Construct, id: string, config: DataAstroAlertConfig);
|
|
249
|
+
get createdAt(): any;
|
|
250
|
+
private _createdBy;
|
|
251
|
+
get createdBy(): DataAstroAlertCreatedByOutputReference;
|
|
252
|
+
get deploymentId(): any;
|
|
253
|
+
get entityId(): any;
|
|
254
|
+
get entityName(): any;
|
|
255
|
+
get entityType(): any;
|
|
256
|
+
private _id?;
|
|
257
|
+
get id(): string;
|
|
258
|
+
set id(value: string);
|
|
259
|
+
get idInput(): string;
|
|
260
|
+
get name(): any;
|
|
261
|
+
private _notificationChannels;
|
|
262
|
+
get notificationChannels(): DataAstroAlertNotificationChannelsList;
|
|
263
|
+
private _rules;
|
|
264
|
+
get rules(): DataAstroAlertRulesOutputReference;
|
|
265
|
+
get severity(): any;
|
|
266
|
+
get type(): any;
|
|
267
|
+
get updatedAt(): any;
|
|
268
|
+
private _updatedBy;
|
|
269
|
+
get updatedBy(): DataAstroAlertUpdatedByOutputReference;
|
|
270
|
+
get workspaceId(): any;
|
|
271
|
+
protected synthesizeAttributes(): {
|
|
272
|
+
[name: string]: any;
|
|
273
|
+
};
|
|
274
|
+
protected synthesizeHclAttributes(): {
|
|
275
|
+
[name: string]: any;
|
|
276
|
+
};
|
|
277
|
+
}
|