@pulumi/confluentcloud 1.4.0-alpha.1666123324 → 1.4.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/apiKey.d.ts +2 -2
- package/apiKey.js +4 -2
- package/apiKey.js.map +1 -1
- package/clusterLink.d.ts +91 -0
- package/clusterLink.js +74 -0
- package/clusterLink.js.map +1 -0
- package/connector.js +3 -1
- package/connector.js.map +1 -1
- package/getKafkaClientQuota.d.ts +67 -0
- package/getKafkaClientQuota.js +41 -0
- package/getKafkaClientQuota.js.map +1 -0
- package/index.d.ts +15 -0
- package/index.js +24 -1
- package/index.js.map +1 -1
- package/kafkaAcl.d.ts +9 -9
- package/kafkaAcl.js +3 -1
- package/kafkaAcl.js.map +1 -1
- package/kafkaClientQuota.d.ts +138 -0
- package/kafkaClientQuota.js +111 -0
- package/kafkaClientQuota.js.map +1 -0
- package/kafkaClusterConfig.d.ts +120 -0
- package/kafkaClusterConfig.js +100 -0
- package/kafkaClusterConfig.js.map +1 -0
- package/kafkaMirrorTopic.d.ts +82 -0
- package/kafkaMirrorTopic.js +77 -0
- package/kafkaMirrorTopic.js.map +1 -0
- package/kafkaTopic.js +3 -1
- package/kafkaTopic.js.map +1 -1
- package/network.d.ts +3 -3
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/provider.js +6 -4
- package/provider.js.map +1 -1
- package/types/input.d.ts +160 -39
- package/types/output.d.ts +143 -0
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* ## Import
|
|
6
|
+
*
|
|
7
|
+
* You can import a Kafka mirror topic by using the Kafka cluster ID, cluster link name, and Kafka topic name in the format `<Kafka cluster ID>/<Cluster link name>/<Kafka topic name>`, for example$ export IMPORT_KAFKA_API_KEY="<kafka_api_key>" $ export IMPORT_KAFKA_API_SECRET="<kafka_api_secret>" $ export IMPORT_KAFKA_REST_ENDPOINT="<kafka_rest_endpoint>"
|
|
8
|
+
*
|
|
9
|
+
* ```sh
|
|
10
|
+
* $ pulumi import confluentcloud:index/kafkaMirrorTopic:KafkaMirrorTopic my_mirror_topic lkc-abc123/my-cluster-link/orders-123
|
|
11
|
+
* ```
|
|
12
|
+
*
|
|
13
|
+
* !> **Warning:** Do not forget to delete terminal command history afterwards for security purposes.
|
|
14
|
+
*/
|
|
15
|
+
export declare class KafkaMirrorTopic extends pulumi.CustomResource {
|
|
16
|
+
/**
|
|
17
|
+
* Get an existing KafkaMirrorTopic resource's state with the given name, ID, and optional extra
|
|
18
|
+
* properties used to qualify the lookup.
|
|
19
|
+
*
|
|
20
|
+
* @param name The _unique_ name of the resulting resource.
|
|
21
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
22
|
+
* @param state Any extra arguments used during the lookup.
|
|
23
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
24
|
+
*/
|
|
25
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: KafkaMirrorTopicState, opts?: pulumi.CustomResourceOptions): KafkaMirrorTopic;
|
|
26
|
+
/**
|
|
27
|
+
* Returns true if the given object is an instance of KafkaMirrorTopic. This is designed to work even
|
|
28
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
29
|
+
*/
|
|
30
|
+
static isInstance(obj: any): obj is KafkaMirrorTopic;
|
|
31
|
+
readonly clusterLink: pulumi.Output<outputs.KafkaMirrorTopicClusterLink>;
|
|
32
|
+
readonly kafkaCluster: pulumi.Output<outputs.KafkaMirrorTopicKafkaCluster>;
|
|
33
|
+
/**
|
|
34
|
+
* The name of the mirror topic. Only required when there is a prefix configured on the cluster link. For example, when `<prefix>` is configured for the cluster link, the mirror topic name has to be of the format `<prefix><source_topic_name>`.
|
|
35
|
+
*/
|
|
36
|
+
readonly mirrorTopicName: pulumi.Output<string>;
|
|
37
|
+
readonly sourceKafkaTopic: pulumi.Output<outputs.KafkaMirrorTopicSourceKafkaTopic>;
|
|
38
|
+
/**
|
|
39
|
+
* The status of the mirror topic. The supported values are `"ACTIVE"`, `"PAUSED"`, `"PROMOTED"`, `"FAILED_OVER"`. Pausing (`"ACTIVE" > "PAUSED"`), resuming (`"PAUSED" > "ACTIVE"`), promoting, and failing over a mirror topic is supported via an update operation. Defaults to `"ACTIVE"`.
|
|
40
|
+
*/
|
|
41
|
+
readonly status: pulumi.Output<string>;
|
|
42
|
+
/**
|
|
43
|
+
* Create a KafkaMirrorTopic resource with the given unique name, arguments, and options.
|
|
44
|
+
*
|
|
45
|
+
* @param name The _unique_ name of the resource.
|
|
46
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
47
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
48
|
+
*/
|
|
49
|
+
constructor(name: string, args: KafkaMirrorTopicArgs, opts?: pulumi.CustomResourceOptions);
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Input properties used for looking up and filtering KafkaMirrorTopic resources.
|
|
53
|
+
*/
|
|
54
|
+
export interface KafkaMirrorTopicState {
|
|
55
|
+
clusterLink?: pulumi.Input<inputs.KafkaMirrorTopicClusterLink>;
|
|
56
|
+
kafkaCluster?: pulumi.Input<inputs.KafkaMirrorTopicKafkaCluster>;
|
|
57
|
+
/**
|
|
58
|
+
* The name of the mirror topic. Only required when there is a prefix configured on the cluster link. For example, when `<prefix>` is configured for the cluster link, the mirror topic name has to be of the format `<prefix><source_topic_name>`.
|
|
59
|
+
*/
|
|
60
|
+
mirrorTopicName?: pulumi.Input<string>;
|
|
61
|
+
sourceKafkaTopic?: pulumi.Input<inputs.KafkaMirrorTopicSourceKafkaTopic>;
|
|
62
|
+
/**
|
|
63
|
+
* The status of the mirror topic. The supported values are `"ACTIVE"`, `"PAUSED"`, `"PROMOTED"`, `"FAILED_OVER"`. Pausing (`"ACTIVE" > "PAUSED"`), resuming (`"PAUSED" > "ACTIVE"`), promoting, and failing over a mirror topic is supported via an update operation. Defaults to `"ACTIVE"`.
|
|
64
|
+
*/
|
|
65
|
+
status?: pulumi.Input<string>;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* The set of arguments for constructing a KafkaMirrorTopic resource.
|
|
69
|
+
*/
|
|
70
|
+
export interface KafkaMirrorTopicArgs {
|
|
71
|
+
clusterLink: pulumi.Input<inputs.KafkaMirrorTopicClusterLink>;
|
|
72
|
+
kafkaCluster: pulumi.Input<inputs.KafkaMirrorTopicKafkaCluster>;
|
|
73
|
+
/**
|
|
74
|
+
* The name of the mirror topic. Only required when there is a prefix configured on the cluster link. For example, when `<prefix>` is configured for the cluster link, the mirror topic name has to be of the format `<prefix><source_topic_name>`.
|
|
75
|
+
*/
|
|
76
|
+
mirrorTopicName?: pulumi.Input<string>;
|
|
77
|
+
sourceKafkaTopic: pulumi.Input<inputs.KafkaMirrorTopicSourceKafkaTopic>;
|
|
78
|
+
/**
|
|
79
|
+
* The status of the mirror topic. The supported values are `"ACTIVE"`, `"PAUSED"`, `"PROMOTED"`, `"FAILED_OVER"`. Pausing (`"ACTIVE" > "PAUSED"`), resuming (`"PAUSED" > "ACTIVE"`), promoting, and failing over a mirror topic is supported via an update operation. Defaults to `"ACTIVE"`.
|
|
80
|
+
*/
|
|
81
|
+
status?: pulumi.Input<string>;
|
|
82
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
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.KafkaMirrorTopic = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## Import
|
|
10
|
+
*
|
|
11
|
+
* You can import a Kafka mirror topic by using the Kafka cluster ID, cluster link name, and Kafka topic name in the format `<Kafka cluster ID>/<Cluster link name>/<Kafka topic name>`, for example$ export IMPORT_KAFKA_API_KEY="<kafka_api_key>" $ export IMPORT_KAFKA_API_SECRET="<kafka_api_secret>" $ export IMPORT_KAFKA_REST_ENDPOINT="<kafka_rest_endpoint>"
|
|
12
|
+
*
|
|
13
|
+
* ```sh
|
|
14
|
+
* $ pulumi import confluentcloud:index/kafkaMirrorTopic:KafkaMirrorTopic my_mirror_topic lkc-abc123/my-cluster-link/orders-123
|
|
15
|
+
* ```
|
|
16
|
+
*
|
|
17
|
+
* !> **Warning:** Do not forget to delete terminal command history afterwards for security purposes.
|
|
18
|
+
*/
|
|
19
|
+
class KafkaMirrorTopic extends pulumi.CustomResource {
|
|
20
|
+
constructor(name, argsOrState, opts) {
|
|
21
|
+
let resourceInputs = {};
|
|
22
|
+
opts = opts || {};
|
|
23
|
+
if (opts.id) {
|
|
24
|
+
const state = argsOrState;
|
|
25
|
+
resourceInputs["clusterLink"] = state ? state.clusterLink : undefined;
|
|
26
|
+
resourceInputs["kafkaCluster"] = state ? state.kafkaCluster : undefined;
|
|
27
|
+
resourceInputs["mirrorTopicName"] = state ? state.mirrorTopicName : undefined;
|
|
28
|
+
resourceInputs["sourceKafkaTopic"] = state ? state.sourceKafkaTopic : undefined;
|
|
29
|
+
resourceInputs["status"] = state ? state.status : undefined;
|
|
30
|
+
}
|
|
31
|
+
else {
|
|
32
|
+
const args = argsOrState;
|
|
33
|
+
if ((!args || args.clusterLink === undefined) && !opts.urn) {
|
|
34
|
+
throw new Error("Missing required property 'clusterLink'");
|
|
35
|
+
}
|
|
36
|
+
if ((!args || args.kafkaCluster === undefined) && !opts.urn) {
|
|
37
|
+
throw new Error("Missing required property 'kafkaCluster'");
|
|
38
|
+
}
|
|
39
|
+
if ((!args || args.sourceKafkaTopic === undefined) && !opts.urn) {
|
|
40
|
+
throw new Error("Missing required property 'sourceKafkaTopic'");
|
|
41
|
+
}
|
|
42
|
+
resourceInputs["clusterLink"] = args ? args.clusterLink : undefined;
|
|
43
|
+
resourceInputs["kafkaCluster"] = args ? args.kafkaCluster : undefined;
|
|
44
|
+
resourceInputs["mirrorTopicName"] = args ? args.mirrorTopicName : undefined;
|
|
45
|
+
resourceInputs["sourceKafkaTopic"] = args ? args.sourceKafkaTopic : undefined;
|
|
46
|
+
resourceInputs["status"] = args ? args.status : undefined;
|
|
47
|
+
}
|
|
48
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
49
|
+
super(KafkaMirrorTopic.__pulumiType, name, resourceInputs, opts);
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Get an existing KafkaMirrorTopic resource's state with the given name, ID, and optional extra
|
|
53
|
+
* properties used to qualify the lookup.
|
|
54
|
+
*
|
|
55
|
+
* @param name The _unique_ name of the resulting resource.
|
|
56
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
57
|
+
* @param state Any extra arguments used during the lookup.
|
|
58
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
59
|
+
*/
|
|
60
|
+
static get(name, id, state, opts) {
|
|
61
|
+
return new KafkaMirrorTopic(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Returns true if the given object is an instance of KafkaMirrorTopic. This is designed to work even
|
|
65
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
66
|
+
*/
|
|
67
|
+
static isInstance(obj) {
|
|
68
|
+
if (obj === undefined || obj === null) {
|
|
69
|
+
return false;
|
|
70
|
+
}
|
|
71
|
+
return obj['__pulumiType'] === KafkaMirrorTopic.__pulumiType;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
exports.KafkaMirrorTopic = KafkaMirrorTopic;
|
|
75
|
+
/** @internal */
|
|
76
|
+
KafkaMirrorTopic.__pulumiType = 'confluentcloud:index/kafkaMirrorTopic:KafkaMirrorTopic';
|
|
77
|
+
//# sourceMappingURL=k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CAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACvE,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,gBAAgB,CAAC,YAAY,CAAC;IACjE,CAAC;;AA1BL,4CA8EC;AAhEG,gBAAgB;AACO,6BAAY,GAAG,wDAAwD,CAAC"}
|
package/kafkaTopic.js
CHANGED
|
@@ -119,7 +119,7 @@ class KafkaTopic extends pulumi.CustomResource {
|
|
|
119
119
|
throw new Error("Missing required property 'topicName'");
|
|
120
120
|
}
|
|
121
121
|
resourceInputs["config"] = args ? args.config : undefined;
|
|
122
|
-
resourceInputs["credentials"] = args ? args.credentials : undefined;
|
|
122
|
+
resourceInputs["credentials"] = (args === null || args === void 0 ? void 0 : args.credentials) ? pulumi.secret(args.credentials) : undefined;
|
|
123
123
|
resourceInputs["httpEndpoint"] = args ? args.httpEndpoint : undefined;
|
|
124
124
|
resourceInputs["kafkaCluster"] = args ? args.kafkaCluster : undefined;
|
|
125
125
|
resourceInputs["partitionsCount"] = args ? args.partitionsCount : undefined;
|
|
@@ -127,6 +127,8 @@ class KafkaTopic extends pulumi.CustomResource {
|
|
|
127
127
|
resourceInputs["topicName"] = args ? args.topicName : undefined;
|
|
128
128
|
}
|
|
129
129
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
130
|
+
const secretOpts = { additionalSecretOutputs: ["credentials"] };
|
|
131
|
+
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
130
132
|
super(KafkaTopic.__pulumiType, name, resourceInputs, opts);
|
|
131
133
|
}
|
|
132
134
|
/**
|
package/kafkaTopic.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kafkaTopic.js","sourceRoot":"","sources":["../k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,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,UAAU,CAAC,YAAY,CAAC;IAC3D,CAAC;;AA1BL,gCAiGC;AAnFG,gBAAgB;AACO,uBAAY,GAAG,4CAA4C,CAAC"}
|
package/network.d.ts
CHANGED
|
@@ -80,7 +80,7 @@ export declare class Network extends pulumi.CustomResource {
|
|
|
80
80
|
}>;
|
|
81
81
|
/**
|
|
82
82
|
* The 3 availability zones for this network. They can optionally be specified for AWS networks
|
|
83
|
-
* used with Private Link. Otherwise, they are automatically chosen by Confluent Cloud.
|
|
83
|
+
* used with Private Link and for GCP networks used with Private Service Connect. Otherwise, they are automatically chosen by Confluent Cloud.
|
|
84
84
|
* On AWS, zones are AWS [AZ IDs](https://docs.aws.amazon.com/ram/latest/userguide/working-with-az-ids.html), for example, `use1-az3`.
|
|
85
85
|
* On GCP, zones are GCP [zones](https://cloud.google.com/compute/docs/regions-zones), for example, `us-central1-c`.
|
|
86
86
|
* On Azure, zones are Confluent-chosen names (for example, `1`, `2`, `3`) since Azure does not have universal zone identifiers.
|
|
@@ -151,7 +151,7 @@ export interface NetworkState {
|
|
|
151
151
|
}>;
|
|
152
152
|
/**
|
|
153
153
|
* The 3 availability zones for this network. They can optionally be specified for AWS networks
|
|
154
|
-
* used with Private Link. Otherwise, they are automatically chosen by Confluent Cloud.
|
|
154
|
+
* used with Private Link and for GCP networks used with Private Service Connect. Otherwise, they are automatically chosen by Confluent Cloud.
|
|
155
155
|
* On AWS, zones are AWS [AZ IDs](https://docs.aws.amazon.com/ram/latest/userguide/working-with-az-ids.html), for example, `use1-az3`.
|
|
156
156
|
* On GCP, zones are GCP [zones](https://cloud.google.com/compute/docs/regions-zones), for example, `us-central1-c`.
|
|
157
157
|
* On Azure, zones are Confluent-chosen names (for example, `1`, `2`, `3`) since Azure does not have universal zone identifiers.
|
|
@@ -200,7 +200,7 @@ export interface NetworkArgs {
|
|
|
200
200
|
region: pulumi.Input<string>;
|
|
201
201
|
/**
|
|
202
202
|
* The 3 availability zones for this network. They can optionally be specified for AWS networks
|
|
203
|
-
* used with Private Link. Otherwise, they are automatically chosen by Confluent Cloud.
|
|
203
|
+
* used with Private Link and for GCP networks used with Private Service Connect. Otherwise, they are automatically chosen by Confluent Cloud.
|
|
204
204
|
* On AWS, zones are AWS [AZ IDs](https://docs.aws.amazon.com/ram/latest/userguide/working-with-az-ids.html), for example, `use1-az3`.
|
|
205
205
|
* On GCP, zones are GCP [zones](https://cloud.google.com/compute/docs/regions-zones), for example, `us-central1-c`.
|
|
206
206
|
* On Azure, zones are Confluent-chosen names (for example, `1`, `2`, `3`) since Azure does not have universal zone identifiers.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/confluentcloud",
|
|
3
|
-
"version": "v1.4.0
|
|
3
|
+
"version": "v1.4.0",
|
|
4
4
|
"description": "A Pulumi package for creating and managing Confluent cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"license": "Apache-2.0",
|
|
13
13
|
"scripts": {
|
|
14
14
|
"build": "tsc",
|
|
15
|
-
"install": "node scripts/install-pulumi-plugin.js resource confluentcloud v1.4.0
|
|
15
|
+
"install": "node scripts/install-pulumi-plugin.js resource confluentcloud v1.4.0"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@pulumi/pulumi": "^3.0.0"
|
package/package.json.dev
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/confluentcloud",
|
|
3
|
-
"version": "v1.4.0
|
|
3
|
+
"version": "v1.4.0",
|
|
4
4
|
"description": "A Pulumi package for creating and managing Confluent cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"license": "Apache-2.0",
|
|
13
13
|
"scripts": {
|
|
14
14
|
"build": "tsc",
|
|
15
|
-
"install": "node scripts/install-pulumi-plugin.js resource confluentcloud v1.4.0
|
|
15
|
+
"install": "node scripts/install-pulumi-plugin.js resource confluentcloud v1.4.0"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@pulumi/pulumi": "^3.0.0"
|
package/provider.js
CHANGED
|
@@ -23,14 +23,16 @@ class Provider extends pulumi.ProviderResource {
|
|
|
23
23
|
let resourceInputs = {};
|
|
24
24
|
opts = opts || {};
|
|
25
25
|
{
|
|
26
|
-
resourceInputs["cloudApiKey"] = args ? args.cloudApiKey : undefined;
|
|
27
|
-
resourceInputs["cloudApiSecret"] = args ? args.cloudApiSecret : undefined;
|
|
26
|
+
resourceInputs["cloudApiKey"] = (args === null || args === void 0 ? void 0 : args.cloudApiKey) ? pulumi.secret(args.cloudApiKey) : undefined;
|
|
27
|
+
resourceInputs["cloudApiSecret"] = (args === null || args === void 0 ? void 0 : args.cloudApiSecret) ? pulumi.secret(args.cloudApiSecret) : undefined;
|
|
28
28
|
resourceInputs["endpoint"] = args ? args.endpoint : undefined;
|
|
29
|
-
resourceInputs["kafkaApiKey"] = args ? args.kafkaApiKey : undefined;
|
|
30
|
-
resourceInputs["kafkaApiSecret"] = args ? args.kafkaApiSecret : undefined;
|
|
29
|
+
resourceInputs["kafkaApiKey"] = (args === null || args === void 0 ? void 0 : args.kafkaApiKey) ? pulumi.secret(args.kafkaApiKey) : undefined;
|
|
30
|
+
resourceInputs["kafkaApiSecret"] = (args === null || args === void 0 ? void 0 : args.kafkaApiSecret) ? pulumi.secret(args.kafkaApiSecret) : undefined;
|
|
31
31
|
resourceInputs["kafkaRestEndpoint"] = args ? args.kafkaRestEndpoint : undefined;
|
|
32
32
|
}
|
|
33
33
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
34
|
+
const secretOpts = { additionalSecretOutputs: ["cloudApiKey", "cloudApiSecret", "kafkaApiKey", "kafkaApiSecret"] };
|
|
35
|
+
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
34
36
|
super(Provider.__pulumiType, name, resourceInputs, opts);
|
|
35
37
|
}
|
|
36
38
|
/**
|
package/provider.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;GAKG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,gBAAgB;IAwCjD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAmB,EAAE,IAA6B;QACxE,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB;YACI,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;GAKG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,gBAAgB;IAwCjD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAmB,EAAE,IAA6B;QACxE,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB;YACI,cAAc,CAAC,aAAa,CAAC,GAAG,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,WAAW,EAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;YAChG,cAAc,CAAC,gBAAgB,CAAC,GAAG,CAAA,IAAI,aA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OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,QAAQ,CAAC,YAAY,CAAC;IACzD,CAAC;;AAbL,4BA+DC;AA9DG,gBAAgB;AACO,qBAAY,GAAG,gBAAgB,CAAC"}
|
package/types/input.d.ts
CHANGED
|
@@ -35,6 +35,56 @@ export interface ApiKeyOwner {
|
|
|
35
35
|
*/
|
|
36
36
|
kind: pulumi.Input<string>;
|
|
37
37
|
}
|
|
38
|
+
export interface ClusterLinkDestinationKafkaCluster {
|
|
39
|
+
/**
|
|
40
|
+
* The bootstrap endpoint of the destination Kafka cluster, for example, `SASL_SSL://pkc-00000.us-central1.gcp.confluent.cloud:9092`).
|
|
41
|
+
*/
|
|
42
|
+
bootstrapEndpoint?: pulumi.Input<string>;
|
|
43
|
+
credentials?: pulumi.Input<inputs.ClusterLinkDestinationKafkaClusterCredentials>;
|
|
44
|
+
/**
|
|
45
|
+
* The ID of the destination Kafka cluster, for example, `lkc-abc123`.
|
|
46
|
+
*/
|
|
47
|
+
id: pulumi.Input<string>;
|
|
48
|
+
/**
|
|
49
|
+
* The REST endpoint of the destination Kafka cluster, for example, `https://pkc-00000.us-central1.gcp.confluent.cloud:443`).
|
|
50
|
+
*/
|
|
51
|
+
restEndpoint?: pulumi.Input<string>;
|
|
52
|
+
}
|
|
53
|
+
export interface ClusterLinkDestinationKafkaClusterCredentials {
|
|
54
|
+
/**
|
|
55
|
+
* The Kafka API Key.
|
|
56
|
+
*/
|
|
57
|
+
key: pulumi.Input<string>;
|
|
58
|
+
/**
|
|
59
|
+
* The Kafka API Secret.
|
|
60
|
+
*/
|
|
61
|
+
secret: pulumi.Input<string>;
|
|
62
|
+
}
|
|
63
|
+
export interface ClusterLinkSourceKafkaCluster {
|
|
64
|
+
/**
|
|
65
|
+
* The bootstrap endpoint of the destination Kafka cluster, for example, `SASL_SSL://pkc-00000.us-central1.gcp.confluent.cloud:9092`).
|
|
66
|
+
*/
|
|
67
|
+
bootstrapEndpoint?: pulumi.Input<string>;
|
|
68
|
+
credentials?: pulumi.Input<inputs.ClusterLinkSourceKafkaClusterCredentials>;
|
|
69
|
+
/**
|
|
70
|
+
* The ID of the destination Kafka cluster, for example, `lkc-abc123`.
|
|
71
|
+
*/
|
|
72
|
+
id: pulumi.Input<string>;
|
|
73
|
+
/**
|
|
74
|
+
* The REST endpoint of the destination Kafka cluster, for example, `https://pkc-00000.us-central1.gcp.confluent.cloud:443`).
|
|
75
|
+
*/
|
|
76
|
+
restEndpoint?: pulumi.Input<string>;
|
|
77
|
+
}
|
|
78
|
+
export interface ClusterLinkSourceKafkaClusterCredentials {
|
|
79
|
+
/**
|
|
80
|
+
* The Kafka API Key.
|
|
81
|
+
*/
|
|
82
|
+
key: pulumi.Input<string>;
|
|
83
|
+
/**
|
|
84
|
+
* The Kafka API Secret.
|
|
85
|
+
*/
|
|
86
|
+
secret: pulumi.Input<string>;
|
|
87
|
+
}
|
|
38
88
|
export interface ConnectorEnvironment {
|
|
39
89
|
/**
|
|
40
90
|
* The ID of the Kafka cluster that the connector belongs to, for example, `lkc-abc123`.
|
|
@@ -47,58 +97,58 @@ export interface ConnectorKafkaCluster {
|
|
|
47
97
|
*/
|
|
48
98
|
id: pulumi.Input<string>;
|
|
49
99
|
}
|
|
50
|
-
export interface
|
|
100
|
+
export interface GetIdentityPoolIdentityProviderArgs {
|
|
51
101
|
/**
|
|
52
102
|
* The ID of the Identity Provider associated with the Identity Pool, for example, `op-abc123`.
|
|
53
103
|
*/
|
|
54
|
-
id: string
|
|
104
|
+
id: pulumi.Input<string>;
|
|
55
105
|
}
|
|
56
|
-
export interface
|
|
106
|
+
export interface GetIdentityPoolIdentityProvider {
|
|
57
107
|
/**
|
|
58
108
|
* The ID of the Identity Provider associated with the Identity Pool, for example, `op-abc123`.
|
|
59
109
|
*/
|
|
60
|
-
id:
|
|
110
|
+
id: string;
|
|
61
111
|
}
|
|
62
112
|
export interface GetKafkaClusterBasic {
|
|
63
113
|
}
|
|
64
114
|
export interface GetKafkaClusterBasicArgs {
|
|
65
115
|
}
|
|
66
|
-
export interface
|
|
116
|
+
export interface GetKafkaClusterDedicated {
|
|
67
117
|
/**
|
|
68
118
|
* (Required Number) The number of Confluent Kafka Units (CKUs) for Dedicated cluster types. The minimum number of CKUs for `SINGLE_ZONE` dedicated clusters is `1` whereas `MULTI_ZONE` dedicated clusters must have more than `2` CKUs.
|
|
69
119
|
*/
|
|
70
|
-
cku?:
|
|
120
|
+
cku?: number;
|
|
71
121
|
/**
|
|
72
122
|
* (Optional String) The ID of the encryption key that is used to encrypt the data in the Kafka cluster, for example, `arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab` (key Amazon Resource Name) for AWS or `projects/my-test-project/locations/global/keyRings/test-byok/cryptoKeys/test` for GCP. Append required permissions to the key policy before creating a Kafka cluster, see [Encrypt Confluent Cloud Clusters using Self-Managed Keys](https://docs.confluent.io/cloud/current/clusters/byok/index.html) for more details. At the moment, self-managed encryption keys are only available for the Dedicated clusters on AWS or GCP.
|
|
73
123
|
*/
|
|
74
|
-
encryptionKey?:
|
|
124
|
+
encryptionKey?: string;
|
|
75
125
|
}
|
|
76
|
-
export interface
|
|
126
|
+
export interface GetKafkaClusterDedicatedArgs {
|
|
77
127
|
/**
|
|
78
128
|
* (Required Number) The number of Confluent Kafka Units (CKUs) for Dedicated cluster types. The minimum number of CKUs for `SINGLE_ZONE` dedicated clusters is `1` whereas `MULTI_ZONE` dedicated clusters must have more than `2` CKUs.
|
|
79
129
|
*/
|
|
80
|
-
cku?: number
|
|
130
|
+
cku?: pulumi.Input<number>;
|
|
81
131
|
/**
|
|
82
132
|
* (Optional String) The ID of the encryption key that is used to encrypt the data in the Kafka cluster, for example, `arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab` (key Amazon Resource Name) for AWS or `projects/my-test-project/locations/global/keyRings/test-byok/cryptoKeys/test` for GCP. Append required permissions to the key policy before creating a Kafka cluster, see [Encrypt Confluent Cloud Clusters using Self-Managed Keys](https://docs.confluent.io/cloud/current/clusters/byok/index.html) for more details. At the moment, self-managed encryption keys are only available for the Dedicated clusters on AWS or GCP.
|
|
83
133
|
*/
|
|
84
|
-
encryptionKey?: string
|
|
134
|
+
encryptionKey?: pulumi.Input<string>;
|
|
85
135
|
}
|
|
86
|
-
export interface
|
|
136
|
+
export interface GetKafkaClusterEnvironment {
|
|
87
137
|
/**
|
|
88
138
|
* The ID of the Environment that the Kafka cluster belongs to, for example, `env-xyz456`.
|
|
89
139
|
*/
|
|
90
|
-
id:
|
|
140
|
+
id: string;
|
|
91
141
|
}
|
|
92
|
-
export interface
|
|
142
|
+
export interface GetKafkaClusterEnvironmentArgs {
|
|
93
143
|
/**
|
|
94
144
|
* The ID of the Environment that the Kafka cluster belongs to, for example, `env-xyz456`.
|
|
95
145
|
*/
|
|
96
|
-
id: string
|
|
97
|
-
}
|
|
98
|
-
export interface GetKafkaClusterStandard {
|
|
146
|
+
id: pulumi.Input<string>;
|
|
99
147
|
}
|
|
100
148
|
export interface GetKafkaClusterStandardArgs {
|
|
101
149
|
}
|
|
150
|
+
export interface GetKafkaClusterStandard {
|
|
151
|
+
}
|
|
102
152
|
export interface GetKafkaTopicCredentials {
|
|
103
153
|
/**
|
|
104
154
|
* The Kafka API Key.
|
|
@@ -119,29 +169,29 @@ export interface GetKafkaTopicCredentialsArgs {
|
|
|
119
169
|
*/
|
|
120
170
|
secret: pulumi.Input<string>;
|
|
121
171
|
}
|
|
122
|
-
export interface
|
|
172
|
+
export interface GetKafkaTopicKafkaCluster {
|
|
123
173
|
/**
|
|
124
174
|
* The ID of the Kafka cluster, for example, `lkc-abc123`.
|
|
125
175
|
*/
|
|
126
|
-
id:
|
|
176
|
+
id: string;
|
|
127
177
|
}
|
|
128
|
-
export interface
|
|
178
|
+
export interface GetKafkaTopicKafkaClusterArgs {
|
|
129
179
|
/**
|
|
130
180
|
* The ID of the Kafka cluster, for example, `lkc-abc123`.
|
|
131
181
|
*/
|
|
132
|
-
id: string
|
|
182
|
+
id: pulumi.Input<string>;
|
|
133
183
|
}
|
|
134
|
-
export interface
|
|
184
|
+
export interface GetKsqlClusterEnvironmentArgs {
|
|
135
185
|
/**
|
|
136
186
|
* The ID of the Environment that the ksqlDB cluster belongs to, for example, `env-xyz456`.
|
|
137
187
|
*/
|
|
138
|
-
id: string
|
|
188
|
+
id: pulumi.Input<string>;
|
|
139
189
|
}
|
|
140
|
-
export interface
|
|
190
|
+
export interface GetKsqlClusterEnvironment {
|
|
141
191
|
/**
|
|
142
192
|
* The ID of the Environment that the ksqlDB cluster belongs to, for example, `env-xyz456`.
|
|
143
193
|
*/
|
|
144
|
-
id:
|
|
194
|
+
id: string;
|
|
145
195
|
}
|
|
146
196
|
export interface GetNetworkAw {
|
|
147
197
|
/**
|
|
@@ -163,14 +213,6 @@ export interface GetNetworkAwArgs {
|
|
|
163
213
|
*/
|
|
164
214
|
vpc?: pulumi.Input<string>;
|
|
165
215
|
}
|
|
166
|
-
export interface GetNetworkAzure {
|
|
167
|
-
/**
|
|
168
|
-
* (Optional Map) The mapping of zones to Private Link Service Aliases if available. Keys are zones and values are [Azure Private Link Service Aliases](https://docs.microsoft.com/en-us/azure/private-link/private-link-service-overview#share-your-service).
|
|
169
|
-
*/
|
|
170
|
-
privateLinkServiceAliases?: {
|
|
171
|
-
[key: string]: string;
|
|
172
|
-
};
|
|
173
|
-
}
|
|
174
216
|
export interface GetNetworkAzureArgs {
|
|
175
217
|
/**
|
|
176
218
|
* (Optional Map) The mapping of zones to Private Link Service Aliases if available. Keys are zones and values are [Azure Private Link Service Aliases](https://docs.microsoft.com/en-us/azure/private-link/private-link-service-overview#share-your-service).
|
|
@@ -179,11 +221,13 @@ export interface GetNetworkAzureArgs {
|
|
|
179
221
|
[key: string]: pulumi.Input<string>;
|
|
180
222
|
}>;
|
|
181
223
|
}
|
|
182
|
-
export interface
|
|
224
|
+
export interface GetNetworkAzure {
|
|
183
225
|
/**
|
|
184
|
-
* The
|
|
226
|
+
* (Optional Map) The mapping of zones to Private Link Service Aliases if available. Keys are zones and values are [Azure Private Link Service Aliases](https://docs.microsoft.com/en-us/azure/private-link/private-link-service-overview#share-your-service).
|
|
185
227
|
*/
|
|
186
|
-
|
|
228
|
+
privateLinkServiceAliases?: {
|
|
229
|
+
[key: string]: string;
|
|
230
|
+
};
|
|
187
231
|
}
|
|
188
232
|
export interface GetNetworkEnvironment {
|
|
189
233
|
/**
|
|
@@ -191,6 +235,12 @@ export interface GetNetworkEnvironment {
|
|
|
191
235
|
*/
|
|
192
236
|
id: string;
|
|
193
237
|
}
|
|
238
|
+
export interface GetNetworkEnvironmentArgs {
|
|
239
|
+
/**
|
|
240
|
+
* The ID of the Environment that the Network belongs to, for example, `env-xyz456`.
|
|
241
|
+
*/
|
|
242
|
+
id: pulumi.Input<string>;
|
|
243
|
+
}
|
|
194
244
|
export interface GetNetworkGcp {
|
|
195
245
|
/**
|
|
196
246
|
* (Optional Map) The mapping of zones to Private Service Connect service attachments if available. Keys are zones and values are [GCP Private Service Connect service attachment](https://cloud.google.com/vpc/docs/configure-private-service-connect-producer#api_7).
|
|
@@ -223,17 +273,17 @@ export interface GetNetworkGcpArgs {
|
|
|
223
273
|
*/
|
|
224
274
|
vpcNetwork?: pulumi.Input<string>;
|
|
225
275
|
}
|
|
226
|
-
export interface
|
|
276
|
+
export interface GetPeeringEnvironment {
|
|
227
277
|
/**
|
|
228
278
|
* The ID of the Environment that the Peering belongs to, for example, `env-xyz456`.
|
|
229
279
|
*/
|
|
230
|
-
id:
|
|
280
|
+
id: string;
|
|
231
281
|
}
|
|
232
|
-
export interface
|
|
282
|
+
export interface GetPeeringEnvironmentArgs {
|
|
233
283
|
/**
|
|
234
284
|
* The ID of the Environment that the Peering belongs to, for example, `env-xyz456`.
|
|
235
285
|
*/
|
|
236
|
-
id: string
|
|
286
|
+
id: pulumi.Input<string>;
|
|
237
287
|
}
|
|
238
288
|
export interface GetPrivateLinkAccessEnvironment {
|
|
239
289
|
/**
|
|
@@ -269,8 +319,46 @@ export interface KafkaAclKafkaCluster {
|
|
|
269
319
|
*/
|
|
270
320
|
id: pulumi.Input<string>;
|
|
271
321
|
}
|
|
322
|
+
export interface KafkaClientQuotaEnvironment {
|
|
323
|
+
/**
|
|
324
|
+
* The ID of the Environment that the corresponding Kafka Cluster belongs to, for example, `env-abc123`.
|
|
325
|
+
*/
|
|
326
|
+
id: pulumi.Input<string>;
|
|
327
|
+
}
|
|
328
|
+
export interface KafkaClientQuotaKafkaCluster {
|
|
329
|
+
/**
|
|
330
|
+
* The ID of the Environment that the corresponding Kafka Cluster belongs to, for example, `env-abc123`.
|
|
331
|
+
*/
|
|
332
|
+
id: pulumi.Input<string>;
|
|
333
|
+
}
|
|
334
|
+
export interface KafkaClientQuotaThroughput {
|
|
335
|
+
/**
|
|
336
|
+
* The egress throughput limit in bytes per second.
|
|
337
|
+
*/
|
|
338
|
+
egressByteRate: pulumi.Input<string>;
|
|
339
|
+
/**
|
|
340
|
+
* The ingress throughput limit in bytes per second.
|
|
341
|
+
*/
|
|
342
|
+
ingressByteRate: pulumi.Input<string>;
|
|
343
|
+
}
|
|
272
344
|
export interface KafkaClusterBasic {
|
|
273
345
|
}
|
|
346
|
+
export interface KafkaClusterConfigCredentials {
|
|
347
|
+
/**
|
|
348
|
+
* The Kafka API Key.
|
|
349
|
+
*/
|
|
350
|
+
key: pulumi.Input<string>;
|
|
351
|
+
/**
|
|
352
|
+
* The Kafka API Secret.
|
|
353
|
+
*/
|
|
354
|
+
secret: pulumi.Input<string>;
|
|
355
|
+
}
|
|
356
|
+
export interface KafkaClusterConfigKafkaCluster {
|
|
357
|
+
/**
|
|
358
|
+
* The ID of the Dedicated Kafka cluster, for example, `lkc-abc123`.
|
|
359
|
+
*/
|
|
360
|
+
id: pulumi.Input<string>;
|
|
361
|
+
}
|
|
274
362
|
export interface KafkaClusterDedicated {
|
|
275
363
|
/**
|
|
276
364
|
* The number of Confluent Kafka Units (CKUs) for Dedicated cluster types. The minimum number of CKUs for `SINGLE_ZONE` dedicated clusters is `1` whereas `MULTI_ZONE` dedicated clusters must have more than `2` CKUs.
|
|
@@ -295,6 +383,39 @@ export interface KafkaClusterNetwork {
|
|
|
295
383
|
}
|
|
296
384
|
export interface KafkaClusterStandard {
|
|
297
385
|
}
|
|
386
|
+
export interface KafkaMirrorTopicClusterLink {
|
|
387
|
+
/**
|
|
388
|
+
* The name of the cluster link to attach to the mirror topic, for example, `my-cluster-link`.
|
|
389
|
+
*/
|
|
390
|
+
linkName: pulumi.Input<string>;
|
|
391
|
+
}
|
|
392
|
+
export interface KafkaMirrorTopicKafkaCluster {
|
|
393
|
+
credentials?: pulumi.Input<inputs.KafkaMirrorTopicKafkaClusterCredentials>;
|
|
394
|
+
/**
|
|
395
|
+
* The ID of the destination Kafka cluster, for example, `lkc-abc123`.
|
|
396
|
+
*/
|
|
397
|
+
id: pulumi.Input<string>;
|
|
398
|
+
/**
|
|
399
|
+
* The REST endpoint of the destination Kafka cluster, for example, `https://pkc-00000.us-central1.gcp.confluent.cloud:443`).
|
|
400
|
+
*/
|
|
401
|
+
restEndpoint?: pulumi.Input<string>;
|
|
402
|
+
}
|
|
403
|
+
export interface KafkaMirrorTopicKafkaClusterCredentials {
|
|
404
|
+
/**
|
|
405
|
+
* The Kafka API Key.
|
|
406
|
+
*/
|
|
407
|
+
key: pulumi.Input<string>;
|
|
408
|
+
/**
|
|
409
|
+
* The Kafka API Secret.
|
|
410
|
+
*/
|
|
411
|
+
secret: pulumi.Input<string>;
|
|
412
|
+
}
|
|
413
|
+
export interface KafkaMirrorTopicSourceKafkaTopic {
|
|
414
|
+
/**
|
|
415
|
+
* The name of the topic on the source cluster to be mirrored over the cluster link, for example, `orders`. A topic with the exact same name must exist on the source cluster, and no topic with this name should exist on the destination cluster.
|
|
416
|
+
*/
|
|
417
|
+
topicName: pulumi.Input<string>;
|
|
418
|
+
}
|
|
298
419
|
export interface KafkaTopicCredentials {
|
|
299
420
|
/**
|
|
300
421
|
* The Kafka API Key.
|