@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,566 @@
|
|
|
1
|
+
import { Construct } from 'constructs';
|
|
2
|
+
import * as cdktf from 'cdktf';
|
|
3
|
+
export interface AlertConfig extends cdktf.TerraformMetaArguments {
|
|
4
|
+
/**
|
|
5
|
+
* The entity ID the alert is associated with
|
|
6
|
+
*
|
|
7
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/alert#entity_id Alert#entity_id}
|
|
8
|
+
*/
|
|
9
|
+
readonly entityId: string;
|
|
10
|
+
/**
|
|
11
|
+
* The ID of the Deployment to which the alert is scoped
|
|
12
|
+
*
|
|
13
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/alert#entity_type Alert#entity_type}
|
|
14
|
+
*/
|
|
15
|
+
readonly entityType: string;
|
|
16
|
+
/**
|
|
17
|
+
* Alert name
|
|
18
|
+
*
|
|
19
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/alert#name Alert#name}
|
|
20
|
+
*/
|
|
21
|
+
readonly name: string;
|
|
22
|
+
/**
|
|
23
|
+
* Set of notification channel identifiers to notify when the alert is triggered
|
|
24
|
+
*
|
|
25
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/alert#notification_channel_ids Alert#notification_channel_ids}
|
|
26
|
+
*/
|
|
27
|
+
readonly notificationChannelIds: string[];
|
|
28
|
+
/**
|
|
29
|
+
* Alert rules defining the conditions for triggering the alert
|
|
30
|
+
*
|
|
31
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/alert#rules Alert#rules}
|
|
32
|
+
*/
|
|
33
|
+
readonly rules: AlertRules;
|
|
34
|
+
/**
|
|
35
|
+
* The alert's severity
|
|
36
|
+
*
|
|
37
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/alert#severity Alert#severity}
|
|
38
|
+
*/
|
|
39
|
+
readonly severity: string;
|
|
40
|
+
/**
|
|
41
|
+
* The alert's type
|
|
42
|
+
*
|
|
43
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/alert#type Alert#type}
|
|
44
|
+
*/
|
|
45
|
+
readonly type: string;
|
|
46
|
+
}
|
|
47
|
+
export interface AlertCreatedBy {
|
|
48
|
+
}
|
|
49
|
+
export declare function alertCreatedByToTerraform(struct?: AlertCreatedBy): any;
|
|
50
|
+
export declare function alertCreatedByToHclTerraform(struct?: AlertCreatedBy): any;
|
|
51
|
+
export declare class AlertCreatedByOutputReference 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(): AlertCreatedBy | undefined;
|
|
59
|
+
set internalValue(value: AlertCreatedBy | undefined);
|
|
60
|
+
get apiTokenName(): any;
|
|
61
|
+
get avatarUrl(): any;
|
|
62
|
+
get fullName(): any;
|
|
63
|
+
get id(): any;
|
|
64
|
+
get subjectType(): any;
|
|
65
|
+
get username(): any;
|
|
66
|
+
}
|
|
67
|
+
export interface AlertNotificationChannelsCreatedBy {
|
|
68
|
+
}
|
|
69
|
+
export declare function alertNotificationChannelsCreatedByToTerraform(struct?: AlertNotificationChannelsCreatedBy): any;
|
|
70
|
+
export declare function alertNotificationChannelsCreatedByToHclTerraform(struct?: AlertNotificationChannelsCreatedBy): any;
|
|
71
|
+
export declare class AlertNotificationChannelsCreatedByOutputReference extends cdktf.ComplexObject {
|
|
72
|
+
private isEmptyObject;
|
|
73
|
+
/**
|
|
74
|
+
* @param terraformResource The parent resource
|
|
75
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
76
|
+
*/
|
|
77
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
|
|
78
|
+
get internalValue(): AlertNotificationChannelsCreatedBy | undefined;
|
|
79
|
+
set internalValue(value: AlertNotificationChannelsCreatedBy | undefined);
|
|
80
|
+
get apiTokenName(): any;
|
|
81
|
+
get avatarUrl(): any;
|
|
82
|
+
get fullName(): any;
|
|
83
|
+
get id(): any;
|
|
84
|
+
get subjectType(): any;
|
|
85
|
+
get username(): any;
|
|
86
|
+
}
|
|
87
|
+
export interface AlertNotificationChannelsDefinition {
|
|
88
|
+
/**
|
|
89
|
+
* The API key for the notification channel
|
|
90
|
+
*
|
|
91
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/alert#api_key Alert#api_key}
|
|
92
|
+
*/
|
|
93
|
+
readonly apiKey?: string;
|
|
94
|
+
/**
|
|
95
|
+
* The DAG ID for the notification channel
|
|
96
|
+
*
|
|
97
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/alert#dag_id Alert#dag_id}
|
|
98
|
+
*/
|
|
99
|
+
readonly dagId?: string;
|
|
100
|
+
/**
|
|
101
|
+
* The deployment API token for the notification channel
|
|
102
|
+
*
|
|
103
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/alert#deployment_api_token Alert#deployment_api_token}
|
|
104
|
+
*/
|
|
105
|
+
readonly deploymentApiToken?: string;
|
|
106
|
+
/**
|
|
107
|
+
* The deployment ID for the notification channel
|
|
108
|
+
*
|
|
109
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/alert#deployment_id Alert#deployment_id}
|
|
110
|
+
*/
|
|
111
|
+
readonly deploymentId?: string;
|
|
112
|
+
/**
|
|
113
|
+
* The integration key for the notification channel
|
|
114
|
+
*
|
|
115
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/alert#integration_key Alert#integration_key}
|
|
116
|
+
*/
|
|
117
|
+
readonly integrationKey?: string;
|
|
118
|
+
/**
|
|
119
|
+
* The recipients for the notification channel
|
|
120
|
+
*
|
|
121
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/alert#recipients Alert#recipients}
|
|
122
|
+
*/
|
|
123
|
+
readonly recipients?: string[];
|
|
124
|
+
/**
|
|
125
|
+
* The webhook URL for the notification channel
|
|
126
|
+
*
|
|
127
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/alert#webhook_url Alert#webhook_url}
|
|
128
|
+
*/
|
|
129
|
+
readonly webhookUrl?: string;
|
|
130
|
+
}
|
|
131
|
+
export declare function alertNotificationChannelsDefinitionToTerraform(struct?: AlertNotificationChannelsDefinition): any;
|
|
132
|
+
export declare function alertNotificationChannelsDefinitionToHclTerraform(struct?: AlertNotificationChannelsDefinition): any;
|
|
133
|
+
export declare class AlertNotificationChannelsDefinitionOutputReference extends cdktf.ComplexObject {
|
|
134
|
+
private isEmptyObject;
|
|
135
|
+
/**
|
|
136
|
+
* @param terraformResource The parent resource
|
|
137
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
138
|
+
*/
|
|
139
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
|
|
140
|
+
get internalValue(): AlertNotificationChannelsDefinition | undefined;
|
|
141
|
+
set internalValue(value: AlertNotificationChannelsDefinition | undefined);
|
|
142
|
+
private _apiKey?;
|
|
143
|
+
get apiKey(): string;
|
|
144
|
+
set apiKey(value: string);
|
|
145
|
+
resetApiKey(): void;
|
|
146
|
+
get apiKeyInput(): string;
|
|
147
|
+
private _dagId?;
|
|
148
|
+
get dagId(): string;
|
|
149
|
+
set dagId(value: string);
|
|
150
|
+
resetDagId(): void;
|
|
151
|
+
get dagIdInput(): string;
|
|
152
|
+
private _deploymentApiToken?;
|
|
153
|
+
get deploymentApiToken(): string;
|
|
154
|
+
set deploymentApiToken(value: string);
|
|
155
|
+
resetDeploymentApiToken(): void;
|
|
156
|
+
get deploymentApiTokenInput(): string;
|
|
157
|
+
private _deploymentId?;
|
|
158
|
+
get deploymentId(): string;
|
|
159
|
+
set deploymentId(value: string);
|
|
160
|
+
resetDeploymentId(): void;
|
|
161
|
+
get deploymentIdInput(): string;
|
|
162
|
+
private _integrationKey?;
|
|
163
|
+
get integrationKey(): string;
|
|
164
|
+
set integrationKey(value: string);
|
|
165
|
+
resetIntegrationKey(): void;
|
|
166
|
+
get integrationKeyInput(): string;
|
|
167
|
+
private _recipients?;
|
|
168
|
+
get recipients(): string[];
|
|
169
|
+
set recipients(value: string[]);
|
|
170
|
+
resetRecipients(): void;
|
|
171
|
+
get recipientsInput(): string[];
|
|
172
|
+
private _webhookUrl?;
|
|
173
|
+
get webhookUrl(): string;
|
|
174
|
+
set webhookUrl(value: string);
|
|
175
|
+
resetWebhookUrl(): void;
|
|
176
|
+
get webhookUrlInput(): string;
|
|
177
|
+
}
|
|
178
|
+
export interface AlertNotificationChannelsUpdatedBy {
|
|
179
|
+
}
|
|
180
|
+
export declare function alertNotificationChannelsUpdatedByToTerraform(struct?: AlertNotificationChannelsUpdatedBy): any;
|
|
181
|
+
export declare function alertNotificationChannelsUpdatedByToHclTerraform(struct?: AlertNotificationChannelsUpdatedBy): any;
|
|
182
|
+
export declare class AlertNotificationChannelsUpdatedByOutputReference extends cdktf.ComplexObject {
|
|
183
|
+
private isEmptyObject;
|
|
184
|
+
/**
|
|
185
|
+
* @param terraformResource The parent resource
|
|
186
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
187
|
+
*/
|
|
188
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
|
|
189
|
+
get internalValue(): AlertNotificationChannelsUpdatedBy | undefined;
|
|
190
|
+
set internalValue(value: AlertNotificationChannelsUpdatedBy | undefined);
|
|
191
|
+
get apiTokenName(): any;
|
|
192
|
+
get avatarUrl(): any;
|
|
193
|
+
get fullName(): any;
|
|
194
|
+
get id(): any;
|
|
195
|
+
get subjectType(): any;
|
|
196
|
+
get username(): any;
|
|
197
|
+
}
|
|
198
|
+
export interface AlertNotificationChannels {
|
|
199
|
+
/**
|
|
200
|
+
* The notification channel's definition
|
|
201
|
+
*
|
|
202
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/alert#definition Alert#definition}
|
|
203
|
+
*/
|
|
204
|
+
readonly definition: AlertNotificationChannelsDefinition;
|
|
205
|
+
/**
|
|
206
|
+
* The entity ID the notification channel is scoped to
|
|
207
|
+
*
|
|
208
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/alert#entity_id Alert#entity_id}
|
|
209
|
+
*/
|
|
210
|
+
readonly entityId: string;
|
|
211
|
+
/**
|
|
212
|
+
* The type of entity the notification channel is scoped to (e.g., 'DEPLOYMENT')
|
|
213
|
+
*
|
|
214
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/alert#entity_type Alert#entity_type}
|
|
215
|
+
*/
|
|
216
|
+
readonly entityType: string;
|
|
217
|
+
/**
|
|
218
|
+
* When entity type is scoped to ORGANIZATION or WORKSPACE, this determines if child entities can access this notification channel.
|
|
219
|
+
*
|
|
220
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/alert#is_shared Alert#is_shared}
|
|
221
|
+
*/
|
|
222
|
+
readonly isShared?: boolean | cdktf.IResolvable;
|
|
223
|
+
/**
|
|
224
|
+
* The notification channel's name
|
|
225
|
+
*
|
|
226
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/alert#name Alert#name}
|
|
227
|
+
*/
|
|
228
|
+
readonly name: string;
|
|
229
|
+
/**
|
|
230
|
+
* The notification channel's type
|
|
231
|
+
*
|
|
232
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/alert#type Alert#type}
|
|
233
|
+
*/
|
|
234
|
+
readonly type: string;
|
|
235
|
+
}
|
|
236
|
+
export declare function alertNotificationChannelsToTerraform(struct?: AlertNotificationChannels): any;
|
|
237
|
+
export declare function alertNotificationChannelsToHclTerraform(struct?: AlertNotificationChannels): any;
|
|
238
|
+
export declare class AlertNotificationChannelsOutputReference extends cdktf.ComplexObject {
|
|
239
|
+
private isEmptyObject;
|
|
240
|
+
/**
|
|
241
|
+
* @param terraformResource The parent resource
|
|
242
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
243
|
+
* @param complexObjectIndex the index of this item in the list
|
|
244
|
+
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
245
|
+
*/
|
|
246
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
|
|
247
|
+
get internalValue(): AlertNotificationChannels | undefined;
|
|
248
|
+
set internalValue(value: AlertNotificationChannels | undefined);
|
|
249
|
+
get createdAt(): any;
|
|
250
|
+
private _createdBy;
|
|
251
|
+
get createdBy(): AlertNotificationChannelsCreatedByOutputReference;
|
|
252
|
+
private _definition;
|
|
253
|
+
get definition(): AlertNotificationChannelsDefinitionOutputReference;
|
|
254
|
+
putDefinition(value: AlertNotificationChannelsDefinition): void;
|
|
255
|
+
get definitionInput(): AlertNotificationChannelsDefinition;
|
|
256
|
+
get deploymentId(): any;
|
|
257
|
+
private _entityId?;
|
|
258
|
+
get entityId(): string;
|
|
259
|
+
set entityId(value: string);
|
|
260
|
+
get entityIdInput(): string;
|
|
261
|
+
get entityName(): any;
|
|
262
|
+
private _entityType?;
|
|
263
|
+
get entityType(): string;
|
|
264
|
+
set entityType(value: string);
|
|
265
|
+
get entityTypeInput(): string;
|
|
266
|
+
get id(): any;
|
|
267
|
+
private _isShared?;
|
|
268
|
+
get isShared(): boolean | cdktf.IResolvable;
|
|
269
|
+
set isShared(value: boolean | cdktf.IResolvable);
|
|
270
|
+
resetIsShared(): void;
|
|
271
|
+
get isSharedInput(): any;
|
|
272
|
+
private _name?;
|
|
273
|
+
get name(): string;
|
|
274
|
+
set name(value: string);
|
|
275
|
+
get nameInput(): string;
|
|
276
|
+
private _type?;
|
|
277
|
+
get type(): string;
|
|
278
|
+
set type(value: string);
|
|
279
|
+
get typeInput(): string;
|
|
280
|
+
get updatedAt(): any;
|
|
281
|
+
private _updatedBy;
|
|
282
|
+
get updatedBy(): AlertNotificationChannelsUpdatedByOutputReference;
|
|
283
|
+
get workspaceId(): any;
|
|
284
|
+
}
|
|
285
|
+
export declare class AlertNotificationChannelsList extends cdktf.ComplexList {
|
|
286
|
+
protected terraformResource: cdktf.IInterpolatingParent;
|
|
287
|
+
protected terraformAttribute: string;
|
|
288
|
+
protected wrapsSet: boolean;
|
|
289
|
+
internalValue?: AlertNotificationChannels[] | cdktf.IResolvable;
|
|
290
|
+
/**
|
|
291
|
+
* @param terraformResource The parent resource
|
|
292
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
293
|
+
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
294
|
+
*/
|
|
295
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
|
|
296
|
+
/**
|
|
297
|
+
* @param index the index of the item to return
|
|
298
|
+
*/
|
|
299
|
+
get(index: number): AlertNotificationChannelsOutputReference;
|
|
300
|
+
}
|
|
301
|
+
export interface AlertRulesPatternMatches {
|
|
302
|
+
/**
|
|
303
|
+
* The type of entity to match against
|
|
304
|
+
*
|
|
305
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/alert#entity_type Alert#entity_type}
|
|
306
|
+
*/
|
|
307
|
+
readonly entityType: string;
|
|
308
|
+
/**
|
|
309
|
+
* The type of operator to use for the pattern match
|
|
310
|
+
*
|
|
311
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/alert#operator_type Alert#operator_type}
|
|
312
|
+
*/
|
|
313
|
+
readonly operatorType: string;
|
|
314
|
+
/**
|
|
315
|
+
* The values to match against
|
|
316
|
+
*
|
|
317
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/alert#values Alert#values}
|
|
318
|
+
*/
|
|
319
|
+
readonly values: string[];
|
|
320
|
+
}
|
|
321
|
+
export declare function alertRulesPatternMatchesToTerraform(struct?: AlertRulesPatternMatches | cdktf.IResolvable): any;
|
|
322
|
+
export declare function alertRulesPatternMatchesToHclTerraform(struct?: AlertRulesPatternMatches | cdktf.IResolvable): any;
|
|
323
|
+
export declare class AlertRulesPatternMatchesOutputReference extends cdktf.ComplexObject {
|
|
324
|
+
private isEmptyObject;
|
|
325
|
+
private resolvableValue?;
|
|
326
|
+
/**
|
|
327
|
+
* @param terraformResource The parent resource
|
|
328
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
329
|
+
* @param complexObjectIndex the index of this item in the list
|
|
330
|
+
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
331
|
+
*/
|
|
332
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
|
|
333
|
+
get internalValue(): AlertRulesPatternMatches | cdktf.IResolvable | undefined;
|
|
334
|
+
set internalValue(value: AlertRulesPatternMatches | cdktf.IResolvable | undefined);
|
|
335
|
+
private _entityType?;
|
|
336
|
+
get entityType(): string;
|
|
337
|
+
set entityType(value: string);
|
|
338
|
+
get entityTypeInput(): string;
|
|
339
|
+
private _operatorType?;
|
|
340
|
+
get operatorType(): string;
|
|
341
|
+
set operatorType(value: string);
|
|
342
|
+
get operatorTypeInput(): string;
|
|
343
|
+
private _values?;
|
|
344
|
+
get values(): string[];
|
|
345
|
+
set values(value: string[]);
|
|
346
|
+
get valuesInput(): string[];
|
|
347
|
+
}
|
|
348
|
+
export declare class AlertRulesPatternMatchesList extends cdktf.ComplexList {
|
|
349
|
+
protected terraformResource: cdktf.IInterpolatingParent;
|
|
350
|
+
protected terraformAttribute: string;
|
|
351
|
+
protected wrapsSet: boolean;
|
|
352
|
+
internalValue?: AlertRulesPatternMatches[] | cdktf.IResolvable;
|
|
353
|
+
/**
|
|
354
|
+
* @param terraformResource The parent resource
|
|
355
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
356
|
+
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
357
|
+
*/
|
|
358
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
|
|
359
|
+
/**
|
|
360
|
+
* @param index the index of the item to return
|
|
361
|
+
*/
|
|
362
|
+
get(index: number): AlertRulesPatternMatchesOutputReference;
|
|
363
|
+
}
|
|
364
|
+
export interface AlertRulesProperties {
|
|
365
|
+
/**
|
|
366
|
+
* The deadline for the DAG in HH:MM 24-hour UTC format
|
|
367
|
+
*
|
|
368
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/alert#dag_deadline Alert#dag_deadline}
|
|
369
|
+
*/
|
|
370
|
+
readonly dagDeadline?: string;
|
|
371
|
+
/**
|
|
372
|
+
* The duration of the DAG in seconds (minimum 60)
|
|
373
|
+
*
|
|
374
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/alert#dag_duration_seconds Alert#dag_duration_seconds}
|
|
375
|
+
*/
|
|
376
|
+
readonly dagDurationSeconds?: number;
|
|
377
|
+
/**
|
|
378
|
+
* The days of the week for the timeliness rule
|
|
379
|
+
*
|
|
380
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/alert#days_of_week Alert#days_of_week}
|
|
381
|
+
*/
|
|
382
|
+
readonly daysOfWeek?: string[];
|
|
383
|
+
/**
|
|
384
|
+
* The ID of the deployment for the alert rule
|
|
385
|
+
*
|
|
386
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/alert#deployment_id Alert#deployment_id}
|
|
387
|
+
*/
|
|
388
|
+
readonly deploymentId: string;
|
|
389
|
+
/**
|
|
390
|
+
* The look-back period in seconds (minimum 60)
|
|
391
|
+
*
|
|
392
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/alert#look_back_period_seconds Alert#look_back_period_seconds}
|
|
393
|
+
*/
|
|
394
|
+
readonly lookBackPeriodSeconds?: number;
|
|
395
|
+
/**
|
|
396
|
+
* The duration of the Task in seconds (minimum 60)
|
|
397
|
+
*
|
|
398
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/alert#task_duration_seconds Alert#task_duration_seconds}
|
|
399
|
+
*/
|
|
400
|
+
readonly taskDurationSeconds?: number;
|
|
401
|
+
}
|
|
402
|
+
export declare function alertRulesPropertiesToTerraform(struct?: AlertRulesProperties | cdktf.IResolvable): any;
|
|
403
|
+
export declare function alertRulesPropertiesToHclTerraform(struct?: AlertRulesProperties | cdktf.IResolvable): any;
|
|
404
|
+
export declare class AlertRulesPropertiesOutputReference extends cdktf.ComplexObject {
|
|
405
|
+
private isEmptyObject;
|
|
406
|
+
private resolvableValue?;
|
|
407
|
+
/**
|
|
408
|
+
* @param terraformResource The parent resource
|
|
409
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
410
|
+
*/
|
|
411
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
|
|
412
|
+
get internalValue(): AlertRulesProperties | cdktf.IResolvable | undefined;
|
|
413
|
+
set internalValue(value: AlertRulesProperties | cdktf.IResolvable | undefined);
|
|
414
|
+
private _dagDeadline?;
|
|
415
|
+
get dagDeadline(): string;
|
|
416
|
+
set dagDeadline(value: string);
|
|
417
|
+
resetDagDeadline(): void;
|
|
418
|
+
get dagDeadlineInput(): string;
|
|
419
|
+
private _dagDurationSeconds?;
|
|
420
|
+
get dagDurationSeconds(): number;
|
|
421
|
+
set dagDurationSeconds(value: number);
|
|
422
|
+
resetDagDurationSeconds(): void;
|
|
423
|
+
get dagDurationSecondsInput(): number;
|
|
424
|
+
private _daysOfWeek?;
|
|
425
|
+
get daysOfWeek(): string[];
|
|
426
|
+
set daysOfWeek(value: string[]);
|
|
427
|
+
resetDaysOfWeek(): void;
|
|
428
|
+
get daysOfWeekInput(): string[];
|
|
429
|
+
private _deploymentId?;
|
|
430
|
+
get deploymentId(): string;
|
|
431
|
+
set deploymentId(value: string);
|
|
432
|
+
get deploymentIdInput(): string;
|
|
433
|
+
private _lookBackPeriodSeconds?;
|
|
434
|
+
get lookBackPeriodSeconds(): number;
|
|
435
|
+
set lookBackPeriodSeconds(value: number);
|
|
436
|
+
resetLookBackPeriodSeconds(): void;
|
|
437
|
+
get lookBackPeriodSecondsInput(): number;
|
|
438
|
+
private _taskDurationSeconds?;
|
|
439
|
+
get taskDurationSeconds(): number;
|
|
440
|
+
set taskDurationSeconds(value: number);
|
|
441
|
+
resetTaskDurationSeconds(): void;
|
|
442
|
+
get taskDurationSecondsInput(): number;
|
|
443
|
+
}
|
|
444
|
+
export interface AlertRules {
|
|
445
|
+
/**
|
|
446
|
+
* The alert's pattern matches to match against
|
|
447
|
+
*
|
|
448
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/alert#pattern_matches Alert#pattern_matches}
|
|
449
|
+
*/
|
|
450
|
+
readonly patternMatches: AlertRulesPatternMatches[] | cdktf.IResolvable;
|
|
451
|
+
/**
|
|
452
|
+
* The alert's properties used to define the alert
|
|
453
|
+
*
|
|
454
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/alert#properties Alert#properties}
|
|
455
|
+
*/
|
|
456
|
+
readonly properties: AlertRulesProperties;
|
|
457
|
+
}
|
|
458
|
+
export declare function alertRulesToTerraform(struct?: AlertRules | cdktf.IResolvable): any;
|
|
459
|
+
export declare function alertRulesToHclTerraform(struct?: AlertRules | cdktf.IResolvable): any;
|
|
460
|
+
export declare class AlertRulesOutputReference extends cdktf.ComplexObject {
|
|
461
|
+
private isEmptyObject;
|
|
462
|
+
private resolvableValue?;
|
|
463
|
+
/**
|
|
464
|
+
* @param terraformResource The parent resource
|
|
465
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
466
|
+
*/
|
|
467
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
|
|
468
|
+
get internalValue(): AlertRules | cdktf.IResolvable | undefined;
|
|
469
|
+
set internalValue(value: AlertRules | cdktf.IResolvable | undefined);
|
|
470
|
+
private _patternMatches;
|
|
471
|
+
get patternMatches(): AlertRulesPatternMatchesList;
|
|
472
|
+
putPatternMatches(value: AlertRulesPatternMatches[] | cdktf.IResolvable): void;
|
|
473
|
+
get patternMatchesInput(): any;
|
|
474
|
+
private _properties;
|
|
475
|
+
get properties(): AlertRulesPropertiesOutputReference;
|
|
476
|
+
putProperties(value: AlertRulesProperties): void;
|
|
477
|
+
get propertiesInput(): any;
|
|
478
|
+
}
|
|
479
|
+
export interface AlertUpdatedBy {
|
|
480
|
+
}
|
|
481
|
+
export declare function alertUpdatedByToTerraform(struct?: AlertUpdatedBy): any;
|
|
482
|
+
export declare function alertUpdatedByToHclTerraform(struct?: AlertUpdatedBy): any;
|
|
483
|
+
export declare class AlertUpdatedByOutputReference extends cdktf.ComplexObject {
|
|
484
|
+
private isEmptyObject;
|
|
485
|
+
/**
|
|
486
|
+
* @param terraformResource The parent resource
|
|
487
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
488
|
+
*/
|
|
489
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
|
|
490
|
+
get internalValue(): AlertUpdatedBy | undefined;
|
|
491
|
+
set internalValue(value: AlertUpdatedBy | undefined);
|
|
492
|
+
get apiTokenName(): any;
|
|
493
|
+
get avatarUrl(): any;
|
|
494
|
+
get fullName(): any;
|
|
495
|
+
get id(): any;
|
|
496
|
+
get subjectType(): any;
|
|
497
|
+
get username(): any;
|
|
498
|
+
}
|
|
499
|
+
/**
|
|
500
|
+
* Represents a {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/alert astro_alert}
|
|
501
|
+
*/
|
|
502
|
+
export declare class Alert extends cdktf.TerraformResource {
|
|
503
|
+
static readonly tfResourceType = "astro_alert";
|
|
504
|
+
/**
|
|
505
|
+
* Generates CDKTF code for importing a Alert resource upon running "cdktf plan <stack-name>"
|
|
506
|
+
* @param scope The scope in which to define this construct
|
|
507
|
+
* @param importToId The construct id used in the generated config for the Alert to import
|
|
508
|
+
* @param importFromId The id of the existing Alert that should be imported. Refer to the {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/alert#import import section} in the documentation of this resource for the id to use
|
|
509
|
+
* @param provider? Optional instance of the provider where the Alert to import is found
|
|
510
|
+
*/
|
|
511
|
+
static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any;
|
|
512
|
+
/**
|
|
513
|
+
* Create a new {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/alert astro_alert} Resource
|
|
514
|
+
*
|
|
515
|
+
* @param scope The scope in which to define this construct
|
|
516
|
+
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
517
|
+
* @param options AlertConfig
|
|
518
|
+
*/
|
|
519
|
+
constructor(scope: Construct, id: string, config: AlertConfig);
|
|
520
|
+
get createdAt(): any;
|
|
521
|
+
private _createdBy;
|
|
522
|
+
get createdBy(): AlertCreatedByOutputReference;
|
|
523
|
+
get deploymentId(): any;
|
|
524
|
+
private _entityId?;
|
|
525
|
+
get entityId(): string;
|
|
526
|
+
set entityId(value: string);
|
|
527
|
+
get entityIdInput(): string;
|
|
528
|
+
get entityName(): any;
|
|
529
|
+
private _entityType?;
|
|
530
|
+
get entityType(): string;
|
|
531
|
+
set entityType(value: string);
|
|
532
|
+
get entityTypeInput(): string;
|
|
533
|
+
get id(): any;
|
|
534
|
+
private _name?;
|
|
535
|
+
get name(): string;
|
|
536
|
+
set name(value: string);
|
|
537
|
+
get nameInput(): string;
|
|
538
|
+
private _notificationChannelIds?;
|
|
539
|
+
get notificationChannelIds(): string[];
|
|
540
|
+
set notificationChannelIds(value: string[]);
|
|
541
|
+
get notificationChannelIdsInput(): string[];
|
|
542
|
+
private _notificationChannels;
|
|
543
|
+
get notificationChannels(): AlertNotificationChannelsList;
|
|
544
|
+
private _rules;
|
|
545
|
+
get rules(): AlertRulesOutputReference;
|
|
546
|
+
putRules(value: AlertRules): void;
|
|
547
|
+
get rulesInput(): any;
|
|
548
|
+
private _severity?;
|
|
549
|
+
get severity(): string;
|
|
550
|
+
set severity(value: string);
|
|
551
|
+
get severityInput(): string;
|
|
552
|
+
private _type?;
|
|
553
|
+
get type(): string;
|
|
554
|
+
set type(value: string);
|
|
555
|
+
get typeInput(): string;
|
|
556
|
+
get updatedAt(): any;
|
|
557
|
+
private _updatedBy;
|
|
558
|
+
get updatedBy(): AlertUpdatedByOutputReference;
|
|
559
|
+
get workspaceId(): any;
|
|
560
|
+
protected synthesizeAttributes(): {
|
|
561
|
+
[name: string]: any;
|
|
562
|
+
};
|
|
563
|
+
protected synthesizeHclAttributes(): {
|
|
564
|
+
[name: string]: any;
|
|
565
|
+
};
|
|
566
|
+
}
|