@pulumi/confluentcloud 2.30.0-alpha.1748900730 → 2.30.0
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/connectArtifact.d.ts +151 -0
- package/connectArtifact.js +106 -0
- package/connectArtifact.js.map +1 -0
- package/flinkArtifact.d.ts +7 -6
- package/flinkArtifact.js +1 -0
- package/flinkArtifact.js.map +1 -1
- package/flinkConnection.d.ts +250 -0
- package/flinkConnection.js +131 -0
- package/flinkConnection.js.map +1 -0
- package/getConnectArtifact.d.ts +101 -0
- package/getConnectArtifact.js +74 -0
- package/getConnectArtifact.js.map +1 -0
- package/getFlinkConnection.d.ts +97 -0
- package/getFlinkConnection.js +50 -0
- package/getFlinkConnection.js.map +1 -0
- package/index.d.ts +12 -0
- package/index.js +20 -4
- package/index.js.map +1 -1
- package/package.json +2 -2
- package/types/input.d.ts +116 -0
- package/types/output.d.ts +72 -0
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
10
|
+
*
|
|
11
|
+
* const example = new confluentcloud.ConnectArtifact("example", {
|
|
12
|
+
* displayName: "example-connect-artifact",
|
|
13
|
+
* cloud: "AWS",
|
|
14
|
+
* environment: {
|
|
15
|
+
* id: "env-123456",
|
|
16
|
+
* },
|
|
17
|
+
* contentFormat: "JAR",
|
|
18
|
+
* artifactFile: "path/to/your/artifact.jar",
|
|
19
|
+
* description: "Example Connect Artifact",
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* ## Import
|
|
24
|
+
*
|
|
25
|
+
* You can import a Connect Artifact by using Environment ID, Cloud, and Connect Artifact ID in the format `<Environment ID>/<cloud>/<Connect Artifact ID>`, for example:
|
|
26
|
+
*
|
|
27
|
+
* $ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>"
|
|
28
|
+
*
|
|
29
|
+
* $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
|
|
30
|
+
*
|
|
31
|
+
* ```sh
|
|
32
|
+
* $ pulumi import confluentcloud:index/connectArtifact:ConnectArtifact example env-123456/AWS/ca-123456
|
|
33
|
+
* ```
|
|
34
|
+
*
|
|
35
|
+
* !> **Warning:** Do not forget to delete terminal command history afterwards for security purposes.
|
|
36
|
+
*/
|
|
37
|
+
export declare class ConnectArtifact extends pulumi.CustomResource {
|
|
38
|
+
/**
|
|
39
|
+
* Get an existing ConnectArtifact resource's state with the given name, ID, and optional extra
|
|
40
|
+
* properties used to qualify the lookup.
|
|
41
|
+
*
|
|
42
|
+
* @param name The _unique_ name of the resulting resource.
|
|
43
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
44
|
+
* @param state Any extra arguments used during the lookup.
|
|
45
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
46
|
+
*/
|
|
47
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ConnectArtifactState, opts?: pulumi.CustomResourceOptions): ConnectArtifact;
|
|
48
|
+
/**
|
|
49
|
+
* Returns true if the given object is an instance of ConnectArtifact. This is designed to work even
|
|
50
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
51
|
+
*/
|
|
52
|
+
static isInstance(obj: any): obj is ConnectArtifact;
|
|
53
|
+
/**
|
|
54
|
+
* The artifact file for Connect Artifact in `JAR` or `ZIP` format. This can be relative or absolute path
|
|
55
|
+
*/
|
|
56
|
+
readonly artifactFile: pulumi.Output<string | undefined>;
|
|
57
|
+
/**
|
|
58
|
+
* Cloud provider where the Connect Artifact archive is uploaded.
|
|
59
|
+
*/
|
|
60
|
+
readonly cloud: pulumi.Output<string>;
|
|
61
|
+
/**
|
|
62
|
+
* Archive format of the Connect Artifact. Supported formats are `JAR` and `ZIP`.
|
|
63
|
+
*/
|
|
64
|
+
readonly contentFormat: pulumi.Output<string>;
|
|
65
|
+
/**
|
|
66
|
+
* Description of the Connect Artifact.
|
|
67
|
+
*/
|
|
68
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
69
|
+
/**
|
|
70
|
+
* The unique name of the Connect Artifact per cloud, environment scope.
|
|
71
|
+
*/
|
|
72
|
+
readonly displayName: pulumi.Output<string>;
|
|
73
|
+
/**
|
|
74
|
+
* Environment objects represent an isolated namespace for your Confluent resources for organizational purposes.
|
|
75
|
+
*/
|
|
76
|
+
readonly environment: pulumi.Output<outputs.ConnectArtifactEnvironment>;
|
|
77
|
+
/**
|
|
78
|
+
* Status of the Connect Artifact.
|
|
79
|
+
*/
|
|
80
|
+
readonly status: pulumi.Output<string>;
|
|
81
|
+
/**
|
|
82
|
+
* Create a ConnectArtifact resource with the given unique name, arguments, and options.
|
|
83
|
+
*
|
|
84
|
+
* @param name The _unique_ name of the resource.
|
|
85
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
86
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
87
|
+
*/
|
|
88
|
+
constructor(name: string, args: ConnectArtifactArgs, opts?: pulumi.CustomResourceOptions);
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* Input properties used for looking up and filtering ConnectArtifact resources.
|
|
92
|
+
*/
|
|
93
|
+
export interface ConnectArtifactState {
|
|
94
|
+
/**
|
|
95
|
+
* The artifact file for Connect Artifact in `JAR` or `ZIP` format. This can be relative or absolute path
|
|
96
|
+
*/
|
|
97
|
+
artifactFile?: pulumi.Input<string>;
|
|
98
|
+
/**
|
|
99
|
+
* Cloud provider where the Connect Artifact archive is uploaded.
|
|
100
|
+
*/
|
|
101
|
+
cloud?: pulumi.Input<string>;
|
|
102
|
+
/**
|
|
103
|
+
* Archive format of the Connect Artifact. Supported formats are `JAR` and `ZIP`.
|
|
104
|
+
*/
|
|
105
|
+
contentFormat?: pulumi.Input<string>;
|
|
106
|
+
/**
|
|
107
|
+
* Description of the Connect Artifact.
|
|
108
|
+
*/
|
|
109
|
+
description?: pulumi.Input<string>;
|
|
110
|
+
/**
|
|
111
|
+
* The unique name of the Connect Artifact per cloud, environment scope.
|
|
112
|
+
*/
|
|
113
|
+
displayName?: pulumi.Input<string>;
|
|
114
|
+
/**
|
|
115
|
+
* Environment objects represent an isolated namespace for your Confluent resources for organizational purposes.
|
|
116
|
+
*/
|
|
117
|
+
environment?: pulumi.Input<inputs.ConnectArtifactEnvironment>;
|
|
118
|
+
/**
|
|
119
|
+
* Status of the Connect Artifact.
|
|
120
|
+
*/
|
|
121
|
+
status?: pulumi.Input<string>;
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* The set of arguments for constructing a ConnectArtifact resource.
|
|
125
|
+
*/
|
|
126
|
+
export interface ConnectArtifactArgs {
|
|
127
|
+
/**
|
|
128
|
+
* The artifact file for Connect Artifact in `JAR` or `ZIP` format. This can be relative or absolute path
|
|
129
|
+
*/
|
|
130
|
+
artifactFile?: pulumi.Input<string>;
|
|
131
|
+
/**
|
|
132
|
+
* Cloud provider where the Connect Artifact archive is uploaded.
|
|
133
|
+
*/
|
|
134
|
+
cloud: pulumi.Input<string>;
|
|
135
|
+
/**
|
|
136
|
+
* Archive format of the Connect Artifact. Supported formats are `JAR` and `ZIP`.
|
|
137
|
+
*/
|
|
138
|
+
contentFormat: pulumi.Input<string>;
|
|
139
|
+
/**
|
|
140
|
+
* Description of the Connect Artifact.
|
|
141
|
+
*/
|
|
142
|
+
description?: pulumi.Input<string>;
|
|
143
|
+
/**
|
|
144
|
+
* The unique name of the Connect Artifact per cloud, environment scope.
|
|
145
|
+
*/
|
|
146
|
+
displayName: pulumi.Input<string>;
|
|
147
|
+
/**
|
|
148
|
+
* Environment objects represent an isolated namespace for your Confluent resources for organizational purposes.
|
|
149
|
+
*/
|
|
150
|
+
environment: pulumi.Input<inputs.ConnectArtifactEnvironment>;
|
|
151
|
+
}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.ConnectArtifact = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
14
|
+
*
|
|
15
|
+
* const example = new confluentcloud.ConnectArtifact("example", {
|
|
16
|
+
* displayName: "example-connect-artifact",
|
|
17
|
+
* cloud: "AWS",
|
|
18
|
+
* environment: {
|
|
19
|
+
* id: "env-123456",
|
|
20
|
+
* },
|
|
21
|
+
* contentFormat: "JAR",
|
|
22
|
+
* artifactFile: "path/to/your/artifact.jar",
|
|
23
|
+
* description: "Example Connect Artifact",
|
|
24
|
+
* });
|
|
25
|
+
* ```
|
|
26
|
+
*
|
|
27
|
+
* ## Import
|
|
28
|
+
*
|
|
29
|
+
* You can import a Connect Artifact by using Environment ID, Cloud, and Connect Artifact ID in the format `<Environment ID>/<cloud>/<Connect Artifact ID>`, for example:
|
|
30
|
+
*
|
|
31
|
+
* $ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>"
|
|
32
|
+
*
|
|
33
|
+
* $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
|
|
34
|
+
*
|
|
35
|
+
* ```sh
|
|
36
|
+
* $ pulumi import confluentcloud:index/connectArtifact:ConnectArtifact example env-123456/AWS/ca-123456
|
|
37
|
+
* ```
|
|
38
|
+
*
|
|
39
|
+
* !> **Warning:** Do not forget to delete terminal command history afterwards for security purposes.
|
|
40
|
+
*/
|
|
41
|
+
class ConnectArtifact extends pulumi.CustomResource {
|
|
42
|
+
/**
|
|
43
|
+
* Get an existing ConnectArtifact resource's state with the given name, ID, and optional extra
|
|
44
|
+
* properties used to qualify the lookup.
|
|
45
|
+
*
|
|
46
|
+
* @param name The _unique_ name of the resulting resource.
|
|
47
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
48
|
+
* @param state Any extra arguments used during the lookup.
|
|
49
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
50
|
+
*/
|
|
51
|
+
static get(name, id, state, opts) {
|
|
52
|
+
return new ConnectArtifact(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Returns true if the given object is an instance of ConnectArtifact. This is designed to work even
|
|
56
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
57
|
+
*/
|
|
58
|
+
static isInstance(obj) {
|
|
59
|
+
if (obj === undefined || obj === null) {
|
|
60
|
+
return false;
|
|
61
|
+
}
|
|
62
|
+
return obj['__pulumiType'] === ConnectArtifact.__pulumiType;
|
|
63
|
+
}
|
|
64
|
+
constructor(name, argsOrState, opts) {
|
|
65
|
+
let resourceInputs = {};
|
|
66
|
+
opts = opts || {};
|
|
67
|
+
if (opts.id) {
|
|
68
|
+
const state = argsOrState;
|
|
69
|
+
resourceInputs["artifactFile"] = state ? state.artifactFile : undefined;
|
|
70
|
+
resourceInputs["cloud"] = state ? state.cloud : undefined;
|
|
71
|
+
resourceInputs["contentFormat"] = state ? state.contentFormat : undefined;
|
|
72
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
73
|
+
resourceInputs["displayName"] = state ? state.displayName : undefined;
|
|
74
|
+
resourceInputs["environment"] = state ? state.environment : undefined;
|
|
75
|
+
resourceInputs["status"] = state ? state.status : undefined;
|
|
76
|
+
}
|
|
77
|
+
else {
|
|
78
|
+
const args = argsOrState;
|
|
79
|
+
if ((!args || args.cloud === undefined) && !opts.urn) {
|
|
80
|
+
throw new Error("Missing required property 'cloud'");
|
|
81
|
+
}
|
|
82
|
+
if ((!args || args.contentFormat === undefined) && !opts.urn) {
|
|
83
|
+
throw new Error("Missing required property 'contentFormat'");
|
|
84
|
+
}
|
|
85
|
+
if ((!args || args.displayName === undefined) && !opts.urn) {
|
|
86
|
+
throw new Error("Missing required property 'displayName'");
|
|
87
|
+
}
|
|
88
|
+
if ((!args || args.environment === undefined) && !opts.urn) {
|
|
89
|
+
throw new Error("Missing required property 'environment'");
|
|
90
|
+
}
|
|
91
|
+
resourceInputs["artifactFile"] = args ? args.artifactFile : undefined;
|
|
92
|
+
resourceInputs["cloud"] = args ? args.cloud : undefined;
|
|
93
|
+
resourceInputs["contentFormat"] = args ? args.contentFormat : undefined;
|
|
94
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
95
|
+
resourceInputs["displayName"] = args ? args.displayName : undefined;
|
|
96
|
+
resourceInputs["environment"] = args ? args.environment : undefined;
|
|
97
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
98
|
+
}
|
|
99
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
100
|
+
super(ConnectArtifact.__pulumiType, name, resourceInputs, opts);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
exports.ConnectArtifact = ConnectArtifact;
|
|
104
|
+
/** @internal */
|
|
105
|
+
ConnectArtifact.__pulumiType = 'confluentcloud:index/connectArtifact:ConnectArtifact';
|
|
106
|
+
//# sourceMappingURL=connectArtifact.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connectArtifact.js","sourceRoot":"","sources":["../connectArtifact.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,MAAa,eAAgB,SAAQ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a,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;;AArGL,0CAsGC;AAxFG,gBAAgB;AACO,4BAAY,GAAG,sDAAsD,CAAC"}
|
package/flinkArtifact.d.ts
CHANGED
|
@@ -14,6 +14,7 @@ import * as outputs from "./types/output";
|
|
|
14
14
|
* region: "us-west-2",
|
|
15
15
|
* displayName: "my_flink_sumscalar_artifact",
|
|
16
16
|
* contentFormat: "JAR",
|
|
17
|
+
* artifactFile: "path/to/your/artifact.jar",
|
|
17
18
|
* environment: {
|
|
18
19
|
* id: development.id,
|
|
19
20
|
* },
|
|
@@ -55,7 +56,7 @@ export declare class FlinkArtifact extends pulumi.CustomResource {
|
|
|
55
56
|
*/
|
|
56
57
|
readonly apiVersion: pulumi.Output<string>;
|
|
57
58
|
/**
|
|
58
|
-
* The artifact file for Flink Artifact.
|
|
59
|
+
* The artifact file for Flink Artifact. Can be a relative or absolute path. Must have a `.jar` or `.zip` extension. This can be relative or absolute path
|
|
59
60
|
*/
|
|
60
61
|
readonly artifactFile: pulumi.Output<string | undefined>;
|
|
61
62
|
/**
|
|
@@ -69,7 +70,7 @@ export declare class FlinkArtifact extends pulumi.CustomResource {
|
|
|
69
70
|
*/
|
|
70
71
|
readonly cloud: pulumi.Output<string>;
|
|
71
72
|
/**
|
|
72
|
-
*
|
|
73
|
+
* Archive format of the Flink Artifact. Accepted values are: `JAR`, `ZIP`. Should match the file extension of your artifact file.
|
|
73
74
|
*/
|
|
74
75
|
readonly contentFormat: pulumi.Output<string>;
|
|
75
76
|
/**
|
|
@@ -122,7 +123,7 @@ export interface FlinkArtifactState {
|
|
|
122
123
|
*/
|
|
123
124
|
apiVersion?: pulumi.Input<string>;
|
|
124
125
|
/**
|
|
125
|
-
* The artifact file for Flink Artifact.
|
|
126
|
+
* The artifact file for Flink Artifact. Can be a relative or absolute path. Must have a `.jar` or `.zip` extension. This can be relative or absolute path
|
|
126
127
|
*/
|
|
127
128
|
artifactFile?: pulumi.Input<string>;
|
|
128
129
|
/**
|
|
@@ -136,7 +137,7 @@ export interface FlinkArtifactState {
|
|
|
136
137
|
*/
|
|
137
138
|
cloud?: pulumi.Input<string>;
|
|
138
139
|
/**
|
|
139
|
-
*
|
|
140
|
+
* Archive format of the Flink Artifact. Accepted values are: `JAR`, `ZIP`. Should match the file extension of your artifact file.
|
|
140
141
|
*/
|
|
141
142
|
contentFormat?: pulumi.Input<string>;
|
|
142
143
|
/**
|
|
@@ -177,7 +178,7 @@ export interface FlinkArtifactState {
|
|
|
177
178
|
*/
|
|
178
179
|
export interface FlinkArtifactArgs {
|
|
179
180
|
/**
|
|
180
|
-
* The artifact file for Flink Artifact.
|
|
181
|
+
* The artifact file for Flink Artifact. Can be a relative or absolute path. Must have a `.jar` or `.zip` extension. This can be relative or absolute path
|
|
181
182
|
*/
|
|
182
183
|
artifactFile?: pulumi.Input<string>;
|
|
183
184
|
/**
|
|
@@ -191,7 +192,7 @@ export interface FlinkArtifactArgs {
|
|
|
191
192
|
*/
|
|
192
193
|
cloud: pulumi.Input<string>;
|
|
193
194
|
/**
|
|
194
|
-
*
|
|
195
|
+
* Archive format of the Flink Artifact. Accepted values are: `JAR`, `ZIP`. Should match the file extension of your artifact file.
|
|
195
196
|
*/
|
|
196
197
|
contentFormat?: pulumi.Input<string>;
|
|
197
198
|
/**
|
package/flinkArtifact.js
CHANGED
package/flinkArtifact.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flinkArtifact.js","sourceRoot":"","sources":["../flinkArtifact.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"flinkArtifact.js","sourceRoot":"","sources":["../flinkArtifact.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACpE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,aAAa,CAAC,YAAY,CAAC;IAC9D,CAAC;IAiED,YAAY,IAAY,EAAE,WAAoD,EAAE,IAAmC;QAC/G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA6C,CAAC;YAC5D,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAA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from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* ## Import
|
|
6
|
+
*
|
|
7
|
+
* You can import a Flink connection by using the Flink Connection name, for example:
|
|
8
|
+
*
|
|
9
|
+
* Option #1: Manage multiple Flink Compute Pools in the same Pulumi Stack
|
|
10
|
+
*
|
|
11
|
+
* $ export IMPORT_CONFLUENT_ORGANIZATION_ID="<organization_id>"
|
|
12
|
+
*
|
|
13
|
+
* $ export IMPORT_CONFLUENT_ENVIRONMENT_ID="<environment_id>"
|
|
14
|
+
*
|
|
15
|
+
* $ export IMPORT_FLINK_COMPUTE_POOL_ID="<flink_compute_pool_id>"
|
|
16
|
+
*
|
|
17
|
+
* $ export IMPORT_FLINK_API_KEY="<flink_api_key>"
|
|
18
|
+
*
|
|
19
|
+
* $ export IMPORT_FLINK_API_SECRET="<flink_api_secret>"
|
|
20
|
+
*
|
|
21
|
+
* $ export IMPORT_FLINK_REST_ENDPOINT="<flink_rest_endpoint>"
|
|
22
|
+
*
|
|
23
|
+
* $ export IMPORT_FLINK_PRINCIPAL_ID="<flink_principal>"
|
|
24
|
+
*
|
|
25
|
+
* $ export API_KEY="<API_KEY>"
|
|
26
|
+
*
|
|
27
|
+
* ```sh
|
|
28
|
+
* $ pulumi import confluentcloud:index/flinkConnection:FlinkConnection example org-xyz123/env-abc123/connection1
|
|
29
|
+
* ```
|
|
30
|
+
*
|
|
31
|
+
* Option #2: Manage a single Flink Compute Pool in the same Pulumi Stack
|
|
32
|
+
*
|
|
33
|
+
* $ export API_KEY="<API_KEY>"
|
|
34
|
+
*
|
|
35
|
+
* ```sh
|
|
36
|
+
* $ pulumi import confluentcloud:index/flinkConnection:FlinkConnection example org-xyz123/env-abc123/connection1
|
|
37
|
+
* ```
|
|
38
|
+
*
|
|
39
|
+
* !> **Warning:** Do not forget to delete terminal command history afterwards for security purposes.
|
|
40
|
+
*/
|
|
41
|
+
export declare class FlinkConnection extends pulumi.CustomResource {
|
|
42
|
+
/**
|
|
43
|
+
* Get an existing FlinkConnection resource's state with the given name, ID, and optional extra
|
|
44
|
+
* properties used to qualify the lookup.
|
|
45
|
+
*
|
|
46
|
+
* @param name The _unique_ name of the resulting resource.
|
|
47
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
48
|
+
* @param state Any extra arguments used during the lookup.
|
|
49
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
50
|
+
*/
|
|
51
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: FlinkConnectionState, opts?: pulumi.CustomResourceOptions): FlinkConnection;
|
|
52
|
+
/**
|
|
53
|
+
* Returns true if the given object is an instance of FlinkConnection. This is designed to work even
|
|
54
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
55
|
+
*/
|
|
56
|
+
static isInstance(obj: any): obj is FlinkConnection;
|
|
57
|
+
/**
|
|
58
|
+
* API key for the type.
|
|
59
|
+
*/
|
|
60
|
+
readonly apiKey: pulumi.Output<string | undefined>;
|
|
61
|
+
/**
|
|
62
|
+
* The schema version of this representation of a resource.
|
|
63
|
+
*/
|
|
64
|
+
readonly apiVersion: pulumi.Output<string>;
|
|
65
|
+
/**
|
|
66
|
+
* Access key for the type.
|
|
67
|
+
*/
|
|
68
|
+
readonly awsAccessKey: pulumi.Output<string | undefined>;
|
|
69
|
+
/**
|
|
70
|
+
* Secret key for the type.
|
|
71
|
+
*/
|
|
72
|
+
readonly awsSecretKey: pulumi.Output<string | undefined>;
|
|
73
|
+
/**
|
|
74
|
+
* Session token for the type.
|
|
75
|
+
*/
|
|
76
|
+
readonly awsSessionToken: pulumi.Output<string | undefined>;
|
|
77
|
+
readonly computePool: pulumi.Output<outputs.FlinkConnectionComputePool>;
|
|
78
|
+
/**
|
|
79
|
+
* The Cluster API Credentials.
|
|
80
|
+
*/
|
|
81
|
+
readonly credentials: pulumi.Output<outputs.FlinkConnectionCredentials | undefined>;
|
|
82
|
+
/**
|
|
83
|
+
* The unique name of the Flink Connection per organization, environment scope.
|
|
84
|
+
*/
|
|
85
|
+
readonly displayName: pulumi.Output<string>;
|
|
86
|
+
/**
|
|
87
|
+
* The endpoint of the flink connection.
|
|
88
|
+
*/
|
|
89
|
+
readonly endpoint: pulumi.Output<string>;
|
|
90
|
+
readonly environment: pulumi.Output<outputs.FlinkConnectionEnvironment>;
|
|
91
|
+
/**
|
|
92
|
+
* The object this REST resource represents.
|
|
93
|
+
*/
|
|
94
|
+
readonly kind: pulumi.Output<string>;
|
|
95
|
+
readonly organization: pulumi.Output<outputs.FlinkConnectionOrganization>;
|
|
96
|
+
/**
|
|
97
|
+
* Password for the type.
|
|
98
|
+
*/
|
|
99
|
+
readonly password: pulumi.Output<string | undefined>;
|
|
100
|
+
readonly principal: pulumi.Output<outputs.FlinkConnectionPrincipal>;
|
|
101
|
+
/**
|
|
102
|
+
* The REST endpoint of the Flink Connection cluster, for example,
|
|
103
|
+
* `https://flink.us-east-1.aws.confluent.cloud/sql/v1/organizations/1111aaaa-11aa-11aa-11aa-111111aaaaaa/environments/env-abc123`).
|
|
104
|
+
*/
|
|
105
|
+
readonly restEndpoint: pulumi.Output<string | undefined>;
|
|
106
|
+
/**
|
|
107
|
+
* Service Key for the type.
|
|
108
|
+
*/
|
|
109
|
+
readonly serviceKey: pulumi.Output<string | undefined>;
|
|
110
|
+
/**
|
|
111
|
+
* The type of the flink connection.
|
|
112
|
+
*/
|
|
113
|
+
readonly type: pulumi.Output<string>;
|
|
114
|
+
/**
|
|
115
|
+
* Username for the type.
|
|
116
|
+
*/
|
|
117
|
+
readonly username: pulumi.Output<string | undefined>;
|
|
118
|
+
/**
|
|
119
|
+
* Create a FlinkConnection resource with the given unique name, arguments, and options.
|
|
120
|
+
*
|
|
121
|
+
* @param name The _unique_ name of the resource.
|
|
122
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
123
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
124
|
+
*/
|
|
125
|
+
constructor(name: string, args: FlinkConnectionArgs, opts?: pulumi.CustomResourceOptions);
|
|
126
|
+
}
|
|
127
|
+
/**
|
|
128
|
+
* Input properties used for looking up and filtering FlinkConnection resources.
|
|
129
|
+
*/
|
|
130
|
+
export interface FlinkConnectionState {
|
|
131
|
+
/**
|
|
132
|
+
* API key for the type.
|
|
133
|
+
*/
|
|
134
|
+
apiKey?: pulumi.Input<string>;
|
|
135
|
+
/**
|
|
136
|
+
* The schema version of this representation of a resource.
|
|
137
|
+
*/
|
|
138
|
+
apiVersion?: pulumi.Input<string>;
|
|
139
|
+
/**
|
|
140
|
+
* Access key for the type.
|
|
141
|
+
*/
|
|
142
|
+
awsAccessKey?: pulumi.Input<string>;
|
|
143
|
+
/**
|
|
144
|
+
* Secret key for the type.
|
|
145
|
+
*/
|
|
146
|
+
awsSecretKey?: pulumi.Input<string>;
|
|
147
|
+
/**
|
|
148
|
+
* Session token for the type.
|
|
149
|
+
*/
|
|
150
|
+
awsSessionToken?: pulumi.Input<string>;
|
|
151
|
+
computePool?: pulumi.Input<inputs.FlinkConnectionComputePool>;
|
|
152
|
+
/**
|
|
153
|
+
* The Cluster API Credentials.
|
|
154
|
+
*/
|
|
155
|
+
credentials?: pulumi.Input<inputs.FlinkConnectionCredentials>;
|
|
156
|
+
/**
|
|
157
|
+
* The unique name of the Flink Connection per organization, environment scope.
|
|
158
|
+
*/
|
|
159
|
+
displayName?: pulumi.Input<string>;
|
|
160
|
+
/**
|
|
161
|
+
* The endpoint of the flink connection.
|
|
162
|
+
*/
|
|
163
|
+
endpoint?: pulumi.Input<string>;
|
|
164
|
+
environment?: pulumi.Input<inputs.FlinkConnectionEnvironment>;
|
|
165
|
+
/**
|
|
166
|
+
* The object this REST resource represents.
|
|
167
|
+
*/
|
|
168
|
+
kind?: pulumi.Input<string>;
|
|
169
|
+
organization?: pulumi.Input<inputs.FlinkConnectionOrganization>;
|
|
170
|
+
/**
|
|
171
|
+
* Password for the type.
|
|
172
|
+
*/
|
|
173
|
+
password?: pulumi.Input<string>;
|
|
174
|
+
principal?: pulumi.Input<inputs.FlinkConnectionPrincipal>;
|
|
175
|
+
/**
|
|
176
|
+
* The REST endpoint of the Flink Connection cluster, for example,
|
|
177
|
+
* `https://flink.us-east-1.aws.confluent.cloud/sql/v1/organizations/1111aaaa-11aa-11aa-11aa-111111aaaaaa/environments/env-abc123`).
|
|
178
|
+
*/
|
|
179
|
+
restEndpoint?: pulumi.Input<string>;
|
|
180
|
+
/**
|
|
181
|
+
* Service Key for the type.
|
|
182
|
+
*/
|
|
183
|
+
serviceKey?: pulumi.Input<string>;
|
|
184
|
+
/**
|
|
185
|
+
* The type of the flink connection.
|
|
186
|
+
*/
|
|
187
|
+
type?: pulumi.Input<string>;
|
|
188
|
+
/**
|
|
189
|
+
* Username for the type.
|
|
190
|
+
*/
|
|
191
|
+
username?: pulumi.Input<string>;
|
|
192
|
+
}
|
|
193
|
+
/**
|
|
194
|
+
* The set of arguments for constructing a FlinkConnection resource.
|
|
195
|
+
*/
|
|
196
|
+
export interface FlinkConnectionArgs {
|
|
197
|
+
/**
|
|
198
|
+
* API key for the type.
|
|
199
|
+
*/
|
|
200
|
+
apiKey?: pulumi.Input<string>;
|
|
201
|
+
/**
|
|
202
|
+
* Access key for the type.
|
|
203
|
+
*/
|
|
204
|
+
awsAccessKey?: pulumi.Input<string>;
|
|
205
|
+
/**
|
|
206
|
+
* Secret key for the type.
|
|
207
|
+
*/
|
|
208
|
+
awsSecretKey?: pulumi.Input<string>;
|
|
209
|
+
/**
|
|
210
|
+
* Session token for the type.
|
|
211
|
+
*/
|
|
212
|
+
awsSessionToken?: pulumi.Input<string>;
|
|
213
|
+
computePool?: pulumi.Input<inputs.FlinkConnectionComputePool>;
|
|
214
|
+
/**
|
|
215
|
+
* The Cluster API Credentials.
|
|
216
|
+
*/
|
|
217
|
+
credentials?: pulumi.Input<inputs.FlinkConnectionCredentials>;
|
|
218
|
+
/**
|
|
219
|
+
* The unique name of the Flink Connection per organization, environment scope.
|
|
220
|
+
*/
|
|
221
|
+
displayName: pulumi.Input<string>;
|
|
222
|
+
/**
|
|
223
|
+
* The endpoint of the flink connection.
|
|
224
|
+
*/
|
|
225
|
+
endpoint: pulumi.Input<string>;
|
|
226
|
+
environment?: pulumi.Input<inputs.FlinkConnectionEnvironment>;
|
|
227
|
+
organization?: pulumi.Input<inputs.FlinkConnectionOrganization>;
|
|
228
|
+
/**
|
|
229
|
+
* Password for the type.
|
|
230
|
+
*/
|
|
231
|
+
password?: pulumi.Input<string>;
|
|
232
|
+
principal?: pulumi.Input<inputs.FlinkConnectionPrincipal>;
|
|
233
|
+
/**
|
|
234
|
+
* The REST endpoint of the Flink Connection cluster, for example,
|
|
235
|
+
* `https://flink.us-east-1.aws.confluent.cloud/sql/v1/organizations/1111aaaa-11aa-11aa-11aa-111111aaaaaa/environments/env-abc123`).
|
|
236
|
+
*/
|
|
237
|
+
restEndpoint?: pulumi.Input<string>;
|
|
238
|
+
/**
|
|
239
|
+
* Service Key for the type.
|
|
240
|
+
*/
|
|
241
|
+
serviceKey?: pulumi.Input<string>;
|
|
242
|
+
/**
|
|
243
|
+
* The type of the flink connection.
|
|
244
|
+
*/
|
|
245
|
+
type: pulumi.Input<string>;
|
|
246
|
+
/**
|
|
247
|
+
* Username for the type.
|
|
248
|
+
*/
|
|
249
|
+
username?: pulumi.Input<string>;
|
|
250
|
+
}
|