@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.
Files changed (84) hide show
  1. package/LICENSE +202 -0
  2. package/README.md +336 -0
  3. package/apiKey.d.ts +110 -0
  4. package/apiKey.js +77 -0
  5. package/apiKey.js.map +1 -0
  6. package/config/index.d.ts +1 -0
  7. package/config/index.js +21 -0
  8. package/config/index.js.map +1 -0
  9. package/config/vars.d.ts +12 -0
  10. package/config/vars.js +25 -0
  11. package/config/vars.js.map +1 -0
  12. package/connector.d.ts +97 -0
  13. package/connector.js +73 -0
  14. package/connector.js.map +1 -0
  15. package/environment.d.ts +67 -0
  16. package/environment.js +65 -0
  17. package/environment.js.map +1 -0
  18. package/getEnvironment.d.ts +72 -0
  19. package/getEnvironment.js +50 -0
  20. package/getEnvironment.js.map +1 -0
  21. package/getKafkaCluster.d.ts +143 -0
  22. package/getKafkaCluster.js +55 -0
  23. package/getKafkaCluster.js.map +1 -0
  24. package/getKafkaTopic.d.ts +80 -0
  25. package/getKafkaTopic.js +48 -0
  26. package/getKafkaTopic.js.map +1 -0
  27. package/getNetwork.d.ts +142 -0
  28. package/getNetwork.js +55 -0
  29. package/getNetwork.js.map +1 -0
  30. package/getOrganization.d.ts +28 -0
  31. package/getOrganization.js +29 -0
  32. package/getOrganization.js.map +1 -0
  33. package/getServiceAccount.d.ts +73 -0
  34. package/getServiceAccount.js +43 -0
  35. package/getServiceAccount.js.map +1 -0
  36. package/getUser.d.ts +99 -0
  37. package/getUser.js +62 -0
  38. package/getUser.js.map +1 -0
  39. package/index.d.ts +22 -0
  40. package/index.js +111 -0
  41. package/index.js.map +1 -0
  42. package/kafkaAcl.d.ts +159 -0
  43. package/kafkaAcl.js +108 -0
  44. package/kafkaAcl.js.map +1 -0
  45. package/kafkaCluster.d.ts +190 -0
  46. package/kafkaCluster.js +101 -0
  47. package/kafkaCluster.js.map +1 -0
  48. package/kafkaTopic.d.ts +117 -0
  49. package/kafkaTopic.js +82 -0
  50. package/kafkaTopic.js.map +1 -0
  51. package/network.d.ts +208 -0
  52. package/network.js +96 -0
  53. package/network.js.map +1 -0
  54. package/package.json +28 -0
  55. package/package.json.bak +28 -0
  56. package/package.json.dev +28 -0
  57. package/peering.d.ts +96 -0
  58. package/peering.js +76 -0
  59. package/peering.js.map +1 -0
  60. package/privateLinkAccess.d.ts +93 -0
  61. package/privateLinkAccess.js +74 -0
  62. package/privateLinkAccess.js.map +1 -0
  63. package/provider.d.ts +51 -0
  64. package/provider.js +47 -0
  65. package/provider.js.map +1 -0
  66. package/roleBinding.d.ts +83 -0
  67. package/roleBinding.js +73 -0
  68. package/roleBinding.js.map +1 -0
  69. package/scripts/install-pulumi-plugin.js +21 -0
  70. package/serviceAccount.d.ts +87 -0
  71. package/serviceAccount.js +69 -0
  72. package/serviceAccount.js.map +1 -0
  73. package/types/index.d.ts +3 -0
  74. package/types/index.js +11 -0
  75. package/types/index.js.map +1 -0
  76. package/types/input.d.ts +363 -0
  77. package/types/input.js +5 -0
  78. package/types/input.js.map +1 -0
  79. package/types/output.d.ts +298 -0
  80. package/types/output.js +5 -0
  81. package/types/output.js.map +1 -0
  82. package/utilities.d.ts +4 -0
  83. package/utilities.js +57 -0
  84. package/utilities.js.map +1 -0
