@pulumi/confluentcloud 1.32.0 → 1.33.0-alpha.1706626171
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/getEnvironments.d.ts +2 -8
- package/getEnvironments.js +2 -8
- package/getEnvironments.js.map +1 -1
- package/getSchemaRegistryClusters.d.ts +2 -8
- package/getSchemaRegistryClusters.js +2 -8
- package/getSchemaRegistryClusters.js.map +1 -1
- package/getSchemaRegistryDek.d.ts +48 -0
- package/getSchemaRegistryDek.js +25 -0
- package/getSchemaRegistryDek.js.map +1 -0
- package/getSchemaRegistryKek.d.ts +44 -0
- package/getSchemaRegistryKek.js +22 -0
- package/getSchemaRegistryKek.js.map +1 -0
- package/getUsers.d.ts +2 -8
- package/getUsers.js +2 -8
- package/getUsers.js.map +1 -1
- package/index.d.ts +12 -0
- package/index.js +18 -2
- package/index.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/schemaRegistryDek.d.ts +100 -0
- package/schemaRegistryDek.js +75 -0
- package/schemaRegistryDek.js.map +1 -0
- package/schemaRegistryKek.d.ts +107 -0
- package/schemaRegistryKek.js +75 -0
- package/schemaRegistryKek.js.map +1 -0
- 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 +51 -0
- package/types/output.d.ts +37 -0
package/networkLinkService.d.ts
CHANGED
|
@@ -2,6 +2,51 @@ 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 Network Link Service on AWS
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
11
|
+
*
|
|
12
|
+
* const development = new confluentcloud.Environment("development", {});
|
|
13
|
+
* const aws_private_link = new confluentcloud.Network("aws-private-link", {
|
|
14
|
+
* displayName: "AWS Private Link Network",
|
|
15
|
+
* cloud: "AWS",
|
|
16
|
+
* region: "us-east-1",
|
|
17
|
+
* connectionTypes: ["PRIVATELINK"],
|
|
18
|
+
* zones: [
|
|
19
|
+
* "use1-az1",
|
|
20
|
+
* "use1-az2",
|
|
21
|
+
* "use1-az6",
|
|
22
|
+
* ],
|
|
23
|
+
* environment: {
|
|
24
|
+
* id: development.id,
|
|
25
|
+
* },
|
|
26
|
+
* });
|
|
27
|
+
* const awsNls = new confluentcloud.NetworkLinkService("awsNls", {
|
|
28
|
+
* displayName: "AWS Private Link network link service",
|
|
29
|
+
* environment: {
|
|
30
|
+
* id: development.id,
|
|
31
|
+
* },
|
|
32
|
+
* network: {
|
|
33
|
+
* id: aws_private_link.id,
|
|
34
|
+
* },
|
|
35
|
+
* description: "Test NL service",
|
|
36
|
+
* accept: {
|
|
37
|
+
* environments: [
|
|
38
|
+
* "env-5678",
|
|
39
|
+
* "env-0923",
|
|
40
|
+
* ],
|
|
41
|
+
* networks: ["n-1234"],
|
|
42
|
+
* },
|
|
43
|
+
* });
|
|
44
|
+
* ```
|
|
45
|
+
* ## Getting Started
|
|
46
|
+
*
|
|
47
|
+
* The following end-to-end examples might help to get started with `confluentcloud.NetworkLinkService` resource:
|
|
48
|
+
* * `cluster-link-over-aws-private-link-networks`: Cluster link over two dedicated clusters in separate AWS PrivateLink networks
|
|
49
|
+
*
|
|
5
50
|
* ## Import
|
|
6
51
|
*
|
|
7
52
|
* You can import a Network Link Service by using Environment ID and Network Link Service ID, in the format `<Environment ID>/<Network Link Service ID>`. The following example shows how to import a Network Link Service$ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>" $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
|
package/networkLinkService.js
CHANGED
|
@@ -6,6 +6,51 @@ exports.NetworkLinkService = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
* ### Example Network Link Service on AWS
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
15
|
+
*
|
|
16
|
+
* const development = new confluentcloud.Environment("development", {});
|
|
17
|
+
* const aws_private_link = new confluentcloud.Network("aws-private-link", {
|
|
18
|
+
* displayName: "AWS Private Link Network",
|
|
19
|
+
* cloud: "AWS",
|
|
20
|
+
* region: "us-east-1",
|
|
21
|
+
* connectionTypes: ["PRIVATELINK"],
|
|
22
|
+
* zones: [
|
|
23
|
+
* "use1-az1",
|
|
24
|
+
* "use1-az2",
|
|
25
|
+
* "use1-az6",
|
|
26
|
+
* ],
|
|
27
|
+
* environment: {
|
|
28
|
+
* id: development.id,
|
|
29
|
+
* },
|
|
30
|
+
* });
|
|
31
|
+
* const awsNls = new confluentcloud.NetworkLinkService("awsNls", {
|
|
32
|
+
* displayName: "AWS Private Link network link service",
|
|
33
|
+
* environment: {
|
|
34
|
+
* id: development.id,
|
|
35
|
+
* },
|
|
36
|
+
* network: {
|
|
37
|
+
* id: aws_private_link.id,
|
|
38
|
+
* },
|
|
39
|
+
* description: "Test NL service",
|
|
40
|
+
* accept: {
|
|
41
|
+
* environments: [
|
|
42
|
+
* "env-5678",
|
|
43
|
+
* "env-0923",
|
|
44
|
+
* ],
|
|
45
|
+
* networks: ["n-1234"],
|
|
46
|
+
* },
|
|
47
|
+
* });
|
|
48
|
+
* ```
|
|
49
|
+
* ## Getting Started
|
|
50
|
+
*
|
|
51
|
+
* The following end-to-end examples might help to get started with `confluentcloud.NetworkLinkService` resource:
|
|
52
|
+
* * `cluster-link-over-aws-private-link-networks`: Cluster link over two dedicated clusters in separate AWS PrivateLink networks
|
|
53
|
+
*
|
|
9
54
|
* ## Import
|
|
10
55
|
*
|
|
11
56
|
* You can import a Network Link Service by using Environment ID and Network Link Service ID, in the format `<Environment ID>/<Network Link Service ID>`. The following example shows how to import a Network Link Service$ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>" $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"networkLinkService.js","sourceRoot":"","sources":["../networkLinkService.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"networkLinkService.js","sourceRoot":"","sources":["../networkLinkService.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuDG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+B,EAAE,IAAmC;QAC7H,OAAO,IAAI,kBAAkB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACzE,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,kBAAkB,CAAC,YAAY,CAAC;IACnE,CAAC;IAiCD,YAAY,IAAY,EAAE,WAA8D,EAAE,IAAmC;QACzH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAkD,CAAC;YACjE,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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AI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACtD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,kBAAkB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvE,CAAC;;AAvFL,gDAwFC;AA1EG,gBAAgB;AACO,+BAAY,GAAG,4DAA4D,CAAC"}
|
package/package.json
CHANGED
package/peering.d.ts
CHANGED
|
@@ -2,6 +2,85 @@ 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 Peering on AWS
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
11
|
+
*
|
|
12
|
+
* const development = new confluentcloud.Environment("development", {});
|
|
13
|
+
* const aws_peering = new confluentcloud.Network("aws-peering", {
|
|
14
|
+
* displayName: "AWS Peering Network",
|
|
15
|
+
* cloud: "AWS",
|
|
16
|
+
* region: "us-east-2",
|
|
17
|
+
* cidr: "10.10.0.0/16",
|
|
18
|
+
* connectionTypes: ["PEERING"],
|
|
19
|
+
* environment: {
|
|
20
|
+
* id: development.id,
|
|
21
|
+
* },
|
|
22
|
+
* });
|
|
23
|
+
* const aws = new confluentcloud.Peering("aws", {
|
|
24
|
+
* displayName: "AWS Peering",
|
|
25
|
+
* aws: {
|
|
26
|
+
* account: "012345678901",
|
|
27
|
+
* vpc: "vpc-abcdef0123456789a",
|
|
28
|
+
* routes: ["172.31.0.0/16"],
|
|
29
|
+
* customerRegion: "us-east-2",
|
|
30
|
+
* },
|
|
31
|
+
* environment: {
|
|
32
|
+
* id: development.id,
|
|
33
|
+
* },
|
|
34
|
+
* network: {
|
|
35
|
+
* id: aws_peering.id,
|
|
36
|
+
* },
|
|
37
|
+
* });
|
|
38
|
+
* ```
|
|
39
|
+
* ### Example Peering on Azure
|
|
40
|
+
*
|
|
41
|
+
* ```typescript
|
|
42
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
43
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
44
|
+
*
|
|
45
|
+
* const development = new confluentcloud.Environment("development", {});
|
|
46
|
+
* const azure_peering = new confluentcloud.Network("azure-peering", {
|
|
47
|
+
* displayName: "Azure Peering Network",
|
|
48
|
+
* cloud: "AZURE",
|
|
49
|
+
* region: "centralus",
|
|
50
|
+
* cidr: "10.10.0.0/16",
|
|
51
|
+
* connectionTypes: ["PEERING"],
|
|
52
|
+
* environment: {
|
|
53
|
+
* id: development.id,
|
|
54
|
+
* },
|
|
55
|
+
* });
|
|
56
|
+
* const azure = new confluentcloud.Peering("azure", {
|
|
57
|
+
* displayName: "Azure Peering",
|
|
58
|
+
* azure: {
|
|
59
|
+
* tenant: "1111tttt-1111-1111-1111-111111tttttt",
|
|
60
|
+
* vnet: "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/my-rg/providers/Microsoft.Network/virtualNetworks/my-vnet",
|
|
61
|
+
* customerRegion: "centralus",
|
|
62
|
+
* },
|
|
63
|
+
* environment: {
|
|
64
|
+
* id: development.id,
|
|
65
|
+
* },
|
|
66
|
+
* network: {
|
|
67
|
+
* id: azure_peering.id,
|
|
68
|
+
* },
|
|
69
|
+
* });
|
|
70
|
+
* ```
|
|
71
|
+
* ## Getting Started
|
|
72
|
+
*
|
|
73
|
+
* The following end-to-end examples might help to get started with `confluentcloud.Peering` resource:
|
|
74
|
+
* * `dedicated-vnet-peering-azure-kafka-acls`: _Dedicated_ Kafka cluster on Azure that is accessible via VPC Peering connections with authorization using ACLs
|
|
75
|
+
* * `dedicated-vnet-peering-azure-kafka-rbac`: _Dedicated_ Kafka cluster on Azure that is accessible via VPC Peering connections with authorization using RBAC
|
|
76
|
+
* * `dedicated-vpc-peering-aws-kafka-acls`: _Dedicated_ Kafka cluster on AWS that is accessible via VPC Peering connections with authorization using ACLs
|
|
77
|
+
* * `dedicated-vpc-peering-aws-kafka-rbac`: _Dedicated_ Kafka cluster on AWS that is accessible via VPC Peering connections with authorization using RBAC
|
|
78
|
+
* * `dedicated-vpc-peering-gcp-kafka-acls`: _Dedicated_ Kafka cluster on GCP that is accessible via VPC Peering connections with authorization using ACLs
|
|
79
|
+
* * `dedicated-vpc-peering-gcp-kafka-rbac`: _Dedicated_ Kafka cluster on GCP that is accessible via VPC Peering connections with authorization using RBAC
|
|
80
|
+
* * `dedicated-transit-gateway-attachment-aws-kafka-acls`: _Dedicated_ Kafka cluster on AWS that is accessible via Transit Gateway Endpoint with authorization using ACLs
|
|
81
|
+
* * `dedicated-transit-gateway-attachment-aws-kafka-rbac`: _Dedicated_ Kafka cluster on AWS that is accessible via Transit Gateway Endpoint with authorization using RBAC
|
|
82
|
+
* * `enterprise-privatelinkattachment-aws-kafka-acls`: _Enterprise_ Kafka cluster on AWS that is accessible via PrivateLink connections with authorization using ACLs
|
|
83
|
+
*
|
|
5
84
|
* ## Import
|
|
6
85
|
*
|
|
7
86
|
* You can import a Peering by using Environment ID and Peering ID, in the format `<Environment ID>/<Peering ID>`. The following example shows how to import a Peering$ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>" $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
|
package/peering.js
CHANGED
|
@@ -6,6 +6,85 @@ exports.Peering = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
* ### Example Peering on AWS
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
15
|
+
*
|
|
16
|
+
* const development = new confluentcloud.Environment("development", {});
|
|
17
|
+
* const aws_peering = new confluentcloud.Network("aws-peering", {
|
|
18
|
+
* displayName: "AWS Peering Network",
|
|
19
|
+
* cloud: "AWS",
|
|
20
|
+
* region: "us-east-2",
|
|
21
|
+
* cidr: "10.10.0.0/16",
|
|
22
|
+
* connectionTypes: ["PEERING"],
|
|
23
|
+
* environment: {
|
|
24
|
+
* id: development.id,
|
|
25
|
+
* },
|
|
26
|
+
* });
|
|
27
|
+
* const aws = new confluentcloud.Peering("aws", {
|
|
28
|
+
* displayName: "AWS Peering",
|
|
29
|
+
* aws: {
|
|
30
|
+
* account: "012345678901",
|
|
31
|
+
* vpc: "vpc-abcdef0123456789a",
|
|
32
|
+
* routes: ["172.31.0.0/16"],
|
|
33
|
+
* customerRegion: "us-east-2",
|
|
34
|
+
* },
|
|
35
|
+
* environment: {
|
|
36
|
+
* id: development.id,
|
|
37
|
+
* },
|
|
38
|
+
* network: {
|
|
39
|
+
* id: aws_peering.id,
|
|
40
|
+
* },
|
|
41
|
+
* });
|
|
42
|
+
* ```
|
|
43
|
+
* ### Example Peering on Azure
|
|
44
|
+
*
|
|
45
|
+
* ```typescript
|
|
46
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
47
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
48
|
+
*
|
|
49
|
+
* const development = new confluentcloud.Environment("development", {});
|
|
50
|
+
* const azure_peering = new confluentcloud.Network("azure-peering", {
|
|
51
|
+
* displayName: "Azure Peering Network",
|
|
52
|
+
* cloud: "AZURE",
|
|
53
|
+
* region: "centralus",
|
|
54
|
+
* cidr: "10.10.0.0/16",
|
|
55
|
+
* connectionTypes: ["PEERING"],
|
|
56
|
+
* environment: {
|
|
57
|
+
* id: development.id,
|
|
58
|
+
* },
|
|
59
|
+
* });
|
|
60
|
+
* const azure = new confluentcloud.Peering("azure", {
|
|
61
|
+
* displayName: "Azure Peering",
|
|
62
|
+
* azure: {
|
|
63
|
+
* tenant: "1111tttt-1111-1111-1111-111111tttttt",
|
|
64
|
+
* vnet: "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/my-rg/providers/Microsoft.Network/virtualNetworks/my-vnet",
|
|
65
|
+
* customerRegion: "centralus",
|
|
66
|
+
* },
|
|
67
|
+
* environment: {
|
|
68
|
+
* id: development.id,
|
|
69
|
+
* },
|
|
70
|
+
* network: {
|
|
71
|
+
* id: azure_peering.id,
|
|
72
|
+
* },
|
|
73
|
+
* });
|
|
74
|
+
* ```
|
|
75
|
+
* ## Getting Started
|
|
76
|
+
*
|
|
77
|
+
* The following end-to-end examples might help to get started with `confluentcloud.Peering` resource:
|
|
78
|
+
* * `dedicated-vnet-peering-azure-kafka-acls`: _Dedicated_ Kafka cluster on Azure that is accessible via VPC Peering connections with authorization using ACLs
|
|
79
|
+
* * `dedicated-vnet-peering-azure-kafka-rbac`: _Dedicated_ Kafka cluster on Azure that is accessible via VPC Peering connections with authorization using RBAC
|
|
80
|
+
* * `dedicated-vpc-peering-aws-kafka-acls`: _Dedicated_ Kafka cluster on AWS that is accessible via VPC Peering connections with authorization using ACLs
|
|
81
|
+
* * `dedicated-vpc-peering-aws-kafka-rbac`: _Dedicated_ Kafka cluster on AWS that is accessible via VPC Peering connections with authorization using RBAC
|
|
82
|
+
* * `dedicated-vpc-peering-gcp-kafka-acls`: _Dedicated_ Kafka cluster on GCP that is accessible via VPC Peering connections with authorization using ACLs
|
|
83
|
+
* * `dedicated-vpc-peering-gcp-kafka-rbac`: _Dedicated_ Kafka cluster on GCP that is accessible via VPC Peering connections with authorization using RBAC
|
|
84
|
+
* * `dedicated-transit-gateway-attachment-aws-kafka-acls`: _Dedicated_ Kafka cluster on AWS that is accessible via Transit Gateway Endpoint with authorization using ACLs
|
|
85
|
+
* * `dedicated-transit-gateway-attachment-aws-kafka-rbac`: _Dedicated_ Kafka cluster on AWS that is accessible via Transit Gateway Endpoint with authorization using RBAC
|
|
86
|
+
* * `enterprise-privatelinkattachment-aws-kafka-acls`: _Enterprise_ Kafka cluster on AWS that is accessible via PrivateLink connections with authorization using ACLs
|
|
87
|
+
*
|
|
9
88
|
* ## Import
|
|
10
89
|
*
|
|
11
90
|
* You can import a Peering by using Environment ID and Peering ID, in the format `<Environment ID>/<Peering ID>`. The following example shows how to import a Peering$ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>" $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
|
package/peering.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"peering.js","sourceRoot":"","sources":["../peering.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"peering.js","sourceRoot":"","sources":["../peering.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyFG;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,KA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,OAAO,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACpD,MAAM,IAAI,KAAK,CAAC,qCAAqC,CAAC,CAAC;aAC1D;YACD,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,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YACpD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;SAC/D;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;;AAjFL,0BAkFC;AApEG,gBAAgB;AACO,oBAAY,GAAG,sCAAsC,CAAC"}
|
package/privateLinkAccess.d.ts
CHANGED
|
@@ -2,6 +2,114 @@ 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 Private Link Access on AWS
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
11
|
+
*
|
|
12
|
+
* const development = new confluentcloud.Environment("development", {});
|
|
13
|
+
* const aws_private_link = new confluentcloud.Network("aws-private-link", {
|
|
14
|
+
* displayName: "AWS Private Link Network",
|
|
15
|
+
* cloud: "AWS",
|
|
16
|
+
* region: "us-east-1",
|
|
17
|
+
* connectionTypes: ["PRIVATELINK"],
|
|
18
|
+
* zones: [
|
|
19
|
+
* "use1-az1",
|
|
20
|
+
* "use1-az2",
|
|
21
|
+
* "use1-az6",
|
|
22
|
+
* ],
|
|
23
|
+
* environment: {
|
|
24
|
+
* id: development.id,
|
|
25
|
+
* },
|
|
26
|
+
* });
|
|
27
|
+
* const aws = new confluentcloud.PrivateLinkAccess("aws", {
|
|
28
|
+
* displayName: "AWS Private Link Access",
|
|
29
|
+
* aws: {
|
|
30
|
+
* account: "012345678901",
|
|
31
|
+
* },
|
|
32
|
+
* environment: {
|
|
33
|
+
* id: development.id,
|
|
34
|
+
* },
|
|
35
|
+
* network: {
|
|
36
|
+
* id: aws_private_link.id,
|
|
37
|
+
* },
|
|
38
|
+
* });
|
|
39
|
+
* ```
|
|
40
|
+
* ### Example Private Link Access on Azure
|
|
41
|
+
*
|
|
42
|
+
* ```typescript
|
|
43
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
44
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
45
|
+
*
|
|
46
|
+
* const development = new confluentcloud.Environment("development", {});
|
|
47
|
+
* const azure_private_link = new confluentcloud.Network("azure-private-link", {
|
|
48
|
+
* displayName: "Azure Private Link Network",
|
|
49
|
+
* cloud: "AZURE",
|
|
50
|
+
* region: "centralus",
|
|
51
|
+
* connectionTypes: ["PRIVATELINK"],
|
|
52
|
+
* environment: {
|
|
53
|
+
* id: development.id,
|
|
54
|
+
* },
|
|
55
|
+
* });
|
|
56
|
+
* const azure = new confluentcloud.PrivateLinkAccess("azure", {
|
|
57
|
+
* displayName: "Azure Private Link Access",
|
|
58
|
+
* azure: {
|
|
59
|
+
* subscription: "1234abcd-12ab-34cd-1234-123456abcdef",
|
|
60
|
+
* },
|
|
61
|
+
* environment: {
|
|
62
|
+
* id: development.id,
|
|
63
|
+
* },
|
|
64
|
+
* network: {
|
|
65
|
+
* id: azure_private_link.id,
|
|
66
|
+
* },
|
|
67
|
+
* });
|
|
68
|
+
* ```
|
|
69
|
+
* ### Example Private Service Connect on GCP
|
|
70
|
+
*
|
|
71
|
+
* ```typescript
|
|
72
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
73
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
74
|
+
*
|
|
75
|
+
* const development = new confluentcloud.Environment("development", {});
|
|
76
|
+
* const gcp_private_service_connect = new confluentcloud.Network("gcp-private-service-connect", {
|
|
77
|
+
* displayName: "GCP Private Service Connect Network",
|
|
78
|
+
* cloud: "GCP",
|
|
79
|
+
* region: "us-central1",
|
|
80
|
+
* connectionTypes: ["PRIVATELINK"],
|
|
81
|
+
* zones: [
|
|
82
|
+
* "us-central1-a",
|
|
83
|
+
* "us-central1-b",
|
|
84
|
+
* "us-central1-c",
|
|
85
|
+
* ],
|
|
86
|
+
* environment: {
|
|
87
|
+
* id: development.id,
|
|
88
|
+
* },
|
|
89
|
+
* });
|
|
90
|
+
* const gcp = new confluentcloud.PrivateLinkAccess("gcp", {
|
|
91
|
+
* displayName: "GCP Private Service Connect",
|
|
92
|
+
* gcp: {
|
|
93
|
+
* project: "temp-gear-123456",
|
|
94
|
+
* },
|
|
95
|
+
* environment: {
|
|
96
|
+
* id: development.id,
|
|
97
|
+
* },
|
|
98
|
+
* network: {
|
|
99
|
+
* id: gcp_private_service_connect.id,
|
|
100
|
+
* },
|
|
101
|
+
* });
|
|
102
|
+
* ```
|
|
103
|
+
* ## Getting Started
|
|
104
|
+
*
|
|
105
|
+
* The following end-to-end examples might help to get started with `confluentcloud.PrivateLinkAccess` resource:
|
|
106
|
+
* * `dedicated-privatelink-aws-kafka-acls`: _Dedicated_ Kafka cluster on AWS that is accessible via PrivateLink connections with authorization using ACLs
|
|
107
|
+
* * `dedicated-privatelink-aws-kafka-rbac`: _Dedicated_ Kafka cluster on AWS that is accessible via PrivateLink connections with authorization using RBAC
|
|
108
|
+
* * `dedicated-privatelink-azure-kafka-rbac`: _Dedicated_ Kafka cluster on Azure that is accessible via PrivateLink connections with authorization using RBAC
|
|
109
|
+
* * `dedicated-privatelink-azure-kafka-acls`: _Dedicated_ Kafka cluster on Azure that is accessible via PrivateLink connections with authorization using ACLs
|
|
110
|
+
* * `dedicated-private-service-connect-gcp-kafka-acls`: _Dedicated_ Kafka cluster on GCP that is accessible via Private Service Connect connections with authorization using ACLs
|
|
111
|
+
* * `dedicated-private-service-connect-gcp-kafka-rbac`: _Dedicated_ Kafka cluster on GCP that is accessible via Private Service Connect connections with authorization using RBAC
|
|
112
|
+
*
|
|
5
113
|
* ## Import
|
|
6
114
|
*
|
|
7
115
|
* You can import a Private Link Access by using Environment ID and Private Link Access ID, in the format `<Environment ID>/<Private Link Access ID>`. The following example shows how to import a Private Link Access$ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>" $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
|
package/privateLinkAccess.js
CHANGED
|
@@ -6,6 +6,114 @@ exports.PrivateLinkAccess = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
* ### Example Private Link Access on AWS
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
15
|
+
*
|
|
16
|
+
* const development = new confluentcloud.Environment("development", {});
|
|
17
|
+
* const aws_private_link = new confluentcloud.Network("aws-private-link", {
|
|
18
|
+
* displayName: "AWS Private Link Network",
|
|
19
|
+
* cloud: "AWS",
|
|
20
|
+
* region: "us-east-1",
|
|
21
|
+
* connectionTypes: ["PRIVATELINK"],
|
|
22
|
+
* zones: [
|
|
23
|
+
* "use1-az1",
|
|
24
|
+
* "use1-az2",
|
|
25
|
+
* "use1-az6",
|
|
26
|
+
* ],
|
|
27
|
+
* environment: {
|
|
28
|
+
* id: development.id,
|
|
29
|
+
* },
|
|
30
|
+
* });
|
|
31
|
+
* const aws = new confluentcloud.PrivateLinkAccess("aws", {
|
|
32
|
+
* displayName: "AWS Private Link Access",
|
|
33
|
+
* aws: {
|
|
34
|
+
* account: "012345678901",
|
|
35
|
+
* },
|
|
36
|
+
* environment: {
|
|
37
|
+
* id: development.id,
|
|
38
|
+
* },
|
|
39
|
+
* network: {
|
|
40
|
+
* id: aws_private_link.id,
|
|
41
|
+
* },
|
|
42
|
+
* });
|
|
43
|
+
* ```
|
|
44
|
+
* ### Example Private Link Access on Azure
|
|
45
|
+
*
|
|
46
|
+
* ```typescript
|
|
47
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
48
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
49
|
+
*
|
|
50
|
+
* const development = new confluentcloud.Environment("development", {});
|
|
51
|
+
* const azure_private_link = new confluentcloud.Network("azure-private-link", {
|
|
52
|
+
* displayName: "Azure Private Link Network",
|
|
53
|
+
* cloud: "AZURE",
|
|
54
|
+
* region: "centralus",
|
|
55
|
+
* connectionTypes: ["PRIVATELINK"],
|
|
56
|
+
* environment: {
|
|
57
|
+
* id: development.id,
|
|
58
|
+
* },
|
|
59
|
+
* });
|
|
60
|
+
* const azure = new confluentcloud.PrivateLinkAccess("azure", {
|
|
61
|
+
* displayName: "Azure Private Link Access",
|
|
62
|
+
* azure: {
|
|
63
|
+
* subscription: "1234abcd-12ab-34cd-1234-123456abcdef",
|
|
64
|
+
* },
|
|
65
|
+
* environment: {
|
|
66
|
+
* id: development.id,
|
|
67
|
+
* },
|
|
68
|
+
* network: {
|
|
69
|
+
* id: azure_private_link.id,
|
|
70
|
+
* },
|
|
71
|
+
* });
|
|
72
|
+
* ```
|
|
73
|
+
* ### Example Private Service Connect on GCP
|
|
74
|
+
*
|
|
75
|
+
* ```typescript
|
|
76
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
77
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
78
|
+
*
|
|
79
|
+
* const development = new confluentcloud.Environment("development", {});
|
|
80
|
+
* const gcp_private_service_connect = new confluentcloud.Network("gcp-private-service-connect", {
|
|
81
|
+
* displayName: "GCP Private Service Connect Network",
|
|
82
|
+
* cloud: "GCP",
|
|
83
|
+
* region: "us-central1",
|
|
84
|
+
* connectionTypes: ["PRIVATELINK"],
|
|
85
|
+
* zones: [
|
|
86
|
+
* "us-central1-a",
|
|
87
|
+
* "us-central1-b",
|
|
88
|
+
* "us-central1-c",
|
|
89
|
+
* ],
|
|
90
|
+
* environment: {
|
|
91
|
+
* id: development.id,
|
|
92
|
+
* },
|
|
93
|
+
* });
|
|
94
|
+
* const gcp = new confluentcloud.PrivateLinkAccess("gcp", {
|
|
95
|
+
* displayName: "GCP Private Service Connect",
|
|
96
|
+
* gcp: {
|
|
97
|
+
* project: "temp-gear-123456",
|
|
98
|
+
* },
|
|
99
|
+
* environment: {
|
|
100
|
+
* id: development.id,
|
|
101
|
+
* },
|
|
102
|
+
* network: {
|
|
103
|
+
* id: gcp_private_service_connect.id,
|
|
104
|
+
* },
|
|
105
|
+
* });
|
|
106
|
+
* ```
|
|
107
|
+
* ## Getting Started
|
|
108
|
+
*
|
|
109
|
+
* The following end-to-end examples might help to get started with `confluentcloud.PrivateLinkAccess` resource:
|
|
110
|
+
* * `dedicated-privatelink-aws-kafka-acls`: _Dedicated_ Kafka cluster on AWS that is accessible via PrivateLink connections with authorization using ACLs
|
|
111
|
+
* * `dedicated-privatelink-aws-kafka-rbac`: _Dedicated_ Kafka cluster on AWS that is accessible via PrivateLink connections with authorization using RBAC
|
|
112
|
+
* * `dedicated-privatelink-azure-kafka-rbac`: _Dedicated_ Kafka cluster on Azure that is accessible via PrivateLink connections with authorization using RBAC
|
|
113
|
+
* * `dedicated-privatelink-azure-kafka-acls`: _Dedicated_ Kafka cluster on Azure that is accessible via PrivateLink connections with authorization using ACLs
|
|
114
|
+
* * `dedicated-private-service-connect-gcp-kafka-acls`: _Dedicated_ Kafka cluster on GCP that is accessible via Private Service Connect connections with authorization using ACLs
|
|
115
|
+
* * `dedicated-private-service-connect-gcp-kafka-rbac`: _Dedicated_ Kafka cluster on GCP that is accessible via Private Service Connect connections with authorization using RBAC
|
|
116
|
+
*
|
|
9
117
|
* ## Import
|
|
10
118
|
*
|
|
11
119
|
* You can import a Private Link Access by using Environment ID and Private Link Access ID, in the format `<Environment ID>/<Private Link Access ID>`. The following example shows how to import a Private Link Access$ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>" $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
|
package/privateLinkAccess.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"privateLinkAccess.js","sourceRoot":"","sources":["../privateLinkAccess.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"privateLinkAccess.js","sourceRoot":"","sources":["../privateLinkAccess.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsHG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;IACI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CAAC;IACtE,CAAC;;AAjFL,8CAkFC;AApEG,gBAAgB;AACO,8BAAY,GAAG,0DAA0D,CAAC"}
|
package/roleBinding.d.ts
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
+
* [](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
|
|
4
|
+
*
|
|
5
|
+
* `confluentcloud.RoleBinding` provides a Role Binding resource that enables creating, reading, and deleting role bindings on Confluent Cloud.
|
|
6
|
+
*
|
|
7
|
+
* > **Note:** For more information on the Role Bindings, see [Predefined RBAC roles in Confluent Cloud](https://docs.confluent.io/cloud/current/access-management/access-control/rbac/predefined-rbac-roles.html).
|
|
8
|
+
*
|
|
9
|
+
* ## Getting Started
|
|
10
|
+
*
|
|
11
|
+
* The following end-to-end examples might help to get started with `confluentcloud.RoleBinding` resource:
|
|
12
|
+
* * `standard-kafka-rbac`: _Standard_ Kafka cluster with authorization using RBAC
|
|
13
|
+
* * `dedicated-public-kafka-rbac`: _Dedicated_ Kafka cluster that is accessible over the public internet with authorization using RBAC
|
|
14
|
+
* * `dedicated-privatelink-aws-kafka-rbac`: _Dedicated_ Kafka cluster on AWS that is accessible via PrivateLink connections with authorization using RBAC
|
|
15
|
+
* * `dedicated-privatelink-azure-kafka-rbac`: _Dedicated_ Kafka cluster on Azure that is accessible via PrivateLink connections with authorization using RBAC
|
|
16
|
+
* * `dedicated-vnet-peering-azure-kafka-rbac`: _Dedicated_ Kafka cluster on Azure that is accessible via VPC Peering connections with authorization using RBAC
|
|
17
|
+
* * `dedicated-vpc-peering-aws-kafka-rbac`: _Dedicated_ Kafka cluster on AWS that is accessible via VPC Peering connections with authorization using RBAC
|
|
18
|
+
* * `dedicated-vpc-peering-gcp-kafka-rbac`: _Dedicated_ Kafka cluster on GCP that is accessible via VPC Peering connections with authorization using RBAC
|
|
19
|
+
* * `dedicated-transit-gateway-attachment-aws-kafka-acls`: _Dedicated_ Kafka cluster on AWS that is accessible via Transit Gateway Endpoint with authorization using ACLs
|
|
20
|
+
* * `dedicated-transit-gateway-attachment-aws-kafka-rbac`: _Dedicated_ Kafka cluster on AWS that is accessible via Transit Gateway Endpoint with authorization using RBAC
|
|
21
|
+
* * `enterprise-privatelinkattachment-aws-kafka-acls`: _Enterprise_ Kafka cluster on AWS that is accessible via PrivateLink connections with authorization using ACLs
|
|
22
|
+
*
|
|
3
23
|
* ## Import
|
|
4
24
|
*
|
|
5
25
|
* You can import a Role Binding by using Role Binding ID, for example$ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>" $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
|
package/roleBinding.js
CHANGED
|
@@ -6,6 +6,26 @@ exports.RoleBinding = 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.RoleBinding` provides a Role Binding resource that enables creating, reading, and deleting role bindings on Confluent Cloud.
|
|
12
|
+
*
|
|
13
|
+
* > **Note:** For more information on the Role Bindings, see [Predefined RBAC roles in Confluent Cloud](https://docs.confluent.io/cloud/current/access-management/access-control/rbac/predefined-rbac-roles.html).
|
|
14
|
+
*
|
|
15
|
+
* ## Getting Started
|
|
16
|
+
*
|
|
17
|
+
* The following end-to-end examples might help to get started with `confluentcloud.RoleBinding` resource:
|
|
18
|
+
* * `standard-kafka-rbac`: _Standard_ Kafka cluster with authorization using RBAC
|
|
19
|
+
* * `dedicated-public-kafka-rbac`: _Dedicated_ Kafka cluster that is accessible over the public internet with authorization using RBAC
|
|
20
|
+
* * `dedicated-privatelink-aws-kafka-rbac`: _Dedicated_ Kafka cluster on AWS that is accessible via PrivateLink connections with authorization using RBAC
|
|
21
|
+
* * `dedicated-privatelink-azure-kafka-rbac`: _Dedicated_ Kafka cluster on Azure that is accessible via PrivateLink connections with authorization using RBAC
|
|
22
|
+
* * `dedicated-vnet-peering-azure-kafka-rbac`: _Dedicated_ Kafka cluster on Azure that is accessible via VPC Peering connections with authorization using RBAC
|
|
23
|
+
* * `dedicated-vpc-peering-aws-kafka-rbac`: _Dedicated_ Kafka cluster on AWS that is accessible via VPC Peering connections with authorization using RBAC
|
|
24
|
+
* * `dedicated-vpc-peering-gcp-kafka-rbac`: _Dedicated_ Kafka cluster on GCP that is accessible via VPC Peering connections with authorization using RBAC
|
|
25
|
+
* * `dedicated-transit-gateway-attachment-aws-kafka-acls`: _Dedicated_ Kafka cluster on AWS that is accessible via Transit Gateway Endpoint with authorization using ACLs
|
|
26
|
+
* * `dedicated-transit-gateway-attachment-aws-kafka-rbac`: _Dedicated_ Kafka cluster on AWS that is accessible via Transit Gateway Endpoint with authorization using RBAC
|
|
27
|
+
* * `enterprise-privatelinkattachment-aws-kafka-acls`: _Enterprise_ Kafka cluster on AWS that is accessible via PrivateLink connections with authorization using ACLs
|
|
28
|
+
*
|
|
9
29
|
* ## Import
|
|
10
30
|
*
|
|
11
31
|
* You can import a Role Binding by using Role Binding ID, for example$ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>" $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
|
package/roleBinding.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"roleBinding.js","sourceRoot":"","sources":["../roleBinding.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"roleBinding.js","sourceRoot":"","sources":["../roleBinding.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,MAAa,WAAY,SAAQ,MAAM,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