@pulumi/confluentcloud 2.58.0 → 2.59.0-alpha.1770934913
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/accessPoint.d.ts +3 -3
- package/accessPoint.js +3 -3
- package/apiKey.d.ts +12 -4
- package/apiKey.js +12 -4
- package/apiKey.js.map +1 -1
- package/businessMetadata.d.ts +1 -4
- package/businessMetadata.js +1 -4
- package/businessMetadata.js.map +1 -1
- package/businessMetadataBinding.d.ts +22 -7
- package/businessMetadataBinding.js +1 -4
- package/businessMetadataBinding.js.map +1 -1
- package/byokKey.d.ts +3 -3
- package/byokKey.js +3 -3
- package/catalogEntityAttributes.d.ts +36 -7
- package/catalogEntityAttributes.js +9 -4
- package/catalogEntityAttributes.js.map +1 -1
- package/catalogIntegration.d.ts +5 -3
- package/catalogIntegration.js +5 -3
- package/catalogIntegration.js.map +1 -1
- package/certificateAuthority.d.ts +3 -3
- package/certificateAuthority.js +3 -3
- package/certificatePool.d.ts +3 -3
- package/certificatePool.js +3 -3
- package/clusterLink.d.ts +10 -21
- package/clusterLink.js +10 -21
- package/clusterLink.js.map +1 -1
- package/connectArtifact.d.ts +11 -3
- package/connectArtifact.js +11 -3
- package/connectArtifact.js.map +1 -1
- package/connector.d.ts +11 -3
- package/connector.js +11 -3
- package/connector.js.map +1 -1
- package/customConnectorPlugin.d.ts +13 -3
- package/customConnectorPlugin.js +13 -3
- package/customConnectorPlugin.js.map +1 -1
- package/customConnectorPluginVersion.d.ts +13 -3
- package/customConnectorPluginVersion.js +13 -3
- package/customConnectorPluginVersion.js.map +1 -1
- package/dnsForwarder.d.ts +3 -3
- package/dnsForwarder.js +3 -3
- package/dnsRecord.d.ts +3 -3
- package/dnsRecord.js +3 -3
- package/environment.d.ts +9 -3
- package/environment.js +9 -3
- package/environment.js.map +1 -1
- package/flinkArtifact.d.ts +11 -3
- package/flinkArtifact.js +11 -3
- package/flinkArtifact.js.map +1 -1
- package/flinkComputePool.d.ts +9 -3
- package/flinkComputePool.js +9 -3
- package/flinkComputePool.js.map +1 -1
- package/flinkConnection.d.ts +97 -11
- package/flinkConnection.js +97 -11
- package/flinkConnection.js.map +1 -1
- package/flinkStatement.d.ts +32 -11
- package/flinkStatement.js +5 -8
- package/flinkStatement.js.map +1 -1
- package/gateway.d.ts +3 -3
- package/gateway.js +3 -3
- package/getNetwork.d.ts +32 -0
- package/getNetwork.js +32 -0
- package/getNetwork.js.map +1 -1
- package/getProviderIntegrationAuthorization.d.ts +260 -0
- package/getProviderIntegrationAuthorization.js +260 -0
- package/getProviderIntegrationAuthorization.js.map +1 -1
- package/groupMapping.d.ts +3 -3
- package/groupMapping.js +3 -3
- package/identityPool.d.ts +3 -3
- package/identityPool.js +3 -3
- package/identityProvider.d.ts +3 -3
- package/identityProvider.js +3 -3
- package/invitation.d.ts +12 -3
- package/invitation.js +3 -3
- package/invitation.js.map +1 -1
- package/ipFilter.d.ts +3 -3
- package/ipFilter.js +3 -3
- package/ipGroup.d.ts +3 -3
- package/ipGroup.js +3 -3
- package/kafkaAcl.d.ts +30 -11
- package/kafkaAcl.js +3 -8
- package/kafkaAcl.js.map +1 -1
- package/kafkaClientQuota.d.ts +11 -3
- package/kafkaClientQuota.js +11 -3
- package/kafkaClientQuota.js.map +1 -1
- package/kafkaCluster.d.ts +9 -3
- package/kafkaCluster.js +9 -3
- package/kafkaCluster.js.map +1 -1
- package/kafkaClusterConfig.d.ts +1 -4
- package/kafkaClusterConfig.js +1 -4
- package/kafkaClusterConfig.js.map +1 -1
- package/kafkaMirrorTopic.d.ts +54 -4
- package/kafkaMirrorTopic.js +9 -4
- package/kafkaMirrorTopic.js.map +1 -1
- package/kafkaTopic.d.ts +11 -33
- package/kafkaTopic.js +11 -33
- package/kafkaTopic.js.map +1 -1
- package/ksqlCluster.d.ts +3 -3
- package/ksqlCluster.js +3 -3
- package/network.d.ts +9 -3
- package/network.js +9 -3
- package/network.js.map +1 -1
- package/networkLinkEndpoint.d.ts +9 -3
- package/networkLinkEndpoint.js +9 -3
- package/networkLinkEndpoint.js.map +1 -1
- package/networkLinkService.d.ts +9 -3
- package/networkLinkService.js +9 -3
- package/networkLinkService.js.map +1 -1
- package/package.json +2 -2
- package/peering.d.ts +9 -3
- package/peering.js +9 -3
- package/peering.js.map +1 -1
- package/plugin.d.ts +9 -3
- package/plugin.js +9 -3
- package/plugin.js.map +1 -1
- package/privateLinkAccess.d.ts +9 -3
- package/privateLinkAccess.js +9 -3
- package/privateLinkAccess.js.map +1 -1
- package/privateLinkAttachment.d.ts +3 -3
- package/privateLinkAttachment.js +3 -3
- package/privateLinkAttachmentConnection.d.ts +3 -3
- package/privateLinkAttachmentConnection.js +3 -3
- package/providerIntegration.d.ts +9 -3
- package/providerIntegration.js +9 -3
- package/providerIntegration.js.map +1 -1
- package/providerIntegrationAuthorization.d.ts +161 -3
- package/providerIntegrationAuthorization.js +161 -3
- package/providerIntegrationAuthorization.js.map +1 -1
- package/providerIntegrationSetup.d.ts +11 -3
- package/providerIntegrationSetup.js +11 -3
- package/providerIntegrationSetup.js.map +1 -1
- package/roleBinding.d.ts +36 -3
- package/roleBinding.js +3 -3
- package/roleBinding.js.map +1 -1
- package/schema.d.ts +22 -11
- package/schema.js +13 -11
- package/schema.js.map +1 -1
- package/schemaExporter.d.ts +3 -5
- package/schemaExporter.js +3 -5
- package/schemaExporter.js.map +1 -1
- package/schemaRegistryClusterConfig.d.ts +7 -4
- package/schemaRegistryClusterConfig.js +7 -4
- package/schemaRegistryClusterConfig.js.map +1 -1
- package/schemaRegistryClusterMode.d.ts +7 -4
- package/schemaRegistryClusterMode.js +7 -4
- package/schemaRegistryClusterMode.js.map +1 -1
- package/schemaRegistryDek.d.ts +22 -7
- package/schemaRegistryDek.js +1 -4
- package/schemaRegistryDek.js.map +1 -1
- package/schemaRegistryKek.d.ts +22 -7
- package/schemaRegistryKek.js +1 -4
- package/schemaRegistryKek.js.map +1 -1
- package/serviceAccount.d.ts +3 -3
- package/serviceAccount.js +3 -3
- package/subjectConfig.d.ts +7 -4
- package/subjectConfig.js +7 -4
- package/subjectConfig.js.map +1 -1
- package/subjectMode.d.ts +7 -4
- package/subjectMode.js +7 -4
- package/subjectMode.js.map +1 -1
- package/tableflowTopic.d.ts +7 -3
- package/tableflowTopic.js +7 -3
- package/tableflowTopic.js.map +1 -1
- package/tag.d.ts +22 -7
- package/tag.js +1 -4
- package/tag.js.map +1 -1
- package/tagBinding.d.ts +28 -4
- package/tagBinding.js +1 -4
- package/tagBinding.js.map +1 -1
- package/tfImporter.d.ts +6 -0
- package/tfImporter.js +6 -0
- package/tfImporter.js.map +1 -1
- package/transitGatewayAttachment.d.ts +9 -3
- package/transitGatewayAttachment.js +9 -3
- package/transitGatewayAttachment.js.map +1 -1
- package/types/input.d.ts +98 -16
- package/types/output.d.ts +78 -12
package/clusterLink.d.ts
CHANGED
|
@@ -2,6 +2,12 @@ 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.ClusterLink` provides a Cluster Link resource that enables creating and deleting Cluster Links on a Kafka cluster on Confluent Cloud.
|
|
8
|
+
*
|
|
9
|
+
* > **Note:** It is recommended to set `lifecycle { preventDestroy = true }` on production instances to prevent accidental cluster link deletion. This setting rejects plans that would destroy or recreate the cluster link. Read more about it in the Terraform docs.
|
|
10
|
+
*
|
|
5
11
|
* ## Example Usage
|
|
6
12
|
*
|
|
7
13
|
* ```typescript
|
|
@@ -66,42 +72,29 @@ import * as outputs from "./types/output";
|
|
|
66
72
|
* ## Import
|
|
67
73
|
*
|
|
68
74
|
* You can import a Kafka mirror topic by using the cluster link name, cluster link mode, cluster link connection mode,
|
|
69
|
-
*
|
|
70
75
|
* source (or local for bidirectional cluster links) Kafka cluster ID, and destination (or remote for bidirectional cluster links) Kafka cluster ID, in the format `<Cluster link name>/<Cluster link mode>/<Cluster connection mode>/<Source (Local) Kafka cluster ID>/<Destination (Remote) Kafka cluster ID>`, for example:
|
|
71
76
|
*
|
|
72
77
|
* Option #1 when using source-initiated or destination-initiated cluster links
|
|
73
78
|
*
|
|
79
|
+
* ```sh
|
|
74
80
|
* $ export IMPORT_SOURCE_KAFKA_BOOTSTRAP_ENDPOINT="<source_kafka_bootstrap_endpoint>"
|
|
75
|
-
*
|
|
76
81
|
* $ export IMPORT_SOURCE_KAFKA_API_KEY="<source_kafka_api_key>"
|
|
77
|
-
*
|
|
78
82
|
* $ export IMPORT_SOURCE_KAFKA_API_SECRET="<source_kafka_api_secret>"
|
|
79
|
-
*
|
|
80
83
|
* $ export IMPORT_DESTINATION_KAFKA_REST_ENDPOINT="<destination_kafka_rest_endpoint>"
|
|
81
|
-
*
|
|
82
84
|
* $ export IMPORT_DESTINATION_KAFKA_API_KEY="<destination_kafka_api_key>"
|
|
83
|
-
*
|
|
84
85
|
* $ export IMPORT_DESTINATION_KAFKA_API_SECRET="<destination_kafka_api_secret>"
|
|
85
|
-
*
|
|
86
|
-
* ```sh
|
|
87
86
|
* $ pulumi import confluentcloud:index/clusterLink:ClusterLink my_cluster_link my-cluster-link/DESTINATION/OUTBOUND/lkc-abc123/lkc-xyz456
|
|
88
87
|
* ```
|
|
89
88
|
*
|
|
90
89
|
* Option #2 when using bidirectional cluster links
|
|
91
90
|
*
|
|
91
|
+
* ```sh
|
|
92
92
|
* $ export IMPORT_LOCAL_KAFKA_BOOTSTRAP_ENDPOINT="<local_kafka_bootstrap_endpoint>"
|
|
93
|
-
*
|
|
94
93
|
* $ export IMPORT_LOCAL_KAFKA_API_KEY="<local_kafka_api_key>"
|
|
95
|
-
*
|
|
96
94
|
* $ export IMPORT_LOCAL_KAFKA_API_SECRET="<local_kafka_api_secret>"
|
|
97
|
-
*
|
|
98
95
|
* $ export IMPORT_REMOTE_KAFKA_REST_ENDPOINT="<remote_kafka_rest_endpoint>"
|
|
99
|
-
*
|
|
100
96
|
* $ export IMPORT_REMOTE_KAFKA_API_KEY="<remote_kafka_api_key>"
|
|
101
|
-
*
|
|
102
97
|
* $ export IMPORT_REMOTE_KAFKA_API_SECRET="<remote_kafka_api_secret>"
|
|
103
|
-
*
|
|
104
|
-
* ```sh
|
|
105
98
|
* $ pulumi import confluentcloud:index/clusterLink:ClusterLink my_cluster_link my-cluster-link/BIDIRECTIONAL/OUTBOUND/lkc-abc123/lkc-xyz456
|
|
106
99
|
* ```
|
|
107
100
|
*
|
|
@@ -109,21 +102,17 @@ import * as outputs from "./types/output";
|
|
|
109
102
|
*
|
|
110
103
|
* Option #3 when using OAuth to authenticate the source-initiated or destination-initiated cluster links
|
|
111
104
|
*
|
|
105
|
+
* ```sh
|
|
112
106
|
* $ export IMPORT_SOURCE_KAFKA_BOOTSTRAP_ENDPOINT="<source_kafka_bootstrap_endpoint>"
|
|
113
|
-
*
|
|
114
107
|
* $ export IMPORT_DESTINATION_KAFKA_REST_ENDPOINT="<destination_kafka_rest_endpoint>"
|
|
115
|
-
*
|
|
116
|
-
* ```sh
|
|
117
108
|
* $ pulumi import confluentcloud:index/clusterLink:ClusterLink my_cluster_link my-cluster-link/DESTINATION/OUTBOUND/lkc-abc123/lkc-xyz456
|
|
118
109
|
* ```
|
|
119
110
|
*
|
|
120
111
|
* Option #4 when using OAuth to authenticate the bidirectional cluster links
|
|
121
112
|
*
|
|
113
|
+
* ```sh
|
|
122
114
|
* $ export IMPORT_LOCAL_KAFKA_REST_ENDPOINT="<local_kafka_rest_endpoint>"
|
|
123
|
-
*
|
|
124
115
|
* $ export IMPORT_REMOTE_KAFKA_BOOTSTRAP_ENDPOINT="<remote_kafka_bootstrap_endpoint>"
|
|
125
|
-
*
|
|
126
|
-
* ```sh
|
|
127
116
|
* $ pulumi import confluentcloud:index/clusterLink:ClusterLink my_cluster_link my-cluster-link/BIDIRECTIONAL/OUTBOUND/lkc-abc123/lkc-xyz456
|
|
128
117
|
* ```
|
|
129
118
|
*
|
package/clusterLink.js
CHANGED
|
@@ -6,6 +6,12 @@ exports.ClusterLink = 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.ClusterLink` provides a Cluster Link resource that enables creating and deleting Cluster Links on a Kafka cluster on Confluent Cloud.
|
|
12
|
+
*
|
|
13
|
+
* > **Note:** It is recommended to set `lifecycle { preventDestroy = true }` on production instances to prevent accidental cluster link deletion. This setting rejects plans that would destroy or recreate the cluster link. Read more about it in the Terraform docs.
|
|
14
|
+
*
|
|
9
15
|
* ## Example Usage
|
|
10
16
|
*
|
|
11
17
|
* ```typescript
|
|
@@ -70,42 +76,29 @@ const utilities = require("./utilities");
|
|
|
70
76
|
* ## Import
|
|
71
77
|
*
|
|
72
78
|
* You can import a Kafka mirror topic by using the cluster link name, cluster link mode, cluster link connection mode,
|
|
73
|
-
*
|
|
74
79
|
* source (or local for bidirectional cluster links) Kafka cluster ID, and destination (or remote for bidirectional cluster links) Kafka cluster ID, in the format `<Cluster link name>/<Cluster link mode>/<Cluster connection mode>/<Source (Local) Kafka cluster ID>/<Destination (Remote) Kafka cluster ID>`, for example:
|
|
75
80
|
*
|
|
76
81
|
* Option #1 when using source-initiated or destination-initiated cluster links
|
|
77
82
|
*
|
|
83
|
+
* ```sh
|
|
78
84
|
* $ export IMPORT_SOURCE_KAFKA_BOOTSTRAP_ENDPOINT="<source_kafka_bootstrap_endpoint>"
|
|
79
|
-
*
|
|
80
85
|
* $ export IMPORT_SOURCE_KAFKA_API_KEY="<source_kafka_api_key>"
|
|
81
|
-
*
|
|
82
86
|
* $ export IMPORT_SOURCE_KAFKA_API_SECRET="<source_kafka_api_secret>"
|
|
83
|
-
*
|
|
84
87
|
* $ export IMPORT_DESTINATION_KAFKA_REST_ENDPOINT="<destination_kafka_rest_endpoint>"
|
|
85
|
-
*
|
|
86
88
|
* $ export IMPORT_DESTINATION_KAFKA_API_KEY="<destination_kafka_api_key>"
|
|
87
|
-
*
|
|
88
89
|
* $ export IMPORT_DESTINATION_KAFKA_API_SECRET="<destination_kafka_api_secret>"
|
|
89
|
-
*
|
|
90
|
-
* ```sh
|
|
91
90
|
* $ pulumi import confluentcloud:index/clusterLink:ClusterLink my_cluster_link my-cluster-link/DESTINATION/OUTBOUND/lkc-abc123/lkc-xyz456
|
|
92
91
|
* ```
|
|
93
92
|
*
|
|
94
93
|
* Option #2 when using bidirectional cluster links
|
|
95
94
|
*
|
|
95
|
+
* ```sh
|
|
96
96
|
* $ export IMPORT_LOCAL_KAFKA_BOOTSTRAP_ENDPOINT="<local_kafka_bootstrap_endpoint>"
|
|
97
|
-
*
|
|
98
97
|
* $ export IMPORT_LOCAL_KAFKA_API_KEY="<local_kafka_api_key>"
|
|
99
|
-
*
|
|
100
98
|
* $ export IMPORT_LOCAL_KAFKA_API_SECRET="<local_kafka_api_secret>"
|
|
101
|
-
*
|
|
102
99
|
* $ export IMPORT_REMOTE_KAFKA_REST_ENDPOINT="<remote_kafka_rest_endpoint>"
|
|
103
|
-
*
|
|
104
100
|
* $ export IMPORT_REMOTE_KAFKA_API_KEY="<remote_kafka_api_key>"
|
|
105
|
-
*
|
|
106
101
|
* $ export IMPORT_REMOTE_KAFKA_API_SECRET="<remote_kafka_api_secret>"
|
|
107
|
-
*
|
|
108
|
-
* ```sh
|
|
109
102
|
* $ pulumi import confluentcloud:index/clusterLink:ClusterLink my_cluster_link my-cluster-link/BIDIRECTIONAL/OUTBOUND/lkc-abc123/lkc-xyz456
|
|
110
103
|
* ```
|
|
111
104
|
*
|
|
@@ -113,21 +106,17 @@ const utilities = require("./utilities");
|
|
|
113
106
|
*
|
|
114
107
|
* Option #3 when using OAuth to authenticate the source-initiated or destination-initiated cluster links
|
|
115
108
|
*
|
|
109
|
+
* ```sh
|
|
116
110
|
* $ export IMPORT_SOURCE_KAFKA_BOOTSTRAP_ENDPOINT="<source_kafka_bootstrap_endpoint>"
|
|
117
|
-
*
|
|
118
111
|
* $ export IMPORT_DESTINATION_KAFKA_REST_ENDPOINT="<destination_kafka_rest_endpoint>"
|
|
119
|
-
*
|
|
120
|
-
* ```sh
|
|
121
112
|
* $ pulumi import confluentcloud:index/clusterLink:ClusterLink my_cluster_link my-cluster-link/DESTINATION/OUTBOUND/lkc-abc123/lkc-xyz456
|
|
122
113
|
* ```
|
|
123
114
|
*
|
|
124
115
|
* Option #4 when using OAuth to authenticate the bidirectional cluster links
|
|
125
116
|
*
|
|
117
|
+
* ```sh
|
|
126
118
|
* $ export IMPORT_LOCAL_KAFKA_REST_ENDPOINT="<local_kafka_rest_endpoint>"
|
|
127
|
-
*
|
|
128
119
|
* $ export IMPORT_REMOTE_KAFKA_BOOTSTRAP_ENDPOINT="<remote_kafka_bootstrap_endpoint>"
|
|
129
|
-
*
|
|
130
|
-
* ```sh
|
|
131
120
|
* $ pulumi import confluentcloud:index/clusterLink:ClusterLink my_cluster_link my-cluster-link/BIDIRECTIONAL/OUTBOUND/lkc-abc123/lkc-xyz456
|
|
132
121
|
* ```
|
|
133
122
|
*
|
package/clusterLink.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clusterLink.js","sourceRoot":"","sources":["../clusterLink.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"clusterLink.js","sourceRoot":"","sources":["../clusterLink.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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E,cAAc,CAAC,oBAAoB,CAAC,GAAG,KAAK,EAAE,kBAAkB,CAAC;SACpE;aAAM;YACH,MAAM,IAAI,GAAG,WAA0C,CAAC;YACxD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,EAAE,cAAc,CAAC;YACxD,cAAc,CAAC,yBAAyB,CAAC,GAAG,IAAI,EAAE,uBAAuB,CAAC;YAC1E,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,EAAE,iBAAiB,CAAC;YAC9D,cAAc,CAAC,oBAAoB,CAAC,GAAG,IAAI,EAAE,kBAAkB,CAAC;YAChE,cAAc,CAAC,oBAAoB,CAAC,GAAG,IAAI,EAAE,kBAAkB,CAAC;YAChE,cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACvD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AAzFL,kCA0FC;AA5EG,gBAAgB;AACO,wBAAY,GAAG,8CAA8C,CAAC"}
|
package/connectArtifact.d.ts
CHANGED
|
@@ -2,6 +2,12 @@ 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.ConnectArtifact` provides a Connect Artifact resource that enables creating and deleting Connect Artifact on Confluent Cloud.
|
|
8
|
+
*
|
|
9
|
+
* > **Note:** It is recommended to set `lifecycle { preventDestroy = true }` on production instances to prevent accidental Connect Artifact deletion. This setting rejects plans that would destroy or recreate the Connect Artifact, such as attempting to change uneditable attributes. Read more about it in the Terraform docs.
|
|
10
|
+
*
|
|
5
11
|
* ## Example Usage
|
|
6
12
|
*
|
|
7
13
|
* ```typescript
|
|
@@ -22,13 +28,15 @@ import * as outputs from "./types/output";
|
|
|
22
28
|
*
|
|
23
29
|
* ## Import
|
|
24
30
|
*
|
|
25
|
-
*
|
|
31
|
+
* > **Note:** Set `artifactFile = ""` or use `IMPORT_ARTIFACT_FILENAME` environment variables before importing a Connect Artifact.
|
|
26
32
|
*
|
|
27
|
-
*
|
|
33
|
+
* > **Note:** `CONFLUENT_CLOUD_API_KEY` and `CONFLUENT_CLOUD_API_SECRET` environment variables must be set before importing a Connect Artifact.
|
|
28
34
|
*
|
|
29
|
-
*
|
|
35
|
+
* You can import a Connect Artifact by using Environment ID, Cloud, and Connect Artifact ID in the format `<Environment ID>/<cloud>/<Connect Artifact ID>`, for example:
|
|
30
36
|
*
|
|
31
37
|
* ```sh
|
|
38
|
+
* $ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>"
|
|
39
|
+
* $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
|
|
32
40
|
* $ pulumi import confluentcloud:index/connectArtifact:ConnectArtifact example env-123456/AWS/ca-123456
|
|
33
41
|
* ```
|
|
34
42
|
*
|
package/connectArtifact.js
CHANGED
|
@@ -6,6 +6,12 @@ exports.ConnectArtifact = 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.ConnectArtifact` provides a Connect Artifact resource that enables creating and deleting Connect Artifact on Confluent Cloud.
|
|
12
|
+
*
|
|
13
|
+
* > **Note:** It is recommended to set `lifecycle { preventDestroy = true }` on production instances to prevent accidental Connect Artifact deletion. This setting rejects plans that would destroy or recreate the Connect Artifact, such as attempting to change uneditable attributes. Read more about it in the Terraform docs.
|
|
14
|
+
*
|
|
9
15
|
* ## Example Usage
|
|
10
16
|
*
|
|
11
17
|
* ```typescript
|
|
@@ -26,13 +32,15 @@ const utilities = require("./utilities");
|
|
|
26
32
|
*
|
|
27
33
|
* ## Import
|
|
28
34
|
*
|
|
29
|
-
*
|
|
35
|
+
* > **Note:** Set `artifactFile = ""` or use `IMPORT_ARTIFACT_FILENAME` environment variables before importing a Connect Artifact.
|
|
30
36
|
*
|
|
31
|
-
*
|
|
37
|
+
* > **Note:** `CONFLUENT_CLOUD_API_KEY` and `CONFLUENT_CLOUD_API_SECRET` environment variables must be set before importing a Connect Artifact.
|
|
32
38
|
*
|
|
33
|
-
*
|
|
39
|
+
* You can import a Connect Artifact by using Environment ID, Cloud, and Connect Artifact ID in the format `<Environment ID>/<cloud>/<Connect Artifact ID>`, for example:
|
|
34
40
|
*
|
|
35
41
|
* ```sh
|
|
42
|
+
* $ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>"
|
|
43
|
+
* $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
|
|
36
44
|
* $ pulumi import confluentcloud:index/connectArtifact:ConnectArtifact example env-123456/AWS/ca-123456
|
|
37
45
|
* ```
|
|
38
46
|
*
|
package/connectArtifact.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connectArtifact.js","sourceRoot":"","sources":["../connectArtifact.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"connectArtifact.js","sourceRoot":"","sources":["../connectArtifact.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF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C"}
|
package/connector.d.ts
CHANGED
|
@@ -2,6 +2,14 @@ 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.Connector` provides a connector resource that enables creating, editing, and deleting connectors on Confluent Cloud.
|
|
8
|
+
*
|
|
9
|
+
* > **Note:** Use [Confluent docs](https://docs.confluent.io/cloud/current/connectors/index.html) or the [Confluent Cloud Console](https://docs.confluent.io/cloud/current/connectors/cc-s3-sink.html#using-the-ccloud-console) to pregenerate the configuration for your desired connector and to see what ACLs are required to be created.
|
|
10
|
+
*
|
|
11
|
+
* > **Note:** It is recommended to set `lifecycle { preventDestroy = true }` on production instances to prevent accidental connector deletion. This setting rejects plans that would destroy or recreate the connector, such as attempting to change uneditable attributes. Read more about it in the Terraform docs.
|
|
12
|
+
*
|
|
5
13
|
* ## Example Usage
|
|
6
14
|
*
|
|
7
15
|
* ### Example Managed [Datagen Source Connector](https://docs.confluent.io/cloud/current/connectors/cc-datagen-source.html) that uses a service account to communicate with your Kafka cluster
|
|
@@ -308,13 +316,13 @@ import * as outputs from "./types/output";
|
|
|
308
316
|
*
|
|
309
317
|
* ## Import
|
|
310
318
|
*
|
|
319
|
+
* > **Note:** Set `configSensitive = {}` and do not specify `offsets` block before importing a connector.
|
|
320
|
+
*
|
|
311
321
|
* You can import a connector by using Environment ID, Kafka cluster ID, and connector's name, in the format `<Environment ID>/<Kafka cluster ID>/<Connector name>`, for example:
|
|
312
322
|
*
|
|
323
|
+
* ```sh
|
|
313
324
|
* $ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>"
|
|
314
|
-
*
|
|
315
325
|
* $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
|
|
316
|
-
*
|
|
317
|
-
* ```sh
|
|
318
326
|
* $ pulumi import confluentcloud:index/connector:Connector my_connector "env-abc123/lkc-abc123/S3_SINKConnector_0"
|
|
319
327
|
* ```
|
|
320
328
|
*/
|
package/connector.js
CHANGED
|
@@ -6,6 +6,14 @@ exports.Connector = 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.Connector` provides a connector resource that enables creating, editing, and deleting connectors on Confluent Cloud.
|
|
12
|
+
*
|
|
13
|
+
* > **Note:** Use [Confluent docs](https://docs.confluent.io/cloud/current/connectors/index.html) or the [Confluent Cloud Console](https://docs.confluent.io/cloud/current/connectors/cc-s3-sink.html#using-the-ccloud-console) to pregenerate the configuration for your desired connector and to see what ACLs are required to be created.
|
|
14
|
+
*
|
|
15
|
+
* > **Note:** It is recommended to set `lifecycle { preventDestroy = true }` on production instances to prevent accidental connector deletion. This setting rejects plans that would destroy or recreate the connector, such as attempting to change uneditable attributes. Read more about it in the Terraform docs.
|
|
16
|
+
*
|
|
9
17
|
* ## Example Usage
|
|
10
18
|
*
|
|
11
19
|
* ### Example Managed [Datagen Source Connector](https://docs.confluent.io/cloud/current/connectors/cc-datagen-source.html) that uses a service account to communicate with your Kafka cluster
|
|
@@ -312,13 +320,13 @@ const utilities = require("./utilities");
|
|
|
312
320
|
*
|
|
313
321
|
* ## Import
|
|
314
322
|
*
|
|
323
|
+
* > **Note:** Set `configSensitive = {}` and do not specify `offsets` block before importing a connector.
|
|
324
|
+
*
|
|
315
325
|
* You can import a connector by using Environment ID, Kafka cluster ID, and connector's name, in the format `<Environment ID>/<Kafka cluster ID>/<Connector name>`, for example:
|
|
316
326
|
*
|
|
327
|
+
* ```sh
|
|
317
328
|
* $ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>"
|
|
318
|
-
*
|
|
319
329
|
* $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
|
|
320
|
-
*
|
|
321
|
-
* ```sh
|
|
322
330
|
* $ pulumi import confluentcloud:index/connector:Connector my_connector "env-abc123/lkc-abc123/S3_SINKConnector_0"
|
|
323
331
|
* ```
|
|
324
332
|
*/
|
package/connector.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connector.js","sourceRoot":"","sources":["../connector.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"connector.js","sourceRoot":"","sources":["../connector.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoUG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsB,EAAE,IAAmC;QACpH,OAAO,IAAI,SAAS,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAChE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,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AAE,kBAAkB,CAAC;YAChE,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,EAAE,eAAe,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5G,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;SAC3C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,iBAAiB,CAAC,EAAE,CAAC;QACpE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,SAAS,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;;AAjGL,8BAkGC;AApFG,gBAAgB;AACO,sBAAY,GAAG,0CAA0C,CAAC"}
|
|
@@ -1,5 +1,13 @@
|
|
|
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.CustomConnectorPlugin` provides a Custom Connector Plugin resource that enables creating, editing, and deleting Custom Connector Plugins on Confluent Cloud.
|
|
6
|
+
*
|
|
7
|
+
* > **Note:** See [Custom Connector Quick Start](https://docs.confluent.io/cloud/current/connectors/bring-your-connector/custom-connector-qs.html#custom-connector-quick-start) and [Custom Connector Plugin Examples](https://docs.confluent.io/cloud/current/connectors/connect-api-section.html#custom-connector-plugin-examples) for more details.
|
|
8
|
+
*
|
|
9
|
+
* > **Note:** It is recommended to set `lifecycle { preventDestroy = true }` on production instances to prevent accidental Custom Connector Plugin deletion. This setting rejects plans that would destroy or recreate the Custom Connector Plugin, such as attempting to change uneditable attributes. Read more about it in the Terraform docs.
|
|
10
|
+
*
|
|
3
11
|
* ## Example Usage
|
|
4
12
|
*
|
|
5
13
|
* ```typescript
|
|
@@ -18,13 +26,15 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
18
26
|
*
|
|
19
27
|
* ## Import
|
|
20
28
|
*
|
|
21
|
-
*
|
|
29
|
+
* > **Note:** Set `filename = ""` or use `IMPORT_CUSTOM_CONNECTOR_PLUGIN_FILENAME` environment variables before importing a Custom Connector Plugin.
|
|
22
30
|
*
|
|
23
|
-
*
|
|
31
|
+
* > **Note:** `CONFLUENT_CLOUD_API_KEY` and `CONFLUENT_CLOUD_API_SECRET` environment variables must be set before importing a Custom Connector Plugin.
|
|
24
32
|
*
|
|
25
|
-
*
|
|
33
|
+
* You can import a Custom Connector Plugin by using a Custom Connector Plugin ID, in the format `<Custom Connector Plugin>`. The following example shows how to import a Custom Connector Plugin:
|
|
26
34
|
*
|
|
27
35
|
* ```sh
|
|
36
|
+
* $ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>"
|
|
37
|
+
* $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
|
|
28
38
|
* $ pulumi import confluentcloud:index/customConnectorPlugin:CustomConnectorPlugin main ccp-abc123xyz
|
|
29
39
|
* ```
|
|
30
40
|
*
|
package/customConnectorPlugin.js
CHANGED
|
@@ -6,6 +6,14 @@ exports.CustomConnectorPlugin = 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.CustomConnectorPlugin` provides a Custom Connector Plugin resource that enables creating, editing, and deleting Custom Connector Plugins on Confluent Cloud.
|
|
12
|
+
*
|
|
13
|
+
* > **Note:** See [Custom Connector Quick Start](https://docs.confluent.io/cloud/current/connectors/bring-your-connector/custom-connector-qs.html#custom-connector-quick-start) and [Custom Connector Plugin Examples](https://docs.confluent.io/cloud/current/connectors/connect-api-section.html#custom-connector-plugin-examples) for more details.
|
|
14
|
+
*
|
|
15
|
+
* > **Note:** It is recommended to set `lifecycle { preventDestroy = true }` on production instances to prevent accidental Custom Connector Plugin deletion. This setting rejects plans that would destroy or recreate the Custom Connector Plugin, such as attempting to change uneditable attributes. Read more about it in the Terraform docs.
|
|
16
|
+
*
|
|
9
17
|
* ## Example Usage
|
|
10
18
|
*
|
|
11
19
|
* ```typescript
|
|
@@ -24,13 +32,15 @@ const utilities = require("./utilities");
|
|
|
24
32
|
*
|
|
25
33
|
* ## Import
|
|
26
34
|
*
|
|
27
|
-
*
|
|
35
|
+
* > **Note:** Set `filename = ""` or use `IMPORT_CUSTOM_CONNECTOR_PLUGIN_FILENAME` environment variables before importing a Custom Connector Plugin.
|
|
28
36
|
*
|
|
29
|
-
*
|
|
37
|
+
* > **Note:** `CONFLUENT_CLOUD_API_KEY` and `CONFLUENT_CLOUD_API_SECRET` environment variables must be set before importing a Custom Connector Plugin.
|
|
30
38
|
*
|
|
31
|
-
*
|
|
39
|
+
* You can import a Custom Connector Plugin by using a Custom Connector Plugin ID, in the format `<Custom Connector Plugin>`. The following example shows how to import a Custom Connector Plugin:
|
|
32
40
|
*
|
|
33
41
|
* ```sh
|
|
42
|
+
* $ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>"
|
|
43
|
+
* $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
|
|
34
44
|
* $ pulumi import confluentcloud:index/customConnectorPlugin:CustomConnectorPlugin main ccp-abc123xyz
|
|
35
45
|
* ```
|
|
36
46
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customConnectorPlugin.js","sourceRoot":"","sources":["../customConnectorPlugin.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"customConnectorPlugin.js","sourceRoot":"","sources":["../customConnectorPlugin.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,MAAa,qBAAsB,SAAQ,MAAM,CAAC,cAAc;IAC5D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkC,EAAE,IAAmC;QAChI,OAAO,IAAI,qBAAqB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC5E,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,qBAAqB,CAAC,YAAY,CAAC;IACtE,CAAC;IA2CD,YAAY,IAAY,EAAE,WAAoE,EAAE,IAAmC;QAC/H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAqD,CAAC;YACpE,cAAc,CAAC,OAAO,CAAC,GAAG,KAAK,EAAE,KAAK,CAAC;YACvC,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAAK,EAAE,cAAc,CAAC;YACzD,cAAc,CAAC,eAAe,CAAC,GAAG,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C;YAClD,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,EAAE,iBAAiB,CAAC;YAC9D,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,2BAA2B,CAAC,GAAG,IAAI,EAAE,yBAAyB,CAAC;SACjF;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,qBAAqB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1E,CAAC;;AA3GL,sDA4GC;AA9FG,gBAAgB;AACO,kCAAY,GAAG,kEAAkE,CAAC"}
|
|
@@ -2,6 +2,12 @@ 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.CustomConnectorPlugin` provides a Custom Connector Plugin resource that enables creating and deleting Custom Connector Plugin Versions on Confluent Cloud.
|
|
8
|
+
*
|
|
9
|
+
* > **Note:** It is recommended to set `lifecycle { preventDestroy = true }` on production instances to prevent accidental Custom Connector Plugin Version deletion. This setting rejects plans that would destroy or recreate the Custom Connector Plugin Version, such as attempting to change uneditable attributes. Read more about it in the Terraform docs.
|
|
10
|
+
*
|
|
5
11
|
* ## Example Usage
|
|
6
12
|
*
|
|
7
13
|
* ```typescript
|
|
@@ -29,13 +35,17 @@ import * as outputs from "./types/output";
|
|
|
29
35
|
*
|
|
30
36
|
* ## Import
|
|
31
37
|
*
|
|
32
|
-
*
|
|
38
|
+
* > **Note:** Set `filename = ""` or use `IMPORT_CUSTOM_CONNECTOR_PLUGIN_VERSION_FILENAME` environment variables before importing a Custom Connector Plugin Version.
|
|
33
39
|
*
|
|
34
|
-
*
|
|
40
|
+
* > **Note:** Set `cloud = ""` or use `IMPORT_CLOUD` environment variables before importing a Custom Connector Plugin Version.
|
|
35
41
|
*
|
|
36
|
-
*
|
|
42
|
+
* > **Note:** `CONFLUENT_CLOUD_API_KEY` and `CONFLUENT_CLOUD_API_SECRET` environment variables must be set before importing a Custom Connector Plugin.
|
|
43
|
+
*
|
|
44
|
+
* You can import a Custom Connector Plugin by using a Custom Connector Plugin ID, in the format `<Environment ID>/<Plugin ID>/<Version ID>`. The following example shows how to import a Custom Connector Plugin:
|
|
37
45
|
*
|
|
38
46
|
* ```sh
|
|
47
|
+
* $ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>"
|
|
48
|
+
* $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
|
|
39
49
|
* $ pulumi import confluentcloud:index/customConnectorPluginVersion:CustomConnectorPluginVersion main env-123/plug-123/ccp-ver123xyz
|
|
40
50
|
* ```
|
|
41
51
|
*
|
|
@@ -6,6 +6,12 @@ exports.CustomConnectorPluginVersion = 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.CustomConnectorPlugin` provides a Custom Connector Plugin resource that enables creating and deleting Custom Connector Plugin Versions on Confluent Cloud.
|
|
12
|
+
*
|
|
13
|
+
* > **Note:** It is recommended to set `lifecycle { preventDestroy = true }` on production instances to prevent accidental Custom Connector Plugin Version deletion. This setting rejects plans that would destroy or recreate the Custom Connector Plugin Version, such as attempting to change uneditable attributes. Read more about it in the Terraform docs.
|
|
14
|
+
*
|
|
9
15
|
* ## Example Usage
|
|
10
16
|
*
|
|
11
17
|
* ```typescript
|
|
@@ -33,13 +39,17 @@ const utilities = require("./utilities");
|
|
|
33
39
|
*
|
|
34
40
|
* ## Import
|
|
35
41
|
*
|
|
36
|
-
*
|
|
42
|
+
* > **Note:** Set `filename = ""` or use `IMPORT_CUSTOM_CONNECTOR_PLUGIN_VERSION_FILENAME` environment variables before importing a Custom Connector Plugin Version.
|
|
37
43
|
*
|
|
38
|
-
*
|
|
44
|
+
* > **Note:** Set `cloud = ""` or use `IMPORT_CLOUD` environment variables before importing a Custom Connector Plugin Version.
|
|
39
45
|
*
|
|
40
|
-
*
|
|
46
|
+
* > **Note:** `CONFLUENT_CLOUD_API_KEY` and `CONFLUENT_CLOUD_API_SECRET` environment variables must be set before importing a Custom Connector Plugin.
|
|
47
|
+
*
|
|
48
|
+
* You can import a Custom Connector Plugin by using a Custom Connector Plugin ID, in the format `<Environment ID>/<Plugin ID>/<Version ID>`. The following example shows how to import a Custom Connector Plugin:
|
|
41
49
|
*
|
|
42
50
|
* ```sh
|
|
51
|
+
* $ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>"
|
|
52
|
+
* $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
|
|
43
53
|
* $ pulumi import confluentcloud:index/customConnectorPluginVersion:CustomConnectorPluginVersion main env-123/plug-123/ccp-ver123xyz
|
|
44
54
|
* ```
|
|
45
55
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customConnectorPluginVersion.js","sourceRoot":"","sources":["../customConnectorPluginVersion.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"customConnectorPluginVersion.js","sourceRoot":"","sources":["../customConnectorPluginVersion.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiDG;AACH,MAAa,4BAA6B,SAAQ,MAAM,CAAC,cAAc;IACnE;;;;;;;;OAQ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CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,2BAA2B,CAAC,GAAG,IAAI,EAAE,yBAAyB,CAAC;YAC9E,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC9C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,4BAA4B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjF,CAAC;;AA7HL,oEA8HC;AAhHG,gBAAgB;AACO,yCAAY,GAAG,gFAAgF,CAAC"}
|
package/dnsForwarder.d.ts
CHANGED
|
@@ -65,13 +65,13 @@ import * as outputs from "./types/output";
|
|
|
65
65
|
*
|
|
66
66
|
* ## Import
|
|
67
67
|
*
|
|
68
|
+
* > **Note:** `CONFLUENT_CLOUD_API_KEY` and `CONFLUENT_CLOUD_API_SECRET` environment variables must be set before importing a DNS Forwarder.
|
|
69
|
+
*
|
|
68
70
|
* You can import a DNS Forwarder by using Environment ID and DNS Forwarder ID, in the format `<Environment ID>/<DNS Forwarder ID>`. The following example shows how to import a DNS Forwarder:
|
|
69
71
|
*
|
|
72
|
+
* ```sh
|
|
70
73
|
* $ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>"
|
|
71
|
-
*
|
|
72
74
|
* $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
|
|
73
|
-
*
|
|
74
|
-
* ```sh
|
|
75
75
|
* $ pulumi import confluentcloud:index/dnsForwarder:DnsForwarder main env-abc123/dnsf-abc123
|
|
76
76
|
* ```
|
|
77
77
|
*
|
package/dnsForwarder.js
CHANGED
|
@@ -69,13 +69,13 @@ const utilities = require("./utilities");
|
|
|
69
69
|
*
|
|
70
70
|
* ## Import
|
|
71
71
|
*
|
|
72
|
+
* > **Note:** `CONFLUENT_CLOUD_API_KEY` and `CONFLUENT_CLOUD_API_SECRET` environment variables must be set before importing a DNS Forwarder.
|
|
73
|
+
*
|
|
72
74
|
* You can import a DNS Forwarder by using Environment ID and DNS Forwarder ID, in the format `<Environment ID>/<DNS Forwarder ID>`. The following example shows how to import a DNS Forwarder:
|
|
73
75
|
*
|
|
76
|
+
* ```sh
|
|
74
77
|
* $ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>"
|
|
75
|
-
*
|
|
76
78
|
* $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
|
|
77
|
-
*
|
|
78
|
-
* ```sh
|
|
79
79
|
* $ pulumi import confluentcloud:index/dnsForwarder:DnsForwarder main env-abc123/dnsf-abc123
|
|
80
80
|
* ```
|
|
81
81
|
*
|
package/dnsRecord.d.ts
CHANGED
|
@@ -30,13 +30,13 @@ import * as outputs from "./types/output";
|
|
|
30
30
|
*
|
|
31
31
|
* ## Import
|
|
32
32
|
*
|
|
33
|
+
* > **Note:** `CONFLUENT_CLOUD_API_KEY` and `CONFLUENT_CLOUD_API_SECRET` environment variables must be set before importing a DNS Record.
|
|
34
|
+
*
|
|
33
35
|
* You can import a DNS Record by using Environment ID and DNS Record ID, in the format `<Environment ID>/<DNS Record ID>`. The following example shows how to import a DNS Record:
|
|
34
36
|
*
|
|
37
|
+
* ```sh
|
|
35
38
|
* $ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>"
|
|
36
|
-
*
|
|
37
39
|
* $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
|
|
38
|
-
*
|
|
39
|
-
* ```sh
|
|
40
40
|
* $ pulumi import confluentcloud:index/dnsRecord:DnsRecord main env-abc123/dnsrec-abc123
|
|
41
41
|
* ```
|
|
42
42
|
*
|
package/dnsRecord.js
CHANGED
|
@@ -34,13 +34,13 @@ const utilities = require("./utilities");
|
|
|
34
34
|
*
|
|
35
35
|
* ## Import
|
|
36
36
|
*
|
|
37
|
+
* > **Note:** `CONFLUENT_CLOUD_API_KEY` and `CONFLUENT_CLOUD_API_SECRET` environment variables must be set before importing a DNS Record.
|
|
38
|
+
*
|
|
37
39
|
* You can import a DNS Record by using Environment ID and DNS Record ID, in the format `<Environment ID>/<DNS Record ID>`. The following example shows how to import a DNS Record:
|
|
38
40
|
*
|
|
41
|
+
* ```sh
|
|
39
42
|
* $ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>"
|
|
40
|
-
*
|
|
41
43
|
* $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
|
|
42
|
-
*
|
|
43
|
-
* ```sh
|
|
44
44
|
* $ pulumi import confluentcloud:index/dnsRecord:DnsRecord main env-abc123/dnsrec-abc123
|
|
45
45
|
* ```
|
|
46
46
|
*
|
package/environment.d.ts
CHANGED
|
@@ -2,6 +2,12 @@ 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.Environment` provides an Environment resource. The resource lets you create, edit and delete environments on Confluent Cloud.
|
|
8
|
+
*
|
|
9
|
+
* > **Note:** It is recommended to set `lifecycle { preventDestroy = true }` on production instances to prevent accidental Environment deletion. This setting rejects plans that would destroy or recreate the Environment, such as attempting to change uneditable attributes. Read more about it in the Terraform docs.
|
|
10
|
+
*
|
|
5
11
|
* ## Example Usage
|
|
6
12
|
*
|
|
7
13
|
* ```typescript
|
|
@@ -43,13 +49,13 @@ import * as outputs from "./types/output";
|
|
|
43
49
|
*
|
|
44
50
|
* ## Import
|
|
45
51
|
*
|
|
52
|
+
* > **Note:** `CONFLUENT_CLOUD_API_KEY` and `CONFLUENT_CLOUD_API_SECRET` environment variables must be set before importing an Environment.
|
|
53
|
+
*
|
|
46
54
|
* You can import an Environment by using Environment ID, for example:
|
|
47
55
|
*
|
|
56
|
+
* ```sh
|
|
48
57
|
* $ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>"
|
|
49
|
-
*
|
|
50
58
|
* $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
|
|
51
|
-
*
|
|
52
|
-
* ```sh
|
|
53
59
|
* $ pulumi import confluentcloud:index/environment:Environment my_env env-abc123
|
|
54
60
|
* ```
|
|
55
61
|
*
|