@@ -0,0 +1,363 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { input as inputs } from "../types";
3
+ export interface ApiKeyManagedResource {
4
+ /**
5
+ * The API group and version of the managed resource that the API Key associated with, for example, `cmk/v2`.
6
+ */
7
+ apiVersion: pulumi.Input<string>;
8
+ environment: pulumi.Input<inputs.ApiKeyManagedResourceEnvironment>;
9
+ /**
10
+ * The ID of the Environment that the managed resource belongs to, for example, `env-abc123`.
11
+ */
12
+ id: pulumi.Input<string>;
13
+ /**
14
+ * The kind of the managed resource that the API Key associated with, for example, `Cluster`.
15
+ */
16
+ kind: pulumi.Input<string>;
17
+ }
18
+ export interface ApiKeyManagedResourceEnvironment {
19
+ /**
20
+ * The ID of the Environment that the managed resource belongs to, for example, `env-abc123`.
21
+ */
22
+ id: pulumi.Input<string>;
23
+ }
24
+ export interface ApiKeyOwner {
25
+ /**
26
+ * The API group and version of the managed resource that the API Key associated with, for example, `cmk/v2`.
27
+ */
28
+ apiVersion: pulumi.Input<string>;
29
+ /**
30
+ * The ID of the Environment that the managed resource belongs to, for example, `env-abc123`.
31
+ */
32
+ id: pulumi.Input<string>;
33
+ /**
34
+ * The kind of the managed resource that the API Key associated with, for example, `Cluster`.
35
+ */
36
+ kind: pulumi.Input<string>;
37
+ }
38
+ export interface ConnectorEnvironment {
39
+ /**
40
+ * The ID of the Kafka cluster that the connector belongs to, for example, `lkc-abc123`.
41
+ */
42
+ id: pulumi.Input<string>;
43
+ }
44
+ export interface ConnectorKafkaCluster {
45
+ /**
46
+ * The ID of the Kafka cluster that the connector belongs to, for example, `lkc-abc123`.
47
+ */
48
+ id: pulumi.Input<string>;
49
+ }
50
+ export interface GetKafkaClusterBasicArgs {
51
+ }
52
+ export interface GetKafkaClusterBasic {
53
+ }
54
+ export interface GetKafkaClusterDedicated {
55
+ /**
56
+ * (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.
57
+ */
58
+ cku?: number;
59
+ /**
60
+ * (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.
61
+ */
62
+ encryptionKey?: string;
63
+ }
64
+ export interface GetKafkaClusterDedicatedArgs {
65
+ /**
66
+ * (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.
67
+ */
68
+ cku?: pulumi.Input<number>;
69
+ /**
70
+ * (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.
71
+ */
72
+ encryptionKey?: pulumi.Input<string>;
73
+ }
74
+ export interface GetKafkaClusterEnvironmentArgs {
75
+ /**
76
+ * The ID of the Environment that the Kafka cluster belongs to, for example, `env-xyz456`.
77
+ */
78
+ id: pulumi.Input<string>;
79
+ }
80
+ export interface GetKafkaClusterEnvironment {
81
+ /**
82
+ * The ID of the Environment that the Kafka cluster belongs to, for example, `env-xyz456`.
83
+ */
84
+ id: string;
85
+ }
86
+ export interface GetKafkaClusterStandard {
87
+ }
88
+ export interface GetKafkaClusterStandardArgs {
89
+ }
90
+ export interface GetKafkaTopicCredentialsArgs {
91
+ /**
92
+ * The Kafka API Key.
93
+ */
94
+ key: pulumi.Input<string>;
95
+ /**
96
+ * The Kafka API Secret.
97
+ */
98
+ secret: pulumi.Input<string>;
99
+ }
100
+ export interface GetKafkaTopicCredentials {
101
+ /**
102
+ * The Kafka API Key.
103
+ */
104
+ key: string;
105
+ /**
106
+ * The Kafka API Secret.
107
+ */
108
+ secret: string;
109
+ }
110
+ export interface GetKafkaTopicKafkaClusterArgs {
111
+ /**
112
+ * The ID of the Kafka cluster, for example, `lkc-abc123`.
113
+ */
114
+ id: pulumi.Input<string>;
115
+ }
116
+ export interface GetKafkaTopicKafkaCluster {
117
+ /**
118
+ * The ID of the Kafka cluster, for example, `lkc-abc123`.
119
+ */
120
+ id: string;
121
+ }
122
+ export interface GetNetworkAwArgs {
123
+ /**
124
+ * (Optional String) The AWS VPC endpoint service for the network (used for Private Link) if available.
125
+ */
126
+ privateLinkEndpointService?: pulumi.Input<string>;
127
+ /**
128
+ * (Required String) The AWS VPC ID for the network.
129
+ */
130
+ vpc?: pulumi.Input<string>;
131
+ }
132
+ export interface GetNetworkAw {
133
+ /**
134
+ * (Optional String) The AWS VPC endpoint service for the network (used for Private Link) if available.
135
+ */
136
+ privateLinkEndpointService?: string;
137
+ /**
138
+ * (Required String) The AWS VPC ID for the network.
139
+ */
140
+ vpc?: string;
141
+ }
142
+ export interface GetNetworkAzure {
143
+ /**
144
+ * (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).
145
+ */
146
+ privateLinkServiceAliases?: {
147
+ [key: string]: string;
148
+ };
149
+ }
150
+ export interface GetNetworkAzureArgs {
151
+ /**
152
+ * (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).
153
+ */
154
+ privateLinkServiceAliases?: pulumi.Input<{
155
+ [key: string]: pulumi.Input<string>;
156
+ }>;
157
+ }
158
+ export interface GetNetworkEnvironmentArgs {
159
+ /**
160
+ * The ID of the Environment that the Network belongs to, for example, `env-xyz456`.
161
+ */
162
+ id: pulumi.Input<string>;
163
+ }
164
+ export interface GetNetworkEnvironment {
165
+ /**
166
+ * The ID of the Environment that the Network belongs to, for example, `env-xyz456`.
167
+ */
168
+ id: string;
169
+ }
170
+ export interface GetNetworkGcp {
171
+ /**
172
+ * (Required String) The GCP project.
173
+ */
174
+ project?: string;
175
+ /**
176
+ * (Required String) The GCP VPC network name.
177
+ */
178
+ vpcNetwork?: string;
179
+ }
180
+ export interface GetNetworkGcpArgs {
181
+ /**
182
+ * (Required String) The GCP project.
183
+ */
184
+ project?: pulumi.Input<string>;
185
+ /**
186
+ * (Required String) The GCP VPC network name.
187
+ */
188
+ vpcNetwork?: pulumi.Input<string>;
189
+ }
190
+ export interface KafkaAclCredentials {
191
+ /**
192
+ * The Kafka API Key.
193
+ */
194
+ key: pulumi.Input<string>;
195
+ /**
196
+ * The Kafka API Secret.
197
+ */
198
+ secret: pulumi.Input<string>;
199
+ }
200
+ export interface KafkaAclKafkaCluster {
201
+ /**
202
+ * The ID of the Kafka cluster, for example, `lkc-abc123`.
203
+ */
204
+ id: pulumi.Input<string>;
205
+ }
206
+ export interface KafkaClusterBasic {
207
+ }
208
+ export interface KafkaClusterDedicated {
209
+ /**
210
+ * 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.
211
+ */
212
+ cku: pulumi.Input<number>;
213
+ /**
214
+ * 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.
215
+ */
216
+ encryptionKey?: pulumi.Input<string>;
217
+ }
218
+ export interface KafkaClusterEnvironment {
219
+ /**
220
+ * The ID of the Network that the Kafka cluster belongs to, for example, `n-abc123`.
221
+ */
222
+ id: pulumi.Input<string>;
223
+ }
224
+ export interface KafkaClusterNetwork {
225
+ /**
226
+ * The ID of the Network that the Kafka cluster belongs to, for example, `n-abc123`.
227
+ */
228
+ id: pulumi.Input<string>;
229
+ }
230
+ export interface KafkaClusterStandard {
231
+ }
232
+ export interface KafkaTopicCredentials {
233
+ /**
234
+ * The Kafka API Key.
235
+ */
236
+ key: pulumi.Input<string>;
237
+ /**
238
+ * The Kafka API Secret.
239
+ */
240
+ secret: pulumi.Input<string>;
241
+ }
242
+ export interface KafkaTopicKafkaCluster {
243
+ /**
244
+ * The ID of the Kafka cluster, for example, `lkc-abc123`.
245
+ */
246
+ id: pulumi.Input<string>;
247
+ }
248
+ export interface NetworkAw {
249
+ /**
250
+ * (Optional String) The AWS VPC endpoint service for the network (used for Private Link) if available.
251
+ */
252
+ privateLinkEndpointService?: pulumi.Input<string>;
253
+ /**
254
+ * (Required String) The AWS VPC ID for the network.
255
+ */
256
+ vpc?: pulumi.Input<string>;
257
+ }
258
+ export interface NetworkAzure {
259
+ /**
260
+ * (Optional Map) The mapping of zones to Private Link Service Aliases if available. Keys are zone names, for example, `1` and values are [Azure Private Link Service Aliases](https://docs.microsoft.com/en-us/azure/private-link/private-link-service-overview#share-your-service), for example, `s-nk99e-privatelink-1.8c43dcd0-695c-1234-bc35-11fe6abb303a.centralus.azure.privatelinkservice`.
261
+ */
262
+ privateLinkServiceAliases?: pulumi.Input<{
263
+ [key: string]: pulumi.Input<string>;
264
+ }>;
265
+ }
266
+ export interface NetworkEnvironment {
267
+ /**
268
+ * The ID of the Environment that the Network belongs to, for example, `env-abc123`.
269
+ */
270
+ id: pulumi.Input<string>;
271
+ }
272
+ export interface NetworkGcp {
273
+ /**
274
+ * (Required String) The GCP project.
275
+ */
276
+ project?: pulumi.Input<string>;
277
+ /**
278
+ * (Required String) The GCP VPC network name.
279
+ */
280
+ vpcNetwork?: pulumi.Input<string>;
281
+ }
282
+ export interface PeeringAws {
283
+ /**
284
+ * The AWS Account ID of the peer VPC owner. You can find your AWS Account ID [here](https://console.aws.amazon.com/billing/home?#/account) under **My Account** section of the AWS Management Console. Must be a **12 character string**.
285
+ */
286
+ account: pulumi.Input<string>;
287
+ /**
288
+ * The region of the Azure peer VNet.
289
+ */
290
+ customerRegion: pulumi.Input<string>;
291
+ /**
292
+ * The AWS VPC CIDR blocks or subsets. This must be from the supported CIDR blocks and must not overlap with your Confluent Cloud CIDR block or any other network peering connection VPC CIDR (learn more about the requirements [here](https://docs.confluent.io/cloud/current/networking/peering/aws-peering.html#vpc-peering-on-aws)). You can find AWS VPC CIDR [here](https://console.aws.amazon.com/vpc/) under **Your VPCs > Target VPC > Details** section of the AWS Management Console.
293
+ */
294
+ routes: pulumi.Input<pulumi.Input<string>[]>;
295
+ /**
296
+ * The AWS VPC ID of the peer VPC that you're peering with Confluent Cloud. You can find your AWS VPC ID [here](https://console.aws.amazon.com/vpc/) under **Your VPCs** section of the AWS Management Console. Must start with `vpc-`.
297
+ */
298
+ vpc: pulumi.Input<string>;
299
+ }
300
+ export interface PeeringAzure {
301
+ /**
302
+ * The region of the Azure peer VNet.
303
+ */
304
+ customerRegion: pulumi.Input<string>;
305
+ /**
306
+ * The Tenant ID that represents an organization in Azure Active Directory. You can find your Azure Tenant ID in the [Azure Portal under Azure Active Directory](https://portal.azure.com/#blade/Microsoft_AAD_IAM/ActiveDirectoryMenuBlade/Overview). Must be a valid **32 character UUID string**.
307
+ */
308
+ tenant: pulumi.Input<string>;
309
+ /**
310
+ * The resource (composite) ID of the peer Virtual Network that you're peering with Confluent Cloud, in the format `/subscriptions/<Subscription ID>/resourceGroups/<Resource Group Name>/providers/Microsoft.Network/virtualNetworks/<VNet name>`. You can find Subscription ID, Resource Group Name and your VNet name under **Virtual Networks > Target VNet > Essentials** section of your [Microsoft Azure Portal](https://portal.azure.com/).
311
+ */
312
+ vnet: pulumi.Input<string>;
313
+ }
314
+ export interface PeeringEnvironment {
315
+ /**
316
+ * The ID of the Network that the Peering belongs to, for example, `n-abc123`.
317
+ */
318
+ id: pulumi.Input<string>;
319
+ }
320
+ export interface PeeringGcp {
321
+ /**
322
+ * The Import Custom Routes option enables connectivity to a Confluent Cloud cluster in Google Cloud from customer premise or other clouds, such as AWS and Azure, through a customer VPC that is peered with Confluent Cloud in the same region. Defaults to `false`. Learn more about considerations / limitations of the Import Custom Routes option [here](https://docs.confluent.io/cloud/current/networking/peering/gcp-peering.html#import-custom-routes).
323
+ */
324
+ importCustomRoutes?: pulumi.Input<boolean>;
325
+ /**
326
+ * The GCP Project ID. You can find your Google Cloud Project ID under **Project ID** section of your [Google Cloud Console dashboard](https://console.cloud.google.com/home/dashboard).
327
+ */
328
+ project: pulumi.Input<string>;
329
+ /**
330
+ * The VPC network name that you're peering to Confluent Cloud. You can find your VPC network name under **VPC Networks** section of your [Google Cloud Console](https://console.cloud.google.com/networking/networks/list).
331
+ */
332
+ vpcNetwork: pulumi.Input<string>;
333
+ }
334
+ export interface PeeringNetwork {
335
+ /**
336
+ * The ID of the Network that the Peering belongs to, for example, `n-abc123`.
337
+ */
338
+ id: pulumi.Input<string>;
339
+ }
340
+ export interface PrivateLinkAccessAws {
341
+ /**
342
+ * The AWS account ID to enable for the Private Link Access. You can find your AWS account ID [here] (https://console.aws.amazon.com/billing/home?#/account) under **My Account** in your AWS Management Console. Must be a **12 character string**.
343
+ */
344
+ account: pulumi.Input<string>;
345
+ }
346
+ export interface PrivateLinkAccessAzure {
347
+ /**
348
+ * The Azure subscription ID to enable for the Private Link Access. You can find your Azure subscription ID in the subscription section of your [Microsoft Azure Portal] (https://portal.azure.com/#blade/Microsoft_Azure_Billing/SubscriptionsBlade). Must be a valid **32 character UUID string**.
349
+ */
350
+ subscription: pulumi.Input<string>;
351
+ }
352
+ export interface PrivateLinkAccessEnvironment {
353
+ /**
354
+ * The ID of the Network that the Private Link Access belongs to, for example, `n-abc123`.
355
+ */
356
+ id: pulumi.Input<string>;
357
+ }
358
+ export interface PrivateLinkAccessNetwork {
359
+ /**
360
+ * The ID of the Network that the Private Link Access belongs to, for example, `n-abc123`.
361
+ */
362
+ id: pulumi.Input<string>;
363
+ }
package/types/input.js ADDED
@@ -0,0 +1,5 @@
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
+ //# sourceMappingURL=input.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"input.js","sourceRoot":"","sources":["../../types/input.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF"}
@@ -0,0 +1,298 @@
1
+ import { output as outputs } from "../types";
2
+ export interface ApiKeyManagedResource {
3
+ /**
4
+ * The API group and version of the managed resource that the API Key associated with, for example, `cmk/v2`.
5
+ */
6
+ apiVersion: string;
7
+ environment: outputs.ApiKeyManagedResourceEnvironment;
8
+ /**
9
+ * The ID of the Environment that the managed resource belongs to, for example, `env-abc123`.
10
+ */
11
+ id: string;
12
+ /**
13
+ * The kind of the managed resource that the API Key associated with, for example, `Cluster`.
14
+ */
15
+ kind: string;
16
+ }
17
+ export interface ApiKeyManagedResourceEnvironment {
18
+ /**
19
+ * The ID of the Environment that the managed resource belongs to, for example, `env-abc123`.
20
+ */
21
+ id: string;
22
+ }
23
+ export interface ApiKeyOwner {
24
+ /**
25
+ * The API group and version of the managed resource that the API Key associated with, for example, `cmk/v2`.
26
+ */
27
+ apiVersion: string;
28
+ /**
29
+ * The ID of the Environment that the managed resource belongs to, for example, `env-abc123`.
30
+ */
31
+ id: string;
32
+ /**
33
+ * The kind of the managed resource that the API Key associated with, for example, `Cluster`.
34
+ */
35
+ kind: string;
36
+ }
37
+ export interface ConnectorEnvironment {
38
+ /**
39
+ * The ID of the Kafka cluster that the connector belongs to, for example, `lkc-abc123`.
40
+ */
41
+ id: string;
42
+ }
43
+ export interface ConnectorKafkaCluster {
44
+ /**
45
+ * The ID of the Kafka cluster that the connector belongs to, for example, `lkc-abc123`.
46
+ */
47
+ id: string;
48
+ }
49
+ export interface GetKafkaClusterBasic {
50
+ }
51
+ export interface GetKafkaClusterDedicated {
52
+ /**
53
+ * (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.
54
+ */
55
+ cku: number;
56
+ /**
57
+ * (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.
58
+ */
59
+ encryptionKey: string;
60
+ }
61
+ export interface GetKafkaClusterEnvironment {
62
+ /**
63
+ * The ID of the Environment that the Kafka cluster belongs to, for example, `env-xyz456`.
64
+ */
65
+ id: string;
66
+ }
67
+ export interface GetKafkaClusterNetwork {
68
+ /**
69
+ * The ID of the Environment that the Kafka cluster belongs to, for example, `env-xyz456`.
70
+ */
71
+ id: string;
72
+ }
73
+ export interface GetKafkaClusterStandard {
74
+ }
75
+ export interface GetKafkaTopicCredentials {
76
+ /**
77
+ * The Kafka API Key.
78
+ */
79
+ key: string;
80
+ /**
81
+ * The Kafka API Secret.
82
+ */
83
+ secret: string;
84
+ }
85
+ export interface GetKafkaTopicKafkaCluster {
86
+ /**
87
+ * The ID of the Kafka cluster, for example, `lkc-abc123`.
88
+ */
89
+ id: string;
90
+ }
91
+ export interface GetNetworkAw {
92
+ /**
93
+ * (Optional String) The AWS VPC endpoint service for the network (used for Private Link) if available.
94
+ */
95
+ privateLinkEndpointService: string;
96
+ /**
97
+ * (Required String) The AWS VPC ID for the network.
98
+ */
99
+ vpc: string;
100
+ }
101
+ export interface GetNetworkAzure {
102
+ /**
103
+ * (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).
104
+ */
105
+ privateLinkServiceAliases: {
106
+ [key: string]: string;
107
+ };
108
+ }
109
+ export interface GetNetworkEnvironment {
110
+ /**
111
+ * The ID of the Environment that the Network belongs to, for example, `env-xyz456`.
112
+ */
113
+ id: string;
114
+ }
115
+ export interface GetNetworkGcp {
116
+ /**
117
+ * (Required String) The GCP project.
118
+ */
119
+ project: string;
120
+ /**
121
+ * (Required String) The GCP VPC network name.
122
+ */
123
+ vpcNetwork: string;
124
+ }
125
+ export interface KafkaAclCredentials {
126
+ /**
127
+ * The Kafka API Key.
128
+ */
129
+ key: string;
130
+ /**
131
+ * The Kafka API Secret.
132
+ */
133
+ secret: string;
134
+ }
135
+ export interface KafkaAclKafkaCluster {
136
+ /**
137
+ * The ID of the Kafka cluster, for example, `lkc-abc123`.
138
+ */
139
+ id: string;
140
+ }
141
+ export interface KafkaClusterBasic {
142
+ }
143
+ export interface KafkaClusterDedicated {
144
+ /**
145
+ * 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.
146
+ */
147
+ cku: number;
148
+ /**
149
+ * 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.
150
+ */
151
+ encryptionKey?: string;
152
+ }
153
+ export interface KafkaClusterEnvironment {
154
+ /**
155
+ * The ID of the Network that the Kafka cluster belongs to, for example, `n-abc123`.
156
+ */
157
+ id: string;
158
+ }
159
+ export interface KafkaClusterNetwork {
160
+ /**
161
+ * The ID of the Network that the Kafka cluster belongs to, for example, `n-abc123`.
162
+ */
163
+ id: string;
164
+ }
165
+ export interface KafkaClusterStandard {
166
+ }
167
+ export interface KafkaTopicCredentials {
168
+ /**
169
+ * The Kafka API Key.
170
+ */
171
+ key: string;
172
+ /**
173
+ * The Kafka API Secret.
174
+ */
175
+ secret: string;
176
+ }
177
+ export interface KafkaTopicKafkaCluster {
178
+ /**
179
+ * The ID of the Kafka cluster, for example, `lkc-abc123`.
180
+ */
181
+ id: string;
182
+ }
183
+ export interface NetworkAw {
184
+ /**
185
+ * (Optional String) The AWS VPC endpoint service for the network (used for Private Link) if available.
186
+ */
187
+ privateLinkEndpointService: string;
188
+ /**
189
+ * (Required String) The AWS VPC ID for the network.
190
+ */
191
+ vpc: string;
192
+ }
193
+ export interface NetworkAzure {
194
+ /**
195
+ * (Optional Map) The mapping of zones to Private Link Service Aliases if available. Keys are zone names, for example, `1` and values are [Azure Private Link Service Aliases](https://docs.microsoft.com/en-us/azure/private-link/private-link-service-overview#share-your-service), for example, `s-nk99e-privatelink-1.8c43dcd0-695c-1234-bc35-11fe6abb303a.centralus.azure.privatelinkservice`.
196
+ */
197
+ privateLinkServiceAliases: {
198
+ [key: string]: string;
199
+ };
200
+ }
201
+ export interface NetworkEnvironment {
202
+ /**
203
+ * The ID of the Environment that the Network belongs to, for example, `env-abc123`.
204
+ */
205
+ id: string;
206
+ }
207
+ export interface NetworkGcp {
208
+ /**
209
+ * (Required String) The GCP project.
210
+ */
211
+ project: string;
212
+ /**
213
+ * (Required String) The GCP VPC network name.
214
+ */
215
+ vpcNetwork: string;
216
+ }
217
+ export interface PeeringAws {
218
+ /**
219
+ * The AWS Account ID of the peer VPC owner. You can find your AWS Account ID [here](https://console.aws.amazon.com/billing/home?#/account) under **My Account** section of the AWS Management Console. Must be a **12 character string**.
220
+ */
221
+ account: string;
222
+ /**
223
+ * The region of the Azure peer VNet.
224
+ */
225
+ customerRegion: string;
226
+ /**
227
+ * The AWS VPC CIDR blocks or subsets. This must be from the supported CIDR blocks and must not overlap with your Confluent Cloud CIDR block or any other network peering connection VPC CIDR (learn more about the requirements [here](https://docs.confluent.io/cloud/current/networking/peering/aws-peering.html#vpc-peering-on-aws)). You can find AWS VPC CIDR [here](https://console.aws.amazon.com/vpc/) under **Your VPCs > Target VPC > Details** section of the AWS Management Console.
228
+ */
229
+ routes: string[];
230
+ /**
231
+ * The AWS VPC ID of the peer VPC that you're peering with Confluent Cloud. You can find your AWS VPC ID [here](https://console.aws.amazon.com/vpc/) under **Your VPCs** section of the AWS Management Console. Must start with `vpc-`.
232
+ */
233
+ vpc: string;
234
+ }
235
+ export interface PeeringAzure {
236
+ /**
237
+ * The region of the Azure peer VNet.
238
+ */
239
+ customerRegion: string;
240
+ /**
241
+ * The Tenant ID that represents an organization in Azure Active Directory. You can find your Azure Tenant ID in the [Azure Portal under Azure Active Directory](https://portal.azure.com/#blade/Microsoft_AAD_IAM/ActiveDirectoryMenuBlade/Overview). Must be a valid **32 character UUID string**.
242
+ */
243
+ tenant: string;
244
+ /**
245
+ * The resource (composite) ID of the peer Virtual Network that you're peering with Confluent Cloud, in the format `/subscriptions/<Subscription ID>/resourceGroups/<Resource Group Name>/providers/Microsoft.Network/virtualNetworks/<VNet name>`. You can find Subscription ID, Resource Group Name and your VNet name under **Virtual Networks > Target VNet > Essentials** section of your [Microsoft Azure Portal](https://portal.azure.com/).
246
+ */
247
+ vnet: string;
248
+ }
249
+ export interface PeeringEnvironment {
250
+ /**
251
+ * The ID of the Network that the Peering belongs to, for example, `n-abc123`.
252
+ */
253
+ id: string;
254
+ }
255
+ export interface PeeringGcp {
256
+ /**
257
+ * The Import Custom Routes option enables connectivity to a Confluent Cloud cluster in Google Cloud from customer premise or other clouds, such as AWS and Azure, through a customer VPC that is peered with Confluent Cloud in the same region. Defaults to `false`. Learn more about considerations / limitations of the Import Custom Routes option [here](https://docs.confluent.io/cloud/current/networking/peering/gcp-peering.html#import-custom-routes).
258
+ */
259
+ importCustomRoutes?: boolean;
260
+ /**
261
+ * The GCP Project ID. You can find your Google Cloud Project ID under **Project ID** section of your [Google Cloud Console dashboard](https://console.cloud.google.com/home/dashboard).
262
+ */
263
+ project: string;
264
+ /**
265
+ * The VPC network name that you're peering to Confluent Cloud. You can find your VPC network name under **VPC Networks** section of your [Google Cloud Console](https://console.cloud.google.com/networking/networks/list).
266
+ */
267
+ vpcNetwork: string;
268
+ }
269
+ export interface PeeringNetwork {
270
+ /**
271
+ * The ID of the Network that the Peering belongs to, for example, `n-abc123`.
272
+ */
273
+ id: string;
274
+ }
275
+ export interface PrivateLinkAccessAws {
276
+ /**
277
+ * The AWS account ID to enable for the Private Link Access. You can find your AWS account ID [here] (https://console.aws.amazon.com/billing/home?#/account) under **My Account** in your AWS Management Console. Must be a **12 character string**.
278
+ */
279
+ account: string;
280
+ }
281
+ export interface PrivateLinkAccessAzure {
282
+ /**
283
+ * The Azure subscription ID to enable for the Private Link Access. You can find your Azure subscription ID in the subscription section of your [Microsoft Azure Portal] (https://portal.azure.com/#blade/Microsoft_Azure_Billing/SubscriptionsBlade). Must be a valid **32 character UUID string**.
284
+ */
285
+ subscription: string;
286
+ }
287
+ export interface PrivateLinkAccessEnvironment {
288
+ /**
289
+ * The ID of the Network that the Private Link Access belongs to, for example, `n-abc123`.
290
+ */
291
+ id: string;
292
+ }
293
+ export interface PrivateLinkAccessNetwork {
294
+ /**
295
+ * The ID of the Network that the Private Link Access belongs to, for example, `n-abc123`.
296
+ */
297
+ id: string;
298
+ }
@@ -0,0 +1,5 @@
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
+ //# sourceMappingURL=output.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"output.js","sourceRoot":"","sources":["../../types/output.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF"}
package/utilities.d.ts ADDED
@@ -0,0 +1,4 @@
1
+ export declare function getEnv(...vars: string[]): string | undefined;
2
+ export declare function getEnvBoolean(...vars: string[]): boolean | undefined;
3
+ export declare function getEnvNumber(...vars: string[]): number | undefined;
4
+ export declare function getVersion(): string;