@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/kafkaSchema.js
CHANGED
|
@@ -6,9 +6,35 @@ exports.KafkaSchema = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* ## # Kafka Schema Resource
|
|
10
|
-
*
|
|
11
9
|
* The Kafka Schema resource allows the creation and management of Aiven Kafka Schemas.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as aiven from "@pulumi/aiven";
|
|
16
|
+
*
|
|
17
|
+
* const kafka_schema1 = new aiven.KafkaSchema("kafka-schema1", {
|
|
18
|
+
* project: aiven_project["kafka-schemas-project1"].project,
|
|
19
|
+
* serviceName: aiven_kafka["kafka-service1"].service_name,
|
|
20
|
+
* subjectName: "kafka-schema1",
|
|
21
|
+
* compatibilityLevel: "FORWARD",
|
|
22
|
+
* schema: ` {
|
|
23
|
+
* "doc": "example",
|
|
24
|
+
* "fields": [{
|
|
25
|
+
* "default": 5,
|
|
26
|
+
* "doc": "my test number",
|
|
27
|
+
* "name": "test",
|
|
28
|
+
* "namespace": "test",
|
|
29
|
+
* "type": "int"
|
|
30
|
+
* }],
|
|
31
|
+
* "name": "example",
|
|
32
|
+
* "namespace": "example",
|
|
33
|
+
* "type": "record"
|
|
34
|
+
* }
|
|
35
|
+
* `,
|
|
36
|
+
* });
|
|
37
|
+
* ```
|
|
12
38
|
*/
|
|
13
39
|
class KafkaSchema extends pulumi.CustomResource {
|
|
14
40
|
constructor(name, argsOrState, opts) {
|
package/kafkaSchema.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kafkaSchema.js","sourceRoot":"","sources":["../kafkaSchema.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"kafkaSchema.js","sourceRoot":"","sources":["../kafkaSchema.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IA6DlD,YAAY,IAAY,EAAE,WAAgD,EAAE,IAAmC;QAC3G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA2C,CAAC;YAC1D,cAAc,CAAC,oBAAoB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAAC,CAAC,SAAS,CAAC;YACpF,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;SACjE;aAAM;YACH,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SAAS,CAAC;YACpE,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACjD;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;IA9FD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClE,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,WAAW,CAAC,YAAY,CAAC;IAC5D,CAAC;;AA1BL,kCAgGC;AAlFG,gBAAgB;AACO,wBAAY,GAAG,qCAAqC,CAAC"}
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* ## # Kafka Schema Configuration Resource
|
|
4
|
-
*
|
|
5
3
|
* The Kafka Schema Configuration resource allows the creation and management of Aiven Kafka Schema Configurations.
|
|
6
4
|
*
|
|
7
5
|
* ## Example Usage
|
|
@@ -34,21 +32,15 @@ export declare class KafkaSchemaConfiguration extends pulumi.CustomResource {
|
|
|
34
32
|
*/
|
|
35
33
|
static isInstance(obj: any): obj is KafkaSchemaConfiguration;
|
|
36
34
|
/**
|
|
37
|
-
*
|
|
38
|
-
* for `aiven.KafkaSchemaConfiguration` resource. Also, Kafka Schema configuration
|
|
39
|
-
* compatibility level can be overridden for a specific subject when used in `aiven.KafkaSchema`
|
|
40
|
-
* resource. If the compatibility level not specified for the individual subject by default,
|
|
41
|
-
* it takes a global value. Allowed values: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`,
|
|
42
|
-
* `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, `NONE`.
|
|
35
|
+
* Kafka Schemas compatibility level. The possible values are `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE` and `NONE`.
|
|
43
36
|
*/
|
|
44
|
-
readonly compatibilityLevel: pulumi.Output<string>;
|
|
37
|
+
readonly compatibilityLevel: pulumi.Output<string | undefined>;
|
|
45
38
|
/**
|
|
46
|
-
*
|
|
47
|
-
* They should be defined using reference as shown above to set up dependencies correctly.
|
|
39
|
+
* 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.
|
|
48
40
|
*/
|
|
49
41
|
readonly project: pulumi.Output<string>;
|
|
50
42
|
/**
|
|
51
|
-
*
|
|
43
|
+
* 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.
|
|
52
44
|
*/
|
|
53
45
|
readonly serviceName: pulumi.Output<string>;
|
|
54
46
|
/**
|
|
@@ -65,21 +57,15 @@ export declare class KafkaSchemaConfiguration extends pulumi.CustomResource {
|
|
|
65
57
|
*/
|
|
66
58
|
export interface KafkaSchemaConfigurationState {
|
|
67
59
|
/**
|
|
68
|
-
*
|
|
69
|
-
* for `aiven.KafkaSchemaConfiguration` resource. Also, Kafka Schema configuration
|
|
70
|
-
* compatibility level can be overridden for a specific subject when used in `aiven.KafkaSchema`
|
|
71
|
-
* resource. If the compatibility level not specified for the individual subject by default,
|
|
72
|
-
* it takes a global value. Allowed values: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`,
|
|
73
|
-
* `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, `NONE`.
|
|
60
|
+
* Kafka Schemas compatibility level. The possible values are `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE` and `NONE`.
|
|
74
61
|
*/
|
|
75
62
|
compatibilityLevel?: pulumi.Input<string>;
|
|
76
63
|
/**
|
|
77
|
-
*
|
|
78
|
-
* They should be defined using reference as shown above to set up dependencies correctly.
|
|
64
|
+
* 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.
|
|
79
65
|
*/
|
|
80
66
|
project?: pulumi.Input<string>;
|
|
81
67
|
/**
|
|
82
|
-
*
|
|
68
|
+
* 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.
|
|
83
69
|
*/
|
|
84
70
|
serviceName?: pulumi.Input<string>;
|
|
85
71
|
}
|
|
@@ -88,21 +74,15 @@ export interface KafkaSchemaConfigurationState {
|
|
|
88
74
|
*/
|
|
89
75
|
export interface KafkaSchemaConfigurationArgs {
|
|
90
76
|
/**
|
|
91
|
-
*
|
|
92
|
-
* for `aiven.KafkaSchemaConfiguration` resource. Also, Kafka Schema configuration
|
|
93
|
-
* compatibility level can be overridden for a specific subject when used in `aiven.KafkaSchema`
|
|
94
|
-
* resource. If the compatibility level not specified for the individual subject by default,
|
|
95
|
-
* it takes a global value. Allowed values: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`,
|
|
96
|
-
* `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, `NONE`.
|
|
77
|
+
* Kafka Schemas compatibility level. The possible values are `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE` and `NONE`.
|
|
97
78
|
*/
|
|
98
|
-
compatibilityLevel
|
|
79
|
+
compatibilityLevel?: pulumi.Input<string>;
|
|
99
80
|
/**
|
|
100
|
-
*
|
|
101
|
-
* They should be defined using reference as shown above to set up dependencies correctly.
|
|
81
|
+
* 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.
|
|
102
82
|
*/
|
|
103
83
|
project: pulumi.Input<string>;
|
|
104
84
|
/**
|
|
105
|
-
*
|
|
85
|
+
* 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.
|
|
106
86
|
*/
|
|
107
87
|
serviceName: pulumi.Input<string>;
|
|
108
88
|
}
|
|
@@ -6,8 +6,6 @@ exports.KafkaSchemaConfiguration = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* ## # Kafka Schema Configuration Resource
|
|
10
|
-
*
|
|
11
9
|
* The Kafka Schema Configuration resource allows the creation and management of Aiven Kafka Schema Configurations.
|
|
12
10
|
*
|
|
13
11
|
* ## Example Usage
|
|
@@ -35,9 +33,6 @@ class KafkaSchemaConfiguration extends pulumi.CustomResource {
|
|
|
35
33
|
}
|
|
36
34
|
else {
|
|
37
35
|
const args = argsOrState;
|
|
38
|
-
if ((!args || args.compatibilityLevel === undefined) && !opts.urn) {
|
|
39
|
-
throw new Error("Missing required property 'compatibilityLevel'");
|
|
40
|
-
}
|
|
41
36
|
if ((!args || args.project === undefined) && !opts.urn) {
|
|
42
37
|
throw new Error("Missing required property 'project'");
|
|
43
38
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kafkaSchemaConfiguration.js","sourceRoot":"","sources":["../kafkaSchemaConfiguration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"kafkaSchemaConfiguration.js","sourceRoot":"","sources":["../kafkaSchemaConfiguration.ts"],"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AAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;SACvE;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;IAtED;;;;;;;;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;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,wBAAwB,CAAC,YAAY,CAAC;IACzE,CAAC;;AA1BL,4DAwEC;AA1DG,gBAAgB;AACO,qCAAY,GAAG,+DAA+D,CAAC"}
|
package/kafkaTopic.d.ts
CHANGED
|
@@ -1,5 +1,33 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import { input as inputs, output as outputs } from "./types";
|
|
3
|
+
/**
|
|
4
|
+
* The Kafka Topic resource allows the creation and management of Aiven Kafka Topics.
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as aiven from "@pulumi/aiven";
|
|
11
|
+
*
|
|
12
|
+
* const mytesttopic = new aiven.KafkaTopic("mytesttopic", {
|
|
13
|
+
* project: aiven_project.myproject.project,
|
|
14
|
+
* serviceName: aiven_kafka.myservice.service_name,
|
|
15
|
+
* topicName: "<TOPIC_NAME>",
|
|
16
|
+
* partitions: 5,
|
|
17
|
+
* replication: 3,
|
|
18
|
+
* terminationProtection: true,
|
|
19
|
+
* config: {
|
|
20
|
+
* flushMs: 10,
|
|
21
|
+
* uncleanLeaderElectionEnable: true,
|
|
22
|
+
* cleanupPolicy: "compact,delete",
|
|
23
|
+
* },
|
|
24
|
+
* timeouts: [{
|
|
25
|
+
* create: "1m",
|
|
26
|
+
* read: "5m",
|
|
27
|
+
* }],
|
|
28
|
+
* });
|
|
29
|
+
* ```
|
|
30
|
+
*/
|
|
3
31
|
export declare class KafkaTopic extends pulumi.CustomResource {
|
|
4
32
|
/**
|
|
5
33
|
* Get an existing KafkaTopic resource's state with the given name, ID, and optional extra
|
|
@@ -17,7 +45,7 @@ export declare class KafkaTopic extends pulumi.CustomResource {
|
|
|
17
45
|
*/
|
|
18
46
|
static isInstance(obj: any): obj is KafkaTopic;
|
|
19
47
|
/**
|
|
20
|
-
* cleanup.
|
|
48
|
+
* **DEPRECATED use config.cleanup_policy instead** Topic cleanup policy. The possible values are `delete` and `compact`.
|
|
21
49
|
*
|
|
22
50
|
* @deprecated use config.cleanup_policy instead
|
|
23
51
|
*/
|
|
@@ -27,45 +55,41 @@ export declare class KafkaTopic extends pulumi.CustomResource {
|
|
|
27
55
|
*/
|
|
28
56
|
readonly config: pulumi.Output<outputs.KafkaTopicConfig | undefined>;
|
|
29
57
|
/**
|
|
30
|
-
* Minimum required nodes in-sync replicas
|
|
31
|
-
* (ISR) to produce to a partition.
|
|
58
|
+
* **DEPRECATED use config.min*insync*replicas instead** Minimum required nodes in-sync replicas (ISR) to produce to a partition.
|
|
32
59
|
*
|
|
33
60
|
* @deprecated use config.min_insync_replicas instead
|
|
34
61
|
*/
|
|
35
62
|
readonly minimumInSyncReplicas: pulumi.Output<number | undefined>;
|
|
36
63
|
/**
|
|
37
|
-
*
|
|
64
|
+
* The number of partitions to create in the topic.
|
|
38
65
|
*/
|
|
39
66
|
readonly partitions: pulumi.Output<number>;
|
|
40
67
|
/**
|
|
41
|
-
*
|
|
42
|
-
* They should be defined using reference as shown above to set up dependencies correctly.
|
|
43
|
-
* These properties cannot be changed once the service is created. Doing so will result in
|
|
44
|
-
* the topic being deleted and new one created instead.
|
|
68
|
+
* 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.
|
|
45
69
|
*/
|
|
46
70
|
readonly project: pulumi.Output<string>;
|
|
47
71
|
/**
|
|
48
|
-
*
|
|
72
|
+
* The replication factor for the topic.
|
|
49
73
|
*/
|
|
50
74
|
readonly replication: pulumi.Output<number>;
|
|
51
75
|
/**
|
|
52
|
-
*
|
|
76
|
+
* **DEPRECATED use config.retention_bytes instead** Retention bytes.
|
|
53
77
|
*
|
|
54
78
|
* @deprecated use config.retention_bytes instead
|
|
55
79
|
*/
|
|
56
80
|
readonly retentionBytes: pulumi.Output<number | undefined>;
|
|
57
81
|
/**
|
|
58
|
-
*
|
|
82
|
+
* **DEPRECATED use config.retention_ms instead** Retention period (hours).
|
|
59
83
|
*
|
|
60
84
|
* @deprecated use config.retention_ms instead
|
|
61
85
|
*/
|
|
62
86
|
readonly retentionHours: pulumi.Output<number | undefined>;
|
|
63
87
|
/**
|
|
64
|
-
*
|
|
88
|
+
* 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.
|
|
65
89
|
*/
|
|
66
90
|
readonly serviceName: pulumi.Output<string>;
|
|
67
91
|
/**
|
|
68
|
-
* Kafka Topic tag
|
|
92
|
+
* Kafka Topic tag.
|
|
69
93
|
*/
|
|
70
94
|
readonly tags: pulumi.Output<outputs.KafkaTopicTag[] | undefined>;
|
|
71
95
|
/**
|
|
@@ -74,9 +98,7 @@ export declare class KafkaTopic extends pulumi.CustomResource {
|
|
|
74
98
|
*/
|
|
75
99
|
readonly terminationProtection: pulumi.Output<boolean | undefined>;
|
|
76
100
|
/**
|
|
77
|
-
*
|
|
78
|
-
* once the service is created. Doing so will result in the topic being deleted and new one
|
|
79
|
-
* created instead.
|
|
101
|
+
* The name of the topic. This property cannot be changed, doing so forces recreation of the resource.
|
|
80
102
|
*/
|
|
81
103
|
readonly topicName: pulumi.Output<string>;
|
|
82
104
|
/**
|
|
@@ -93,7 +115,7 @@ export declare class KafkaTopic extends pulumi.CustomResource {
|
|
|
93
115
|
*/
|
|
94
116
|
export interface KafkaTopicState {
|
|
95
117
|
/**
|
|
96
|
-
* cleanup.
|
|
118
|
+
* **DEPRECATED use config.cleanup_policy instead** Topic cleanup policy. The possible values are `delete` and `compact`.
|
|
97
119
|
*
|
|
98
120
|
* @deprecated use config.cleanup_policy instead
|
|
99
121
|
*/
|
|
@@ -103,45 +125,41 @@ export interface KafkaTopicState {
|
|
|
103
125
|
*/
|
|
104
126
|
config?: pulumi.Input<inputs.KafkaTopicConfig>;
|
|
105
127
|
/**
|
|
106
|
-
* Minimum required nodes in-sync replicas
|
|
107
|
-
* (ISR) to produce to a partition.
|
|
128
|
+
* **DEPRECATED use config.min*insync*replicas instead** Minimum required nodes in-sync replicas (ISR) to produce to a partition.
|
|
108
129
|
*
|
|
109
130
|
* @deprecated use config.min_insync_replicas instead
|
|
110
131
|
*/
|
|
111
132
|
minimumInSyncReplicas?: pulumi.Input<number>;
|
|
112
133
|
/**
|
|
113
|
-
*
|
|
134
|
+
* The number of partitions to create in the topic.
|
|
114
135
|
*/
|
|
115
136
|
partitions?: pulumi.Input<number>;
|
|
116
137
|
/**
|
|
117
|
-
*
|
|
118
|
-
* They should be defined using reference as shown above to set up dependencies correctly.
|
|
119
|
-
* These properties cannot be changed once the service is created. Doing so will result in
|
|
120
|
-
* the topic being deleted and new one created instead.
|
|
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.
|
|
121
139
|
*/
|
|
122
140
|
project?: pulumi.Input<string>;
|
|
123
141
|
/**
|
|
124
|
-
*
|
|
142
|
+
* The replication factor for the topic.
|
|
125
143
|
*/
|
|
126
144
|
replication?: pulumi.Input<number>;
|
|
127
145
|
/**
|
|
128
|
-
*
|
|
146
|
+
* **DEPRECATED use config.retention_bytes instead** Retention bytes.
|
|
129
147
|
*
|
|
130
148
|
* @deprecated use config.retention_bytes instead
|
|
131
149
|
*/
|
|
132
150
|
retentionBytes?: pulumi.Input<number>;
|
|
133
151
|
/**
|
|
134
|
-
*
|
|
152
|
+
* **DEPRECATED use config.retention_ms instead** Retention period (hours).
|
|
135
153
|
*
|
|
136
154
|
* @deprecated use config.retention_ms instead
|
|
137
155
|
*/
|
|
138
156
|
retentionHours?: pulumi.Input<number>;
|
|
139
157
|
/**
|
|
140
|
-
*
|
|
158
|
+
* 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.
|
|
141
159
|
*/
|
|
142
160
|
serviceName?: pulumi.Input<string>;
|
|
143
161
|
/**
|
|
144
|
-
* Kafka Topic tag
|
|
162
|
+
* Kafka Topic tag.
|
|
145
163
|
*/
|
|
146
164
|
tags?: pulumi.Input<pulumi.Input<inputs.KafkaTopicTag>[]>;
|
|
147
165
|
/**
|
|
@@ -150,9 +168,7 @@ export interface KafkaTopicState {
|
|
|
150
168
|
*/
|
|
151
169
|
terminationProtection?: pulumi.Input<boolean>;
|
|
152
170
|
/**
|
|
153
|
-
*
|
|
154
|
-
* once the service is created. Doing so will result in the topic being deleted and new one
|
|
155
|
-
* created instead.
|
|
171
|
+
* The name of the topic. This property cannot be changed, doing so forces recreation of the resource.
|
|
156
172
|
*/
|
|
157
173
|
topicName?: pulumi.Input<string>;
|
|
158
174
|
}
|
|
@@ -161,7 +177,7 @@ export interface KafkaTopicState {
|
|
|
161
177
|
*/
|
|
162
178
|
export interface KafkaTopicArgs {
|
|
163
179
|
/**
|
|
164
|
-
* cleanup.
|
|
180
|
+
* **DEPRECATED use config.cleanup_policy instead** Topic cleanup policy. The possible values are `delete` and `compact`.
|
|
165
181
|
*
|
|
166
182
|
* @deprecated use config.cleanup_policy instead
|
|
167
183
|
*/
|
|
@@ -171,45 +187,41 @@ export interface KafkaTopicArgs {
|
|
|
171
187
|
*/
|
|
172
188
|
config?: pulumi.Input<inputs.KafkaTopicConfig>;
|
|
173
189
|
/**
|
|
174
|
-
* Minimum required nodes in-sync replicas
|
|
175
|
-
* (ISR) to produce to a partition.
|
|
190
|
+
* **DEPRECATED use config.min*insync*replicas instead** Minimum required nodes in-sync replicas (ISR) to produce to a partition.
|
|
176
191
|
*
|
|
177
192
|
* @deprecated use config.min_insync_replicas instead
|
|
178
193
|
*/
|
|
179
194
|
minimumInSyncReplicas?: pulumi.Input<number>;
|
|
180
195
|
/**
|
|
181
|
-
*
|
|
196
|
+
* The number of partitions to create in the topic.
|
|
182
197
|
*/
|
|
183
198
|
partitions: pulumi.Input<number>;
|
|
184
199
|
/**
|
|
185
|
-
*
|
|
186
|
-
* They should be defined using reference as shown above to set up dependencies correctly.
|
|
187
|
-
* These properties cannot be changed once the service is created. Doing so will result in
|
|
188
|
-
* the topic being deleted and new one created instead.
|
|
200
|
+
* 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.
|
|
189
201
|
*/
|
|
190
202
|
project: pulumi.Input<string>;
|
|
191
203
|
/**
|
|
192
|
-
*
|
|
204
|
+
* The replication factor for the topic.
|
|
193
205
|
*/
|
|
194
206
|
replication: pulumi.Input<number>;
|
|
195
207
|
/**
|
|
196
|
-
*
|
|
208
|
+
* **DEPRECATED use config.retention_bytes instead** Retention bytes.
|
|
197
209
|
*
|
|
198
210
|
* @deprecated use config.retention_bytes instead
|
|
199
211
|
*/
|
|
200
212
|
retentionBytes?: pulumi.Input<number>;
|
|
201
213
|
/**
|
|
202
|
-
*
|
|
214
|
+
* **DEPRECATED use config.retention_ms instead** Retention period (hours).
|
|
203
215
|
*
|
|
204
216
|
* @deprecated use config.retention_ms instead
|
|
205
217
|
*/
|
|
206
218
|
retentionHours?: pulumi.Input<number>;
|
|
207
219
|
/**
|
|
208
|
-
*
|
|
220
|
+
* 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.
|
|
209
221
|
*/
|
|
210
222
|
serviceName: pulumi.Input<string>;
|
|
211
223
|
/**
|
|
212
|
-
* Kafka Topic tag
|
|
224
|
+
* Kafka Topic tag.
|
|
213
225
|
*/
|
|
214
226
|
tags?: pulumi.Input<pulumi.Input<inputs.KafkaTopicTag>[]>;
|
|
215
227
|
/**
|
|
@@ -218,9 +230,7 @@ export interface KafkaTopicArgs {
|
|
|
218
230
|
*/
|
|
219
231
|
terminationProtection?: pulumi.Input<boolean>;
|
|
220
232
|
/**
|
|
221
|
-
*
|
|
222
|
-
* once the service is created. Doing so will result in the topic being deleted and new one
|
|
223
|
-
* created instead.
|
|
233
|
+
* The name of the topic. This property cannot be changed, doing so forces recreation of the resource.
|
|
224
234
|
*/
|
|
225
235
|
topicName: pulumi.Input<string>;
|
|
226
236
|
}
|
package/kafkaTopic.js
CHANGED
|
@@ -5,6 +5,34 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.KafkaTopic = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* The Kafka Topic resource allows the creation and management of Aiven Kafka Topics.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as aiven from "@pulumi/aiven";
|
|
16
|
+
*
|
|
17
|
+
* const mytesttopic = new aiven.KafkaTopic("mytesttopic", {
|
|
18
|
+
* project: aiven_project.myproject.project,
|
|
19
|
+
* serviceName: aiven_kafka.myservice.service_name,
|
|
20
|
+
* topicName: "<TOPIC_NAME>",
|
|
21
|
+
* partitions: 5,
|
|
22
|
+
* replication: 3,
|
|
23
|
+
* terminationProtection: true,
|
|
24
|
+
* config: {
|
|
25
|
+
* flushMs: 10,
|
|
26
|
+
* uncleanLeaderElectionEnable: true,
|
|
27
|
+
* cleanupPolicy: "compact,delete",
|
|
28
|
+
* },
|
|
29
|
+
* timeouts: [{
|
|
30
|
+
* create: "1m",
|
|
31
|
+
* read: "5m",
|
|
32
|
+
* }],
|
|
33
|
+
* });
|
|
34
|
+
* ```
|
|
35
|
+
*/
|
|
8
36
|
class KafkaTopic extends pulumi.CustomResource {
|
|
9
37
|
constructor(name, argsOrState, opts) {
|
|
10
38
|
let resourceInputs = {};
|
package/kafkaTopic.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kafkaTopic.js","sourceRoot":"","sources":["../kafkaTopic.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"kafkaTopic.js","sourceRoot":"","sources":["../kafkaTopic.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IA8FjD,YAAY,IAAY,EAAE,WAA8C,EAAE,IAAmC;QACzG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA0C,CAAC;YACzD,cAAc,CAAC,eAAe,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,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