@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,262 @@
|
|
|
1
|
+
// https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/user_invite
|
|
2
|
+
// generated from terraform resource schema
|
|
3
|
+
import * as cdktf from 'cdktf';
|
|
4
|
+
export function userInviteInviteeToTerraform(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 userInviteInviteeToHclTerraform(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 UserInviteInviteeOutputReference 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 userInviteInviterToTerraform(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 userInviteInviterToHclTerraform(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 UserInviteInviterOutputReference 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/resources/user_invite astro_user_invite}
|
|
138
|
+
*/
|
|
139
|
+
export class UserInvite extends cdktf.TerraformResource {
|
|
140
|
+
// =================
|
|
141
|
+
// STATIC PROPERTIES
|
|
142
|
+
// =================
|
|
143
|
+
static tfResourceType = "astro_user_invite";
|
|
144
|
+
// ==============
|
|
145
|
+
// STATIC Methods
|
|
146
|
+
// ==============
|
|
147
|
+
/**
|
|
148
|
+
* Generates CDKTF code for importing a UserInvite 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 UserInvite to import
|
|
151
|
+
* @param importFromId The id of the existing UserInvite that should be imported. Refer to the {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/user_invite#import import section} in the documentation of this resource for the id to use
|
|
152
|
+
* @param provider? Optional instance of the provider where the UserInvite to import is found
|
|
153
|
+
*/
|
|
154
|
+
static generateConfigForImport(scope, importToId, importFromId, provider) {
|
|
155
|
+
return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "astro_user_invite", 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/resources/user_invite astro_user_invite} Resource
|
|
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 UserInviteConfig
|
|
166
|
+
*/
|
|
167
|
+
constructor(scope, id, config) {
|
|
168
|
+
super(scope, id, {
|
|
169
|
+
terraformResourceType: 'astro_user_invite',
|
|
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
|
+
this._email = config.email;
|
|
184
|
+
this._role = config.role;
|
|
185
|
+
}
|
|
186
|
+
// ==========
|
|
187
|
+
// ATTRIBUTES
|
|
188
|
+
// ==========
|
|
189
|
+
// email - computed: false, optional: false, required: true
|
|
190
|
+
_email;
|
|
191
|
+
get email() {
|
|
192
|
+
return this.getStringAttribute('email');
|
|
193
|
+
}
|
|
194
|
+
set email(value) {
|
|
195
|
+
this._email = value;
|
|
196
|
+
}
|
|
197
|
+
// Temporarily expose input value. Use with caution.
|
|
198
|
+
get emailInput() {
|
|
199
|
+
return this._email;
|
|
200
|
+
}
|
|
201
|
+
// expires_at - computed: true, optional: false, required: false
|
|
202
|
+
get expiresAt() {
|
|
203
|
+
return this.getStringAttribute('expires_at');
|
|
204
|
+
}
|
|
205
|
+
// invite_id - computed: true, optional: false, required: false
|
|
206
|
+
get inviteId() {
|
|
207
|
+
return this.getStringAttribute('invite_id');
|
|
208
|
+
}
|
|
209
|
+
// invitee - computed: true, optional: false, required: false
|
|
210
|
+
_invitee = new UserInviteInviteeOutputReference(this, "invitee");
|
|
211
|
+
get invitee() {
|
|
212
|
+
return this._invitee;
|
|
213
|
+
}
|
|
214
|
+
// inviter - computed: true, optional: false, required: false
|
|
215
|
+
_inviter = new UserInviteInviterOutputReference(this, "inviter");
|
|
216
|
+
get inviter() {
|
|
217
|
+
return this._inviter;
|
|
218
|
+
}
|
|
219
|
+
// role - computed: false, optional: false, required: true
|
|
220
|
+
_role;
|
|
221
|
+
get role() {
|
|
222
|
+
return this.getStringAttribute('role');
|
|
223
|
+
}
|
|
224
|
+
set role(value) {
|
|
225
|
+
this._role = value;
|
|
226
|
+
}
|
|
227
|
+
// Temporarily expose input value. Use with caution.
|
|
228
|
+
get roleInput() {
|
|
229
|
+
return this._role;
|
|
230
|
+
}
|
|
231
|
+
// user_id - computed: true, optional: false, required: false
|
|
232
|
+
get userId() {
|
|
233
|
+
return this.getStringAttribute('user_id');
|
|
234
|
+
}
|
|
235
|
+
// =========
|
|
236
|
+
// SYNTHESIS
|
|
237
|
+
// =========
|
|
238
|
+
synthesizeAttributes() {
|
|
239
|
+
return {
|
|
240
|
+
email: cdktf.stringToTerraform(this._email),
|
|
241
|
+
role: cdktf.stringToTerraform(this._role),
|
|
242
|
+
};
|
|
243
|
+
}
|
|
244
|
+
synthesizeHclAttributes() {
|
|
245
|
+
const attrs = {
|
|
246
|
+
email: {
|
|
247
|
+
value: cdktf.stringToHclTerraform(this._email),
|
|
248
|
+
isBlock: false,
|
|
249
|
+
type: "simple",
|
|
250
|
+
storageClassType: "string",
|
|
251
|
+
},
|
|
252
|
+
role: {
|
|
253
|
+
value: cdktf.stringToHclTerraform(this._role),
|
|
254
|
+
isBlock: false,
|
|
255
|
+
type: "simple",
|
|
256
|
+
storageClassType: "string",
|
|
257
|
+
},
|
|
258
|
+
};
|
|
259
|
+
// remove undefined attributes
|
|
260
|
+
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
|
|
261
|
+
}
|
|
262
|
+
}
|
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
import { Construct } from 'constructs';
|
|
2
|
+
import * as cdktf from 'cdktf';
|
|
3
|
+
export interface UserRolesConfig extends cdktf.TerraformMetaArguments {
|
|
4
|
+
/**
|
|
5
|
+
* The roles to assign to the deployments
|
|
6
|
+
*
|
|
7
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/user_roles#deployment_roles UserRoles#deployment_roles}
|
|
8
|
+
*/
|
|
9
|
+
readonly deploymentRoles?: UserRolesDeploymentRoles[] | cdktf.IResolvable;
|
|
10
|
+
/**
|
|
11
|
+
* The role to assign to the organization
|
|
12
|
+
*
|
|
13
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/user_roles#organization_role UserRoles#organization_role}
|
|
14
|
+
*/
|
|
15
|
+
readonly organizationRole: string;
|
|
16
|
+
/**
|
|
17
|
+
* The ID of the user to assign the roles to
|
|
18
|
+
*
|
|
19
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/user_roles#user_id UserRoles#user_id}
|
|
20
|
+
*/
|
|
21
|
+
readonly userId: string;
|
|
22
|
+
/**
|
|
23
|
+
* The roles to assign to the workspaces
|
|
24
|
+
*
|
|
25
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/user_roles#workspace_roles UserRoles#workspace_roles}
|
|
26
|
+
*/
|
|
27
|
+
readonly workspaceRoles?: UserRolesWorkspaceRoles[] | cdktf.IResolvable;
|
|
28
|
+
}
|
|
29
|
+
export interface UserRolesDeploymentRoles {
|
|
30
|
+
/**
|
|
31
|
+
* The ID of the deployment to assign the role to
|
|
32
|
+
*
|
|
33
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/user_roles#deployment_id UserRoles#deployment_id}
|
|
34
|
+
*/
|
|
35
|
+
readonly deploymentId: string;
|
|
36
|
+
/**
|
|
37
|
+
* The role to assign to the deployment
|
|
38
|
+
*
|
|
39
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/user_roles#role UserRoles#role}
|
|
40
|
+
*/
|
|
41
|
+
readonly role: string;
|
|
42
|
+
}
|
|
43
|
+
export declare function userRolesDeploymentRolesToTerraform(struct?: UserRolesDeploymentRoles | cdktf.IResolvable): any;
|
|
44
|
+
export declare function userRolesDeploymentRolesToHclTerraform(struct?: UserRolesDeploymentRoles | cdktf.IResolvable): any;
|
|
45
|
+
export declare class UserRolesDeploymentRolesOutputReference extends cdktf.ComplexObject {
|
|
46
|
+
private isEmptyObject;
|
|
47
|
+
private resolvableValue?;
|
|
48
|
+
/**
|
|
49
|
+
* @param terraformResource The parent resource
|
|
50
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
51
|
+
* @param complexObjectIndex the index of this item in the list
|
|
52
|
+
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
53
|
+
*/
|
|
54
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
|
|
55
|
+
get internalValue(): UserRolesDeploymentRoles | cdktf.IResolvable | undefined;
|
|
56
|
+
set internalValue(value: UserRolesDeploymentRoles | cdktf.IResolvable | undefined);
|
|
57
|
+
private _deploymentId?;
|
|
58
|
+
get deploymentId(): string;
|
|
59
|
+
set deploymentId(value: string);
|
|
60
|
+
get deploymentIdInput(): string;
|
|
61
|
+
private _role?;
|
|
62
|
+
get role(): string;
|
|
63
|
+
set role(value: string);
|
|
64
|
+
get roleInput(): string;
|
|
65
|
+
}
|
|
66
|
+
export declare class UserRolesDeploymentRolesList extends cdktf.ComplexList {
|
|
67
|
+
protected terraformResource: cdktf.IInterpolatingParent;
|
|
68
|
+
protected terraformAttribute: string;
|
|
69
|
+
protected wrapsSet: boolean;
|
|
70
|
+
internalValue?: UserRolesDeploymentRoles[] | cdktf.IResolvable;
|
|
71
|
+
/**
|
|
72
|
+
* @param terraformResource The parent resource
|
|
73
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
74
|
+
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
75
|
+
*/
|
|
76
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
|
|
77
|
+
/**
|
|
78
|
+
* @param index the index of the item to return
|
|
79
|
+
*/
|
|
80
|
+
get(index: number): UserRolesDeploymentRolesOutputReference;
|
|
81
|
+
}
|
|
82
|
+
export interface UserRolesWorkspaceRoles {
|
|
83
|
+
/**
|
|
84
|
+
* The role to assign to the workspace
|
|
85
|
+
*
|
|
86
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/user_roles#role UserRoles#role}
|
|
87
|
+
*/
|
|
88
|
+
readonly role: string;
|
|
89
|
+
/**
|
|
90
|
+
* The ID of the workspace to assign the role to
|
|
91
|
+
*
|
|
92
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/user_roles#workspace_id UserRoles#workspace_id}
|
|
93
|
+
*/
|
|
94
|
+
readonly workspaceId: string;
|
|
95
|
+
}
|
|
96
|
+
export declare function userRolesWorkspaceRolesToTerraform(struct?: UserRolesWorkspaceRoles | cdktf.IResolvable): any;
|
|
97
|
+
export declare function userRolesWorkspaceRolesToHclTerraform(struct?: UserRolesWorkspaceRoles | cdktf.IResolvable): any;
|
|
98
|
+
export declare class UserRolesWorkspaceRolesOutputReference extends cdktf.ComplexObject {
|
|
99
|
+
private isEmptyObject;
|
|
100
|
+
private resolvableValue?;
|
|
101
|
+
/**
|
|
102
|
+
* @param terraformResource The parent resource
|
|
103
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
104
|
+
* @param complexObjectIndex the index of this item in the list
|
|
105
|
+
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
106
|
+
*/
|
|
107
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
|
|
108
|
+
get internalValue(): UserRolesWorkspaceRoles | cdktf.IResolvable | undefined;
|
|
109
|
+
set internalValue(value: UserRolesWorkspaceRoles | cdktf.IResolvable | undefined);
|
|
110
|
+
private _role?;
|
|
111
|
+
get role(): string;
|
|
112
|
+
set role(value: string);
|
|
113
|
+
get roleInput(): string;
|
|
114
|
+
private _workspaceId?;
|
|
115
|
+
get workspaceId(): string;
|
|
116
|
+
set workspaceId(value: string);
|
|
117
|
+
get workspaceIdInput(): string;
|
|
118
|
+
}
|
|
119
|
+
export declare class UserRolesWorkspaceRolesList extends cdktf.ComplexList {
|
|
120
|
+
protected terraformResource: cdktf.IInterpolatingParent;
|
|
121
|
+
protected terraformAttribute: string;
|
|
122
|
+
protected wrapsSet: boolean;
|
|
123
|
+
internalValue?: UserRolesWorkspaceRoles[] | cdktf.IResolvable;
|
|
124
|
+
/**
|
|
125
|
+
* @param terraformResource The parent resource
|
|
126
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
127
|
+
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
128
|
+
*/
|
|
129
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
|
|
130
|
+
/**
|
|
131
|
+
* @param index the index of the item to return
|
|
132
|
+
*/
|
|
133
|
+
get(index: number): UserRolesWorkspaceRolesOutputReference;
|
|
134
|
+
}
|
|
135
|
+
/**
|
|
136
|
+
* Represents a {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/user_roles astro_user_roles}
|
|
137
|
+
*/
|
|
138
|
+
export declare class UserRoles extends cdktf.TerraformResource {
|
|
139
|
+
static readonly tfResourceType = "astro_user_roles";
|
|
140
|
+
/**
|
|
141
|
+
* Generates CDKTF code for importing a UserRoles resource upon running "cdktf plan <stack-name>"
|
|
142
|
+
* @param scope The scope in which to define this construct
|
|
143
|
+
* @param importToId The construct id used in the generated config for the UserRoles to import
|
|
144
|
+
* @param importFromId The id of the existing UserRoles that should be imported. Refer to the {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/user_roles#import import section} in the documentation of this resource for the id to use
|
|
145
|
+
* @param provider? Optional instance of the provider where the UserRoles to import is found
|
|
146
|
+
*/
|
|
147
|
+
static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any;
|
|
148
|
+
/**
|
|
149
|
+
* Create a new {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/user_roles astro_user_roles} Resource
|
|
150
|
+
*
|
|
151
|
+
* @param scope The scope in which to define this construct
|
|
152
|
+
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
153
|
+
* @param options UserRolesConfig
|
|
154
|
+
*/
|
|
155
|
+
constructor(scope: Construct, id: string, config: UserRolesConfig);
|
|
156
|
+
private _deploymentRoles;
|
|
157
|
+
get deploymentRoles(): UserRolesDeploymentRolesList;
|
|
158
|
+
putDeploymentRoles(value: UserRolesDeploymentRoles[] | cdktf.IResolvable): void;
|
|
159
|
+
resetDeploymentRoles(): void;
|
|
160
|
+
get deploymentRolesInput(): any;
|
|
161
|
+
private _organizationRole?;
|
|
162
|
+
get organizationRole(): string;
|
|
163
|
+
set organizationRole(value: string);
|
|
164
|
+
get organizationRoleInput(): string;
|
|
165
|
+
private _userId?;
|
|
166
|
+
get userId(): string;
|
|
167
|
+
set userId(value: string);
|
|
168
|
+
get userIdInput(): string;
|
|
169
|
+
private _workspaceRoles;
|
|
170
|
+
get workspaceRoles(): UserRolesWorkspaceRolesList;
|
|
171
|
+
putWorkspaceRoles(value: UserRolesWorkspaceRoles[] | cdktf.IResolvable): void;
|
|
172
|
+
resetWorkspaceRoles(): void;
|
|
173
|
+
get workspaceRolesInput(): any;
|
|
174
|
+
protected synthesizeAttributes(): {
|
|
175
|
+
[name: string]: any;
|
|
176
|
+
};
|
|
177
|
+
protected synthesizeHclAttributes(): {
|
|
178
|
+
[name: string]: any;
|
|
179
|
+
};
|
|
180
|
+
}
|