@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,251 @@
|
|
|
1
|
+
// https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/data-sources/organization
|
|
2
|
+
// generated from terraform resource schema
|
|
3
|
+
import * as cdktf from 'cdktf';
|
|
4
|
+
export function dataAstroOrganizationCreatedByToTerraform(struct) {
|
|
5
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
6
|
+
return struct;
|
|
7
|
+
}
|
|
8
|
+
if (cdktf.isComplexElement(struct)) {
|
|
9
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
10
|
+
}
|
|
11
|
+
return {};
|
|
12
|
+
}
|
|
13
|
+
export function dataAstroOrganizationCreatedByToHclTerraform(struct) {
|
|
14
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
15
|
+
return struct;
|
|
16
|
+
}
|
|
17
|
+
if (cdktf.isComplexElement(struct)) {
|
|
18
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
19
|
+
}
|
|
20
|
+
const attrs = {};
|
|
21
|
+
return attrs;
|
|
22
|
+
}
|
|
23
|
+
export class DataAstroOrganizationCreatedByOutputReference extends cdktf.ComplexObject {
|
|
24
|
+
isEmptyObject = false;
|
|
25
|
+
/**
|
|
26
|
+
* @param terraformResource The parent resource
|
|
27
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
28
|
+
*/
|
|
29
|
+
constructor(terraformResource, terraformAttribute) {
|
|
30
|
+
super(terraformResource, terraformAttribute, false);
|
|
31
|
+
}
|
|
32
|
+
get internalValue() {
|
|
33
|
+
let hasAnyValues = this.isEmptyObject;
|
|
34
|
+
const internalValueResult = {};
|
|
35
|
+
return hasAnyValues ? internalValueResult : undefined;
|
|
36
|
+
}
|
|
37
|
+
set internalValue(value) {
|
|
38
|
+
if (value === undefined) {
|
|
39
|
+
this.isEmptyObject = false;
|
|
40
|
+
}
|
|
41
|
+
else {
|
|
42
|
+
this.isEmptyObject = Object.keys(value).length === 0;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
// api_token_name - computed: true, optional: false, required: false
|
|
46
|
+
get apiTokenName() {
|
|
47
|
+
return this.getStringAttribute('api_token_name');
|
|
48
|
+
}
|
|
49
|
+
// avatar_url - computed: true, optional: false, required: false
|
|
50
|
+
get avatarUrl() {
|
|
51
|
+
return this.getStringAttribute('avatar_url');
|
|
52
|
+
}
|
|
53
|
+
// full_name - computed: true, optional: false, required: false
|
|
54
|
+
get fullName() {
|
|
55
|
+
return this.getStringAttribute('full_name');
|
|
56
|
+
}
|
|
57
|
+
// id - computed: true, optional: false, required: false
|
|
58
|
+
get id() {
|
|
59
|
+
return this.getStringAttribute('id');
|
|
60
|
+
}
|
|
61
|
+
// subject_type - computed: true, optional: false, required: false
|
|
62
|
+
get subjectType() {
|
|
63
|
+
return this.getStringAttribute('subject_type');
|
|
64
|
+
}
|
|
65
|
+
// username - computed: true, optional: false, required: false
|
|
66
|
+
get username() {
|
|
67
|
+
return this.getStringAttribute('username');
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
export function dataAstroOrganizationUpdatedByToTerraform(struct) {
|
|
71
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
72
|
+
return struct;
|
|
73
|
+
}
|
|
74
|
+
if (cdktf.isComplexElement(struct)) {
|
|
75
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
76
|
+
}
|
|
77
|
+
return {};
|
|
78
|
+
}
|
|
79
|
+
export function dataAstroOrganizationUpdatedByToHclTerraform(struct) {
|
|
80
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
81
|
+
return struct;
|
|
82
|
+
}
|
|
83
|
+
if (cdktf.isComplexElement(struct)) {
|
|
84
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
85
|
+
}
|
|
86
|
+
const attrs = {};
|
|
87
|
+
return attrs;
|
|
88
|
+
}
|
|
89
|
+
export class DataAstroOrganizationUpdatedByOutputReference extends cdktf.ComplexObject {
|
|
90
|
+
isEmptyObject = false;
|
|
91
|
+
/**
|
|
92
|
+
* @param terraformResource The parent resource
|
|
93
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
94
|
+
*/
|
|
95
|
+
constructor(terraformResource, terraformAttribute) {
|
|
96
|
+
super(terraformResource, terraformAttribute, false);
|
|
97
|
+
}
|
|
98
|
+
get internalValue() {
|
|
99
|
+
let hasAnyValues = this.isEmptyObject;
|
|
100
|
+
const internalValueResult = {};
|
|
101
|
+
return hasAnyValues ? internalValueResult : undefined;
|
|
102
|
+
}
|
|
103
|
+
set internalValue(value) {
|
|
104
|
+
if (value === undefined) {
|
|
105
|
+
this.isEmptyObject = false;
|
|
106
|
+
}
|
|
107
|
+
else {
|
|
108
|
+
this.isEmptyObject = Object.keys(value).length === 0;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
// api_token_name - computed: true, optional: false, required: false
|
|
112
|
+
get apiTokenName() {
|
|
113
|
+
return this.getStringAttribute('api_token_name');
|
|
114
|
+
}
|
|
115
|
+
// avatar_url - computed: true, optional: false, required: false
|
|
116
|
+
get avatarUrl() {
|
|
117
|
+
return this.getStringAttribute('avatar_url');
|
|
118
|
+
}
|
|
119
|
+
// full_name - computed: true, optional: false, required: false
|
|
120
|
+
get fullName() {
|
|
121
|
+
return this.getStringAttribute('full_name');
|
|
122
|
+
}
|
|
123
|
+
// id - computed: true, optional: false, required: false
|
|
124
|
+
get id() {
|
|
125
|
+
return this.getStringAttribute('id');
|
|
126
|
+
}
|
|
127
|
+
// subject_type - computed: true, optional: false, required: false
|
|
128
|
+
get subjectType() {
|
|
129
|
+
return this.getStringAttribute('subject_type');
|
|
130
|
+
}
|
|
131
|
+
// username - computed: true, optional: false, required: false
|
|
132
|
+
get username() {
|
|
133
|
+
return this.getStringAttribute('username');
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* Represents a {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/data-sources/organization astro_organization}
|
|
138
|
+
*/
|
|
139
|
+
export class DataAstroOrganization extends cdktf.TerraformDataSource {
|
|
140
|
+
// =================
|
|
141
|
+
// STATIC PROPERTIES
|
|
142
|
+
// =================
|
|
143
|
+
static tfResourceType = "astro_organization";
|
|
144
|
+
// ==============
|
|
145
|
+
// STATIC Methods
|
|
146
|
+
// ==============
|
|
147
|
+
/**
|
|
148
|
+
* Generates CDKTF code for importing a DataAstroOrganization resource upon running "cdktf plan <stack-name>"
|
|
149
|
+
* @param scope The scope in which to define this construct
|
|
150
|
+
* @param importToId The construct id used in the generated config for the DataAstroOrganization to import
|
|
151
|
+
* @param importFromId The id of the existing DataAstroOrganization that should be imported. Refer to the {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/data-sources/organization#import import section} in the documentation of this resource for the id to use
|
|
152
|
+
* @param provider? Optional instance of the provider where the DataAstroOrganization to import is found
|
|
153
|
+
*/
|
|
154
|
+
static generateConfigForImport(scope, importToId, importFromId, provider) {
|
|
155
|
+
return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "astro_organization", importId: importFromId, provider });
|
|
156
|
+
}
|
|
157
|
+
// ===========
|
|
158
|
+
// INITIALIZER
|
|
159
|
+
// ===========
|
|
160
|
+
/**
|
|
161
|
+
* Create a new {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/data-sources/organization astro_organization} Data Source
|
|
162
|
+
*
|
|
163
|
+
* @param scope The scope in which to define this construct
|
|
164
|
+
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
165
|
+
* @param options DataAstroOrganizationConfig = {}
|
|
166
|
+
*/
|
|
167
|
+
constructor(scope, id, config = {}) {
|
|
168
|
+
super(scope, id, {
|
|
169
|
+
terraformResourceType: 'astro_organization',
|
|
170
|
+
terraformGeneratorMetadata: {
|
|
171
|
+
providerName: 'astro',
|
|
172
|
+
providerVersion: '1.0.8',
|
|
173
|
+
providerVersionConstraint: '1.0.8'
|
|
174
|
+
},
|
|
175
|
+
provider: config.provider,
|
|
176
|
+
dependsOn: config.dependsOn,
|
|
177
|
+
count: config.count,
|
|
178
|
+
lifecycle: config.lifecycle,
|
|
179
|
+
provisioners: config.provisioners,
|
|
180
|
+
connection: config.connection,
|
|
181
|
+
forEach: config.forEach
|
|
182
|
+
});
|
|
183
|
+
}
|
|
184
|
+
// ==========
|
|
185
|
+
// ATTRIBUTES
|
|
186
|
+
// ==========
|
|
187
|
+
// billing_email - computed: true, optional: false, required: false
|
|
188
|
+
get billingEmail() {
|
|
189
|
+
return this.getStringAttribute('billing_email');
|
|
190
|
+
}
|
|
191
|
+
// created_at - computed: true, optional: false, required: false
|
|
192
|
+
get createdAt() {
|
|
193
|
+
return this.getStringAttribute('created_at');
|
|
194
|
+
}
|
|
195
|
+
// created_by - computed: true, optional: false, required: false
|
|
196
|
+
_createdBy = new DataAstroOrganizationCreatedByOutputReference(this, "created_by");
|
|
197
|
+
get createdBy() {
|
|
198
|
+
return this._createdBy;
|
|
199
|
+
}
|
|
200
|
+
// id - computed: true, optional: false, required: false
|
|
201
|
+
get id() {
|
|
202
|
+
return this.getStringAttribute('id');
|
|
203
|
+
}
|
|
204
|
+
// is_scim_enabled - computed: true, optional: false, required: false
|
|
205
|
+
get isScimEnabled() {
|
|
206
|
+
return this.getBooleanAttribute('is_scim_enabled');
|
|
207
|
+
}
|
|
208
|
+
// name - computed: true, optional: false, required: false
|
|
209
|
+
get name() {
|
|
210
|
+
return this.getStringAttribute('name');
|
|
211
|
+
}
|
|
212
|
+
// payment_method - computed: true, optional: false, required: false
|
|
213
|
+
get paymentMethod() {
|
|
214
|
+
return this.getStringAttribute('payment_method');
|
|
215
|
+
}
|
|
216
|
+
// product - computed: true, optional: false, required: false
|
|
217
|
+
get product() {
|
|
218
|
+
return this.getStringAttribute('product');
|
|
219
|
+
}
|
|
220
|
+
// status - computed: true, optional: false, required: false
|
|
221
|
+
get status() {
|
|
222
|
+
return this.getStringAttribute('status');
|
|
223
|
+
}
|
|
224
|
+
// support_plan - computed: true, optional: false, required: false
|
|
225
|
+
get supportPlan() {
|
|
226
|
+
return this.getStringAttribute('support_plan');
|
|
227
|
+
}
|
|
228
|
+
// trial_expires_at - computed: true, optional: false, required: false
|
|
229
|
+
get trialExpiresAt() {
|
|
230
|
+
return this.getStringAttribute('trial_expires_at');
|
|
231
|
+
}
|
|
232
|
+
// updated_at - computed: true, optional: false, required: false
|
|
233
|
+
get updatedAt() {
|
|
234
|
+
return this.getStringAttribute('updated_at');
|
|
235
|
+
}
|
|
236
|
+
// updated_by - computed: true, optional: false, required: false
|
|
237
|
+
_updatedBy = new DataAstroOrganizationUpdatedByOutputReference(this, "updated_by");
|
|
238
|
+
get updatedBy() {
|
|
239
|
+
return this._updatedBy;
|
|
240
|
+
}
|
|
241
|
+
// =========
|
|
242
|
+
// SYNTHESIS
|
|
243
|
+
// =========
|
|
244
|
+
synthesizeAttributes() {
|
|
245
|
+
return {};
|
|
246
|
+
}
|
|
247
|
+
synthesizeHclAttributes() {
|
|
248
|
+
const attrs = {};
|
|
249
|
+
return attrs;
|
|
250
|
+
}
|
|
251
|
+
}
|
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
import { Construct } from 'constructs';
|
|
2
|
+
import * as cdktf from 'cdktf';
|
|
3
|
+
export interface DataAstroTeamConfig extends cdktf.TerraformMetaArguments {
|
|
4
|
+
/**
|
|
5
|
+
* Team ID
|
|
6
|
+
*
|
|
7
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/data-sources/team#id DataAstroTeam#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 DataAstroTeamCreatedBy {
|
|
15
|
+
}
|
|
16
|
+
export declare function dataAstroTeamCreatedByToTerraform(struct?: DataAstroTeamCreatedBy): any;
|
|
17
|
+
export declare function dataAstroTeamCreatedByToHclTerraform(struct?: DataAstroTeamCreatedBy): any;
|
|
18
|
+
export declare class DataAstroTeamCreatedByOutputReference 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(): DataAstroTeamCreatedBy | undefined;
|
|
26
|
+
set internalValue(value: DataAstroTeamCreatedBy | 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 DataAstroTeamDeploymentRoles {
|
|
35
|
+
}
|
|
36
|
+
export declare function dataAstroTeamDeploymentRolesToTerraform(struct?: DataAstroTeamDeploymentRoles): any;
|
|
37
|
+
export declare function dataAstroTeamDeploymentRolesToHclTerraform(struct?: DataAstroTeamDeploymentRoles): any;
|
|
38
|
+
export declare class DataAstroTeamDeploymentRolesOutputReference 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
|
+
* @param complexObjectIndex the index of this item in the list
|
|
44
|
+
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
45
|
+
*/
|
|
46
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
|
|
47
|
+
get internalValue(): DataAstroTeamDeploymentRoles | undefined;
|
|
48
|
+
set internalValue(value: DataAstroTeamDeploymentRoles | undefined);
|
|
49
|
+
get deploymentId(): any;
|
|
50
|
+
get role(): any;
|
|
51
|
+
}
|
|
52
|
+
export declare class DataAstroTeamDeploymentRolesList extends cdktf.ComplexList {
|
|
53
|
+
protected terraformResource: cdktf.IInterpolatingParent;
|
|
54
|
+
protected terraformAttribute: string;
|
|
55
|
+
protected wrapsSet: boolean;
|
|
56
|
+
/**
|
|
57
|
+
* @param terraformResource The parent resource
|
|
58
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
59
|
+
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
60
|
+
*/
|
|
61
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
|
|
62
|
+
/**
|
|
63
|
+
* @param index the index of the item to return
|
|
64
|
+
*/
|
|
65
|
+
get(index: number): DataAstroTeamDeploymentRolesOutputReference;
|
|
66
|
+
}
|
|
67
|
+
export interface DataAstroTeamTeamMembers {
|
|
68
|
+
}
|
|
69
|
+
export declare function dataAstroTeamTeamMembersToTerraform(struct?: DataAstroTeamTeamMembers): any;
|
|
70
|
+
export declare function dataAstroTeamTeamMembersToHclTerraform(struct?: DataAstroTeamTeamMembers): any;
|
|
71
|
+
export declare class DataAstroTeamTeamMembersOutputReference 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
|
+
* @param complexObjectIndex the index of this item in the list
|
|
77
|
+
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
78
|
+
*/
|
|
79
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
|
|
80
|
+
get internalValue(): DataAstroTeamTeamMembers | undefined;
|
|
81
|
+
set internalValue(value: DataAstroTeamTeamMembers | undefined);
|
|
82
|
+
get avatarUrl(): any;
|
|
83
|
+
get createdAt(): any;
|
|
84
|
+
get fullName(): any;
|
|
85
|
+
get userId(): any;
|
|
86
|
+
get username(): any;
|
|
87
|
+
}
|
|
88
|
+
export declare class DataAstroTeamTeamMembersList extends cdktf.ComplexList {
|
|
89
|
+
protected terraformResource: cdktf.IInterpolatingParent;
|
|
90
|
+
protected terraformAttribute: string;
|
|
91
|
+
protected wrapsSet: boolean;
|
|
92
|
+
/**
|
|
93
|
+
* @param terraformResource The parent resource
|
|
94
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
95
|
+
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
96
|
+
*/
|
|
97
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
|
|
98
|
+
/**
|
|
99
|
+
* @param index the index of the item to return
|
|
100
|
+
*/
|
|
101
|
+
get(index: number): DataAstroTeamTeamMembersOutputReference;
|
|
102
|
+
}
|
|
103
|
+
export interface DataAstroTeamUpdatedBy {
|
|
104
|
+
}
|
|
105
|
+
export declare function dataAstroTeamUpdatedByToTerraform(struct?: DataAstroTeamUpdatedBy): any;
|
|
106
|
+
export declare function dataAstroTeamUpdatedByToHclTerraform(struct?: DataAstroTeamUpdatedBy): any;
|
|
107
|
+
export declare class DataAstroTeamUpdatedByOutputReference extends cdktf.ComplexObject {
|
|
108
|
+
private isEmptyObject;
|
|
109
|
+
/**
|
|
110
|
+
* @param terraformResource The parent resource
|
|
111
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
112
|
+
*/
|
|
113
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
|
|
114
|
+
get internalValue(): DataAstroTeamUpdatedBy | undefined;
|
|
115
|
+
set internalValue(value: DataAstroTeamUpdatedBy | undefined);
|
|
116
|
+
get apiTokenName(): any;
|
|
117
|
+
get avatarUrl(): any;
|
|
118
|
+
get fullName(): any;
|
|
119
|
+
get id(): any;
|
|
120
|
+
get subjectType(): any;
|
|
121
|
+
get username(): any;
|
|
122
|
+
}
|
|
123
|
+
export interface DataAstroTeamWorkspaceRoles {
|
|
124
|
+
}
|
|
125
|
+
export declare function dataAstroTeamWorkspaceRolesToTerraform(struct?: DataAstroTeamWorkspaceRoles): any;
|
|
126
|
+
export declare function dataAstroTeamWorkspaceRolesToHclTerraform(struct?: DataAstroTeamWorkspaceRoles): any;
|
|
127
|
+
export declare class DataAstroTeamWorkspaceRolesOutputReference extends cdktf.ComplexObject {
|
|
128
|
+
private isEmptyObject;
|
|
129
|
+
/**
|
|
130
|
+
* @param terraformResource The parent resource
|
|
131
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
132
|
+
* @param complexObjectIndex the index of this item in the list
|
|
133
|
+
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
134
|
+
*/
|
|
135
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
|
|
136
|
+
get internalValue(): DataAstroTeamWorkspaceRoles | undefined;
|
|
137
|
+
set internalValue(value: DataAstroTeamWorkspaceRoles | undefined);
|
|
138
|
+
get role(): any;
|
|
139
|
+
get workspaceId(): any;
|
|
140
|
+
}
|
|
141
|
+
export declare class DataAstroTeamWorkspaceRolesList extends cdktf.ComplexList {
|
|
142
|
+
protected terraformResource: cdktf.IInterpolatingParent;
|
|
143
|
+
protected terraformAttribute: string;
|
|
144
|
+
protected wrapsSet: boolean;
|
|
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): DataAstroTeamWorkspaceRolesOutputReference;
|
|
155
|
+
}
|
|
156
|
+
/**
|
|
157
|
+
* Represents a {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/data-sources/team astro_team}
|
|
158
|
+
*/
|
|
159
|
+
export declare class DataAstroTeam extends cdktf.TerraformDataSource {
|
|
160
|
+
static readonly tfResourceType = "astro_team";
|
|
161
|
+
/**
|
|
162
|
+
* Generates CDKTF code for importing a DataAstroTeam resource upon running "cdktf plan <stack-name>"
|
|
163
|
+
* @param scope The scope in which to define this construct
|
|
164
|
+
* @param importToId The construct id used in the generated config for the DataAstroTeam to import
|
|
165
|
+
* @param importFromId The id of the existing DataAstroTeam that should be imported. Refer to the {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/data-sources/team#import import section} in the documentation of this resource for the id to use
|
|
166
|
+
* @param provider? Optional instance of the provider where the DataAstroTeam to import is found
|
|
167
|
+
*/
|
|
168
|
+
static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any;
|
|
169
|
+
/**
|
|
170
|
+
* Create a new {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/data-sources/team astro_team} Data Source
|
|
171
|
+
*
|
|
172
|
+
* @param scope The scope in which to define this construct
|
|
173
|
+
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
174
|
+
* @param options DataAstroTeamConfig
|
|
175
|
+
*/
|
|
176
|
+
constructor(scope: Construct, id: string, config: DataAstroTeamConfig);
|
|
177
|
+
get createdAt(): any;
|
|
178
|
+
private _createdBy;
|
|
179
|
+
get createdBy(): DataAstroTeamCreatedByOutputReference;
|
|
180
|
+
private _deploymentRoles;
|
|
181
|
+
get deploymentRoles(): DataAstroTeamDeploymentRolesList;
|
|
182
|
+
get description(): any;
|
|
183
|
+
private _id?;
|
|
184
|
+
get id(): string;
|
|
185
|
+
set id(value: string);
|
|
186
|
+
get idInput(): string;
|
|
187
|
+
get isIdpManaged(): any;
|
|
188
|
+
get name(): any;
|
|
189
|
+
get organizationRole(): any;
|
|
190
|
+
get rolesCount(): any;
|
|
191
|
+
private _teamMembers;
|
|
192
|
+
get teamMembers(): DataAstroTeamTeamMembersList;
|
|
193
|
+
get updatedAt(): any;
|
|
194
|
+
private _updatedBy;
|
|
195
|
+
get updatedBy(): DataAstroTeamUpdatedByOutputReference;
|
|
196
|
+
private _workspaceRoles;
|
|
197
|
+
get workspaceRoles(): DataAstroTeamWorkspaceRolesList;
|
|
198
|
+
protected synthesizeAttributes(): {
|
|
199
|
+
[name: string]: any;
|
|
200
|
+
};
|
|
201
|
+
protected synthesizeHclAttributes(): {
|
|
202
|
+
[name: string]: any;
|
|
203
|
+
};
|
|
204
|
+
}
|