@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/serviceAccount.d.ts
CHANGED
|
@@ -1,5 +1,42 @@
|
|
|
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.ServiceAccount` provides a Service Account resource that enables creating, editing, and deleting service accounts on Confluent Cloud.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
12
|
+
*
|
|
13
|
+
* const example_sa = new confluentcloud.ServiceAccount("example-sa", {description: "Service Account for orders app"});
|
|
14
|
+
* ```
|
|
15
|
+
* ## Getting Started
|
|
16
|
+
*
|
|
17
|
+
* The following end-to-end examples might help to get started with `confluentcloud.ServiceAccount` resource:
|
|
18
|
+
* * `basic-kafka-acls`: _Basic_ Kafka cluster with authorization using ACLs
|
|
19
|
+
* * `basic-kafka-acls-with-alias`: _Basic_ Kafka cluster with authorization using ACLs
|
|
20
|
+
* * `standard-kafka-acls`: _Standard_ Kafka cluster with authorization using ACLs
|
|
21
|
+
* * `standard-kafka-rbac`: _Standard_ Kafka cluster with authorization using RBAC
|
|
22
|
+
* * `dedicated-public-kafka-acls`: _Dedicated_ Kafka cluster that is accessible over the public internet with authorization using ACLs
|
|
23
|
+
* * `dedicated-public-kafka-rbac`: _Dedicated_ Kafka cluster that is accessible over the public internet with authorization using RBAC
|
|
24
|
+
* * `dedicated-privatelink-aws-kafka-acls`: _Dedicated_ Kafka cluster on AWS that is accessible via PrivateLink connections with authorization using ACLs
|
|
25
|
+
* * `dedicated-privatelink-aws-kafka-rbac`: _Dedicated_ Kafka cluster on AWS that is accessible via PrivateLink connections with authorization using RBAC
|
|
26
|
+
* * `dedicated-privatelink-azure-kafka-rbac`: _Dedicated_ Kafka cluster on Azure that is accessible via PrivateLink connections with authorization using RBAC
|
|
27
|
+
* * `dedicated-privatelink-azure-kafka-acls`: _Dedicated_ Kafka cluster on Azure that is accessible via PrivateLink connections with authorization using ACLs
|
|
28
|
+
* * `dedicated-private-service-connect-gcp-kafka-acls`: _Dedicated_ Kafka cluster on GCP that is accessible via Private Service Connect connections with authorization using ACLs
|
|
29
|
+
* * `dedicated-private-service-connect-gcp-kafka-rbac`: _Dedicated_ Kafka cluster on GCP that is accessible via Private Service Connect connections with authorization using RBAC
|
|
30
|
+
* * `dedicated-vnet-peering-azure-kafka-acls`: _Dedicated_ Kafka cluster on Azure that is accessible via VPC Peering connections with authorization using ACLs
|
|
31
|
+
* * `dedicated-vnet-peering-azure-kafka-rbac`: _Dedicated_ Kafka cluster on Azure that is accessible via VPC Peering connections with authorization using RBAC
|
|
32
|
+
* * `dedicated-vpc-peering-aws-kafka-acls`: _Dedicated_ Kafka cluster on AWS that is accessible via VPC Peering connections with authorization using ACLs
|
|
33
|
+
* * `dedicated-vpc-peering-aws-kafka-rbac`: _Dedicated_ Kafka cluster on AWS that is accessible via VPC Peering connections with authorization using RBAC
|
|
34
|
+
* * `dedicated-vpc-peering-gcp-kafka-acls`: _Dedicated_ Kafka cluster on GCP that is accessible via VPC Peering connections with authorization using ACLs
|
|
35
|
+
* * `dedicated-vpc-peering-gcp-kafka-rbac`: _Dedicated_ Kafka cluster on GCP that is accessible via VPC Peering connections with authorization using RBAC
|
|
36
|
+
* * `dedicated-transit-gateway-attachment-aws-kafka-acls`: _Dedicated_ Kafka cluster on AWS that is accessible via Transit Gateway Endpoint with authorization using ACLs
|
|
37
|
+
* * `dedicated-transit-gateway-attachment-aws-kafka-rbac`: _Dedicated_ Kafka cluster on AWS that is accessible via Transit Gateway Endpoint with authorization using RBAC
|
|
38
|
+
* * `enterprise-privatelinkattachment-aws-kafka-acls`: _Enterprise_ Kafka cluster on AWS that is accessible via PrivateLink connections with authorization using ACLs
|
|
39
|
+
*
|
|
3
40
|
* ## Import
|
|
4
41
|
*
|
|
5
42
|
* You can import a Service Account by using Service Account ID, for example$ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>" $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
|
package/serviceAccount.js
CHANGED
|
@@ -6,6 +6,43 @@ exports.ServiceAccount = 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.ServiceAccount` provides a Service Account resource that enables creating, editing, and deleting service accounts on Confluent Cloud.
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
18
|
+
*
|
|
19
|
+
* const example_sa = new confluentcloud.ServiceAccount("example-sa", {description: "Service Account for orders app"});
|
|
20
|
+
* ```
|
|
21
|
+
* ## Getting Started
|
|
22
|
+
*
|
|
23
|
+
* The following end-to-end examples might help to get started with `confluentcloud.ServiceAccount` resource:
|
|
24
|
+
* * `basic-kafka-acls`: _Basic_ Kafka cluster with authorization using ACLs
|
|
25
|
+
* * `basic-kafka-acls-with-alias`: _Basic_ Kafka cluster with authorization using ACLs
|
|
26
|
+
* * `standard-kafka-acls`: _Standard_ Kafka cluster with authorization using ACLs
|
|
27
|
+
* * `standard-kafka-rbac`: _Standard_ Kafka cluster with authorization using RBAC
|
|
28
|
+
* * `dedicated-public-kafka-acls`: _Dedicated_ Kafka cluster that is accessible over the public internet with authorization using ACLs
|
|
29
|
+
* * `dedicated-public-kafka-rbac`: _Dedicated_ Kafka cluster that is accessible over the public internet with authorization using RBAC
|
|
30
|
+
* * `dedicated-privatelink-aws-kafka-acls`: _Dedicated_ Kafka cluster on AWS that is accessible via PrivateLink connections with authorization using ACLs
|
|
31
|
+
* * `dedicated-privatelink-aws-kafka-rbac`: _Dedicated_ Kafka cluster on AWS that is accessible via PrivateLink connections with authorization using RBAC
|
|
32
|
+
* * `dedicated-privatelink-azure-kafka-rbac`: _Dedicated_ Kafka cluster on Azure that is accessible via PrivateLink connections with authorization using RBAC
|
|
33
|
+
* * `dedicated-privatelink-azure-kafka-acls`: _Dedicated_ Kafka cluster on Azure that is accessible via PrivateLink connections with authorization using ACLs
|
|
34
|
+
* * `dedicated-private-service-connect-gcp-kafka-acls`: _Dedicated_ Kafka cluster on GCP that is accessible via Private Service Connect connections with authorization using ACLs
|
|
35
|
+
* * `dedicated-private-service-connect-gcp-kafka-rbac`: _Dedicated_ Kafka cluster on GCP that is accessible via Private Service Connect connections with authorization using RBAC
|
|
36
|
+
* * `dedicated-vnet-peering-azure-kafka-acls`: _Dedicated_ Kafka cluster on Azure that is accessible via VPC Peering connections with authorization using ACLs
|
|
37
|
+
* * `dedicated-vnet-peering-azure-kafka-rbac`: _Dedicated_ Kafka cluster on Azure that is accessible via VPC Peering connections with authorization using RBAC
|
|
38
|
+
* * `dedicated-vpc-peering-aws-kafka-acls`: _Dedicated_ Kafka cluster on AWS that is accessible via VPC Peering connections with authorization using ACLs
|
|
39
|
+
* * `dedicated-vpc-peering-aws-kafka-rbac`: _Dedicated_ Kafka cluster on AWS that is accessible via VPC Peering connections with authorization using RBAC
|
|
40
|
+
* * `dedicated-vpc-peering-gcp-kafka-acls`: _Dedicated_ Kafka cluster on GCP that is accessible via VPC Peering connections with authorization using ACLs
|
|
41
|
+
* * `dedicated-vpc-peering-gcp-kafka-rbac`: _Dedicated_ Kafka cluster on GCP that is accessible via VPC Peering connections with authorization using RBAC
|
|
42
|
+
* * `dedicated-transit-gateway-attachment-aws-kafka-acls`: _Dedicated_ Kafka cluster on AWS that is accessible via Transit Gateway Endpoint with authorization using ACLs
|
|
43
|
+
* * `dedicated-transit-gateway-attachment-aws-kafka-rbac`: _Dedicated_ Kafka cluster on AWS that is accessible via Transit Gateway Endpoint with authorization using RBAC
|
|
44
|
+
* * `enterprise-privatelinkattachment-aws-kafka-acls`: _Enterprise_ Kafka cluster on AWS that is accessible via PrivateLink connections with authorization using ACLs
|
|
45
|
+
*
|
|
9
46
|
* ## Import
|
|
10
47
|
*
|
|
11
48
|
* You can import a Service Account by using Service Account ID, for example$ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>" $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
|
package/serviceAccount.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serviceAccount.js","sourceRoot":"","sources":["../serviceAccount.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"serviceAccount.js","sourceRoot":"","sources":["../serviceAccount.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2B,EAAE,IAAmC;QACzH,OAAO,IAAI,cAAc,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACrE,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,c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CAAC;IACnE,CAAC;;AAvEL,wCAwEC;AA1DG,gBAAgB;AACO,2BAAY,GAAG,oDAAoD,CAAC"}
|
package/tfImporter.d.ts
CHANGED
|
@@ -1,4 +1,22 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* ## Example Usage
|
|
4
|
+
*
|
|
5
|
+
* ```typescript
|
|
6
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
7
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
8
|
+
*
|
|
9
|
+
* const example = new confluentcloud.TfImporter("example", {resources: [
|
|
10
|
+
* "confluent_service_account",
|
|
11
|
+
* "confluent_environment",
|
|
12
|
+
* ]});
|
|
13
|
+
* ```
|
|
14
|
+
* ## Getting Started
|
|
15
|
+
*
|
|
16
|
+
* The following end-to-end examples might help to get started with the `confluentcloud.TfImporter` resource:
|
|
17
|
+
* * `cloud-importer`: Export _Cloud_ resources (for example, Service Accounts, Environments)
|
|
18
|
+
* * `kafka-importer`: Export _Kafka_ resources (for example, ACLs, Topics)
|
|
19
|
+
*/
|
|
2
20
|
export declare class TfImporter extends pulumi.CustomResource {
|
|
3
21
|
/**
|
|
4
22
|
* Get an existing TfImporter resource's state with the given name, ID, and optional extra
|
|
@@ -15,6 +33,20 @@ export declare class TfImporter extends pulumi.CustomResource {
|
|
|
15
33
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
16
34
|
*/
|
|
17
35
|
static isInstance(obj: any): obj is TfImporter;
|
|
36
|
+
/**
|
|
37
|
+
* An absolute path to a folder for outputting generated TF state and TF configuration files for your infrastructure. The folder is created if it doesn't exist. Defaults to `./imported_confluent_infrastructure`.
|
|
38
|
+
*
|
|
39
|
+
* These are the exportable resources:
|
|
40
|
+
* * Service Accounts
|
|
41
|
+
* * Environments
|
|
42
|
+
* * Connectors
|
|
43
|
+
* * Kafka Clusters
|
|
44
|
+
* * Access Control Lists (ACLs)
|
|
45
|
+
* * Topics
|
|
46
|
+
* * Schemas
|
|
47
|
+
*
|
|
48
|
+
* > **Note:** File an issue to request a support for other resources.
|
|
49
|
+
*/
|
|
18
50
|
readonly outputPath: pulumi.Output<string | undefined>;
|
|
19
51
|
/**
|
|
20
52
|
* A list of resources names to export. Defaults to all exportable resources.
|
|
@@ -33,6 +65,20 @@ export declare class TfImporter extends pulumi.CustomResource {
|
|
|
33
65
|
* Input properties used for looking up and filtering TfImporter resources.
|
|
34
66
|
*/
|
|
35
67
|
export interface TfImporterState {
|
|
68
|
+
/**
|
|
69
|
+
* An absolute path to a folder for outputting generated TF state and TF configuration files for your infrastructure. The folder is created if it doesn't exist. Defaults to `./imported_confluent_infrastructure`.
|
|
70
|
+
*
|
|
71
|
+
* These are the exportable resources:
|
|
72
|
+
* * Service Accounts
|
|
73
|
+
* * Environments
|
|
74
|
+
* * Connectors
|
|
75
|
+
* * Kafka Clusters
|
|
76
|
+
* * Access Control Lists (ACLs)
|
|
77
|
+
* * Topics
|
|
78
|
+
* * Schemas
|
|
79
|
+
*
|
|
80
|
+
* > **Note:** File an issue to request a support for other resources.
|
|
81
|
+
*/
|
|
36
82
|
outputPath?: pulumi.Input<string>;
|
|
37
83
|
/**
|
|
38
84
|
* A list of resources names to export. Defaults to all exportable resources.
|
|
@@ -43,6 +89,20 @@ export interface TfImporterState {
|
|
|
43
89
|
* The set of arguments for constructing a TfImporter resource.
|
|
44
90
|
*/
|
|
45
91
|
export interface TfImporterArgs {
|
|
92
|
+
/**
|
|
93
|
+
* An absolute path to a folder for outputting generated TF state and TF configuration files for your infrastructure. The folder is created if it doesn't exist. Defaults to `./imported_confluent_infrastructure`.
|
|
94
|
+
*
|
|
95
|
+
* These are the exportable resources:
|
|
96
|
+
* * Service Accounts
|
|
97
|
+
* * Environments
|
|
98
|
+
* * Connectors
|
|
99
|
+
* * Kafka Clusters
|
|
100
|
+
* * Access Control Lists (ACLs)
|
|
101
|
+
* * Topics
|
|
102
|
+
* * Schemas
|
|
103
|
+
*
|
|
104
|
+
* > **Note:** File an issue to request a support for other resources.
|
|
105
|
+
*/
|
|
46
106
|
outputPath?: pulumi.Input<string>;
|
|
47
107
|
/**
|
|
48
108
|
* A list of resources names to export. Defaults to all exportable resources.
|
package/tfImporter.js
CHANGED
|
@@ -5,6 +5,24 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.TfImporter = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
14
|
+
*
|
|
15
|
+
* const example = new confluentcloud.TfImporter("example", {resources: [
|
|
16
|
+
* "confluent_service_account",
|
|
17
|
+
* "confluent_environment",
|
|
18
|
+
* ]});
|
|
19
|
+
* ```
|
|
20
|
+
* ## Getting Started
|
|
21
|
+
*
|
|
22
|
+
* The following end-to-end examples might help to get started with the `confluentcloud.TfImporter` resource:
|
|
23
|
+
* * `cloud-importer`: Export _Cloud_ resources (for example, Service Accounts, Environments)
|
|
24
|
+
* * `kafka-importer`: Export _Kafka_ resources (for example, ACLs, Topics)
|
|
25
|
+
*/
|
|
8
26
|
class TfImporter extends pulumi.CustomResource {
|
|
9
27
|
/**
|
|
10
28
|
* Get an existing TfImporter resource's state with the given name, ID, and optional extra
|
package/tfImporter.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tfImporter.js","sourceRoot":"","sources":["../tfImporter.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuB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C,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;SACrE;aAAM;YACH,MAAM,IAAI,GAAG,WAAyC,CAAC;YACvD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;SACnE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;;AAtEL,gCAuEC;AAzDG,gBAAgB;AACO,uBAAY,GAAG,4CAA4C,CAAC"}
|
|
@@ -2,6 +2,50 @@ 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 Transit Gateway Attachment 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_transit_gateway_attachment = new confluentcloud.Network("aws-transit-gateway-attachment", {
|
|
14
|
+
* displayName: "AWS Transit Gateway Attachment Network",
|
|
15
|
+
* cloud: "AWS",
|
|
16
|
+
* region: "us-east-2",
|
|
17
|
+
* cidr: "10.10.0.0/16",
|
|
18
|
+
* connectionTypes: ["TRANSITGATEWAY"],
|
|
19
|
+
* environment: {
|
|
20
|
+
* id: development.id,
|
|
21
|
+
* },
|
|
22
|
+
* });
|
|
23
|
+
* const aws = new confluentcloud.TransitGatewayAttachment("aws", {
|
|
24
|
+
* displayName: "AWS Transit Gateway Attachment",
|
|
25
|
+
* aws: {
|
|
26
|
+
* ramResourceShareArn: "arn:aws:ram:us-east-2:000000000000:resource-share/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx",
|
|
27
|
+
* transitGatewayId: "tgw-xxxxxxxxxxxxxxxxx",
|
|
28
|
+
* routes: [
|
|
29
|
+
* "192.168.0.0/16",
|
|
30
|
+
* "172.16.0.0/12",
|
|
31
|
+
* "100.64.0.0/10",
|
|
32
|
+
* "10.0.0.0/8",
|
|
33
|
+
* ],
|
|
34
|
+
* },
|
|
35
|
+
* environment: {
|
|
36
|
+
* id: development.id,
|
|
37
|
+
* },
|
|
38
|
+
* network: {
|
|
39
|
+
* id: aws_transit_gateway_attachment.id,
|
|
40
|
+
* },
|
|
41
|
+
* });
|
|
42
|
+
* ```
|
|
43
|
+
* ## Getting Started
|
|
44
|
+
*
|
|
45
|
+
* The following end-to-end examples might help to get started with `confluentcloud.TransitGatewayAttachment` resource:
|
|
46
|
+
* * `dedicated-transit-gateway-attachment-aws-kafka-acls`: _Dedicated_ Kafka cluster on AWS that is accessible via Transit Gateway Endpoint with authorization using ACLs
|
|
47
|
+
* * enterprise-privatelinkattachment-aws-kafka-acls
|
|
48
|
+
*
|
|
5
49
|
* ## Import
|
|
6
50
|
*
|
|
7
51
|
* You can import a Transit Gateway Attachment by using Environment ID and Transit Gateway Attachment ID, in the format `<Environment ID>/<Transit Gateway Attachment ID>`. The following example shows how to import a Transit Gateway Attachment$ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>" $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
|
|
@@ -6,6 +6,50 @@ exports.TransitGatewayAttachment = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
* ### Example Transit Gateway Attachment 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_transit_gateway_attachment = new confluentcloud.Network("aws-transit-gateway-attachment", {
|
|
18
|
+
* displayName: "AWS Transit Gateway Attachment Network",
|
|
19
|
+
* cloud: "AWS",
|
|
20
|
+
* region: "us-east-2",
|
|
21
|
+
* cidr: "10.10.0.0/16",
|
|
22
|
+
* connectionTypes: ["TRANSITGATEWAY"],
|
|
23
|
+
* environment: {
|
|
24
|
+
* id: development.id,
|
|
25
|
+
* },
|
|
26
|
+
* });
|
|
27
|
+
* const aws = new confluentcloud.TransitGatewayAttachment("aws", {
|
|
28
|
+
* displayName: "AWS Transit Gateway Attachment",
|
|
29
|
+
* aws: {
|
|
30
|
+
* ramResourceShareArn: "arn:aws:ram:us-east-2:000000000000:resource-share/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx",
|
|
31
|
+
* transitGatewayId: "tgw-xxxxxxxxxxxxxxxxx",
|
|
32
|
+
* routes: [
|
|
33
|
+
* "192.168.0.0/16",
|
|
34
|
+
* "172.16.0.0/12",
|
|
35
|
+
* "100.64.0.0/10",
|
|
36
|
+
* "10.0.0.0/8",
|
|
37
|
+
* ],
|
|
38
|
+
* },
|
|
39
|
+
* environment: {
|
|
40
|
+
* id: development.id,
|
|
41
|
+
* },
|
|
42
|
+
* network: {
|
|
43
|
+
* id: aws_transit_gateway_attachment.id,
|
|
44
|
+
* },
|
|
45
|
+
* });
|
|
46
|
+
* ```
|
|
47
|
+
* ## Getting Started
|
|
48
|
+
*
|
|
49
|
+
* The following end-to-end examples might help to get started with `confluentcloud.TransitGatewayAttachment` resource:
|
|
50
|
+
* * `dedicated-transit-gateway-attachment-aws-kafka-acls`: _Dedicated_ Kafka cluster on AWS that is accessible via Transit Gateway Endpoint with authorization using ACLs
|
|
51
|
+
* * enterprise-privatelinkattachment-aws-kafka-acls
|
|
52
|
+
*
|
|
9
53
|
* ## Import
|
|
10
54
|
*
|
|
11
55
|
* You can import a Transit Gateway Attachment by using Environment ID and Transit Gateway Attachment ID, in the format `<Environment ID>/<Transit Gateway Attachment ID>`. The following example shows how to import a Transit Gateway Attachment$ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>" $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transitGatewayAttachment.js","sourceRoot":"","sources":["../transitGatewayAttachment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"transitGatewayAttachment.js","sourceRoot":"","sources":["../transitGatewayAttachment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsDG;AACH,MAAa,wBAAyB,SAAQ,MAAM,CAAC,cAAc;IAC/D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqC,EAAE,IAAmC;QACnI,OAAO,IAAI,wBAAwB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC/E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YAC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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,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,wBAAwB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7E,CAAC;;AA9EL,4DA+EC;AAjEG,gBAAgB;AACO,qCAAY,GAAG,wEAAwE,CAAC"}
|
package/types/input.d.ts
CHANGED
|
@@ -1129,6 +1129,15 @@ export interface KafkaClusterConfigKafkaCluster {
|
|
|
1129
1129
|
id: pulumi.Input<string>;
|
|
1130
1130
|
}
|
|
1131
1131
|
export interface KafkaClusterDedicated {
|
|
1132
|
+
/**
|
|
1133
|
+
* 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.
|
|
1134
|
+
*
|
|
1135
|
+
* > **Note:** Exactly one from the `basic`, `standard`, `dedicated`, and `enterprise` configuration blocks must be specified.
|
|
1136
|
+
*
|
|
1137
|
+
* !> **Warning:** You can only upgrade clusters from `basic` to `standard`.
|
|
1138
|
+
*
|
|
1139
|
+
* > **Note:** Currently, provisioning of a Dedicated Kafka cluster takes around 25 minutes on average but might take up to 24 hours. If you can't wait for the `pulumi up` step to finish, you can exit it and import the cluster by using the `pulumi import` command once it has been provisioned. When the cluster is provisioned, you will receive an email notification, and you can also follow updates on the Target Environment web page of the Confluent Cloud website.
|
|
1140
|
+
*/
|
|
1132
1141
|
cku: pulumi.Input<number>;
|
|
1133
1142
|
encryptionKey?: pulumi.Input<string>;
|
|
1134
1143
|
/**
|
package/types/output.d.ts
CHANGED
|
@@ -1190,6 +1190,15 @@ export interface KafkaClusterConfigKafkaCluster {
|
|
|
1190
1190
|
id: string;
|
|
1191
1191
|
}
|
|
1192
1192
|
export interface KafkaClusterDedicated {
|
|
1193
|
+
/**
|
|
1194
|
+
* 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.
|
|
1195
|
+
*
|
|
1196
|
+
* > **Note:** Exactly one from the `basic`, `standard`, `dedicated`, and `enterprise` configuration blocks must be specified.
|
|
1197
|
+
*
|
|
1198
|
+
* !> **Warning:** You can only upgrade clusters from `basic` to `standard`.
|
|
1199
|
+
*
|
|
1200
|
+
* > **Note:** Currently, provisioning of a Dedicated Kafka cluster takes around 25 minutes on average but might take up to 24 hours. If you can't wait for the `pulumi up` step to finish, you can exit it and import the cluster by using the `pulumi import` command once it has been provisioned. When the cluster is provisioned, you will receive an email notification, and you can also follow updates on the Target Environment web page of the Confluent Cloud website.
|
|
1201
|
+
*/
|
|
1193
1202
|
cku: number;
|
|
1194
1203
|
encryptionKey?: string;
|
|
1195
1204
|
/**
|