@pulumi/confluentcloud 1.32.0 → 1.33.0-alpha.1706307303
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 +128 -0
- package/apiKey.js +128 -0
- package/apiKey.js.map +1 -1
- package/byokKey.d.ts +35 -0
- package/byokKey.js +35 -0
- package/byokKey.js.map +1 -1
- package/clusterLink.d.ts +56 -0
- package/clusterLink.js +56 -0
- package/clusterLink.js.map +1 -1
- package/connector.d.ts +191 -0
- package/connector.js +170 -0
- package/connector.js.map +1 -1
- package/environment.d.ts +25 -0
- package/environment.js +25 -0
- package/environment.js.map +1 -1
- package/kafkaCluster.d.ts +137 -0
- package/kafkaCluster.js +137 -0
- package/kafkaCluster.js.map +1 -1
- package/kafkaMirrorTopic.d.ts +31 -0
- package/kafkaMirrorTopic.js +31 -0
- package/kafkaMirrorTopic.js.map +1 -1
- package/ksqlCluster.d.ts +14 -0
- package/ksqlCluster.js +14 -0
- package/ksqlCluster.js.map +1 -1
- package/network.d.ts +99 -0
- package/network.js +99 -0
- package/network.js.map +1 -1
- package/networkLinkEndpoint.d.ts +26 -0
- package/networkLinkEndpoint.js +26 -0
- package/networkLinkEndpoint.js.map +1 -1
- package/networkLinkService.d.ts +45 -0
- package/networkLinkService.js +45 -0
- package/networkLinkService.js.map +1 -1
- package/package.json +1 -1
- package/peering.d.ts +79 -0
- package/peering.js +79 -0
- package/peering.js.map +1 -1
- package/privateLinkAccess.d.ts +108 -0
- package/privateLinkAccess.js +108 -0
- package/privateLinkAccess.js.map +1 -1
- package/roleBinding.d.ts +20 -0
- package/roleBinding.js +20 -0
- package/roleBinding.js.map +1 -1
- package/serviceAccount.d.ts +37 -0
- package/serviceAccount.js +37 -0
- package/serviceAccount.js.map +1 -1
- package/tfImporter.d.ts +60 -0
- package/tfImporter.js +18 -0
- package/tfImporter.js.map +1 -1
- package/transitGatewayAttachment.d.ts +44 -0
- package/transitGatewayAttachment.js +44 -0
- package/transitGatewayAttachment.js.map +1 -1
- package/types/input.d.ts +9 -0
- package/types/output.d.ts +9 -0
package/apiKey.d.ts
CHANGED
|
@@ -2,6 +2,134 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
4
|
/**
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
* ### Example Kafka API Key
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
10
|
+
*
|
|
11
|
+
* const app_manager_kafka_api_key = new confluentcloud.ApiKey("app-manager-kafka-api-key", {
|
|
12
|
+
* description: "Kafka API Key that is owned by 'app-manager' service account",
|
|
13
|
+
* owner: {
|
|
14
|
+
* id: confluent_service_account["app-manager"].id,
|
|
15
|
+
* apiVersion: confluent_service_account["app-manager"].api_version,
|
|
16
|
+
* kind: confluent_service_account["app-manager"].kind,
|
|
17
|
+
* },
|
|
18
|
+
* managedResource: {
|
|
19
|
+
* id: confluent_kafka_cluster.basic.id,
|
|
20
|
+
* apiVersion: confluent_kafka_cluster.basic.api_version,
|
|
21
|
+
* kind: confluent_kafka_cluster.basic.kind,
|
|
22
|
+
* environment: {
|
|
23
|
+
* id: confluent_environment.staging.id,
|
|
24
|
+
* },
|
|
25
|
+
* },
|
|
26
|
+
* });
|
|
27
|
+
* ```
|
|
28
|
+
* ### Example ksqlDB API Key
|
|
29
|
+
* ```typescript
|
|
30
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
31
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
32
|
+
*
|
|
33
|
+
* const ksqldb_api_key = new confluentcloud.ApiKey("ksqldb-api-key", {
|
|
34
|
+
* description: "KsqlDB API Key that is owned by 'app-manager' service account",
|
|
35
|
+
* owner: {
|
|
36
|
+
* id: confluent_service_account["app-manager"].id,
|
|
37
|
+
* apiVersion: confluent_service_account["app-manager"].api_version,
|
|
38
|
+
* kind: confluent_service_account["app-manager"].kind,
|
|
39
|
+
* },
|
|
40
|
+
* managedResource: {
|
|
41
|
+
* id: confluent_ksql_cluster.main.id,
|
|
42
|
+
* apiVersion: confluent_ksql_cluster.main.api_version,
|
|
43
|
+
* kind: confluent_ksql_cluster.main.kind,
|
|
44
|
+
* environment: {
|
|
45
|
+
* id: confluent_environment.staging.id,
|
|
46
|
+
* },
|
|
47
|
+
* },
|
|
48
|
+
* });
|
|
49
|
+
* ```
|
|
50
|
+
* ### Example Schema Registry API Key
|
|
51
|
+
* ```typescript
|
|
52
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
53
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
54
|
+
*
|
|
55
|
+
* const env_manager_schema_registry_api_key = new confluentcloud.ApiKey("env-manager-schema-registry-api-key", {
|
|
56
|
+
* description: "Schema Registry API Key that is owned by 'env-manager' service account",
|
|
57
|
+
* owner: {
|
|
58
|
+
* id: confluent_service_account["env-manager"].id,
|
|
59
|
+
* apiVersion: confluent_service_account["env-manager"].api_version,
|
|
60
|
+
* kind: confluent_service_account["env-manager"].kind,
|
|
61
|
+
* },
|
|
62
|
+
* managedResource: {
|
|
63
|
+
* id: confluent_schema_registry_cluster.essentials.id,
|
|
64
|
+
* apiVersion: confluent_schema_registry_cluster.essentials.api_version,
|
|
65
|
+
* kind: confluent_schema_registry_cluster.essentials.kind,
|
|
66
|
+
* environment: {
|
|
67
|
+
* id: confluent_environment.staging.id,
|
|
68
|
+
* },
|
|
69
|
+
* },
|
|
70
|
+
* });
|
|
71
|
+
* ```
|
|
72
|
+
* ### Example Flink API Key
|
|
73
|
+
* ```typescript
|
|
74
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
75
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
76
|
+
*
|
|
77
|
+
* const env_manager_flink_api_key = new confluentcloud.ApiKey("env-manager-flink-api-key", {
|
|
78
|
+
* description: "Flink API Key that is owned by 'env-manager' service account",
|
|
79
|
+
* owner: {
|
|
80
|
+
* id: confluent_service_account["env-manager"].id,
|
|
81
|
+
* apiVersion: confluent_service_account["env-manager"].api_version,
|
|
82
|
+
* kind: confluent_service_account["env-manager"].kind,
|
|
83
|
+
* },
|
|
84
|
+
* managedResource: {
|
|
85
|
+
* id: data.confluent_flink_region.example.id,
|
|
86
|
+
* apiVersion: data.confluent_flink_region.example.api_version,
|
|
87
|
+
* kind: data.confluent_flink_region.example.kind,
|
|
88
|
+
* environment: {
|
|
89
|
+
* id: confluent_environment.staging.id,
|
|
90
|
+
* },
|
|
91
|
+
* },
|
|
92
|
+
* });
|
|
93
|
+
* ```
|
|
94
|
+
* ### Example Cloud API Key
|
|
95
|
+
* ```typescript
|
|
96
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
97
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
98
|
+
*
|
|
99
|
+
* const env_manager_cloud_api_key = new confluentcloud.ApiKey("env-manager-cloud-api-key", {
|
|
100
|
+
* description: "Cloud API Key that is owned by 'env-manager' service account",
|
|
101
|
+
* owner: {
|
|
102
|
+
* id: confluent_service_account["env-manager"].id,
|
|
103
|
+
* apiVersion: confluent_service_account["env-manager"].api_version,
|
|
104
|
+
* kind: confluent_service_account["env-manager"].kind,
|
|
105
|
+
* },
|
|
106
|
+
* });
|
|
107
|
+
* ```
|
|
108
|
+
* ## Getting Started
|
|
109
|
+
*
|
|
110
|
+
* The following end-to-end examples might help to get started with `confluentcloud.ApiKey` resource:
|
|
111
|
+
* * `basic-kafka-acls`: _Basic_ Kafka cluster with authorization using ACLs
|
|
112
|
+
* * `basic-kafka-acls-with-alias`: _Basic_ Kafka cluster with authorization using ACLs
|
|
113
|
+
* * `standard-kafka-acls`: _Standard_ Kafka cluster with authorization using ACLs
|
|
114
|
+
* * `standard-kafka-rbac`: _Standard_ Kafka cluster with authorization using RBAC
|
|
115
|
+
* * `dedicated-public-kafka-acls`: _Dedicated_ Kafka cluster that is accessible over the public internet with authorization using ACLs
|
|
116
|
+
* * `dedicated-public-kafka-rbac`: _Dedicated_ Kafka cluster that is accessible over the public internet with authorization using RBAC
|
|
117
|
+
* * `dedicated-privatelink-aws-kafka-acls`: _Dedicated_ Kafka cluster on AWS that is accessible via PrivateLink connections with authorization using ACLs
|
|
118
|
+
* * `dedicated-privatelink-aws-kafka-rbac`: _Dedicated_ Kafka cluster on AWS that is accessible via PrivateLink connections with authorization using RBAC
|
|
119
|
+
* * `dedicated-privatelink-azure-kafka-rbac`: _Dedicated_ Kafka cluster on Azure that is accessible via PrivateLink connections with authorization using RBAC
|
|
120
|
+
* * `dedicated-privatelink-azure-kafka-acls`: _Dedicated_ Kafka cluster on Azure that is accessible via PrivateLink connections with authorization using ACLs
|
|
121
|
+
* * `dedicated-private-service-connect-gcp-kafka-acls`: _Dedicated_ Kafka cluster on GCP that is accessible via Private Service Connect connections with authorization using ACLs
|
|
122
|
+
* * `dedicated-private-service-connect-gcp-kafka-rbac`: _Dedicated_ Kafka cluster on GCP that is accessible via Private Service Connect connections with authorization using RBAC
|
|
123
|
+
* * `dedicated-vnet-peering-azure-kafka-acls`: _Dedicated_ Kafka cluster on Azure that is accessible via VPC Peering connections with authorization using ACLs
|
|
124
|
+
* * `dedicated-vnet-peering-azure-kafka-rbac`: _Dedicated_ Kafka cluster on Azure that is accessible via VPC Peering connections with authorization using RBAC
|
|
125
|
+
* * `dedicated-vpc-peering-aws-kafka-acls`: _Dedicated_ Kafka cluster on AWS that is accessible via VPC Peering connections with authorization using ACLs
|
|
126
|
+
* * `dedicated-vpc-peering-aws-kafka-rbac`: _Dedicated_ Kafka cluster on AWS that is accessible via VPC Peering connections with authorization using RBAC
|
|
127
|
+
* * `dedicated-vpc-peering-gcp-kafka-acls`: _Dedicated_ Kafka cluster on GCP that is accessible via VPC Peering connections with authorization using ACLs
|
|
128
|
+
* * `dedicated-vpc-peering-gcp-kafka-rbac`: _Dedicated_ Kafka cluster on GCP that is accessible via VPC Peering connections with authorization using RBAC
|
|
129
|
+
* * `dedicated-transit-gateway-attachment-aws-kafka-acls`: _Dedicated_ Kafka cluster on AWS that is accessible via Transit Gateway Endpoint with authorization using ACLs
|
|
130
|
+
* * `dedicated-transit-gateway-attachment-aws-kafka-rbac`: _Dedicated_ Kafka cluster on AWS that is accessible via Transit Gateway Endpoint with authorization using RBAC
|
|
131
|
+
* * `enterprise-privatelinkattachment-aws-kafka-acls`: _Enterprise_ Kafka cluster on AWS that is accessible via PrivateLink connections with authorization using ACLs
|
|
132
|
+
*
|
|
5
133
|
* ## Import
|
|
6
134
|
*
|
|
7
135
|
* You can import a Cluster API Key by using the Environment ID and Cluster API Key ID in the format `<Environment ID>/<Cluster API Key ID>`, for example$ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>" $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>" $ export API_KEY_SECRET="<api_key_secret>" Option #1Cluster API Key
|
package/apiKey.js
CHANGED
|
@@ -6,6 +6,134 @@ exports.ApiKey = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
* ### Example Kafka API Key
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
14
|
+
*
|
|
15
|
+
* const app_manager_kafka_api_key = new confluentcloud.ApiKey("app-manager-kafka-api-key", {
|
|
16
|
+
* description: "Kafka API Key that is owned by 'app-manager' service account",
|
|
17
|
+
* owner: {
|
|
18
|
+
* id: confluent_service_account["app-manager"].id,
|
|
19
|
+
* apiVersion: confluent_service_account["app-manager"].api_version,
|
|
20
|
+
* kind: confluent_service_account["app-manager"].kind,
|
|
21
|
+
* },
|
|
22
|
+
* managedResource: {
|
|
23
|
+
* id: confluent_kafka_cluster.basic.id,
|
|
24
|
+
* apiVersion: confluent_kafka_cluster.basic.api_version,
|
|
25
|
+
* kind: confluent_kafka_cluster.basic.kind,
|
|
26
|
+
* environment: {
|
|
27
|
+
* id: confluent_environment.staging.id,
|
|
28
|
+
* },
|
|
29
|
+
* },
|
|
30
|
+
* });
|
|
31
|
+
* ```
|
|
32
|
+
* ### Example ksqlDB API Key
|
|
33
|
+
* ```typescript
|
|
34
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
35
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
36
|
+
*
|
|
37
|
+
* const ksqldb_api_key = new confluentcloud.ApiKey("ksqldb-api-key", {
|
|
38
|
+
* description: "KsqlDB API Key that is owned by 'app-manager' service account",
|
|
39
|
+
* owner: {
|
|
40
|
+
* id: confluent_service_account["app-manager"].id,
|
|
41
|
+
* apiVersion: confluent_service_account["app-manager"].api_version,
|
|
42
|
+
* kind: confluent_service_account["app-manager"].kind,
|
|
43
|
+
* },
|
|
44
|
+
* managedResource: {
|
|
45
|
+
* id: confluent_ksql_cluster.main.id,
|
|
46
|
+
* apiVersion: confluent_ksql_cluster.main.api_version,
|
|
47
|
+
* kind: confluent_ksql_cluster.main.kind,
|
|
48
|
+
* environment: {
|
|
49
|
+
* id: confluent_environment.staging.id,
|
|
50
|
+
* },
|
|
51
|
+
* },
|
|
52
|
+
* });
|
|
53
|
+
* ```
|
|
54
|
+
* ### Example Schema Registry API Key
|
|
55
|
+
* ```typescript
|
|
56
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
57
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
58
|
+
*
|
|
59
|
+
* const env_manager_schema_registry_api_key = new confluentcloud.ApiKey("env-manager-schema-registry-api-key", {
|
|
60
|
+
* description: "Schema Registry API Key that is owned by 'env-manager' service account",
|
|
61
|
+
* owner: {
|
|
62
|
+
* id: confluent_service_account["env-manager"].id,
|
|
63
|
+
* apiVersion: confluent_service_account["env-manager"].api_version,
|
|
64
|
+
* kind: confluent_service_account["env-manager"].kind,
|
|
65
|
+
* },
|
|
66
|
+
* managedResource: {
|
|
67
|
+
* id: confluent_schema_registry_cluster.essentials.id,
|
|
68
|
+
* apiVersion: confluent_schema_registry_cluster.essentials.api_version,
|
|
69
|
+
* kind: confluent_schema_registry_cluster.essentials.kind,
|
|
70
|
+
* environment: {
|
|
71
|
+
* id: confluent_environment.staging.id,
|
|
72
|
+
* },
|
|
73
|
+
* },
|
|
74
|
+
* });
|
|
75
|
+
* ```
|
|
76
|
+
* ### Example Flink API Key
|
|
77
|
+
* ```typescript
|
|
78
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
79
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
80
|
+
*
|
|
81
|
+
* const env_manager_flink_api_key = new confluentcloud.ApiKey("env-manager-flink-api-key", {
|
|
82
|
+
* description: "Flink API Key that is owned by 'env-manager' service account",
|
|
83
|
+
* owner: {
|
|
84
|
+
* id: confluent_service_account["env-manager"].id,
|
|
85
|
+
* apiVersion: confluent_service_account["env-manager"].api_version,
|
|
86
|
+
* kind: confluent_service_account["env-manager"].kind,
|
|
87
|
+
* },
|
|
88
|
+
* managedResource: {
|
|
89
|
+
* id: data.confluent_flink_region.example.id,
|
|
90
|
+
* apiVersion: data.confluent_flink_region.example.api_version,
|
|
91
|
+
* kind: data.confluent_flink_region.example.kind,
|
|
92
|
+
* environment: {
|
|
93
|
+
* id: confluent_environment.staging.id,
|
|
94
|
+
* },
|
|
95
|
+
* },
|
|
96
|
+
* });
|
|
97
|
+
* ```
|
|
98
|
+
* ### Example Cloud API Key
|
|
99
|
+
* ```typescript
|
|
100
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
101
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
102
|
+
*
|
|
103
|
+
* const env_manager_cloud_api_key = new confluentcloud.ApiKey("env-manager-cloud-api-key", {
|
|
104
|
+
* description: "Cloud API Key that is owned by 'env-manager' service account",
|
|
105
|
+
* owner: {
|
|
106
|
+
* id: confluent_service_account["env-manager"].id,
|
|
107
|
+
* apiVersion: confluent_service_account["env-manager"].api_version,
|
|
108
|
+
* kind: confluent_service_account["env-manager"].kind,
|
|
109
|
+
* },
|
|
110
|
+
* });
|
|
111
|
+
* ```
|
|
112
|
+
* ## Getting Started
|
|
113
|
+
*
|
|
114
|
+
* The following end-to-end examples might help to get started with `confluentcloud.ApiKey` resource:
|
|
115
|
+
* * `basic-kafka-acls`: _Basic_ Kafka cluster with authorization using ACLs
|
|
116
|
+
* * `basic-kafka-acls-with-alias`: _Basic_ Kafka cluster with authorization using ACLs
|
|
117
|
+
* * `standard-kafka-acls`: _Standard_ Kafka cluster with authorization using ACLs
|
|
118
|
+
* * `standard-kafka-rbac`: _Standard_ Kafka cluster with authorization using RBAC
|
|
119
|
+
* * `dedicated-public-kafka-acls`: _Dedicated_ Kafka cluster that is accessible over the public internet with authorization using ACLs
|
|
120
|
+
* * `dedicated-public-kafka-rbac`: _Dedicated_ Kafka cluster that is accessible over the public internet with authorization using RBAC
|
|
121
|
+
* * `dedicated-privatelink-aws-kafka-acls`: _Dedicated_ Kafka cluster on AWS that is accessible via PrivateLink connections with authorization using ACLs
|
|
122
|
+
* * `dedicated-privatelink-aws-kafka-rbac`: _Dedicated_ Kafka cluster on AWS that is accessible via PrivateLink connections with authorization using RBAC
|
|
123
|
+
* * `dedicated-privatelink-azure-kafka-rbac`: _Dedicated_ Kafka cluster on Azure that is accessible via PrivateLink connections with authorization using RBAC
|
|
124
|
+
* * `dedicated-privatelink-azure-kafka-acls`: _Dedicated_ Kafka cluster on Azure that is accessible via PrivateLink connections with authorization using ACLs
|
|
125
|
+
* * `dedicated-private-service-connect-gcp-kafka-acls`: _Dedicated_ Kafka cluster on GCP that is accessible via Private Service Connect connections with authorization using ACLs
|
|
126
|
+
* * `dedicated-private-service-connect-gcp-kafka-rbac`: _Dedicated_ Kafka cluster on GCP that is accessible via Private Service Connect connections with authorization using RBAC
|
|
127
|
+
* * `dedicated-vnet-peering-azure-kafka-acls`: _Dedicated_ Kafka cluster on Azure that is accessible via VPC Peering connections with authorization using ACLs
|
|
128
|
+
* * `dedicated-vnet-peering-azure-kafka-rbac`: _Dedicated_ Kafka cluster on Azure that is accessible via VPC Peering connections with authorization using RBAC
|
|
129
|
+
* * `dedicated-vpc-peering-aws-kafka-acls`: _Dedicated_ Kafka cluster on AWS that is accessible via VPC Peering connections with authorization using ACLs
|
|
130
|
+
* * `dedicated-vpc-peering-aws-kafka-rbac`: _Dedicated_ Kafka cluster on AWS that is accessible via VPC Peering connections with authorization using RBAC
|
|
131
|
+
* * `dedicated-vpc-peering-gcp-kafka-acls`: _Dedicated_ Kafka cluster on GCP that is accessible via VPC Peering connections with authorization using ACLs
|
|
132
|
+
* * `dedicated-vpc-peering-gcp-kafka-rbac`: _Dedicated_ Kafka cluster on GCP that is accessible via VPC Peering connections with authorization using RBAC
|
|
133
|
+
* * `dedicated-transit-gateway-attachment-aws-kafka-acls`: _Dedicated_ Kafka cluster on AWS that is accessible via Transit Gateway Endpoint with authorization using ACLs
|
|
134
|
+
* * `dedicated-transit-gateway-attachment-aws-kafka-rbac`: _Dedicated_ Kafka cluster on AWS that is accessible via Transit Gateway Endpoint with authorization using RBAC
|
|
135
|
+
* * `enterprise-privatelinkattachment-aws-kafka-acls`: _Enterprise_ Kafka cluster on AWS that is accessible via PrivateLink connections with authorization using ACLs
|
|
136
|
+
*
|
|
9
137
|
* ## Import
|
|
10
138
|
*
|
|
11
139
|
* You can import a Cluster API Key by using the Environment ID and Cluster API Key ID in the format `<Environment ID>/<Cluster API Key ID>`, for example$ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>" $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>" $ export API_KEY_SECRET="<api_key_secret>" Option #1Cluster API Key
|
package/apiKey.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apiKey.js","sourceRoot":"","sources":["../apiKey.ts"],"names":[],"mappings":";AAAA,wFAA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,CAAC;YACxD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;QAC3D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,MAAM,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;;AAxFL,wBAyFC;AA3EG,gBAAgB;AACO,mBAAY,GAAG,oCAAoC,CAAC"}
|
package/byokKey.d.ts
CHANGED
|
@@ -2,6 +2,41 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
4
|
/**
|
|
5
|
+
* [](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
|
|
6
|
+
*
|
|
7
|
+
* `confluentcloud.ByokKey` provides a BYOK Key resource that enables creating, editing, and deleting BYOK Key on Confluent Cloud.
|
|
8
|
+
*
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
* ### Example BYOK Key on Azure
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
15
|
+
*
|
|
16
|
+
* const azureKey = new confluentcloud.ByokKey("azureKey", {azure: {
|
|
17
|
+
* keyIdentifier: "https://test-vault.vault.azure.net/keys/test-key",
|
|
18
|
+
* keyVaultId: "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/test-vault/providers/Microsoft.KeyVault/vaults/test-vault",
|
|
19
|
+
* tenantId: "11111111-1111-1111-1111-111111111111",
|
|
20
|
+
* }});
|
|
21
|
+
* ```
|
|
22
|
+
* ### Example BYOK Key on GCP
|
|
23
|
+
*
|
|
24
|
+
* ```typescript
|
|
25
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
26
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
27
|
+
*
|
|
28
|
+
* const gcpKey = new confluentcloud.ByokKey("gcpKey", {gcp: {
|
|
29
|
+
* keyId: "projects/temp-gear-123456/locations/us-central1/keyRings/byok-test/cryptoKeys/byok-test",
|
|
30
|
+
* }});
|
|
31
|
+
* ```
|
|
32
|
+
* ## Getting Started
|
|
33
|
+
*
|
|
34
|
+
* The following end-to-end examples might help to get started with `confluentcloud.ByokKey` resource:
|
|
35
|
+
* * dedicated-public-aws-byok-kafka-acls: An example of Encrypting Confluent Cloud Dedicated Kafka Clusters using Self-Managed Keys on AWS.
|
|
36
|
+
* * dedicated-public-azure-byok-kafka-acls: An example of Encrypting Confluent Cloud Dedicated Kafka Clusters using Self-Managed Keys on Azure.
|
|
37
|
+
*
|
|
38
|
+
* See [Confluent Cloud Bring Your Own Key (BYOK) Management API](https://docs.confluent.io/cloud/current/clusters/byok/index.html) to learn more about Encrypting Confluent Cloud Kafka Clusters using Self-Managed Keys.
|
|
39
|
+
*
|
|
5
40
|
* ## Import
|
|
6
41
|
*
|
|
7
42
|
* You can import a BYOK Key by using BYOK Key ID. The following example shows how to import a BYOK Key$ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>" $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
|
package/byokKey.js
CHANGED
|
@@ -6,6 +6,41 @@ exports.ByokKey = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* [](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
|
|
10
|
+
*
|
|
11
|
+
* `confluentcloud.ByokKey` provides a BYOK Key resource that enables creating, editing, and deleting BYOK Key on Confluent Cloud.
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
* ### Example BYOK Key on Azure
|
|
15
|
+
*
|
|
16
|
+
* ```typescript
|
|
17
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
18
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
19
|
+
*
|
|
20
|
+
* const azureKey = new confluentcloud.ByokKey("azureKey", {azure: {
|
|
21
|
+
* keyIdentifier: "https://test-vault.vault.azure.net/keys/test-key",
|
|
22
|
+
* keyVaultId: "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/test-vault/providers/Microsoft.KeyVault/vaults/test-vault",
|
|
23
|
+
* tenantId: "11111111-1111-1111-1111-111111111111",
|
|
24
|
+
* }});
|
|
25
|
+
* ```
|
|
26
|
+
* ### Example BYOK Key on GCP
|
|
27
|
+
*
|
|
28
|
+
* ```typescript
|
|
29
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
30
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
31
|
+
*
|
|
32
|
+
* const gcpKey = new confluentcloud.ByokKey("gcpKey", {gcp: {
|
|
33
|
+
* keyId: "projects/temp-gear-123456/locations/us-central1/keyRings/byok-test/cryptoKeys/byok-test",
|
|
34
|
+
* }});
|
|
35
|
+
* ```
|
|
36
|
+
* ## Getting Started
|
|
37
|
+
*
|
|
38
|
+
* The following end-to-end examples might help to get started with `confluentcloud.ByokKey` resource:
|
|
39
|
+
* * dedicated-public-aws-byok-kafka-acls: An example of Encrypting Confluent Cloud Dedicated Kafka Clusters using Self-Managed Keys on AWS.
|
|
40
|
+
* * dedicated-public-azure-byok-kafka-acls: An example of Encrypting Confluent Cloud Dedicated Kafka Clusters using Self-Managed Keys on Azure.
|
|
41
|
+
*
|
|
42
|
+
* See [Confluent Cloud Bring Your Own Key (BYOK) Management API](https://docs.confluent.io/cloud/current/clusters/byok/index.html) to learn more about Encrypting Confluent Cloud Kafka Clusters using Self-Managed Keys.
|
|
43
|
+
*
|
|
9
44
|
* ## Import
|
|
10
45
|
*
|
|
11
46
|
* You can import a BYOK Key by using BYOK Key ID. The following example shows how to import a BYOK Key$ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>" $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
|
package/byokKey.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"byokKey.js","sourceRoot":"","sources":["../byokKey.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"byokKey.js","sourceRoot":"","sources":["../byokKey.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;QAClH,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9D,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,OAAO,CAAC,YAAY,CAAC;IACxD,CAAC;IAuBD,YAAY,IAAY,EAAE,WAAwC,EAAE,IAAmC;QACnG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAuC,CAAC;YACtD,cAAc,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;SACzD;aAAM;YACH,MAAM,IAAI,GAAG,WAAsC,CAAC;YACpD,cAAc,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YACpD,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;SACvD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AAjEL,0BAkEC;AApDG,gBAAgB;AACO,oBAAY,GAAG,sCAAsC,CAAC"}
|
package/clusterLink.d.ts
CHANGED
|
@@ -2,6 +2,62 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
4
|
/**
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
10
|
+
*
|
|
11
|
+
* // https://docs.confluent.io/cloud/current/multi-cloud/cluster-linking/cluster-links-cc.html#create-a-cluster-link-in-bidirectional-mode
|
|
12
|
+
* const east_to_west = new confluentcloud.ClusterLink("east-to-west", {
|
|
13
|
+
* linkMode: "BIDIRECTIONAL",
|
|
14
|
+
* localKafkaCluster: {
|
|
15
|
+
* id: data.confluent_kafka_cluster.east.id,
|
|
16
|
+
* restEndpoint: data.confluent_kafka_cluster.east.rest_endpoint,
|
|
17
|
+
* credentials: {
|
|
18
|
+
* key: confluent_api_key["app-manager-east-cluster-api-key"].id,
|
|
19
|
+
* secret: confluent_api_key["app-manager-east-cluster-api-key"].secret,
|
|
20
|
+
* },
|
|
21
|
+
* },
|
|
22
|
+
* remoteKafkaCluster: {
|
|
23
|
+
* id: data.confluent_kafka_cluster.west.id,
|
|
24
|
+
* bootstrapEndpoint: data.confluent_kafka_cluster.west.bootstrap_endpoint,
|
|
25
|
+
* credentials: {
|
|
26
|
+
* key: confluent_api_key["app-manager-west-cluster-api-key"].id,
|
|
27
|
+
* secret: confluent_api_key["app-manager-west-cluster-api-key"].secret,
|
|
28
|
+
* },
|
|
29
|
+
* },
|
|
30
|
+
* });
|
|
31
|
+
* const west_to_east = new confluentcloud.ClusterLink("west-to-east", {
|
|
32
|
+
* linkMode: "BIDIRECTIONAL",
|
|
33
|
+
* localKafkaCluster: {
|
|
34
|
+
* id: data.confluent_kafka_cluster.west.id,
|
|
35
|
+
* restEndpoint: data.confluent_kafka_cluster.west.rest_endpoint,
|
|
36
|
+
* credentials: {
|
|
37
|
+
* key: confluent_api_key["app-manager-west-cluster-api-key"].id,
|
|
38
|
+
* secret: confluent_api_key["app-manager-west-cluster-api-key"].secret,
|
|
39
|
+
* },
|
|
40
|
+
* },
|
|
41
|
+
* remoteKafkaCluster: {
|
|
42
|
+
* id: data.confluent_kafka_cluster.east.id,
|
|
43
|
+
* bootstrapEndpoint: data.confluent_kafka_cluster.east.bootstrap_endpoint,
|
|
44
|
+
* credentials: {
|
|
45
|
+
* key: confluent_api_key["app-manager-east-cluster-api-key"].id,
|
|
46
|
+
* secret: confluent_api_key["app-manager-east-cluster-api-key"].secret,
|
|
47
|
+
* },
|
|
48
|
+
* },
|
|
49
|
+
* });
|
|
50
|
+
* ```
|
|
51
|
+
* ## Getting Started
|
|
52
|
+
*
|
|
53
|
+
* The following end-to-end examples might help to get started with `confluentcloud.ClusterLink` resource:
|
|
54
|
+
* * `destination-initiated-cluster-link-rbac`: An example of setting up a _destination_ initiated cluster link with a mirror topic
|
|
55
|
+
* * `source-initiated-cluster-link-rbac`: An example of setting up a _source_ initiated cluster link with a mirror topic
|
|
56
|
+
* * `regular-bidirectional-cluster-link-rbac`: An example of setting up a bidirectional cluster link with 2 mirror topics
|
|
57
|
+
* * `advanced-bidirectional-cluster-link-rbac`: An example of setting up a bidirectional cluster link with 2 mirror topics ([advanced option](https://docs.confluent.io/cloud/current/multi-cloud/cluster-linking/cluster-links-cc.html#create-a-cluster-link-in-bidirectional-mode))
|
|
58
|
+
*
|
|
59
|
+
* See [Cluster Linking on Confluent Cloud](https://docs.confluent.io/cloud/current/multi-cloud/cluster-linking/index.html) to learn more about Cluster Linking on Confluent Cloud.
|
|
60
|
+
*
|
|
5
61
|
* ## Import
|
|
6
62
|
*
|
|
7
63
|
* You can import a Kafka mirror topic by using the cluster link name, cluster link mode, cluster link connection mode, source (or local for bidirectional cluster links) Kafka cluster ID, and destination (or remote
|
package/clusterLink.js
CHANGED
|
@@ -6,6 +6,62 @@ exports.ClusterLink = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
14
|
+
*
|
|
15
|
+
* // https://docs.confluent.io/cloud/current/multi-cloud/cluster-linking/cluster-links-cc.html#create-a-cluster-link-in-bidirectional-mode
|
|
16
|
+
* const east_to_west = new confluentcloud.ClusterLink("east-to-west", {
|
|
17
|
+
* linkMode: "BIDIRECTIONAL",
|
|
18
|
+
* localKafkaCluster: {
|
|
19
|
+
* id: data.confluent_kafka_cluster.east.id,
|
|
20
|
+
* restEndpoint: data.confluent_kafka_cluster.east.rest_endpoint,
|
|
21
|
+
* credentials: {
|
|
22
|
+
* key: confluent_api_key["app-manager-east-cluster-api-key"].id,
|
|
23
|
+
* secret: confluent_api_key["app-manager-east-cluster-api-key"].secret,
|
|
24
|
+
* },
|
|
25
|
+
* },
|
|
26
|
+
* remoteKafkaCluster: {
|
|
27
|
+
* id: data.confluent_kafka_cluster.west.id,
|
|
28
|
+
* bootstrapEndpoint: data.confluent_kafka_cluster.west.bootstrap_endpoint,
|
|
29
|
+
* credentials: {
|
|
30
|
+
* key: confluent_api_key["app-manager-west-cluster-api-key"].id,
|
|
31
|
+
* secret: confluent_api_key["app-manager-west-cluster-api-key"].secret,
|
|
32
|
+
* },
|
|
33
|
+
* },
|
|
34
|
+
* });
|
|
35
|
+
* const west_to_east = new confluentcloud.ClusterLink("west-to-east", {
|
|
36
|
+
* linkMode: "BIDIRECTIONAL",
|
|
37
|
+
* localKafkaCluster: {
|
|
38
|
+
* id: data.confluent_kafka_cluster.west.id,
|
|
39
|
+
* restEndpoint: data.confluent_kafka_cluster.west.rest_endpoint,
|
|
40
|
+
* credentials: {
|
|
41
|
+
* key: confluent_api_key["app-manager-west-cluster-api-key"].id,
|
|
42
|
+
* secret: confluent_api_key["app-manager-west-cluster-api-key"].secret,
|
|
43
|
+
* },
|
|
44
|
+
* },
|
|
45
|
+
* remoteKafkaCluster: {
|
|
46
|
+
* id: data.confluent_kafka_cluster.east.id,
|
|
47
|
+
* bootstrapEndpoint: data.confluent_kafka_cluster.east.bootstrap_endpoint,
|
|
48
|
+
* credentials: {
|
|
49
|
+
* key: confluent_api_key["app-manager-east-cluster-api-key"].id,
|
|
50
|
+
* secret: confluent_api_key["app-manager-east-cluster-api-key"].secret,
|
|
51
|
+
* },
|
|
52
|
+
* },
|
|
53
|
+
* });
|
|
54
|
+
* ```
|
|
55
|
+
* ## Getting Started
|
|
56
|
+
*
|
|
57
|
+
* The following end-to-end examples might help to get started with `confluentcloud.ClusterLink` resource:
|
|
58
|
+
* * `destination-initiated-cluster-link-rbac`: An example of setting up a _destination_ initiated cluster link with a mirror topic
|
|
59
|
+
* * `source-initiated-cluster-link-rbac`: An example of setting up a _source_ initiated cluster link with a mirror topic
|
|
60
|
+
* * `regular-bidirectional-cluster-link-rbac`: An example of setting up a bidirectional cluster link with 2 mirror topics
|
|
61
|
+
* * `advanced-bidirectional-cluster-link-rbac`: An example of setting up a bidirectional cluster link with 2 mirror topics ([advanced option](https://docs.confluent.io/cloud/current/multi-cloud/cluster-linking/cluster-links-cc.html#create-a-cluster-link-in-bidirectional-mode))
|
|
62
|
+
*
|
|
63
|
+
* See [Cluster Linking on Confluent Cloud](https://docs.confluent.io/cloud/current/multi-cloud/cluster-linking/index.html) to learn more about Cluster Linking on Confluent Cloud.
|
|
64
|
+
*
|
|
9
65
|
* ## Import
|
|
10
66
|
*
|
|
11
67
|
* You can import a Kafka mirror topic by using the cluster link name, cluster link mode, cluster link connection mode, source (or local for bidirectional cluster links) Kafka cluster ID, and destination (or remote
|
package/clusterLink.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clusterLink.js","sourceRoot":"","sources":["../clusterLink.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"clusterLink.js","sourceRoot":"","sources":["../clusterLink.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEz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