@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,247 @@
1
+ import { Construct } from 'constructs';
2
+ import * as cdktf from 'cdktf';
3
+ export interface DataAstroTeamsConfig extends cdktf.TerraformMetaArguments {
4
+ /**
5
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/data-sources/teams#names DataAstroTeams#names}
6
+ */
7
+ readonly names?: string[];
8
+ }
9
+ export interface DataAstroTeamsTeamsCreatedBy {
10
+ }
11
+ export declare function dataAstroTeamsTeamsCreatedByToTerraform(struct?: DataAstroTeamsTeamsCreatedBy): any;
12
+ export declare function dataAstroTeamsTeamsCreatedByToHclTerraform(struct?: DataAstroTeamsTeamsCreatedBy): any;
13
+ export declare class DataAstroTeamsTeamsCreatedByOutputReference extends cdktf.ComplexObject {
14
+ private isEmptyObject;
15
+ /**
16
+ * @param terraformResource The parent resource
17
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
18
+ */
19
+ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
20
+ get internalValue(): DataAstroTeamsTeamsCreatedBy | undefined;
21
+ set internalValue(value: DataAstroTeamsTeamsCreatedBy | undefined);
22
+ get apiTokenName(): any;
23
+ get avatarUrl(): any;
24
+ get fullName(): any;
25
+ get id(): any;
26
+ get subjectType(): any;
27
+ get username(): any;
28
+ }
29
+ export interface DataAstroTeamsTeamsDeploymentRoles {
30
+ }
31
+ export declare function dataAstroTeamsTeamsDeploymentRolesToTerraform(struct?: DataAstroTeamsTeamsDeploymentRoles): any;
32
+ export declare function dataAstroTeamsTeamsDeploymentRolesToHclTerraform(struct?: DataAstroTeamsTeamsDeploymentRoles): any;
33
+ export declare class DataAstroTeamsTeamsDeploymentRolesOutputReference extends cdktf.ComplexObject {
34
+ private isEmptyObject;
35
+ /**
36
+ * @param terraformResource The parent resource
37
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
38
+ * @param complexObjectIndex the index of this item in the list
39
+ * @param complexObjectIsFromSet 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, complexObjectIndex: number, complexObjectIsFromSet: boolean);
42
+ get internalValue(): DataAstroTeamsTeamsDeploymentRoles | undefined;
43
+ set internalValue(value: DataAstroTeamsTeamsDeploymentRoles | undefined);
44
+ get deploymentId(): any;
45
+ get role(): any;
46
+ }
47
+ export declare class DataAstroTeamsTeamsDeploymentRolesList extends cdktf.ComplexList {
48
+ protected terraformResource: cdktf.IInterpolatingParent;
49
+ protected terraformAttribute: string;
50
+ protected wrapsSet: boolean;
51
+ /**
52
+ * @param terraformResource The parent resource
53
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
54
+ * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
55
+ */
56
+ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
57
+ /**
58
+ * @param index the index of the item to return
59
+ */
60
+ get(index: number): DataAstroTeamsTeamsDeploymentRolesOutputReference;
61
+ }
62
+ export interface DataAstroTeamsTeamsTeamMembers {
63
+ }
64
+ export declare function dataAstroTeamsTeamsTeamMembersToTerraform(struct?: DataAstroTeamsTeamsTeamMembers): any;
65
+ export declare function dataAstroTeamsTeamsTeamMembersToHclTerraform(struct?: DataAstroTeamsTeamsTeamMembers): any;
66
+ export declare class DataAstroTeamsTeamsTeamMembersOutputReference extends cdktf.ComplexObject {
67
+ private isEmptyObject;
68
+ /**
69
+ * @param terraformResource The parent resource
70
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
71
+ * @param complexObjectIndex the index of this item in the list
72
+ * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
73
+ */
74
+ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
75
+ get internalValue(): DataAstroTeamsTeamsTeamMembers | undefined;
76
+ set internalValue(value: DataAstroTeamsTeamsTeamMembers | undefined);
77
+ get avatarUrl(): any;
78
+ get createdAt(): any;
79
+ get fullName(): any;
80
+ get userId(): any;
81
+ get username(): any;
82
+ }
83
+ export declare class DataAstroTeamsTeamsTeamMembersList extends cdktf.ComplexList {
84
+ protected terraformResource: cdktf.IInterpolatingParent;
85
+ protected terraformAttribute: string;
86
+ protected wrapsSet: boolean;
87
+ /**
88
+ * @param terraformResource The parent resource
89
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
90
+ * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
91
+ */
92
+ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
93
+ /**
94
+ * @param index the index of the item to return
95
+ */
96
+ get(index: number): DataAstroTeamsTeamsTeamMembersOutputReference;
97
+ }
98
+ export interface DataAstroTeamsTeamsUpdatedBy {
99
+ }
100
+ export declare function dataAstroTeamsTeamsUpdatedByToTerraform(struct?: DataAstroTeamsTeamsUpdatedBy): any;
101
+ export declare function dataAstroTeamsTeamsUpdatedByToHclTerraform(struct?: DataAstroTeamsTeamsUpdatedBy): any;
102
+ export declare class DataAstroTeamsTeamsUpdatedByOutputReference 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
+ */
108
+ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
109
+ get internalValue(): DataAstroTeamsTeamsUpdatedBy | undefined;
110
+ set internalValue(value: DataAstroTeamsTeamsUpdatedBy | undefined);
111
+ get apiTokenName(): any;
112
+ get avatarUrl(): any;
113
+ get fullName(): any;
114
+ get id(): any;
115
+ get subjectType(): any;
116
+ get username(): any;
117
+ }
118
+ export interface DataAstroTeamsTeamsWorkspaceRoles {
119
+ }
120
+ export declare function dataAstroTeamsTeamsWorkspaceRolesToTerraform(struct?: DataAstroTeamsTeamsWorkspaceRoles): any;
121
+ export declare function dataAstroTeamsTeamsWorkspaceRolesToHclTerraform(struct?: DataAstroTeamsTeamsWorkspaceRoles): any;
122
+ export declare class DataAstroTeamsTeamsWorkspaceRolesOutputReference extends cdktf.ComplexObject {
123
+ private isEmptyObject;
124
+ /**
125
+ * @param terraformResource The parent resource
126
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
127
+ * @param complexObjectIndex the index of this item in the list
128
+ * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
129
+ */
130
+ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
131
+ get internalValue(): DataAstroTeamsTeamsWorkspaceRoles | undefined;
132
+ set internalValue(value: DataAstroTeamsTeamsWorkspaceRoles | undefined);
133
+ get role(): any;
134
+ get workspaceId(): any;
135
+ }
136
+ export declare class DataAstroTeamsTeamsWorkspaceRolesList extends cdktf.ComplexList {
137
+ protected terraformResource: cdktf.IInterpolatingParent;
138
+ protected terraformAttribute: string;
139
+ protected wrapsSet: boolean;
140
+ /**
141
+ * @param terraformResource The parent resource
142
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
143
+ * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
144
+ */
145
+ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
146
+ /**
147
+ * @param index the index of the item to return
148
+ */
149
+ get(index: number): DataAstroTeamsTeamsWorkspaceRolesOutputReference;
150
+ }
151
+ export interface DataAstroTeamsTeams {
152
+ /**
153
+ * Team ID
154
+ *
155
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/data-sources/teams#id DataAstroTeams#id}
156
+ *
157
+ * Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
158
+ * 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.
159
+ */
160
+ readonly id: string;
161
+ }
162
+ export declare function dataAstroTeamsTeamsToTerraform(struct?: DataAstroTeamsTeams): any;
163
+ export declare function dataAstroTeamsTeamsToHclTerraform(struct?: DataAstroTeamsTeams): any;
164
+ export declare class DataAstroTeamsTeamsOutputReference extends cdktf.ComplexObject {
165
+ private isEmptyObject;
166
+ /**
167
+ * @param terraformResource The parent resource
168
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
169
+ * @param complexObjectIndex the index of this item in the list
170
+ * @param complexObjectIsFromSet 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, complexObjectIndex: number, complexObjectIsFromSet: boolean);
173
+ get internalValue(): DataAstroTeamsTeams | undefined;
174
+ set internalValue(value: DataAstroTeamsTeams | undefined);
175
+ get createdAt(): any;
176
+ private _createdBy;
177
+ get createdBy(): DataAstroTeamsTeamsCreatedByOutputReference;
178
+ private _deploymentRoles;
179
+ get deploymentRoles(): DataAstroTeamsTeamsDeploymentRolesList;
180
+ get description(): any;
181
+ private _id?;
182
+ get id(): string;
183
+ set id(value: string);
184
+ get idInput(): string;
185
+ get isIdpManaged(): any;
186
+ get name(): any;
187
+ get organizationRole(): any;
188
+ get rolesCount(): any;
189
+ private _teamMembers;
190
+ get teamMembers(): DataAstroTeamsTeamsTeamMembersList;
191
+ get updatedAt(): any;
192
+ private _updatedBy;
193
+ get updatedBy(): DataAstroTeamsTeamsUpdatedByOutputReference;
194
+ private _workspaceRoles;
195
+ get workspaceRoles(): DataAstroTeamsTeamsWorkspaceRolesList;
196
+ }
197
+ export declare class DataAstroTeamsTeamsList extends cdktf.ComplexList {
198
+ protected terraformResource: cdktf.IInterpolatingParent;
199
+ protected terraformAttribute: string;
200
+ protected wrapsSet: boolean;
201
+ internalValue?: DataAstroTeamsTeams[] | cdktf.IResolvable;
202
+ /**
203
+ * @param terraformResource The parent resource
204
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
205
+ * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
206
+ */
207
+ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
208
+ /**
209
+ * @param index the index of the item to return
210
+ */
211
+ get(index: number): DataAstroTeamsTeamsOutputReference;
212
+ }
213
+ /**
214
+ * Represents a {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/data-sources/teams astro_teams}
215
+ */
216
+ export declare class DataAstroTeams extends cdktf.TerraformDataSource {
217
+ static readonly tfResourceType = "astro_teams";
218
+ /**
219
+ * Generates CDKTF code for importing a DataAstroTeams resource upon running "cdktf plan <stack-name>"
220
+ * @param scope The scope in which to define this construct
221
+ * @param importToId The construct id used in the generated config for the DataAstroTeams to import
222
+ * @param importFromId The id of the existing DataAstroTeams that should be imported. Refer to the {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/data-sources/teams#import import section} in the documentation of this resource for the id to use
223
+ * @param provider? Optional instance of the provider where the DataAstroTeams to import is found
224
+ */
225
+ static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any;
226
+ /**
227
+ * Create a new {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/data-sources/teams astro_teams} Data Source
228
+ *
229
+ * @param scope The scope in which to define this construct
230
+ * @param id The scoped construct ID. Must be unique amongst siblings in the same scope
231
+ * @param options DataAstroTeamsConfig = {}
232
+ */
233
+ constructor(scope: Construct, id: string, config?: DataAstroTeamsConfig);
234
+ private _names?;
235
+ get names(): string[];
236
+ set names(value: string[]);
237
+ resetNames(): void;
238
+ get namesInput(): string[];
239
+ private _teams;
240
+ get teams(): DataAstroTeamsTeamsList;
241
+ protected synthesizeAttributes(): {
242
+ [name: string]: any;
243
+ };
244
+ protected synthesizeHclAttributes(): {
245
+ [name: string]: any;
246
+ };
247
+ }