@pulumi/aiven 4.4.0 → 4.5.1
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/account.d.ts +13 -31
- package/account.js +4 -6
- package/account.js.map +1 -1
- package/accountAuthentication.d.ts +31 -53
- package/accountAuthentication.js +5 -7
- package/accountAuthentication.js.map +1 -1
- package/accountTeam.d.ts +12 -22
- package/accountTeam.js +2 -4
- package/accountTeam.js.map +1 -1
- package/accountTeamMember.d.ts +16 -39
- package/accountTeamMember.js +4 -6
- package/accountTeamMember.js.map +1 -1
- package/accountTeamProject.d.ts +12 -17
- package/accountTeamProject.js +0 -2
- package/accountTeamProject.js.map +1 -1
- package/awsPrivatelink.d.ts +13 -27
- package/awsPrivatelink.js +0 -2
- package/awsPrivatelink.js.map +1 -1
- package/azurePrivatelink.d.ts +120 -0
- package/azurePrivatelink.js +86 -0
- package/azurePrivatelink.js.map +1 -0
- package/azurePrivatelinkConnectionApproval.d.ts +91 -0
- package/azurePrivatelinkConnectionApproval.js +66 -0
- package/azurePrivatelinkConnectionApproval.js.map +1 -0
- package/billingGroup.d.ts +0 -2
- package/billingGroup.js +0 -2
- package/billingGroup.js.map +1 -1
- package/cassandra.d.ts +101 -135
- package/cassandra.js +14 -4
- package/cassandra.js.map +1 -1
- package/clickhouse.d.ts +304 -0
- package/clickhouse.js +122 -0
- package/clickhouse.js.map +1 -0
- package/clickhouseDatabase.d.ts +105 -0
- package/clickhouseDatabase.js +76 -0
- package/clickhouseDatabase.js.map +1 -0
- package/clickhouseGrant.d.ts +169 -0
- package/clickhouseGrant.js +125 -0
- package/clickhouseGrant.js.map +1 -0
- package/clickhouseRole.d.ts +75 -0
- package/clickhouseRole.js +65 -0
- package/clickhouseRole.js.map +1 -0
- package/clickhouseUser.d.ts +112 -0
- package/clickhouseUser.js +84 -0
- package/clickhouseUser.js.map +1 -0
- package/connectionPool.d.ts +23 -53
- package/connectionPool.js +0 -4
- package/connectionPool.js.map +1 -1
- package/database.d.ts +18 -23
- package/database.js +0 -2
- package/database.js.map +1 -1
- package/elasticSearch.d.ts +97 -134
- package/elasticSearch.js +14 -4
- package/elasticSearch.js.map +1 -1
- package/elasticSearchAcl.d.ts +14 -26
- package/elasticSearchAcl.js +2 -5
- package/elasticSearchAcl.js.map +1 -1
- package/elasticSearchAclConfig.d.ts +12 -23
- package/elasticSearchAclConfig.js +0 -2
- package/elasticSearchAclConfig.js.map +1 -1
- package/elasticSearchAclRule.d.ts +15 -20
- package/elasticSearchAclRule.js +0 -2
- package/elasticSearchAclRule.js.map +1 -1
- package/flink.d.ts +311 -0
- package/flink.js +125 -0
- package/flink.js.map +1 -0
- package/flinkJob.d.ts +136 -0
- package/flinkJob.js +100 -0
- package/flinkJob.js.map +1 -0
- package/flinkJobTable.d.ts +224 -0
- package/flinkJobTable.js +114 -0
- package/flinkJobTable.js.map +1 -0
- package/getAccount.d.ts +10 -49
- package/getAccount.js +0 -7
- package/getAccount.js.map +1 -1
- package/getAccountAuthentication.d.ts +21 -103
- package/getAccountAuthentication.js +0 -12
- package/getAccountAuthentication.js.map +1 -1
- package/getAccountTeam.d.ts +13 -33
- package/getAccountTeam.js +0 -5
- package/getAccountTeam.js.map +1 -1
- package/getAccountTeamMember.d.ts +18 -43
- package/getAccountTeamMember.js +0 -5
- package/getAccountTeamMember.js.map +1 -1
- package/getAccountTeamProject.d.ts +17 -21
- package/getAccountTeamProject.js +0 -3
- package/getAccountTeamProject.js.map +1 -1
- package/getAwsPrivatelink.d.ts +14 -42
- package/getAwsPrivatelink.js +0 -5
- package/getAwsPrivatelink.js.map +1 -1
- package/getAzurePrivatelink.d.ts +81 -0
- package/getAzurePrivatelink.js +38 -0
- package/getAzurePrivatelink.js.map +1 -0
- package/getBillingGroup.d.ts +96 -0
- package/getBillingGroup.js +36 -0
- package/getBillingGroup.js.map +1 -0
- package/getCassanda.d.ts +118 -44
- package/getCassanda.js +15 -17
- package/getCassanda.js.map +1 -1
- package/getCassandra.d.ts +62 -223
- package/getCassandra.js +1 -20
- package/getCassandra.js.map +1 -1
- package/getClickhouse.d.ts +154 -0
- package/getClickhouse.js +38 -0
- package/getClickhouse.js.map +1 -0
- package/getClickhouseDatabase.d.ts +75 -0
- package/getClickhouseDatabase.js +40 -0
- package/getClickhouseDatabase.js.map +1 -0
- package/getClickhouseUser.d.ts +86 -0
- package/getClickhouseUser.js +40 -0
- package/getClickhouseUser.js.map +1 -0
- package/getConnectionPool.d.ts +26 -74
- package/getConnectionPool.js +0 -7
- package/getConnectionPool.js.map +1 -1
- package/getDatabase.d.ts +22 -29
- package/getDatabase.js +0 -5
- package/getDatabase.js.map +1 -1
- package/getElasticSearch.d.ts +61 -222
- package/getElasticSearch.js +0 -19
- package/getElasticSearch.js.map +1 -1
- package/getElasticSearchAcl.d.ts +22 -36
- package/getElasticSearchAcl.js +1 -7
- package/getElasticSearchAcl.js.map +1 -1
- package/getElasticSearchAclConfig.d.ts +41 -6
- package/getElasticSearchAclConfig.js +15 -2
- package/getElasticSearchAclConfig.js.map +1 -1
- package/getElasticSearchAclRule.d.ts +56 -2
- package/getElasticSearchAclRule.js +17 -1
- package/getElasticSearchAclRule.js.map +1 -1
- package/getFlink.d.ts +154 -0
- package/getFlink.js +38 -0
- package/getFlink.js.map +1 -0
- package/getGrafana.d.ts +61 -222
- package/getGrafana.js +0 -19
- package/getGrafana.js.map +1 -1
- package/getInfluxDb.d.ts +61 -222
- package/getInfluxDb.js +0 -19
- package/getInfluxDb.js.map +1 -1
- package/getKafka.d.ts +65 -221
- package/getKafka.js +0 -20
- package/getKafka.js.map +1 -1
- package/getKafkaAcl.d.ts +31 -21
- package/getKafkaAcl.js +2 -5
- package/getKafkaAcl.js.map +1 -1
- package/getKafkaConnect.d.ts +61 -222
- package/getKafkaConnect.js +0 -19
- package/getKafkaConnect.js.map +1 -1
- package/getKafkaConnector.d.ts +31 -73
- package/getKafkaConnector.js +0 -15
- package/getKafkaConnector.js.map +1 -1
- package/getKafkaMirrorMaker.d.ts +61 -222
- package/getKafkaMirrorMaker.js +0 -19
- package/getKafkaMirrorMaker.js.map +1 -1
- package/getKafkaSchema.d.ts +23 -37
- package/getKafkaSchema.js +1 -7
- package/getKafkaSchema.js.map +1 -1
- package/getKafkaSchemaConfiguration.d.ts +29 -41
- package/getKafkaSchemaConfiguration.js +4 -10
- package/getKafkaSchemaConfiguration.js.map +1 -1
- package/getKafkaTopic.d.ts +34 -95
- package/getKafkaTopic.js +0 -18
- package/getKafkaTopic.js.map +1 -1
- package/getM3Aggregator.d.ts +62 -223
- package/getM3Aggregator.js +1 -20
- package/getM3Aggregator.js.map +1 -1
- package/getM3Db.d.ts +61 -222
- package/getM3Db.js +0 -19
- package/getM3Db.js.map +1 -1
- package/getMirrorMakerReplicationFlow.d.ts +45 -52
- package/getMirrorMakerReplicationFlow.js +1 -11
- package/getMirrorMakerReplicationFlow.js.map +1 -1
- package/getMySql.d.ts +61 -222
- package/getMySql.js +0 -19
- package/getMySql.js.map +1 -1
- package/getOpenSearch.d.ts +61 -216
- package/getOpenSearch.js +0 -19
- package/getOpenSearch.js.map +1 -1
- package/getOpenSearchAclConfig.d.ts +41 -6
- package/getOpenSearchAclConfig.js +15 -2
- package/getOpenSearchAclConfig.js.map +1 -1
- package/getOpenSearchAclRule.d.ts +62 -0
- package/getOpenSearchAclRule.js +17 -0
- package/getOpenSearchAclRule.js.map +1 -1
- package/getPg.d.ts +61 -222
- package/getPg.js +0 -19
- package/getPg.js.map +1 -1
- package/getProject.d.ts +49 -166
- package/getProject.js +0 -20
- package/getProject.js.map +1 -1
- package/getProjectUser.d.ts +13 -34
- package/getProjectUser.js +0 -4
- package/getProjectUser.js.map +1 -1
- package/getProjectVpc.d.ts +13 -30
- package/getProjectVpc.js +0 -4
- package/getProjectVpc.js.map +1 -1
- package/getRedis.d.ts +60 -221
- package/getRedis.js +0 -19
- package/getRedis.js.map +1 -1
- package/getService.d.ts +203 -105
- package/getService.js +3 -37
- package/getService.js.map +1 -1
- package/getServiceComponent.d.ts +38 -90
- package/getServiceComponent.js +1 -22
- package/getServiceComponent.js.map +1 -1
- package/getServiceIntegration.d.ts +67 -95
- package/getServiceIntegration.js +1 -41
- package/getServiceIntegration.js.map +1 -1
- package/getServiceIntegrationEndpoint.d.ts +61 -63
- package/getServiceIntegrationEndpoint.js +1 -17
- package/getServiceIntegrationEndpoint.js.map +1 -1
- package/getServiceUser.d.ts +37 -78
- package/getServiceUser.js +0 -13
- package/getServiceUser.js.map +1 -1
- package/getTransitGatewayVpcAttachment.d.ts +29 -40
- package/getTransitGatewayVpcAttachment.js +1 -9
- package/getTransitGatewayVpcAttachment.js.map +1 -1
- package/getVpcPeeringConnection.d.ts +27 -92
- package/getVpcPeeringConnection.js +1 -11
- package/getVpcPeeringConnection.js.map +1 -1
- package/grafana.d.ts +97 -134
- package/grafana.js +14 -4
- package/grafana.js.map +1 -1
- package/index.d.ts +17 -0
- package/index.js +61 -0
- package/index.js.map +1 -1
- package/influxDb.d.ts +97 -131
- package/influxDb.js +14 -4
- package/influxDb.js.map +1 -1
- package/kafka.d.ts +110 -128
- package/kafka.js +14 -2
- package/kafka.js.map +1 -1
- package/kafkaAcl.d.ts +15 -29
- package/kafkaAcl.js +0 -2
- package/kafkaAcl.js.map +1 -1
- package/kafkaConnect.d.ts +97 -134
- package/kafkaConnect.js +14 -4
- package/kafkaConnect.js.map +1 -1
- package/kafkaConnector.d.ts +34 -44
- package/kafkaConnector.js +8 -16
- package/kafkaConnector.js.map +1 -1
- package/kafkaMirrorMaker.d.ts +97 -131
- package/kafkaMirrorMaker.js +14 -4
- package/kafkaMirrorMaker.js.map +1 -1
- package/kafkaSchema.d.ts +45 -31
- package/kafkaSchema.js +28 -2
- package/kafkaSchema.js.map +1 -1
- package/kafkaSchemaConfiguration.d.ts +11 -31
- package/kafkaSchemaConfiguration.js +0 -5
- package/kafkaSchemaConfiguration.js.map +1 -1
- package/kafkaTopic.d.ts +58 -48
- package/kafkaTopic.js +28 -0
- package/kafkaTopic.js.map +1 -1
- package/m3aggregator.d.ts +97 -131
- package/m3aggregator.js +14 -4
- package/m3aggregator.js.map +1 -1
- package/m3db.d.ts +97 -131
- package/m3db.js +14 -4
- package/m3db.js.map +1 -1
- package/mirrorMakerReplicationFlow.d.ts +34 -40
- package/mirrorMakerReplicationFlow.js +1 -4
- package/mirrorMakerReplicationFlow.js.map +1 -1
- package/mySql.d.ts +104 -150
- package/mySql.js +14 -4
- package/mySql.js.map +1 -1
- package/openSearch.d.ts +101 -132
- package/openSearch.js +14 -4
- package/openSearch.js.map +1 -1
- package/openSearchAclConfig.d.ts +31 -29
- package/openSearchAclConfig.js +19 -8
- package/openSearchAclConfig.js.map +1 -1
- package/openSearchAclRule.d.ts +30 -35
- package/openSearchAclRule.js +15 -17
- package/openSearchAclRule.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/pg.d.ts +101 -126
- package/pg.js +15 -0
- package/pg.js.map +1 -1
- package/project.d.ts +60 -121
- package/project.js +3 -5
- package/project.js.map +1 -1
- package/projectUser.d.ts +11 -19
- package/projectUser.js +0 -2
- package/projectUser.js.map +1 -1
- package/projectVpc.d.ts +11 -18
- package/projectVpc.js +0 -2
- package/projectVpc.js.map +1 -1
- package/redis.d.ts +99 -136
- package/redis.js +13 -3
- package/redis.js.map +1 -1
- package/service.d.ts +184 -121
- package/service.js +44 -21
- package/service.js.map +1 -1
- package/serviceIntegration.d.ts +18 -185
- package/serviceIntegration.js +4 -40
- package/serviceIntegration.js.map +1 -1
- package/serviceIntegrationEndpoint.d.ts +9 -49
- package/serviceIntegrationEndpoint.js +0 -34
- package/serviceIntegrationEndpoint.js.map +1 -1
- package/serviceUser.d.ts +45 -40
- package/serviceUser.js +2 -4
- package/serviceUser.js.map +1 -1
- package/staticIp.d.ts +95 -0
- package/staticIp.js +68 -0
- package/staticIp.js.map +1 -0
- package/transitGatewayVpcAttachment.d.ts +16 -19
- package/transitGatewayVpcAttachment.js +1 -4
- package/transitGatewayVpcAttachment.js.map +1 -1
- package/types/input.d.ts +1440 -9809
- package/types/output.d.ts +1744 -3691
- package/vpcPeeringConnection.d.ts +27 -58
- package/vpcPeeringConnection.js +0 -22
- package/vpcPeeringConnection.js.map +1 -1
package/kafkaConnector.d.ts
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import { input as inputs, output as outputs } from "./types";
|
|
3
3
|
/**
|
|
4
|
-
* ## # Kafka connectors Resource
|
|
5
|
-
*
|
|
6
4
|
* The Kafka connectors resource allows the creation and management of Aiven Kafka connectors.
|
|
7
5
|
*
|
|
8
6
|
* ## Example Usage
|
|
@@ -11,27 +9,21 @@ import { input as inputs, output as outputs } from "./types";
|
|
|
11
9
|
* import * as pulumi from "@pulumi/pulumi";
|
|
12
10
|
* import * as aiven from "@pulumi/aiven";
|
|
13
11
|
*
|
|
14
|
-
* const
|
|
12
|
+
* const kafka_os_con1 = new aiven.KafkaConnector("kafka-os-con1", {
|
|
15
13
|
* project: aiven_project["kafka-con-project1"].project,
|
|
16
14
|
* serviceName: aiven_kafka["kafka-service1"].service_name,
|
|
17
|
-
* connectorName: "kafka-
|
|
15
|
+
* connectorName: "kafka-os-con1",
|
|
18
16
|
* config: {
|
|
19
17
|
* topics: aiven_kafka_topic["kafka-topic1"].topic_name,
|
|
20
|
-
* "connector.class": "io.aiven.connect.
|
|
21
|
-
* "type.name": "
|
|
22
|
-
* name: "kafka-
|
|
23
|
-
* "connection.url":
|
|
18
|
+
* "connector.class": "io.aiven.kafka.connect.opensearch.OpensearchSinkConnector",
|
|
19
|
+
* "type.name": "os-connector",
|
|
20
|
+
* name: "kafka-os-con1",
|
|
21
|
+
* "connection.url": `${aiven_opensearch["os-service1"].service_host}:${aiven_opensearch["os-service1"].service_port}`,
|
|
22
|
+
* "connection.username": aiven_opensearch["os-service1"].service_username,
|
|
23
|
+
* "connection.password": aiven_opensearch["os-service1"].service_password,
|
|
24
24
|
* },
|
|
25
25
|
* });
|
|
26
26
|
* ```
|
|
27
|
-
*
|
|
28
|
-
* * `project` and `serviceName`- (Required) define the project and service the Kafka Connectors belongs to.
|
|
29
|
-
* They should be defined using reference as shown above to set up dependencies correctly.
|
|
30
|
-
*
|
|
31
|
-
* * `connectorName`- (Required) is the Kafka connector name.
|
|
32
|
-
*
|
|
33
|
-
* * `config`- (Required)is the Kafka Connector configuration parameters, where `topics`, `connector.class` and `name`
|
|
34
|
-
* are required parameters but the rest of them are connector type specific.
|
|
35
27
|
*/
|
|
36
28
|
export declare class KafkaConnector extends pulumi.CustomResource {
|
|
37
29
|
/**
|
|
@@ -50,50 +42,49 @@ export declare class KafkaConnector extends pulumi.CustomResource {
|
|
|
50
42
|
*/
|
|
51
43
|
static isInstance(obj: any): obj is KafkaConnector;
|
|
52
44
|
/**
|
|
53
|
-
* Kafka Connector configuration parameters
|
|
45
|
+
* The Kafka Connector configuration parameters.
|
|
54
46
|
*/
|
|
55
47
|
readonly config: pulumi.Output<{
|
|
56
48
|
[key: string]: string;
|
|
57
49
|
}>;
|
|
58
50
|
/**
|
|
59
|
-
*
|
|
51
|
+
* The kafka connector name. This property cannot be changed, doing so forces recreation of the resource.
|
|
60
52
|
*/
|
|
61
53
|
readonly connectorName: pulumi.Output<string>;
|
|
62
54
|
/**
|
|
63
|
-
* Kafka connector author.
|
|
55
|
+
* The Kafka connector author.
|
|
64
56
|
*/
|
|
65
57
|
readonly pluginAuthor: pulumi.Output<string>;
|
|
66
58
|
/**
|
|
67
|
-
* Kafka connector Java class.
|
|
59
|
+
* The Kafka connector Java class.
|
|
68
60
|
*/
|
|
69
61
|
readonly pluginClass: pulumi.Output<string>;
|
|
70
62
|
/**
|
|
71
|
-
* Kafka connector documentation URL.
|
|
63
|
+
* The Kafka connector documentation URL.
|
|
72
64
|
*/
|
|
73
65
|
readonly pluginDocUrl: pulumi.Output<string>;
|
|
74
66
|
/**
|
|
75
|
-
* Kafka connector title.
|
|
67
|
+
* The Kafka connector title.
|
|
76
68
|
*/
|
|
77
69
|
readonly pluginTitle: pulumi.Output<string>;
|
|
78
70
|
/**
|
|
79
|
-
* Kafka connector type.
|
|
71
|
+
* The Kafka connector type.
|
|
80
72
|
*/
|
|
81
73
|
readonly pluginType: pulumi.Output<string>;
|
|
82
74
|
/**
|
|
83
|
-
*
|
|
75
|
+
* The version of the kafka connector.
|
|
84
76
|
*/
|
|
85
77
|
readonly pluginVersion: pulumi.Output<string>;
|
|
86
78
|
/**
|
|
87
|
-
*
|
|
79
|
+
* Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
|
|
88
80
|
*/
|
|
89
81
|
readonly project: pulumi.Output<string>;
|
|
90
82
|
/**
|
|
91
|
-
*
|
|
83
|
+
* Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
|
|
92
84
|
*/
|
|
93
85
|
readonly serviceName: pulumi.Output<string>;
|
|
94
86
|
/**
|
|
95
|
-
* List of tasks of a connector
|
|
96
|
-
* (Related connector name) and `task` (Task id / number).
|
|
87
|
+
* List of tasks of a connector.
|
|
97
88
|
*/
|
|
98
89
|
readonly tasks: pulumi.Output<outputs.KafkaConnectorTask[]>;
|
|
99
90
|
/**
|
|
@@ -110,50 +101,49 @@ export declare class KafkaConnector extends pulumi.CustomResource {
|
|
|
110
101
|
*/
|
|
111
102
|
export interface KafkaConnectorState {
|
|
112
103
|
/**
|
|
113
|
-
* Kafka Connector configuration parameters
|
|
104
|
+
* The Kafka Connector configuration parameters.
|
|
114
105
|
*/
|
|
115
106
|
config?: pulumi.Input<{
|
|
116
107
|
[key: string]: pulumi.Input<string>;
|
|
117
108
|
}>;
|
|
118
109
|
/**
|
|
119
|
-
*
|
|
110
|
+
* The kafka connector name. This property cannot be changed, doing so forces recreation of the resource.
|
|
120
111
|
*/
|
|
121
112
|
connectorName?: pulumi.Input<string>;
|
|
122
113
|
/**
|
|
123
|
-
* Kafka connector author.
|
|
114
|
+
* The Kafka connector author.
|
|
124
115
|
*/
|
|
125
116
|
pluginAuthor?: pulumi.Input<string>;
|
|
126
117
|
/**
|
|
127
|
-
* Kafka connector Java class.
|
|
118
|
+
* The Kafka connector Java class.
|
|
128
119
|
*/
|
|
129
120
|
pluginClass?: pulumi.Input<string>;
|
|
130
121
|
/**
|
|
131
|
-
* Kafka connector documentation URL.
|
|
122
|
+
* The Kafka connector documentation URL.
|
|
132
123
|
*/
|
|
133
124
|
pluginDocUrl?: pulumi.Input<string>;
|
|
134
125
|
/**
|
|
135
|
-
* Kafka connector title.
|
|
126
|
+
* The Kafka connector title.
|
|
136
127
|
*/
|
|
137
128
|
pluginTitle?: pulumi.Input<string>;
|
|
138
129
|
/**
|
|
139
|
-
* Kafka connector type.
|
|
130
|
+
* The Kafka connector type.
|
|
140
131
|
*/
|
|
141
132
|
pluginType?: pulumi.Input<string>;
|
|
142
133
|
/**
|
|
143
|
-
*
|
|
134
|
+
* The version of the kafka connector.
|
|
144
135
|
*/
|
|
145
136
|
pluginVersion?: pulumi.Input<string>;
|
|
146
137
|
/**
|
|
147
|
-
*
|
|
138
|
+
* Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
|
|
148
139
|
*/
|
|
149
140
|
project?: pulumi.Input<string>;
|
|
150
141
|
/**
|
|
151
|
-
*
|
|
142
|
+
* Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
|
|
152
143
|
*/
|
|
153
144
|
serviceName?: pulumi.Input<string>;
|
|
154
145
|
/**
|
|
155
|
-
* List of tasks of a connector
|
|
156
|
-
* (Related connector name) and `task` (Task id / number).
|
|
146
|
+
* List of tasks of a connector.
|
|
157
147
|
*/
|
|
158
148
|
tasks?: pulumi.Input<pulumi.Input<inputs.KafkaConnectorTask>[]>;
|
|
159
149
|
}
|
|
@@ -162,21 +152,21 @@ export interface KafkaConnectorState {
|
|
|
162
152
|
*/
|
|
163
153
|
export interface KafkaConnectorArgs {
|
|
164
154
|
/**
|
|
165
|
-
* Kafka Connector configuration parameters
|
|
155
|
+
* The Kafka Connector configuration parameters.
|
|
166
156
|
*/
|
|
167
157
|
config: pulumi.Input<{
|
|
168
158
|
[key: string]: pulumi.Input<string>;
|
|
169
159
|
}>;
|
|
170
160
|
/**
|
|
171
|
-
*
|
|
161
|
+
* The kafka connector name. This property cannot be changed, doing so forces recreation of the resource.
|
|
172
162
|
*/
|
|
173
163
|
connectorName: pulumi.Input<string>;
|
|
174
164
|
/**
|
|
175
|
-
*
|
|
165
|
+
* Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
|
|
176
166
|
*/
|
|
177
167
|
project: pulumi.Input<string>;
|
|
178
168
|
/**
|
|
179
|
-
*
|
|
169
|
+
* Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
|
|
180
170
|
*/
|
|
181
171
|
serviceName: pulumi.Input<string>;
|
|
182
172
|
}
|
package/kafkaConnector.js
CHANGED
|
@@ -6,8 +6,6 @@ exports.KafkaConnector = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* ## # Kafka connectors Resource
|
|
10
|
-
*
|
|
11
9
|
* The Kafka connectors resource allows the creation and management of Aiven Kafka connectors.
|
|
12
10
|
*
|
|
13
11
|
* ## Example Usage
|
|
@@ -16,27 +14,21 @@ const utilities = require("./utilities");
|
|
|
16
14
|
* import * as pulumi from "@pulumi/pulumi";
|
|
17
15
|
* import * as aiven from "@pulumi/aiven";
|
|
18
16
|
*
|
|
19
|
-
* const
|
|
17
|
+
* const kafka_os_con1 = new aiven.KafkaConnector("kafka-os-con1", {
|
|
20
18
|
* project: aiven_project["kafka-con-project1"].project,
|
|
21
19
|
* serviceName: aiven_kafka["kafka-service1"].service_name,
|
|
22
|
-
* connectorName: "kafka-
|
|
20
|
+
* connectorName: "kafka-os-con1",
|
|
23
21
|
* config: {
|
|
24
22
|
* topics: aiven_kafka_topic["kafka-topic1"].topic_name,
|
|
25
|
-
* "connector.class": "io.aiven.connect.
|
|
26
|
-
* "type.name": "
|
|
27
|
-
* name: "kafka-
|
|
28
|
-
* "connection.url":
|
|
23
|
+
* "connector.class": "io.aiven.kafka.connect.opensearch.OpensearchSinkConnector",
|
|
24
|
+
* "type.name": "os-connector",
|
|
25
|
+
* name: "kafka-os-con1",
|
|
26
|
+
* "connection.url": `${aiven_opensearch["os-service1"].service_host}:${aiven_opensearch["os-service1"].service_port}`,
|
|
27
|
+
* "connection.username": aiven_opensearch["os-service1"].service_username,
|
|
28
|
+
* "connection.password": aiven_opensearch["os-service1"].service_password,
|
|
29
29
|
* },
|
|
30
30
|
* });
|
|
31
31
|
* ```
|
|
32
|
-
*
|
|
33
|
-
* * `project` and `serviceName`- (Required) define the project and service the Kafka Connectors belongs to.
|
|
34
|
-
* They should be defined using reference as shown above to set up dependencies correctly.
|
|
35
|
-
*
|
|
36
|
-
* * `connectorName`- (Required) is the Kafka connector name.
|
|
37
|
-
*
|
|
38
|
-
* * `config`- (Required)is the Kafka Connector configuration parameters, where `topics`, `connector.class` and `name`
|
|
39
|
-
* are required parameters but the rest of them are connector type specific.
|
|
40
32
|
*/
|
|
41
33
|
class KafkaConnector extends pulumi.CustomResource {
|
|
42
34
|
constructor(name, argsOrState, opts) {
|
package/kafkaConnector.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kafkaConnector.js","sourceRoot":"","sources":["../kafkaConnector.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"kafkaConnector.js","sourceRoot":"","sources":["../kafkaConnector.ts"],"names":[],"mappings":";AAAA,wFAAwF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