@pulumi/confluentcloud 0.0.1-alpha.1654438618
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 +202 -0
- package/README.md +336 -0
- package/apiKey.d.ts +110 -0
- package/apiKey.js +77 -0
- package/apiKey.js.map +1 -0
- package/config/index.d.ts +1 -0
- package/config/index.js +21 -0
- package/config/index.js.map +1 -0
- package/config/vars.d.ts +12 -0
- package/config/vars.js +25 -0
- package/config/vars.js.map +1 -0
- package/connector.d.ts +97 -0
- package/connector.js +73 -0
- package/connector.js.map +1 -0
- package/environment.d.ts +67 -0
- package/environment.js +65 -0
- package/environment.js.map +1 -0
- package/getEnvironment.d.ts +72 -0
- package/getEnvironment.js +50 -0
- package/getEnvironment.js.map +1 -0
- package/getKafkaCluster.d.ts +143 -0
- package/getKafkaCluster.js +55 -0
- package/getKafkaCluster.js.map +1 -0
- package/getKafkaTopic.d.ts +80 -0
- package/getKafkaTopic.js +48 -0
- package/getKafkaTopic.js.map +1 -0
- package/getNetwork.d.ts +142 -0
- package/getNetwork.js +55 -0
- package/getNetwork.js.map +1 -0
- package/getOrganization.d.ts +28 -0
- package/getOrganization.js +29 -0
- package/getOrganization.js.map +1 -0
- package/getServiceAccount.d.ts +73 -0
- package/getServiceAccount.js +43 -0
- package/getServiceAccount.js.map +1 -0
- package/getUser.d.ts +99 -0
- package/getUser.js +62 -0
- package/getUser.js.map +1 -0
- package/index.d.ts +22 -0
- package/index.js +111 -0
- package/index.js.map +1 -0
- package/kafkaAcl.d.ts +159 -0
- package/kafkaAcl.js +108 -0
- package/kafkaAcl.js.map +1 -0
- package/kafkaCluster.d.ts +190 -0
- package/kafkaCluster.js +101 -0
- package/kafkaCluster.js.map +1 -0
- package/kafkaTopic.d.ts +117 -0
- package/kafkaTopic.js +82 -0
- package/kafkaTopic.js.map +1 -0
- package/network.d.ts +208 -0
- package/network.js +96 -0
- package/network.js.map +1 -0
- package/package.json +28 -0
- package/package.json.bak +28 -0
- package/package.json.dev +28 -0
- package/peering.d.ts +96 -0
- package/peering.js +76 -0
- package/peering.js.map +1 -0
- package/privateLinkAccess.d.ts +93 -0
- package/privateLinkAccess.js +74 -0
- package/privateLinkAccess.js.map +1 -0
- package/provider.d.ts +51 -0
- package/provider.js +47 -0
- package/provider.js.map +1 -0
- package/roleBinding.d.ts +83 -0
- package/roleBinding.js +73 -0
- package/roleBinding.js.map +1 -0
- package/scripts/install-pulumi-plugin.js +21 -0
- package/serviceAccount.d.ts +87 -0
- package/serviceAccount.js +69 -0
- package/serviceAccount.js.map +1 -0
- package/types/index.d.ts +3 -0
- package/types/index.js +11 -0
- package/types/index.js.map +1 -0
- package/types/input.d.ts +363 -0
- package/types/input.js +5 -0
- package/types/input.js.map +1 -0
- package/types/output.d.ts +298 -0
- package/types/output.js +5 -0
- package/types/output.js.map +1 -0
- package/utilities.d.ts +4 -0
- package/utilities.js +57 -0
- package/utilities.js.map +1 -0
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "./types";
|
|
3
|
+
/**
|
|
4
|
+
* ## Import
|
|
5
|
+
*
|
|
6
|
+
* You can import a Kafka cluster by using Environment ID and Kafka cluster ID, in the format `<Environment ID>/<Kafka cluster ID>`, e.g. $ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>" $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
|
|
7
|
+
*
|
|
8
|
+
* ```sh
|
|
9
|
+
* $ pulumi import confluentcloud:index/kafkaCluster:KafkaCluster my_kafka env-abc123/lkc-abc123
|
|
10
|
+
* ```
|
|
11
|
+
*
|
|
12
|
+
* !> **Warning:** Do not forget to delete terminal command history afterwards for security purposes.
|
|
13
|
+
*/
|
|
14
|
+
export declare class KafkaCluster extends pulumi.CustomResource {
|
|
15
|
+
/**
|
|
16
|
+
* Get an existing KafkaCluster resource's state with the given name, ID, and optional extra
|
|
17
|
+
* properties used to qualify the lookup.
|
|
18
|
+
*
|
|
19
|
+
* @param name The _unique_ name of the resulting resource.
|
|
20
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
21
|
+
* @param state Any extra arguments used during the lookup.
|
|
22
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
23
|
+
*/
|
|
24
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: KafkaClusterState, opts?: pulumi.CustomResourceOptions): KafkaCluster;
|
|
25
|
+
/**
|
|
26
|
+
* Returns true if the given object is an instance of KafkaCluster. This is designed to work even
|
|
27
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
28
|
+
*/
|
|
29
|
+
static isInstance(obj: any): obj is KafkaCluster;
|
|
30
|
+
/**
|
|
31
|
+
* (Required String) An API Version of the schema version of the Kafka cluster, for example, `cmk/v2`.
|
|
32
|
+
*/
|
|
33
|
+
readonly apiVersion: pulumi.Output<string>;
|
|
34
|
+
/**
|
|
35
|
+
* The availability zone configuration of the Kafka cluster. Accepted values are: `SINGLE_ZONE` and `MULTI_ZONE`.
|
|
36
|
+
*/
|
|
37
|
+
readonly availability: pulumi.Output<string>;
|
|
38
|
+
/**
|
|
39
|
+
* The configuration of the Basic Kafka cluster.
|
|
40
|
+
*/
|
|
41
|
+
readonly basics: pulumi.Output<outputs.KafkaClusterBasic[] | undefined>;
|
|
42
|
+
/**
|
|
43
|
+
* (Required String) The bootstrap endpoint used by Kafka clients to connect to the Kafka cluster. (e.g., `pkc-00000.us-central1.gcp.confluent.cloud:9092`).
|
|
44
|
+
*/
|
|
45
|
+
readonly bootstrapEndpoint: pulumi.Output<string>;
|
|
46
|
+
/**
|
|
47
|
+
* The cloud service provider that runs the Kafka cluster. Accepted values are: `AWS`, `AZURE`, and `GCP`.
|
|
48
|
+
*/
|
|
49
|
+
readonly cloud: pulumi.Output<string>;
|
|
50
|
+
readonly dedicated: pulumi.Output<outputs.KafkaClusterDedicated | undefined>;
|
|
51
|
+
/**
|
|
52
|
+
* The name of the Kafka cluster.
|
|
53
|
+
*/
|
|
54
|
+
readonly displayName: pulumi.Output<string>;
|
|
55
|
+
/**
|
|
56
|
+
* Environment objects represent an isolated namespace for your Confluent resources for organizational purposes.
|
|
57
|
+
*/
|
|
58
|
+
readonly environment: pulumi.Output<outputs.KafkaClusterEnvironment>;
|
|
59
|
+
/**
|
|
60
|
+
* (Required String) The REST endpoint of the Kafka cluster (e.g., `https://pkc-00000.us-central1.gcp.confluent.cloud:443`).
|
|
61
|
+
*/
|
|
62
|
+
readonly httpEndpoint: pulumi.Output<string>;
|
|
63
|
+
/**
|
|
64
|
+
* (Required String) A kind of the Kafka cluster, for example, `Cluster`.
|
|
65
|
+
*/
|
|
66
|
+
readonly kind: pulumi.Output<string>;
|
|
67
|
+
/**
|
|
68
|
+
* Network represents a network (VPC) in Confluent Cloud. All Networks exist within Confluent-managed cloud provider
|
|
69
|
+
* accounts.
|
|
70
|
+
*/
|
|
71
|
+
readonly network: pulumi.Output<outputs.KafkaClusterNetwork>;
|
|
72
|
+
/**
|
|
73
|
+
* (Required String) The Confluent Resource Name of the Kafka cluster, for example, `crn://confluent.cloud/organization=1111aaaa-11aa-11aa-11aa-111111aaaaaa/environment=env-abc123/cloud-cluster=lkc-abc123`.
|
|
74
|
+
*/
|
|
75
|
+
readonly rbacCrn: pulumi.Output<string>;
|
|
76
|
+
/**
|
|
77
|
+
* The cloud service provider region where the Kafka cluster is running, for example, `us-west-2`. See [Cloud Providers and Regions](https://docs.confluent.io/cloud/current/clusters/regions.html#cloud-providers-and-regions) for a full list of options for AWS, Azure, and GCP.
|
|
78
|
+
*/
|
|
79
|
+
readonly region: pulumi.Output<string>;
|
|
80
|
+
/**
|
|
81
|
+
* The configuration of the Standard Kafka cluster.
|
|
82
|
+
*/
|
|
83
|
+
readonly standards: pulumi.Output<outputs.KafkaClusterStandard[] | undefined>;
|
|
84
|
+
/**
|
|
85
|
+
* Create a KafkaCluster resource with the given unique name, arguments, and options.
|
|
86
|
+
*
|
|
87
|
+
* @param name The _unique_ name of the resource.
|
|
88
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
89
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
90
|
+
*/
|
|
91
|
+
constructor(name: string, args: KafkaClusterArgs, opts?: pulumi.CustomResourceOptions);
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* Input properties used for looking up and filtering KafkaCluster resources.
|
|
95
|
+
*/
|
|
96
|
+
export interface KafkaClusterState {
|
|
97
|
+
/**
|
|
98
|
+
* (Required String) An API Version of the schema version of the Kafka cluster, for example, `cmk/v2`.
|
|
99
|
+
*/
|
|
100
|
+
apiVersion?: pulumi.Input<string>;
|
|
101
|
+
/**
|
|
102
|
+
* The availability zone configuration of the Kafka cluster. Accepted values are: `SINGLE_ZONE` and `MULTI_ZONE`.
|
|
103
|
+
*/
|
|
104
|
+
availability?: pulumi.Input<string>;
|
|
105
|
+
/**
|
|
106
|
+
* The configuration of the Basic Kafka cluster.
|
|
107
|
+
*/
|
|
108
|
+
basics?: pulumi.Input<pulumi.Input<inputs.KafkaClusterBasic>[]>;
|
|
109
|
+
/**
|
|
110
|
+
* (Required String) The bootstrap endpoint used by Kafka clients to connect to the Kafka cluster. (e.g., `pkc-00000.us-central1.gcp.confluent.cloud:9092`).
|
|
111
|
+
*/
|
|
112
|
+
bootstrapEndpoint?: pulumi.Input<string>;
|
|
113
|
+
/**
|
|
114
|
+
* The cloud service provider that runs the Kafka cluster. Accepted values are: `AWS`, `AZURE`, and `GCP`.
|
|
115
|
+
*/
|
|
116
|
+
cloud?: pulumi.Input<string>;
|
|
117
|
+
dedicated?: pulumi.Input<inputs.KafkaClusterDedicated>;
|
|
118
|
+
/**
|
|
119
|
+
* The name of the Kafka cluster.
|
|
120
|
+
*/
|
|
121
|
+
displayName?: pulumi.Input<string>;
|
|
122
|
+
/**
|
|
123
|
+
* Environment objects represent an isolated namespace for your Confluent resources for organizational purposes.
|
|
124
|
+
*/
|
|
125
|
+
environment?: pulumi.Input<inputs.KafkaClusterEnvironment>;
|
|
126
|
+
/**
|
|
127
|
+
* (Required String) The REST endpoint of the Kafka cluster (e.g., `https://pkc-00000.us-central1.gcp.confluent.cloud:443`).
|
|
128
|
+
*/
|
|
129
|
+
httpEndpoint?: pulumi.Input<string>;
|
|
130
|
+
/**
|
|
131
|
+
* (Required String) A kind of the Kafka cluster, for example, `Cluster`.
|
|
132
|
+
*/
|
|
133
|
+
kind?: pulumi.Input<string>;
|
|
134
|
+
/**
|
|
135
|
+
* Network represents a network (VPC) in Confluent Cloud. All Networks exist within Confluent-managed cloud provider
|
|
136
|
+
* accounts.
|
|
137
|
+
*/
|
|
138
|
+
network?: pulumi.Input<inputs.KafkaClusterNetwork>;
|
|
139
|
+
/**
|
|
140
|
+
* (Required String) The Confluent Resource Name of the Kafka cluster, for example, `crn://confluent.cloud/organization=1111aaaa-11aa-11aa-11aa-111111aaaaaa/environment=env-abc123/cloud-cluster=lkc-abc123`.
|
|
141
|
+
*/
|
|
142
|
+
rbacCrn?: pulumi.Input<string>;
|
|
143
|
+
/**
|
|
144
|
+
* The cloud service provider region where the Kafka cluster is running, for example, `us-west-2`. See [Cloud Providers and Regions](https://docs.confluent.io/cloud/current/clusters/regions.html#cloud-providers-and-regions) for a full list of options for AWS, Azure, and GCP.
|
|
145
|
+
*/
|
|
146
|
+
region?: pulumi.Input<string>;
|
|
147
|
+
/**
|
|
148
|
+
* The configuration of the Standard Kafka cluster.
|
|
149
|
+
*/
|
|
150
|
+
standards?: pulumi.Input<pulumi.Input<inputs.KafkaClusterStandard>[]>;
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* The set of arguments for constructing a KafkaCluster resource.
|
|
154
|
+
*/
|
|
155
|
+
export interface KafkaClusterArgs {
|
|
156
|
+
/**
|
|
157
|
+
* The availability zone configuration of the Kafka cluster. Accepted values are: `SINGLE_ZONE` and `MULTI_ZONE`.
|
|
158
|
+
*/
|
|
159
|
+
availability: pulumi.Input<string>;
|
|
160
|
+
/**
|
|
161
|
+
* The configuration of the Basic Kafka cluster.
|
|
162
|
+
*/
|
|
163
|
+
basics?: pulumi.Input<pulumi.Input<inputs.KafkaClusterBasic>[]>;
|
|
164
|
+
/**
|
|
165
|
+
* The cloud service provider that runs the Kafka cluster. Accepted values are: `AWS`, `AZURE`, and `GCP`.
|
|
166
|
+
*/
|
|
167
|
+
cloud: pulumi.Input<string>;
|
|
168
|
+
dedicated?: pulumi.Input<inputs.KafkaClusterDedicated>;
|
|
169
|
+
/**
|
|
170
|
+
* The name of the Kafka cluster.
|
|
171
|
+
*/
|
|
172
|
+
displayName: pulumi.Input<string>;
|
|
173
|
+
/**
|
|
174
|
+
* Environment objects represent an isolated namespace for your Confluent resources for organizational purposes.
|
|
175
|
+
*/
|
|
176
|
+
environment: pulumi.Input<inputs.KafkaClusterEnvironment>;
|
|
177
|
+
/**
|
|
178
|
+
* Network represents a network (VPC) in Confluent Cloud. All Networks exist within Confluent-managed cloud provider
|
|
179
|
+
* accounts.
|
|
180
|
+
*/
|
|
181
|
+
network?: pulumi.Input<inputs.KafkaClusterNetwork>;
|
|
182
|
+
/**
|
|
183
|
+
* The cloud service provider region where the Kafka cluster is running, for example, `us-west-2`. See [Cloud Providers and Regions](https://docs.confluent.io/cloud/current/clusters/regions.html#cloud-providers-and-regions) for a full list of options for AWS, Azure, and GCP.
|
|
184
|
+
*/
|
|
185
|
+
region: pulumi.Input<string>;
|
|
186
|
+
/**
|
|
187
|
+
* The configuration of the Standard Kafka cluster.
|
|
188
|
+
*/
|
|
189
|
+
standards?: pulumi.Input<pulumi.Input<inputs.KafkaClusterStandard>[]>;
|
|
190
|
+
}
|
package/kafkaCluster.js
ADDED
|
@@ -0,0 +1,101 @@
|
|
|
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.KafkaCluster = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## Import
|
|
10
|
+
*
|
|
11
|
+
* You can import a Kafka cluster by using Environment ID and Kafka cluster ID, in the format `<Environment ID>/<Kafka cluster ID>`, e.g. $ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>" $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
|
|
12
|
+
*
|
|
13
|
+
* ```sh
|
|
14
|
+
* $ pulumi import confluentcloud:index/kafkaCluster:KafkaCluster my_kafka env-abc123/lkc-abc123
|
|
15
|
+
* ```
|
|
16
|
+
*
|
|
17
|
+
* !> **Warning:** Do not forget to delete terminal command history afterwards for security purposes.
|
|
18
|
+
*/
|
|
19
|
+
class KafkaCluster extends pulumi.CustomResource {
|
|
20
|
+
constructor(name, argsOrState, opts) {
|
|
21
|
+
let resourceInputs = {};
|
|
22
|
+
opts = opts || {};
|
|
23
|
+
if (opts.id) {
|
|
24
|
+
const state = argsOrState;
|
|
25
|
+
resourceInputs["apiVersion"] = state ? state.apiVersion : undefined;
|
|
26
|
+
resourceInputs["availability"] = state ? state.availability : undefined;
|
|
27
|
+
resourceInputs["basics"] = state ? state.basics : undefined;
|
|
28
|
+
resourceInputs["bootstrapEndpoint"] = state ? state.bootstrapEndpoint : undefined;
|
|
29
|
+
resourceInputs["cloud"] = state ? state.cloud : undefined;
|
|
30
|
+
resourceInputs["dedicated"] = state ? state.dedicated : undefined;
|
|
31
|
+
resourceInputs["displayName"] = state ? state.displayName : undefined;
|
|
32
|
+
resourceInputs["environment"] = state ? state.environment : undefined;
|
|
33
|
+
resourceInputs["httpEndpoint"] = state ? state.httpEndpoint : undefined;
|
|
34
|
+
resourceInputs["kind"] = state ? state.kind : undefined;
|
|
35
|
+
resourceInputs["network"] = state ? state.network : undefined;
|
|
36
|
+
resourceInputs["rbacCrn"] = state ? state.rbacCrn : undefined;
|
|
37
|
+
resourceInputs["region"] = state ? state.region : undefined;
|
|
38
|
+
resourceInputs["standards"] = state ? state.standards : undefined;
|
|
39
|
+
}
|
|
40
|
+
else {
|
|
41
|
+
const args = argsOrState;
|
|
42
|
+
if ((!args || args.availability === undefined) && !opts.urn) {
|
|
43
|
+
throw new Error("Missing required property 'availability'");
|
|
44
|
+
}
|
|
45
|
+
if ((!args || args.cloud === undefined) && !opts.urn) {
|
|
46
|
+
throw new Error("Missing required property 'cloud'");
|
|
47
|
+
}
|
|
48
|
+
if ((!args || args.displayName === undefined) && !opts.urn) {
|
|
49
|
+
throw new Error("Missing required property 'displayName'");
|
|
50
|
+
}
|
|
51
|
+
if ((!args || args.environment === undefined) && !opts.urn) {
|
|
52
|
+
throw new Error("Missing required property 'environment'");
|
|
53
|
+
}
|
|
54
|
+
if ((!args || args.region === undefined) && !opts.urn) {
|
|
55
|
+
throw new Error("Missing required property 'region'");
|
|
56
|
+
}
|
|
57
|
+
resourceInputs["availability"] = args ? args.availability : undefined;
|
|
58
|
+
resourceInputs["basics"] = args ? args.basics : undefined;
|
|
59
|
+
resourceInputs["cloud"] = args ? args.cloud : undefined;
|
|
60
|
+
resourceInputs["dedicated"] = args ? args.dedicated : undefined;
|
|
61
|
+
resourceInputs["displayName"] = args ? args.displayName : undefined;
|
|
62
|
+
resourceInputs["environment"] = args ? args.environment : undefined;
|
|
63
|
+
resourceInputs["network"] = args ? args.network : undefined;
|
|
64
|
+
resourceInputs["region"] = args ? args.region : undefined;
|
|
65
|
+
resourceInputs["standards"] = args ? args.standards : undefined;
|
|
66
|
+
resourceInputs["apiVersion"] = undefined /*out*/;
|
|
67
|
+
resourceInputs["bootstrapEndpoint"] = undefined /*out*/;
|
|
68
|
+
resourceInputs["httpEndpoint"] = undefined /*out*/;
|
|
69
|
+
resourceInputs["kind"] = undefined /*out*/;
|
|
70
|
+
resourceInputs["rbacCrn"] = undefined /*out*/;
|
|
71
|
+
}
|
|
72
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
73
|
+
super(KafkaCluster.__pulumiType, name, resourceInputs, opts);
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Get an existing KafkaCluster resource's state with the given name, ID, and optional extra
|
|
77
|
+
* properties used to qualify the lookup.
|
|
78
|
+
*
|
|
79
|
+
* @param name The _unique_ name of the resulting resource.
|
|
80
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
81
|
+
* @param state Any extra arguments used during the lookup.
|
|
82
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
83
|
+
*/
|
|
84
|
+
static get(name, id, state, opts) {
|
|
85
|
+
return new KafkaCluster(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* Returns true if the given object is an instance of KafkaCluster. This is designed to work even
|
|
89
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
90
|
+
*/
|
|
91
|
+
static isInstance(obj) {
|
|
92
|
+
if (obj === undefined || obj === null) {
|
|
93
|
+
return false;
|
|
94
|
+
}
|
|
95
|
+
return obj['__pulumiType'] === KafkaCluster.__pulumiType;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
exports.KafkaCluster = KafkaCluster;
|
|
99
|
+
/** @internal */
|
|
100
|
+
KafkaCluster.__pulumiType = 'confluentcloud:index/kafkaCluster:KafkaCluster';
|
|
101
|
+
//# sourceMappingURL=kafkaCluster.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"kafkaCluster.js","sourceRoot":"","sources":["../kafkaCluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;GAUG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IA2FnD,YAAY,IAAY,EAAE,WAAkD,EAAE,IAAmC;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G,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACjD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;IA/ID;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACnE,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,YAAY,CAAC,YAAY,CAAC;IAC7D,CAAC;;AA1BL,oCAiJC;AAnIG,gBAAgB;AACO,yBAAY,GAAG,gDAAgD,CAAC"}
|
package/kafkaTopic.d.ts
ADDED
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "./types";
|
|
3
|
+
/**
|
|
4
|
+
* ## Import
|
|
5
|
+
*
|
|
6
|
+
* You can import a Kafka topic by using the Kafka cluster ID and Kafka topic name in the format `<Kafka cluster ID>/<Kafka topic name>`, for example$ export KAFKA_API_KEY="<kafka_api_key>" $ export KAFKA_API_SECRET="<kafka_api_secret>" $ export KAFKA_HTTP_ENDPOINT="<kafka_http_endpoint>"
|
|
7
|
+
*
|
|
8
|
+
* ```sh
|
|
9
|
+
* $ pulumi import confluentcloud:index/kafkaTopic:KafkaTopic my_topic lkc-abc123/orders-123
|
|
10
|
+
* ```
|
|
11
|
+
*
|
|
12
|
+
* !> **Warning:** Do not forget to delete terminal command history afterwards for security purposes.
|
|
13
|
+
*/
|
|
14
|
+
export declare class KafkaTopic extends pulumi.CustomResource {
|
|
15
|
+
/**
|
|
16
|
+
* Get an existing KafkaTopic resource's state with the given name, ID, and optional extra
|
|
17
|
+
* properties used to qualify the lookup.
|
|
18
|
+
*
|
|
19
|
+
* @param name The _unique_ name of the resulting resource.
|
|
20
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
21
|
+
* @param state Any extra arguments used during the lookup.
|
|
22
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
23
|
+
*/
|
|
24
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: KafkaTopicState, opts?: pulumi.CustomResourceOptions): KafkaTopic;
|
|
25
|
+
/**
|
|
26
|
+
* Returns true if the given object is an instance of KafkaTopic. This is designed to work even
|
|
27
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
28
|
+
*/
|
|
29
|
+
static isInstance(obj: any): obj is KafkaTopic;
|
|
30
|
+
/**
|
|
31
|
+
* The custom topic settings to set:
|
|
32
|
+
*/
|
|
33
|
+
readonly config: pulumi.Output<{
|
|
34
|
+
[key: string]: string;
|
|
35
|
+
}>;
|
|
36
|
+
/**
|
|
37
|
+
* The Cluster API Credentials.
|
|
38
|
+
*/
|
|
39
|
+
readonly credentials: pulumi.Output<outputs.KafkaTopicCredentials>;
|
|
40
|
+
/**
|
|
41
|
+
* The REST endpoint of the Kafka cluster, for example, `https://pkc-00000.us-central1.gcp.confluent.cloud:443`).
|
|
42
|
+
*/
|
|
43
|
+
readonly httpEndpoint: pulumi.Output<string>;
|
|
44
|
+
readonly kafkaCluster: pulumi.Output<outputs.KafkaTopicKafkaCluster>;
|
|
45
|
+
/**
|
|
46
|
+
* The number of partitions to create in the topic. Defaults to `6`.
|
|
47
|
+
*/
|
|
48
|
+
readonly partitionsCount: pulumi.Output<number | undefined>;
|
|
49
|
+
/**
|
|
50
|
+
* The name of the topic, for example, `orders-1`. The topic name can be up to 255 characters in length, and can include the following characters: a-z, A-Z, 0-9, . (dot), _ (underscore), and - (dash). As a best practice, we recommend against using any personally identifiable information (PII) when naming your topic.
|
|
51
|
+
*/
|
|
52
|
+
readonly topicName: pulumi.Output<string>;
|
|
53
|
+
/**
|
|
54
|
+
* Create a KafkaTopic resource with the given unique name, arguments, and options.
|
|
55
|
+
*
|
|
56
|
+
* @param name The _unique_ name of the resource.
|
|
57
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
58
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
59
|
+
*/
|
|
60
|
+
constructor(name: string, args: KafkaTopicArgs, opts?: pulumi.CustomResourceOptions);
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Input properties used for looking up and filtering KafkaTopic resources.
|
|
64
|
+
*/
|
|
65
|
+
export interface KafkaTopicState {
|
|
66
|
+
/**
|
|
67
|
+
* The custom topic settings to set:
|
|
68
|
+
*/
|
|
69
|
+
config?: pulumi.Input<{
|
|
70
|
+
[key: string]: pulumi.Input<string>;
|
|
71
|
+
}>;
|
|
72
|
+
/**
|
|
73
|
+
* The Cluster API Credentials.
|
|
74
|
+
*/
|
|
75
|
+
credentials?: pulumi.Input<inputs.KafkaTopicCredentials>;
|
|
76
|
+
/**
|
|
77
|
+
* The REST endpoint of the Kafka cluster, for example, `https://pkc-00000.us-central1.gcp.confluent.cloud:443`).
|
|
78
|
+
*/
|
|
79
|
+
httpEndpoint?: pulumi.Input<string>;
|
|
80
|
+
kafkaCluster?: pulumi.Input<inputs.KafkaTopicKafkaCluster>;
|
|
81
|
+
/**
|
|
82
|
+
* The number of partitions to create in the topic. Defaults to `6`.
|
|
83
|
+
*/
|
|
84
|
+
partitionsCount?: pulumi.Input<number>;
|
|
85
|
+
/**
|
|
86
|
+
* The name of the topic, for example, `orders-1`. The topic name can be up to 255 characters in length, and can include the following characters: a-z, A-Z, 0-9, . (dot), _ (underscore), and - (dash). As a best practice, we recommend against using any personally identifiable information (PII) when naming your topic.
|
|
87
|
+
*/
|
|
88
|
+
topicName?: pulumi.Input<string>;
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* The set of arguments for constructing a KafkaTopic resource.
|
|
92
|
+
*/
|
|
93
|
+
export interface KafkaTopicArgs {
|
|
94
|
+
/**
|
|
95
|
+
* The custom topic settings to set:
|
|
96
|
+
*/
|
|
97
|
+
config?: pulumi.Input<{
|
|
98
|
+
[key: string]: pulumi.Input<string>;
|
|
99
|
+
}>;
|
|
100
|
+
/**
|
|
101
|
+
* The Cluster API Credentials.
|
|
102
|
+
*/
|
|
103
|
+
credentials: pulumi.Input<inputs.KafkaTopicCredentials>;
|
|
104
|
+
/**
|
|
105
|
+
* The REST endpoint of the Kafka cluster, for example, `https://pkc-00000.us-central1.gcp.confluent.cloud:443`).
|
|
106
|
+
*/
|
|
107
|
+
httpEndpoint: pulumi.Input<string>;
|
|
108
|
+
kafkaCluster: pulumi.Input<inputs.KafkaTopicKafkaCluster>;
|
|
109
|
+
/**
|
|
110
|
+
* The number of partitions to create in the topic. Defaults to `6`.
|
|
111
|
+
*/
|
|
112
|
+
partitionsCount?: pulumi.Input<number>;
|
|
113
|
+
/**
|
|
114
|
+
* The name of the topic, for example, `orders-1`. The topic name can be up to 255 characters in length, and can include the following characters: a-z, A-Z, 0-9, . (dot), _ (underscore), and - (dash). As a best practice, we recommend against using any personally identifiable information (PII) when naming your topic.
|
|
115
|
+
*/
|
|
116
|
+
topicName: pulumi.Input<string>;
|
|
117
|
+
}
|
package/kafkaTopic.js
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
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.KafkaTopic = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## Import
|
|
10
|
+
*
|
|
11
|
+
* You can import a Kafka topic by using the Kafka cluster ID and Kafka topic name in the format `<Kafka cluster ID>/<Kafka topic name>`, for example$ export KAFKA_API_KEY="<kafka_api_key>" $ export KAFKA_API_SECRET="<kafka_api_secret>" $ export KAFKA_HTTP_ENDPOINT="<kafka_http_endpoint>"
|
|
12
|
+
*
|
|
13
|
+
* ```sh
|
|
14
|
+
* $ pulumi import confluentcloud:index/kafkaTopic:KafkaTopic my_topic lkc-abc123/orders-123
|
|
15
|
+
* ```
|
|
16
|
+
*
|
|
17
|
+
* !> **Warning:** Do not forget to delete terminal command history afterwards for security purposes.
|
|
18
|
+
*/
|
|
19
|
+
class KafkaTopic extends pulumi.CustomResource {
|
|
20
|
+
constructor(name, argsOrState, opts) {
|
|
21
|
+
let resourceInputs = {};
|
|
22
|
+
opts = opts || {};
|
|
23
|
+
if (opts.id) {
|
|
24
|
+
const state = argsOrState;
|
|
25
|
+
resourceInputs["config"] = state ? state.config : undefined;
|
|
26
|
+
resourceInputs["credentials"] = state ? state.credentials : undefined;
|
|
27
|
+
resourceInputs["httpEndpoint"] = state ? state.httpEndpoint : undefined;
|
|
28
|
+
resourceInputs["kafkaCluster"] = state ? state.kafkaCluster : undefined;
|
|
29
|
+
resourceInputs["partitionsCount"] = state ? state.partitionsCount : undefined;
|
|
30
|
+
resourceInputs["topicName"] = state ? state.topicName : undefined;
|
|
31
|
+
}
|
|
32
|
+
else {
|
|
33
|
+
const args = argsOrState;
|
|
34
|
+
if ((!args || args.credentials === undefined) && !opts.urn) {
|
|
35
|
+
throw new Error("Missing required property 'credentials'");
|
|
36
|
+
}
|
|
37
|
+
if ((!args || args.httpEndpoint === undefined) && !opts.urn) {
|
|
38
|
+
throw new Error("Missing required property 'httpEndpoint'");
|
|
39
|
+
}
|
|
40
|
+
if ((!args || args.kafkaCluster === undefined) && !opts.urn) {
|
|
41
|
+
throw new Error("Missing required property 'kafkaCluster'");
|
|
42
|
+
}
|
|
43
|
+
if ((!args || args.topicName === undefined) && !opts.urn) {
|
|
44
|
+
throw new Error("Missing required property 'topicName'");
|
|
45
|
+
}
|
|
46
|
+
resourceInputs["config"] = args ? args.config : undefined;
|
|
47
|
+
resourceInputs["credentials"] = args ? args.credentials : undefined;
|
|
48
|
+
resourceInputs["httpEndpoint"] = args ? args.httpEndpoint : undefined;
|
|
49
|
+
resourceInputs["kafkaCluster"] = args ? args.kafkaCluster : undefined;
|
|
50
|
+
resourceInputs["partitionsCount"] = args ? args.partitionsCount : undefined;
|
|
51
|
+
resourceInputs["topicName"] = args ? args.topicName : undefined;
|
|
52
|
+
}
|
|
53
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
54
|
+
super(KafkaTopic.__pulumiType, name, resourceInputs, opts);
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Get an existing KafkaTopic resource's state with the given name, ID, and optional extra
|
|
58
|
+
* properties used to qualify the lookup.
|
|
59
|
+
*
|
|
60
|
+
* @param name The _unique_ name of the resulting resource.
|
|
61
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
62
|
+
* @param state Any extra arguments used during the lookup.
|
|
63
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
64
|
+
*/
|
|
65
|
+
static get(name, id, state, opts) {
|
|
66
|
+
return new KafkaTopic(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Returns true if the given object is an instance of KafkaTopic. This is designed to work even
|
|
70
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
71
|
+
*/
|
|
72
|
+
static isInstance(obj) {
|
|
73
|
+
if (obj === undefined || obj === null) {
|
|
74
|
+
return false;
|
|
75
|
+
}
|
|
76
|
+
return obj['__pulumiType'] === KafkaTopic.__pulumiType;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
exports.KafkaTopic = KafkaTopic;
|
|
80
|
+
/** @internal */
|
|
81
|
+
KafkaTopic.__pulumiType = 'confluentcloud:index/kafkaTopic:KafkaTopic';
|
|
82
|
+
//# sourceMappingURL=kafkaTopic.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"kafkaTopic.js","sourceRoot":"","sources":["../kafkaTopic.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;GAUG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IA0DjD,YAAY,IAAY,EAAE,WAA8C,EAAE,IAAmC;QACzG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA0C,CAAC;YACzD,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,iBAAiB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC,SA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