@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,53 @@
|
|
|
1
|
+
import { Construct } from 'constructs';
|
|
2
|
+
import * as cdktf from 'cdktf';
|
|
3
|
+
export interface HybridClusterWorkspaceAuthorizationConfig extends cdktf.TerraformMetaArguments {
|
|
4
|
+
/**
|
|
5
|
+
* The ID of the hybrid cluster to set authorizations for
|
|
6
|
+
*
|
|
7
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/hybrid_cluster_workspace_authorization#cluster_id HybridClusterWorkspaceAuthorization#cluster_id}
|
|
8
|
+
*/
|
|
9
|
+
readonly clusterId: string;
|
|
10
|
+
/**
|
|
11
|
+
* The IDs of the workspaces to authorize for the hybrid cluster
|
|
12
|
+
*
|
|
13
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/hybrid_cluster_workspace_authorization#workspace_ids HybridClusterWorkspaceAuthorization#workspace_ids}
|
|
14
|
+
*/
|
|
15
|
+
readonly workspaceIds?: string[];
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Represents a {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/hybrid_cluster_workspace_authorization astro_hybrid_cluster_workspace_authorization}
|
|
19
|
+
*/
|
|
20
|
+
export declare class HybridClusterWorkspaceAuthorization extends cdktf.TerraformResource {
|
|
21
|
+
static readonly tfResourceType = "astro_hybrid_cluster_workspace_authorization";
|
|
22
|
+
/**
|
|
23
|
+
* Generates CDKTF code for importing a HybridClusterWorkspaceAuthorization resource upon running "cdktf plan <stack-name>"
|
|
24
|
+
* @param scope The scope in which to define this construct
|
|
25
|
+
* @param importToId The construct id used in the generated config for the HybridClusterWorkspaceAuthorization to import
|
|
26
|
+
* @param importFromId The id of the existing HybridClusterWorkspaceAuthorization that should be imported. Refer to the {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/hybrid_cluster_workspace_authorization#import import section} in the documentation of this resource for the id to use
|
|
27
|
+
* @param provider? Optional instance of the provider where the HybridClusterWorkspaceAuthorization to import is found
|
|
28
|
+
*/
|
|
29
|
+
static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any;
|
|
30
|
+
/**
|
|
31
|
+
* Create a new {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/hybrid_cluster_workspace_authorization astro_hybrid_cluster_workspace_authorization} Resource
|
|
32
|
+
*
|
|
33
|
+
* @param scope The scope in which to define this construct
|
|
34
|
+
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
35
|
+
* @param options HybridClusterWorkspaceAuthorizationConfig
|
|
36
|
+
*/
|
|
37
|
+
constructor(scope: Construct, id: string, config: HybridClusterWorkspaceAuthorizationConfig);
|
|
38
|
+
private _clusterId?;
|
|
39
|
+
get clusterId(): string;
|
|
40
|
+
set clusterId(value: string);
|
|
41
|
+
get clusterIdInput(): string;
|
|
42
|
+
private _workspaceIds?;
|
|
43
|
+
get workspaceIds(): string[];
|
|
44
|
+
set workspaceIds(value: string[]);
|
|
45
|
+
resetWorkspaceIds(): void;
|
|
46
|
+
get workspaceIdsInput(): string[];
|
|
47
|
+
protected synthesizeAttributes(): {
|
|
48
|
+
[name: string]: any;
|
|
49
|
+
};
|
|
50
|
+
protected synthesizeHclAttributes(): {
|
|
51
|
+
[name: string]: any;
|
|
52
|
+
};
|
|
53
|
+
}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
// https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/hybrid_cluster_workspace_authorization
|
|
2
|
+
// generated from terraform resource schema
|
|
3
|
+
import * as cdktf from 'cdktf';
|
|
4
|
+
/**
|
|
5
|
+
* Represents a {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/hybrid_cluster_workspace_authorization astro_hybrid_cluster_workspace_authorization}
|
|
6
|
+
*/
|
|
7
|
+
export class HybridClusterWorkspaceAuthorization extends cdktf.TerraformResource {
|
|
8
|
+
// =================
|
|
9
|
+
// STATIC PROPERTIES
|
|
10
|
+
// =================
|
|
11
|
+
static tfResourceType = "astro_hybrid_cluster_workspace_authorization";
|
|
12
|
+
// ==============
|
|
13
|
+
// STATIC Methods
|
|
14
|
+
// ==============
|
|
15
|
+
/**
|
|
16
|
+
* Generates CDKTF code for importing a HybridClusterWorkspaceAuthorization resource upon running "cdktf plan <stack-name>"
|
|
17
|
+
* @param scope The scope in which to define this construct
|
|
18
|
+
* @param importToId The construct id used in the generated config for the HybridClusterWorkspaceAuthorization to import
|
|
19
|
+
* @param importFromId The id of the existing HybridClusterWorkspaceAuthorization that should be imported. Refer to the {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/hybrid_cluster_workspace_authorization#import import section} in the documentation of this resource for the id to use
|
|
20
|
+
* @param provider? Optional instance of the provider where the HybridClusterWorkspaceAuthorization to import is found
|
|
21
|
+
*/
|
|
22
|
+
static generateConfigForImport(scope, importToId, importFromId, provider) {
|
|
23
|
+
return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "astro_hybrid_cluster_workspace_authorization", importId: importFromId, provider });
|
|
24
|
+
}
|
|
25
|
+
// ===========
|
|
26
|
+
// INITIALIZER
|
|
27
|
+
// ===========
|
|
28
|
+
/**
|
|
29
|
+
* Create a new {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/hybrid_cluster_workspace_authorization astro_hybrid_cluster_workspace_authorization} Resource
|
|
30
|
+
*
|
|
31
|
+
* @param scope The scope in which to define this construct
|
|
32
|
+
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
33
|
+
* @param options HybridClusterWorkspaceAuthorizationConfig
|
|
34
|
+
*/
|
|
35
|
+
constructor(scope, id, config) {
|
|
36
|
+
super(scope, id, {
|
|
37
|
+
terraformResourceType: 'astro_hybrid_cluster_workspace_authorization',
|
|
38
|
+
terraformGeneratorMetadata: {
|
|
39
|
+
providerName: 'astro',
|
|
40
|
+
providerVersion: '1.0.8',
|
|
41
|
+
providerVersionConstraint: '1.0.8'
|
|
42
|
+
},
|
|
43
|
+
provider: config.provider,
|
|
44
|
+
dependsOn: config.dependsOn,
|
|
45
|
+
count: config.count,
|
|
46
|
+
lifecycle: config.lifecycle,
|
|
47
|
+
provisioners: config.provisioners,
|
|
48
|
+
connection: config.connection,
|
|
49
|
+
forEach: config.forEach
|
|
50
|
+
});
|
|
51
|
+
this._clusterId = config.clusterId;
|
|
52
|
+
this._workspaceIds = config.workspaceIds;
|
|
53
|
+
}
|
|
54
|
+
// ==========
|
|
55
|
+
// ATTRIBUTES
|
|
56
|
+
// ==========
|
|
57
|
+
// cluster_id - computed: false, optional: false, required: true
|
|
58
|
+
_clusterId;
|
|
59
|
+
get clusterId() {
|
|
60
|
+
return this.getStringAttribute('cluster_id');
|
|
61
|
+
}
|
|
62
|
+
set clusterId(value) {
|
|
63
|
+
this._clusterId = value;
|
|
64
|
+
}
|
|
65
|
+
// Temporarily expose input value. Use with caution.
|
|
66
|
+
get clusterIdInput() {
|
|
67
|
+
return this._clusterId;
|
|
68
|
+
}
|
|
69
|
+
// workspace_ids - computed: false, optional: true, required: false
|
|
70
|
+
_workspaceIds;
|
|
71
|
+
get workspaceIds() {
|
|
72
|
+
return cdktf.Fn.tolist(this.getListAttribute('workspace_ids'));
|
|
73
|
+
}
|
|
74
|
+
set workspaceIds(value) {
|
|
75
|
+
this._workspaceIds = value;
|
|
76
|
+
}
|
|
77
|
+
resetWorkspaceIds() {
|
|
78
|
+
this._workspaceIds = undefined;
|
|
79
|
+
}
|
|
80
|
+
// Temporarily expose input value. Use with caution.
|
|
81
|
+
get workspaceIdsInput() {
|
|
82
|
+
return this._workspaceIds;
|
|
83
|
+
}
|
|
84
|
+
// =========
|
|
85
|
+
// SYNTHESIS
|
|
86
|
+
// =========
|
|
87
|
+
synthesizeAttributes() {
|
|
88
|
+
return {
|
|
89
|
+
cluster_id: cdktf.stringToTerraform(this._clusterId),
|
|
90
|
+
workspace_ids: cdktf.listMapper(cdktf.stringToTerraform, false)(this._workspaceIds),
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
synthesizeHclAttributes() {
|
|
94
|
+
const attrs = {
|
|
95
|
+
cluster_id: {
|
|
96
|
+
value: cdktf.stringToHclTerraform(this._clusterId),
|
|
97
|
+
isBlock: false,
|
|
98
|
+
type: "simple",
|
|
99
|
+
storageClassType: "string",
|
|
100
|
+
},
|
|
101
|
+
workspace_ids: {
|
|
102
|
+
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(this._workspaceIds),
|
|
103
|
+
isBlock: false,
|
|
104
|
+
type: "set",
|
|
105
|
+
storageClassType: "stringList",
|
|
106
|
+
},
|
|
107
|
+
};
|
|
108
|
+
// remove undefined attributes
|
|
109
|
+
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
|
|
110
|
+
}
|
|
111
|
+
}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export * as alert from './alert';
|
|
2
|
+
export * as apiToken from './api-token';
|
|
3
|
+
export * as cluster from './cluster';
|
|
4
|
+
export * as deployment from './deployment';
|
|
5
|
+
export * as hybridClusterWorkspaceAuthorization from './hybrid-cluster-workspace-authorization';
|
|
6
|
+
export * as notificationChannel from './notification-channel';
|
|
7
|
+
export * as team from './team';
|
|
8
|
+
export * as teamRoles from './team-roles';
|
|
9
|
+
export * as userInvite from './user-invite';
|
|
10
|
+
export * as userRoles from './user-roles';
|
|
11
|
+
export * as workspace from './workspace';
|
|
12
|
+
export * as dataAstroAlert from './data-astro-alert';
|
|
13
|
+
export * as dataAstroAlerts from './data-astro-alerts';
|
|
14
|
+
export * as dataAstroApiToken from './data-astro-api-token';
|
|
15
|
+
export * as dataAstroApiTokens from './data-astro-api-tokens';
|
|
16
|
+
export * as dataAstroCluster from './data-astro-cluster';
|
|
17
|
+
export * as dataAstroClusterOptions from './data-astro-cluster-options';
|
|
18
|
+
export * as dataAstroClusters from './data-astro-clusters';
|
|
19
|
+
export * as dataAstroDeployment from './data-astro-deployment';
|
|
20
|
+
export * as dataAstroDeploymentOptions from './data-astro-deployment-options';
|
|
21
|
+
export * as dataAstroDeployments from './data-astro-deployments';
|
|
22
|
+
export * as dataAstroNotificationChannel from './data-astro-notification-channel';
|
|
23
|
+
export * as dataAstroNotificationChannels from './data-astro-notification-channels';
|
|
24
|
+
export * as dataAstroOrganization from './data-astro-organization';
|
|
25
|
+
export * as dataAstroTeam from './data-astro-team';
|
|
26
|
+
export * as dataAstroTeams from './data-astro-teams';
|
|
27
|
+
export * as dataAstroUser from './data-astro-user';
|
|
28
|
+
export * as dataAstroUsers from './data-astro-users';
|
|
29
|
+
export * as dataAstroWorkspace from './data-astro-workspace';
|
|
30
|
+
export * as dataAstroWorkspaces from './data-astro-workspaces';
|
|
31
|
+
export * as provider from './provider';
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
// generated by cdktf get
|
|
2
|
+
export * as alert from './alert';
|
|
3
|
+
export * as apiToken from './api-token';
|
|
4
|
+
export * as cluster from './cluster';
|
|
5
|
+
export * as deployment from './deployment';
|
|
6
|
+
export * as hybridClusterWorkspaceAuthorization from './hybrid-cluster-workspace-authorization';
|
|
7
|
+
export * as notificationChannel from './notification-channel';
|
|
8
|
+
export * as team from './team';
|
|
9
|
+
export * as teamRoles from './team-roles';
|
|
10
|
+
export * as userInvite from './user-invite';
|
|
11
|
+
export * as userRoles from './user-roles';
|
|
12
|
+
export * as workspace from './workspace';
|
|
13
|
+
export * as dataAstroAlert from './data-astro-alert';
|
|
14
|
+
export * as dataAstroAlerts from './data-astro-alerts';
|
|
15
|
+
export * as dataAstroApiToken from './data-astro-api-token';
|
|
16
|
+
export * as dataAstroApiTokens from './data-astro-api-tokens';
|
|
17
|
+
export * as dataAstroCluster from './data-astro-cluster';
|
|
18
|
+
export * as dataAstroClusterOptions from './data-astro-cluster-options';
|
|
19
|
+
export * as dataAstroClusters from './data-astro-clusters';
|
|
20
|
+
export * as dataAstroDeployment from './data-astro-deployment';
|
|
21
|
+
export * as dataAstroDeploymentOptions from './data-astro-deployment-options';
|
|
22
|
+
export * as dataAstroDeployments from './data-astro-deployments';
|
|
23
|
+
export * as dataAstroNotificationChannel from './data-astro-notification-channel';
|
|
24
|
+
export * as dataAstroNotificationChannels from './data-astro-notification-channels';
|
|
25
|
+
export * as dataAstroOrganization from './data-astro-organization';
|
|
26
|
+
export * as dataAstroTeam from './data-astro-team';
|
|
27
|
+
export * as dataAstroTeams from './data-astro-teams';
|
|
28
|
+
export * as dataAstroUser from './data-astro-user';
|
|
29
|
+
export * as dataAstroUsers from './data-astro-users';
|
|
30
|
+
export * as dataAstroWorkspace from './data-astro-workspace';
|
|
31
|
+
export * as dataAstroWorkspaces from './data-astro-workspaces';
|
|
32
|
+
export * as provider from './provider';
|
|
File without changes
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
// generated by cdktf get
|
|
2
|
+
Object.defineProperty(exports, 'alert', { get: function () { return require('./alert'); } });
|
|
3
|
+
Object.defineProperty(exports, 'apiToken', { get: function () { return require('./api-token'); } });
|
|
4
|
+
Object.defineProperty(exports, 'cluster', { get: function () { return require('./cluster'); } });
|
|
5
|
+
Object.defineProperty(exports, 'deployment', { get: function () { return require('./deployment'); } });
|
|
6
|
+
Object.defineProperty(exports, 'hybridClusterWorkspaceAuthorization', { get: function () { return require('./hybrid-cluster-workspace-authorization'); } });
|
|
7
|
+
Object.defineProperty(exports, 'notificationChannel', { get: function () { return require('./notification-channel'); } });
|
|
8
|
+
Object.defineProperty(exports, 'team', { get: function () { return require('./team'); } });
|
|
9
|
+
Object.defineProperty(exports, 'teamRoles', { get: function () { return require('./team-roles'); } });
|
|
10
|
+
Object.defineProperty(exports, 'userInvite', { get: function () { return require('./user-invite'); } });
|
|
11
|
+
Object.defineProperty(exports, 'userRoles', { get: function () { return require('./user-roles'); } });
|
|
12
|
+
Object.defineProperty(exports, 'workspace', { get: function () { return require('./workspace'); } });
|
|
13
|
+
Object.defineProperty(exports, 'dataAstroAlert', { get: function () { return require('./data-astro-alert'); } });
|
|
14
|
+
Object.defineProperty(exports, 'dataAstroAlerts', { get: function () { return require('./data-astro-alerts'); } });
|
|
15
|
+
Object.defineProperty(exports, 'dataAstroApiToken', { get: function () { return require('./data-astro-api-token'); } });
|
|
16
|
+
Object.defineProperty(exports, 'dataAstroApiTokens', { get: function () { return require('./data-astro-api-tokens'); } });
|
|
17
|
+
Object.defineProperty(exports, 'dataAstroCluster', { get: function () { return require('./data-astro-cluster'); } });
|
|
18
|
+
Object.defineProperty(exports, 'dataAstroClusterOptions', { get: function () { return require('./data-astro-cluster-options'); } });
|
|
19
|
+
Object.defineProperty(exports, 'dataAstroClusters', { get: function () { return require('./data-astro-clusters'); } });
|
|
20
|
+
Object.defineProperty(exports, 'dataAstroDeployment', { get: function () { return require('./data-astro-deployment'); } });
|
|
21
|
+
Object.defineProperty(exports, 'dataAstroDeploymentOptions', { get: function () { return require('./data-astro-deployment-options'); } });
|
|
22
|
+
Object.defineProperty(exports, 'dataAstroDeployments', { get: function () { return require('./data-astro-deployments'); } });
|
|
23
|
+
Object.defineProperty(exports, 'dataAstroNotificationChannel', { get: function () { return require('./data-astro-notification-channel'); } });
|
|
24
|
+
Object.defineProperty(exports, 'dataAstroNotificationChannels', { get: function () { return require('./data-astro-notification-channels'); } });
|
|
25
|
+
Object.defineProperty(exports, 'dataAstroOrganization', { get: function () { return require('./data-astro-organization'); } });
|
|
26
|
+
Object.defineProperty(exports, 'dataAstroTeam', { get: function () { return require('./data-astro-team'); } });
|
|
27
|
+
Object.defineProperty(exports, 'dataAstroTeams', { get: function () { return require('./data-astro-teams'); } });
|
|
28
|
+
Object.defineProperty(exports, 'dataAstroUser', { get: function () { return require('./data-astro-user'); } });
|
|
29
|
+
Object.defineProperty(exports, 'dataAstroUsers', { get: function () { return require('./data-astro-users'); } });
|
|
30
|
+
Object.defineProperty(exports, 'dataAstroWorkspace', { get: function () { return require('./data-astro-workspace'); } });
|
|
31
|
+
Object.defineProperty(exports, 'dataAstroWorkspaces', { get: function () { return require('./data-astro-workspaces'); } });
|
|
32
|
+
Object.defineProperty(exports, 'provider', { get: function () { return require('./provider'); } });
|
|
@@ -0,0 +1,235 @@
|
|
|
1
|
+
import { Construct } from 'constructs';
|
|
2
|
+
import * as cdktf from 'cdktf';
|
|
3
|
+
export interface NotificationChannelConfig extends cdktf.TerraformMetaArguments {
|
|
4
|
+
/**
|
|
5
|
+
* The notification channel's definition
|
|
6
|
+
*
|
|
7
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/notification_channel#definition NotificationChannel#definition}
|
|
8
|
+
*/
|
|
9
|
+
readonly definition: NotificationChannelDefinition;
|
|
10
|
+
/**
|
|
11
|
+
* The entity ID the notification channel is scoped to
|
|
12
|
+
*
|
|
13
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/notification_channel#entity_id NotificationChannel#entity_id}
|
|
14
|
+
*/
|
|
15
|
+
readonly entityId: string;
|
|
16
|
+
/**
|
|
17
|
+
* The type of entity the notification channel is scoped to (e.g., 'DEPLOYMENT')
|
|
18
|
+
*
|
|
19
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/notification_channel#entity_type NotificationChannel#entity_type}
|
|
20
|
+
*/
|
|
21
|
+
readonly entityType: string;
|
|
22
|
+
/**
|
|
23
|
+
* When entity type is scoped to ORGANIZATION or WORKSPACE, this determines if child entities can access this notification channel.
|
|
24
|
+
*
|
|
25
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/notification_channel#is_shared NotificationChannel#is_shared}
|
|
26
|
+
*/
|
|
27
|
+
readonly isShared?: boolean | cdktf.IResolvable;
|
|
28
|
+
/**
|
|
29
|
+
* The notification channel's name
|
|
30
|
+
*
|
|
31
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/notification_channel#name NotificationChannel#name}
|
|
32
|
+
*/
|
|
33
|
+
readonly name: string;
|
|
34
|
+
/**
|
|
35
|
+
* The notification channel's type
|
|
36
|
+
*
|
|
37
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/notification_channel#type NotificationChannel#type}
|
|
38
|
+
*/
|
|
39
|
+
readonly type: string;
|
|
40
|
+
}
|
|
41
|
+
export interface NotificationChannelCreatedBy {
|
|
42
|
+
}
|
|
43
|
+
export declare function notificationChannelCreatedByToTerraform(struct?: NotificationChannelCreatedBy): any;
|
|
44
|
+
export declare function notificationChannelCreatedByToHclTerraform(struct?: NotificationChannelCreatedBy): any;
|
|
45
|
+
export declare class NotificationChannelCreatedByOutputReference extends cdktf.ComplexObject {
|
|
46
|
+
private isEmptyObject;
|
|
47
|
+
/**
|
|
48
|
+
* @param terraformResource The parent resource
|
|
49
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
50
|
+
*/
|
|
51
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
|
|
52
|
+
get internalValue(): NotificationChannelCreatedBy | undefined;
|
|
53
|
+
set internalValue(value: NotificationChannelCreatedBy | undefined);
|
|
54
|
+
get apiTokenName(): any;
|
|
55
|
+
get avatarUrl(): any;
|
|
56
|
+
get fullName(): any;
|
|
57
|
+
get id(): any;
|
|
58
|
+
get subjectType(): any;
|
|
59
|
+
get username(): any;
|
|
60
|
+
}
|
|
61
|
+
export interface NotificationChannelDefinition {
|
|
62
|
+
/**
|
|
63
|
+
* The API key for the notification channel
|
|
64
|
+
*
|
|
65
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/notification_channel#api_key NotificationChannel#api_key}
|
|
66
|
+
*/
|
|
67
|
+
readonly apiKey?: string;
|
|
68
|
+
/**
|
|
69
|
+
* The DAG ID for the notification channel
|
|
70
|
+
*
|
|
71
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/notification_channel#dag_id NotificationChannel#dag_id}
|
|
72
|
+
*/
|
|
73
|
+
readonly dagId?: string;
|
|
74
|
+
/**
|
|
75
|
+
* The deployment API token for the notification channel
|
|
76
|
+
*
|
|
77
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/notification_channel#deployment_api_token NotificationChannel#deployment_api_token}
|
|
78
|
+
*/
|
|
79
|
+
readonly deploymentApiToken?: string;
|
|
80
|
+
/**
|
|
81
|
+
* The deployment ID for the notification channel
|
|
82
|
+
*
|
|
83
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/notification_channel#deployment_id NotificationChannel#deployment_id}
|
|
84
|
+
*/
|
|
85
|
+
readonly deploymentId?: string;
|
|
86
|
+
/**
|
|
87
|
+
* The integration key for the notification channel
|
|
88
|
+
*
|
|
89
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/notification_channel#integration_key NotificationChannel#integration_key}
|
|
90
|
+
*/
|
|
91
|
+
readonly integrationKey?: string;
|
|
92
|
+
/**
|
|
93
|
+
* The recipients for the notification channel
|
|
94
|
+
*
|
|
95
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/notification_channel#recipients NotificationChannel#recipients}
|
|
96
|
+
*/
|
|
97
|
+
readonly recipients?: string[];
|
|
98
|
+
/**
|
|
99
|
+
* The webhook URL for the notification channel
|
|
100
|
+
*
|
|
101
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/notification_channel#webhook_url NotificationChannel#webhook_url}
|
|
102
|
+
*/
|
|
103
|
+
readonly webhookUrl?: string;
|
|
104
|
+
}
|
|
105
|
+
export declare function notificationChannelDefinitionToTerraform(struct?: NotificationChannelDefinition | cdktf.IResolvable): any;
|
|
106
|
+
export declare function notificationChannelDefinitionToHclTerraform(struct?: NotificationChannelDefinition | cdktf.IResolvable): any;
|
|
107
|
+
export declare class NotificationChannelDefinitionOutputReference extends cdktf.ComplexObject {
|
|
108
|
+
private isEmptyObject;
|
|
109
|
+
private resolvableValue?;
|
|
110
|
+
/**
|
|
111
|
+
* @param terraformResource The parent resource
|
|
112
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
113
|
+
*/
|
|
114
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
|
|
115
|
+
get internalValue(): NotificationChannelDefinition | cdktf.IResolvable | undefined;
|
|
116
|
+
set internalValue(value: NotificationChannelDefinition | cdktf.IResolvable | undefined);
|
|
117
|
+
private _apiKey?;
|
|
118
|
+
get apiKey(): string;
|
|
119
|
+
set apiKey(value: string);
|
|
120
|
+
resetApiKey(): void;
|
|
121
|
+
get apiKeyInput(): string;
|
|
122
|
+
private _dagId?;
|
|
123
|
+
get dagId(): string;
|
|
124
|
+
set dagId(value: string);
|
|
125
|
+
resetDagId(): void;
|
|
126
|
+
get dagIdInput(): string;
|
|
127
|
+
private _deploymentApiToken?;
|
|
128
|
+
get deploymentApiToken(): string;
|
|
129
|
+
set deploymentApiToken(value: string);
|
|
130
|
+
resetDeploymentApiToken(): void;
|
|
131
|
+
get deploymentApiTokenInput(): string;
|
|
132
|
+
private _deploymentId?;
|
|
133
|
+
get deploymentId(): string;
|
|
134
|
+
set deploymentId(value: string);
|
|
135
|
+
resetDeploymentId(): void;
|
|
136
|
+
get deploymentIdInput(): string;
|
|
137
|
+
private _integrationKey?;
|
|
138
|
+
get integrationKey(): string;
|
|
139
|
+
set integrationKey(value: string);
|
|
140
|
+
resetIntegrationKey(): void;
|
|
141
|
+
get integrationKeyInput(): string;
|
|
142
|
+
private _recipients?;
|
|
143
|
+
get recipients(): string[];
|
|
144
|
+
set recipients(value: string[]);
|
|
145
|
+
resetRecipients(): void;
|
|
146
|
+
get recipientsInput(): string[];
|
|
147
|
+
private _webhookUrl?;
|
|
148
|
+
get webhookUrl(): string;
|
|
149
|
+
set webhookUrl(value: string);
|
|
150
|
+
resetWebhookUrl(): void;
|
|
151
|
+
get webhookUrlInput(): string;
|
|
152
|
+
}
|
|
153
|
+
export interface NotificationChannelUpdatedBy {
|
|
154
|
+
}
|
|
155
|
+
export declare function notificationChannelUpdatedByToTerraform(struct?: NotificationChannelUpdatedBy): any;
|
|
156
|
+
export declare function notificationChannelUpdatedByToHclTerraform(struct?: NotificationChannelUpdatedBy): any;
|
|
157
|
+
export declare class NotificationChannelUpdatedByOutputReference extends cdktf.ComplexObject {
|
|
158
|
+
private isEmptyObject;
|
|
159
|
+
/**
|
|
160
|
+
* @param terraformResource The parent resource
|
|
161
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
162
|
+
*/
|
|
163
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
|
|
164
|
+
get internalValue(): NotificationChannelUpdatedBy | undefined;
|
|
165
|
+
set internalValue(value: NotificationChannelUpdatedBy | undefined);
|
|
166
|
+
get apiTokenName(): any;
|
|
167
|
+
get avatarUrl(): any;
|
|
168
|
+
get fullName(): any;
|
|
169
|
+
get id(): any;
|
|
170
|
+
get subjectType(): any;
|
|
171
|
+
get username(): any;
|
|
172
|
+
}
|
|
173
|
+
/**
|
|
174
|
+
* Represents a {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/notification_channel astro_notification_channel}
|
|
175
|
+
*/
|
|
176
|
+
export declare class NotificationChannel extends cdktf.TerraformResource {
|
|
177
|
+
static readonly tfResourceType = "astro_notification_channel";
|
|
178
|
+
/**
|
|
179
|
+
* Generates CDKTF code for importing a NotificationChannel resource upon running "cdktf plan <stack-name>"
|
|
180
|
+
* @param scope The scope in which to define this construct
|
|
181
|
+
* @param importToId The construct id used in the generated config for the NotificationChannel to import
|
|
182
|
+
* @param importFromId The id of the existing NotificationChannel that should be imported. Refer to the {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/notification_channel#import import section} in the documentation of this resource for the id to use
|
|
183
|
+
* @param provider? Optional instance of the provider where the NotificationChannel to import is found
|
|
184
|
+
*/
|
|
185
|
+
static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any;
|
|
186
|
+
/**
|
|
187
|
+
* Create a new {@link https://registry.terraform.io/providers/astronomer/astro/1.0.8/docs/resources/notification_channel astro_notification_channel} Resource
|
|
188
|
+
*
|
|
189
|
+
* @param scope The scope in which to define this construct
|
|
190
|
+
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
191
|
+
* @param options NotificationChannelConfig
|
|
192
|
+
*/
|
|
193
|
+
constructor(scope: Construct, id: string, config: NotificationChannelConfig);
|
|
194
|
+
get createdAt(): any;
|
|
195
|
+
private _createdBy;
|
|
196
|
+
get createdBy(): NotificationChannelCreatedByOutputReference;
|
|
197
|
+
private _definition;
|
|
198
|
+
get definition(): NotificationChannelDefinitionOutputReference;
|
|
199
|
+
putDefinition(value: NotificationChannelDefinition): void;
|
|
200
|
+
get definitionInput(): any;
|
|
201
|
+
get deploymentId(): any;
|
|
202
|
+
private _entityId?;
|
|
203
|
+
get entityId(): string;
|
|
204
|
+
set entityId(value: string);
|
|
205
|
+
get entityIdInput(): string;
|
|
206
|
+
get entityName(): any;
|
|
207
|
+
private _entityType?;
|
|
208
|
+
get entityType(): string;
|
|
209
|
+
set entityType(value: string);
|
|
210
|
+
get entityTypeInput(): string;
|
|
211
|
+
get id(): any;
|
|
212
|
+
private _isShared?;
|
|
213
|
+
get isShared(): boolean | cdktf.IResolvable;
|
|
214
|
+
set isShared(value: boolean | cdktf.IResolvable);
|
|
215
|
+
resetIsShared(): void;
|
|
216
|
+
get isSharedInput(): any;
|
|
217
|
+
private _name?;
|
|
218
|
+
get name(): string;
|
|
219
|
+
set name(value: string);
|
|
220
|
+
get nameInput(): string;
|
|
221
|
+
private _type?;
|
|
222
|
+
get type(): string;
|
|
223
|
+
set type(value: string);
|
|
224
|
+
get typeInput(): string;
|
|
225
|
+
get updatedAt(): any;
|
|
226
|
+
private _updatedBy;
|
|
227
|
+
get updatedBy(): NotificationChannelUpdatedByOutputReference;
|
|
228
|
+
get workspaceId(): any;
|
|
229
|
+
protected synthesizeAttributes(): {
|
|
230
|
+
[name: string]: any;
|
|
231
|
+
};
|
|
232
|
+
protected synthesizeHclAttributes(): {
|
|
233
|
+
[name: string]: any;
|
|
234
|
+
};
|
|
235
|
+
}
|