@pulumi/confluentcloud 1.36.0 → 1.37.0-alpha.1710332918
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/apiKey.d.ts +26 -10
- package/apiKey.js +26 -10
- package/apiKey.js.map +1 -1
- package/businessMetadata.d.ts +4 -4
- package/businessMetadata.js +4 -4
- package/businessMetadataBinding.d.ts +4 -4
- package/businessMetadataBinding.js +4 -4
- package/byokKey.d.ts +11 -4
- package/byokKey.js +11 -4
- package/byokKey.js.map +1 -1
- package/clusterLink.d.ts +19 -18
- package/clusterLink.js +19 -18
- package/clusterLink.js.map +1 -1
- package/connector.d.ts +15 -2
- package/connector.js +15 -2
- package/connector.js.map +1 -1
- package/customConnectorPlugin.d.ts +5 -3
- package/customConnectorPlugin.js +5 -3
- package/customConnectorPlugin.js.map +1 -1
- package/dnsForwarder.d.ts +6 -4
- package/dnsForwarder.js +6 -4
- package/dnsForwarder.js.map +1 -1
- package/environment.d.ts +4 -27
- package/environment.js +4 -27
- package/environment.js.map +1 -1
- package/flinkComputePool.d.ts +5 -3
- package/flinkComputePool.js +5 -3
- package/flinkComputePool.js.map +1 -1
- package/flinkStatement.d.ts +10 -10
- package/flinkStatement.js +10 -10
- package/getByokKey.d.ts +6 -2
- package/getByokKey.js +6 -2
- package/getByokKey.js.map +1 -1
- package/getEnvironment.d.ts +6 -2
- package/getEnvironment.js +6 -2
- package/getEnvironment.js.map +1 -1
- package/getEnvironments.d.ts +6 -2
- package/getEnvironments.js +6 -2
- package/getEnvironments.js.map +1 -1
- package/getFlinkComputePool.d.ts +6 -2
- package/getFlinkComputePool.js +6 -2
- package/getFlinkComputePool.js.map +1 -1
- package/getFlinkRegion.d.ts +6 -2
- package/getFlinkRegion.js +6 -2
- package/getFlinkRegion.js.map +1 -1
- package/getGroupMapping.d.ts +6 -2
- package/getGroupMapping.js +6 -2
- package/getGroupMapping.js.map +1 -1
- package/getIdentityPool.d.ts +6 -2
- package/getIdentityPool.js +6 -2
- package/getIdentityPool.js.map +1 -1
- package/getIdentityProvider.d.ts +6 -2
- package/getIdentityProvider.js +6 -2
- package/getIdentityProvider.js.map +1 -1
- package/getInvitation.d.ts +6 -2
- package/getInvitation.js +6 -2
- package/getInvitation.js.map +1 -1
- package/getIpAddresses.d.ts +6 -2
- package/getIpAddresses.js +6 -2
- package/getIpAddresses.js.map +1 -1
- package/getKafkaClientQuota.d.ts +6 -2
- package/getKafkaClientQuota.js +6 -2
- package/getKafkaClientQuota.js.map +1 -1
- package/getKafkaCluster.d.ts +6 -2
- package/getKafkaCluster.js +6 -2
- package/getKafkaCluster.js.map +1 -1
- package/getKsqlCluster.d.ts +6 -2
- package/getKsqlCluster.js +6 -2
- package/getKsqlCluster.js.map +1 -1
- package/getNetwork.d.ts +4 -0
- package/getNetwork.js +4 -0
- package/getNetwork.js.map +1 -1
- package/getNetworkLinkEndpoint.d.ts +6 -2
- package/getNetworkLinkEndpoint.js +6 -2
- package/getNetworkLinkEndpoint.js.map +1 -1
- package/getNetworkLinkService.d.ts +6 -2
- package/getNetworkLinkService.js +6 -2
- package/getNetworkLinkService.js.map +1 -1
- package/getOrganization.d.ts +6 -2
- package/getOrganization.js +6 -2
- package/getOrganization.js.map +1 -1
- package/getPeering.d.ts +6 -2
- package/getPeering.js +6 -2
- package/getPeering.js.map +1 -1
- package/getPrivateLinkAccess.d.ts +6 -2
- package/getPrivateLinkAccess.js +6 -2
- package/getPrivateLinkAccess.js.map +1 -1
- package/getPrivateLinkAttachment.d.ts +6 -2
- package/getPrivateLinkAttachment.js +6 -2
- package/getPrivateLinkAttachment.js.map +1 -1
- package/getPrivateLinkAttachmentConnection.d.ts +6 -2
- package/getPrivateLinkAttachmentConnection.js +6 -2
- package/getPrivateLinkAttachmentConnection.js.map +1 -1
- package/getRoleBinding.d.ts +6 -2
- package/getRoleBinding.js +6 -2
- package/getRoleBinding.js.map +1 -1
- package/getSchema.d.ts +24 -0
- package/getSchema.js +2 -0
- package/getSchema.js.map +1 -1
- package/getSchemaRegistryCluster.d.ts +6 -2
- package/getSchemaRegistryCluster.js +6 -2
- package/getSchemaRegistryCluster.js.map +1 -1
- package/getSchemaRegistryClusters.d.ts +6 -2
- package/getSchemaRegistryClusters.js +6 -2
- package/getSchemaRegistryClusters.js.map +1 -1
- package/getSchemaRegistryDek.d.ts +43 -0
- package/getSchemaRegistryDek.js.map +1 -1
- package/getSchemaRegistryKek.d.ts +40 -0
- package/getSchemaRegistryKek.js.map +1 -1
- package/getSchemaRegistryRegion.d.ts +6 -2
- package/getSchemaRegistryRegion.js +6 -2
- package/getSchemaRegistryRegion.js.map +1 -1
- package/getServiceAccount.d.ts +6 -2
- package/getServiceAccount.js +6 -2
- package/getServiceAccount.js.map +1 -1
- package/getTransitGatewayAttachment.d.ts +6 -2
- package/getTransitGatewayAttachment.js +6 -2
- package/getTransitGatewayAttachment.js.map +1 -1
- package/getUser.d.ts +6 -2
- package/getUser.js +6 -2
- package/getUser.js.map +1 -1
- package/getUsers.d.ts +6 -2
- package/getUsers.js +6 -2
- package/getUsers.js.map +1 -1
- package/groupMapping.d.ts +6 -4
- package/groupMapping.js +6 -4
- package/groupMapping.js.map +1 -1
- package/identityPool.d.ts +11 -4
- package/identityPool.js +11 -4
- package/identityPool.js.map +1 -1
- package/identityProvider.d.ts +11 -4
- package/identityProvider.js +11 -4
- package/identityProvider.js.map +1 -1
- package/invitation.d.ts +6 -4
- package/invitation.js +6 -4
- package/invitation.js.map +1 -1
- package/kafkaAcl.d.ts +8 -8
- package/kafkaAcl.js +8 -8
- package/kafkaClientQuota.d.ts +5 -3
- package/kafkaClientQuota.js +5 -3
- package/kafkaClientQuota.js.map +1 -1
- package/kafkaCluster.d.ts +13 -3
- package/kafkaCluster.js +13 -3
- package/kafkaCluster.js.map +1 -1
- package/kafkaClusterConfig.d.ts +6 -6
- package/kafkaClusterConfig.js +6 -6
- package/kafkaMirrorTopic.d.ts +7 -4
- package/kafkaMirrorTopic.js +7 -4
- package/kafkaMirrorTopic.js.map +1 -1
- package/kafkaTopic.d.ts +34 -68
- package/kafkaTopic.js +34 -68
- package/kafkaTopic.js.map +1 -1
- package/ksqlCluster.d.ts +4 -12
- package/ksqlCluster.js +4 -12
- package/ksqlCluster.js.map +1 -1
- package/network.d.ts +16 -3
- package/network.js +16 -3
- package/network.js.map +1 -1
- package/networkLinkEndpoint.d.ts +6 -3
- package/networkLinkEndpoint.js +6 -3
- package/networkLinkEndpoint.js.map +1 -1
- package/networkLinkService.d.ts +7 -3
- package/networkLinkService.js +7 -3
- package/networkLinkService.js.map +1 -1
- package/package.json +1 -1
- package/peering.d.ts +9 -15
- package/peering.js +9 -15
- package/peering.js.map +1 -1
- package/privateLinkAccess.d.ts +13 -3
- package/privateLinkAccess.js +13 -3
- package/privateLinkAccess.js.map +1 -1
- package/privateLinkAttachment.d.ts +6 -4
- package/privateLinkAttachment.js +6 -4
- package/privateLinkAttachment.js.map +1 -1
- package/privateLinkAttachmentConnection.d.ts +6 -4
- package/privateLinkAttachmentConnection.js +6 -4
- package/privateLinkAttachmentConnection.js.map +1 -1
- package/roleBinding.d.ts +4 -18
- package/roleBinding.js +4 -18
- package/roleBinding.js.map +1 -1
- package/schema.d.ts +35 -11
- package/schema.js +15 -11
- package/schema.js.map +1 -1
- package/schemaExporter.d.ts +4 -4
- package/schemaExporter.js +4 -4
- package/schemaRegistryCluster.d.ts +5 -3
- package/schemaRegistryCluster.js +5 -3
- package/schemaRegistryCluster.js.map +1 -1
- package/schemaRegistryClusterConfig.d.ts +4 -4
- package/schemaRegistryClusterConfig.js +4 -4
- package/schemaRegistryClusterMode.d.ts +4 -4
- package/schemaRegistryClusterMode.js +4 -4
- package/schemaRegistryDek.d.ts +71 -6
- package/schemaRegistryDek.js +17 -0
- package/schemaRegistryDek.js.map +1 -1
- package/schemaRegistryKek.d.ts +84 -7
- package/schemaRegistryKek.js +17 -0
- package/schemaRegistryKek.js.map +1 -1
- package/serviceAccount.d.ts +7 -4
- package/serviceAccount.js +7 -4
- package/serviceAccount.js.map +1 -1
- package/subjectConfig.d.ts +4 -4
- package/subjectConfig.js +4 -4
- package/subjectMode.d.ts +4 -4
- package/subjectMode.js +4 -4
- package/tag.d.ts +4 -4
- package/tag.js +4 -4
- package/tagBinding.d.ts +4 -4
- package/tagBinding.js +4 -4
- package/tfImporter.d.ts +3 -0
- package/tfImporter.js +3 -0
- package/tfImporter.js.map +1 -1
- package/transitGatewayAttachment.d.ts +7 -3
- package/transitGatewayAttachment.js +7 -3
- package/transitGatewayAttachment.js.map +1 -1
- package/types/input.d.ts +390 -20
- package/types/output.d.ts +264 -15
package/schema.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../schema.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAC7C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmB,EAAE,IAAmC;QACjH,OAAO,IAAI,MAAM,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC7D,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,MAAM,CAAC,YAAY,CAAC;IACvD,CAAC;
|
|
1
|
+
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../schema.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;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,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACvD,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,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,aAAa,CAAC,EAAE,CAAC;QAChE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,MAAM,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;;AAlIL,wBAmIC;AArHG,gBAAgB;AACO,mBAAY,GAAG,oCAAoC,CAAC"}
|
package/schemaExporter.d.ts
CHANGED
|
@@ -6,17 +6,17 @@ import * as outputs from "./types/output";
|
|
|
6
6
|
*
|
|
7
7
|
* You can import a Schema Exporter by using the Schema Registry cluster ID, Schema Exporter name in the format `<Schema Registry cluster ID>/<Schema Exporter name>`, for example:
|
|
8
8
|
*
|
|
9
|
-
*
|
|
9
|
+
* $ export IMPORT_SCHEMA_REGISTRY_API_KEY="<schema_registry_api_key>"
|
|
10
10
|
*
|
|
11
|
-
*
|
|
11
|
+
* $ export IMPORT_SCHEMA_REGISTRY_API_SECRET="<schema_registry_api_secret>"
|
|
12
12
|
*
|
|
13
|
-
*
|
|
13
|
+
* $ export IMPORT_SCHEMA_REGISTRY_REST_ENDPOINT="<schema_registry_rest_endpoint>"
|
|
14
14
|
*
|
|
15
15
|
* ```sh
|
|
16
16
|
* $ pulumi import confluentcloud:index/schemaExporter:SchemaExporter main lsrc-8wrx70/test-exporter
|
|
17
17
|
* ```
|
|
18
18
|
*
|
|
19
|
-
*
|
|
19
|
+
* !> **Warning:** Do not forget to delete terminal command history afterwards for security purposes.
|
|
20
20
|
*/
|
|
21
21
|
export declare class SchemaExporter extends pulumi.CustomResource {
|
|
22
22
|
/**
|
package/schemaExporter.js
CHANGED
|
@@ -10,17 +10,17 @@ const utilities = require("./utilities");
|
|
|
10
10
|
*
|
|
11
11
|
* You can import a Schema Exporter by using the Schema Registry cluster ID, Schema Exporter name in the format `<Schema Registry cluster ID>/<Schema Exporter name>`, for example:
|
|
12
12
|
*
|
|
13
|
-
*
|
|
13
|
+
* $ export IMPORT_SCHEMA_REGISTRY_API_KEY="<schema_registry_api_key>"
|
|
14
14
|
*
|
|
15
|
-
*
|
|
15
|
+
* $ export IMPORT_SCHEMA_REGISTRY_API_SECRET="<schema_registry_api_secret>"
|
|
16
16
|
*
|
|
17
|
-
*
|
|
17
|
+
* $ export IMPORT_SCHEMA_REGISTRY_REST_ENDPOINT="<schema_registry_rest_endpoint>"
|
|
18
18
|
*
|
|
19
19
|
* ```sh
|
|
20
20
|
* $ pulumi import confluentcloud:index/schemaExporter:SchemaExporter main lsrc-8wrx70/test-exporter
|
|
21
21
|
* ```
|
|
22
22
|
*
|
|
23
|
-
*
|
|
23
|
+
* !> **Warning:** Do not forget to delete terminal command history afterwards for security purposes.
|
|
24
24
|
*/
|
|
25
25
|
class SchemaExporter extends pulumi.CustomResource {
|
|
26
26
|
/**
|
|
@@ -4,6 +4,7 @@ import * as outputs from "./types/output";
|
|
|
4
4
|
/**
|
|
5
5
|
* ## Example Usage
|
|
6
6
|
*
|
|
7
|
+
* <!--Start PulumiCodeChooser -->
|
|
7
8
|
* ```typescript
|
|
8
9
|
* import * as pulumi from "@pulumi/pulumi";
|
|
9
10
|
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
@@ -24,20 +25,21 @@ import * as outputs from "./types/output";
|
|
|
24
25
|
* },
|
|
25
26
|
* });
|
|
26
27
|
* ```
|
|
28
|
+
* <!--End PulumiCodeChooser -->
|
|
27
29
|
*
|
|
28
30
|
* ## Import
|
|
29
31
|
*
|
|
30
32
|
* You can import a Schema Registry cluster by using Environment ID and Schema Registry cluster ID, in the format `<Environment ID>/<Schema Registry cluster ID>`, for example:
|
|
31
33
|
*
|
|
32
|
-
*
|
|
34
|
+
* $ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>"
|
|
33
35
|
*
|
|
34
|
-
*
|
|
36
|
+
* $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
|
|
35
37
|
*
|
|
36
38
|
* ```sh
|
|
37
39
|
* $ pulumi import confluentcloud:index/schemaRegistryCluster:SchemaRegistryCluster example env-abc123/lsrc-abc123
|
|
38
40
|
* ```
|
|
39
41
|
*
|
|
40
|
-
*
|
|
42
|
+
* !> **Warning:** Do not forget to delete terminal command history afterwards for security purposes.
|
|
41
43
|
*/
|
|
42
44
|
export declare class SchemaRegistryCluster extends pulumi.CustomResource {
|
|
43
45
|
/**
|
package/schemaRegistryCluster.js
CHANGED
|
@@ -8,6 +8,7 @@ const utilities = require("./utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* ## Example Usage
|
|
10
10
|
*
|
|
11
|
+
* <!--Start PulumiCodeChooser -->
|
|
11
12
|
* ```typescript
|
|
12
13
|
* import * as pulumi from "@pulumi/pulumi";
|
|
13
14
|
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
@@ -28,20 +29,21 @@ const utilities = require("./utilities");
|
|
|
28
29
|
* },
|
|
29
30
|
* });
|
|
30
31
|
* ```
|
|
32
|
+
* <!--End PulumiCodeChooser -->
|
|
31
33
|
*
|
|
32
34
|
* ## Import
|
|
33
35
|
*
|
|
34
36
|
* You can import a Schema Registry cluster by using Environment ID and Schema Registry cluster ID, in the format `<Environment ID>/<Schema Registry cluster ID>`, for example:
|
|
35
37
|
*
|
|
36
|
-
*
|
|
38
|
+
* $ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>"
|
|
37
39
|
*
|
|
38
|
-
*
|
|
40
|
+
* $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
|
|
39
41
|
*
|
|
40
42
|
* ```sh
|
|
41
43
|
* $ pulumi import confluentcloud:index/schemaRegistryCluster:SchemaRegistryCluster example env-abc123/lsrc-abc123
|
|
42
44
|
* ```
|
|
43
45
|
*
|
|
44
|
-
*
|
|
46
|
+
* !> **Warning:** Do not forget to delete terminal command history afterwards for security purposes.
|
|
45
47
|
*/
|
|
46
48
|
class SchemaRegistryCluster extends pulumi.CustomResource {
|
|
47
49
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemaRegistryCluster.js","sourceRoot":"","sources":["../schemaRegistryCluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"schemaRegistryCluster.js","sourceRoot":"","sources":["../schemaRegistryCluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;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,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,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;IAwCD,YAAY,IAAY,EAAE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AG,kEAAkE,CAAC"}
|
|
@@ -6,17 +6,17 @@ import * as outputs from "./types/output";
|
|
|
6
6
|
*
|
|
7
7
|
* You can import a Schema Registry Cluster Config by using the Schema Registry cluster ID, Subject name in the format `<Schema Registry cluster ID>`, for example:
|
|
8
8
|
*
|
|
9
|
-
*
|
|
9
|
+
* $ export IMPORT_SCHEMA_REGISTRY_API_KEY="<schema_registry_api_key>"
|
|
10
10
|
*
|
|
11
|
-
*
|
|
11
|
+
* $ export IMPORT_SCHEMA_REGISTRY_API_SECRET="<schema_registry_api_secret>"
|
|
12
12
|
*
|
|
13
|
-
*
|
|
13
|
+
* $ export IMPORT_SCHEMA_REGISTRY_REST_ENDPOINT="<schema_registry_rest_endpoint>"
|
|
14
14
|
*
|
|
15
15
|
* ```sh
|
|
16
16
|
* $ pulumi import confluentcloud:index/schemaRegistryClusterConfig:SchemaRegistryClusterConfig example lsrc-abc123
|
|
17
17
|
* ```
|
|
18
18
|
*
|
|
19
|
-
*
|
|
19
|
+
* !> **Warning:** Do not forget to delete terminal command history afterwards for security purposes.
|
|
20
20
|
*/
|
|
21
21
|
export declare class SchemaRegistryClusterConfig extends pulumi.CustomResource {
|
|
22
22
|
/**
|
|
@@ -10,17 +10,17 @@ const utilities = require("./utilities");
|
|
|
10
10
|
*
|
|
11
11
|
* You can import a Schema Registry Cluster Config by using the Schema Registry cluster ID, Subject name in the format `<Schema Registry cluster ID>`, for example:
|
|
12
12
|
*
|
|
13
|
-
*
|
|
13
|
+
* $ export IMPORT_SCHEMA_REGISTRY_API_KEY="<schema_registry_api_key>"
|
|
14
14
|
*
|
|
15
|
-
*
|
|
15
|
+
* $ export IMPORT_SCHEMA_REGISTRY_API_SECRET="<schema_registry_api_secret>"
|
|
16
16
|
*
|
|
17
|
-
*
|
|
17
|
+
* $ export IMPORT_SCHEMA_REGISTRY_REST_ENDPOINT="<schema_registry_rest_endpoint>"
|
|
18
18
|
*
|
|
19
19
|
* ```sh
|
|
20
20
|
* $ pulumi import confluentcloud:index/schemaRegistryClusterConfig:SchemaRegistryClusterConfig example lsrc-abc123
|
|
21
21
|
* ```
|
|
22
22
|
*
|
|
23
|
-
*
|
|
23
|
+
* !> **Warning:** Do not forget to delete terminal command history afterwards for security purposes.
|
|
24
24
|
*/
|
|
25
25
|
class SchemaRegistryClusterConfig extends pulumi.CustomResource {
|
|
26
26
|
/**
|
|
@@ -6,17 +6,17 @@ import * as outputs from "./types/output";
|
|
|
6
6
|
*
|
|
7
7
|
* You can import a Mode by using the Schema Registry cluster ID, Subject name in the format `<Schema Registry cluster ID>`, for example:
|
|
8
8
|
*
|
|
9
|
-
*
|
|
9
|
+
* $ export IMPORT_SCHEMA_REGISTRY_API_KEY="<schema_registry_api_key>"
|
|
10
10
|
*
|
|
11
|
-
*
|
|
11
|
+
* $ export IMPORT_SCHEMA_REGISTRY_API_SECRET="<schema_registry_api_secret>"
|
|
12
12
|
*
|
|
13
|
-
*
|
|
13
|
+
* $ export IMPORT_SCHEMA_REGISTRY_REST_ENDPOINT="<schema_registry_rest_endpoint>"
|
|
14
14
|
*
|
|
15
15
|
* ```sh
|
|
16
16
|
* $ pulumi import confluentcloud:index/schemaRegistryClusterMode:SchemaRegistryClusterMode example lsrc-abc123
|
|
17
17
|
* ```
|
|
18
18
|
*
|
|
19
|
-
*
|
|
19
|
+
* !> **Warning:** Do not forget to delete terminal command history afterwards for security purposes.
|
|
20
20
|
*/
|
|
21
21
|
export declare class SchemaRegistryClusterMode extends pulumi.CustomResource {
|
|
22
22
|
/**
|
|
@@ -10,17 +10,17 @@ const utilities = require("./utilities");
|
|
|
10
10
|
*
|
|
11
11
|
* You can import a Mode by using the Schema Registry cluster ID, Subject name in the format `<Schema Registry cluster ID>`, for example:
|
|
12
12
|
*
|
|
13
|
-
*
|
|
13
|
+
* $ export IMPORT_SCHEMA_REGISTRY_API_KEY="<schema_registry_api_key>"
|
|
14
14
|
*
|
|
15
|
-
*
|
|
15
|
+
* $ export IMPORT_SCHEMA_REGISTRY_API_SECRET="<schema_registry_api_secret>"
|
|
16
16
|
*
|
|
17
|
-
*
|
|
17
|
+
* $ export IMPORT_SCHEMA_REGISTRY_REST_ENDPOINT="<schema_registry_rest_endpoint>"
|
|
18
18
|
*
|
|
19
19
|
* ```sh
|
|
20
20
|
* $ pulumi import confluentcloud:index/schemaRegistryClusterMode:SchemaRegistryClusterMode example lsrc-abc123
|
|
21
21
|
* ```
|
|
22
22
|
*
|
|
23
|
-
*
|
|
23
|
+
* !> **Warning:** Do not forget to delete terminal command history afterwards for security purposes.
|
|
24
24
|
*/
|
|
25
25
|
class SchemaRegistryClusterMode extends pulumi.CustomResource {
|
|
26
26
|
/**
|
package/schemaRegistryDek.d.ts
CHANGED
|
@@ -1,6 +1,23 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* ## Import
|
|
6
|
+
*
|
|
7
|
+
* You can import a Schema Registry Key by using the Schema Registry cluster ID, KEK name, Subject, Version and Algorithm in the format `<Schema Registry Cluster Id>/<Schema Registry KEK Name>/<Subject>/<Version>/<Algorithm>`, for example:
|
|
8
|
+
*
|
|
9
|
+
* $ export IMPORT_SCHEMA_REGISTRY_API_KEY="<schema_registry_api_key>"
|
|
10
|
+
*
|
|
11
|
+
* $ export IMPORT_SCHEMA_REGISTRY_API_SECRET="<schema_registry_api_secret>"
|
|
12
|
+
*
|
|
13
|
+
* $ export IMPORT_SCHEMA_REGISTRY_REST_ENDPOINT="<schema_registry_rest_endpoint>"
|
|
14
|
+
*
|
|
15
|
+
* ```sh
|
|
16
|
+
* $ pulumi import confluentcloud:index/schemaRegistryDek:SchemaRegistryDek my_dek lsrc-8wrx70/testkek/ts/1/AES256_GCM
|
|
17
|
+
* ```
|
|
18
|
+
*
|
|
19
|
+
* !> **Warning:** Do not forget to delete terminal command history afterwards for security purposes.
|
|
20
|
+
*/
|
|
4
21
|
export declare class SchemaRegistryDek extends pulumi.CustomResource {
|
|
5
22
|
/**
|
|
6
23
|
* Get an existing SchemaRegistryDek resource's state with the given name, ID, and optional extra
|
|
@@ -17,26 +34,43 @@ export declare class SchemaRegistryDek extends pulumi.CustomResource {
|
|
|
17
34
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
18
35
|
*/
|
|
19
36
|
static isInstance(obj: any): obj is SchemaRegistryDek;
|
|
37
|
+
/**
|
|
38
|
+
* Accepted values are: `AES128_GCM`, `AES256_GCM`, and `AES256_SIV`. Defaults to `AES256_GCM`.
|
|
39
|
+
*/
|
|
20
40
|
readonly algorithm: pulumi.Output<string | undefined>;
|
|
21
41
|
/**
|
|
22
42
|
* The Cluster API Credentials.
|
|
23
43
|
*/
|
|
24
44
|
readonly credentials: pulumi.Output<outputs.SchemaRegistryDekCredentials | undefined>;
|
|
45
|
+
/**
|
|
46
|
+
* The encrypted key material for the DEK.
|
|
47
|
+
*/
|
|
25
48
|
readonly encryptedKeyMaterial: pulumi.Output<string>;
|
|
26
49
|
/**
|
|
27
50
|
* Controls whether a dek should be soft or hard deleted. Set it to `true` if you want to hard delete a schema registry dek
|
|
28
51
|
* on destroy. Defaults to `false` (soft delete).
|
|
29
52
|
*/
|
|
30
53
|
readonly hardDelete: pulumi.Output<boolean | undefined>;
|
|
54
|
+
/**
|
|
55
|
+
* The name of the KEK used to encrypt this DEK.
|
|
56
|
+
*/
|
|
31
57
|
readonly kekName: pulumi.Output<string>;
|
|
58
|
+
/**
|
|
59
|
+
* (Optional String) The decrypted version of encrypted key material.
|
|
60
|
+
*/
|
|
32
61
|
readonly keyMaterial: pulumi.Output<string>;
|
|
33
62
|
/**
|
|
34
|
-
* The REST endpoint of the Schema Registry cluster, for example,
|
|
35
|
-
* `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).
|
|
63
|
+
* The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).
|
|
36
64
|
*/
|
|
37
65
|
readonly restEndpoint: pulumi.Output<string | undefined>;
|
|
38
66
|
readonly schemaRegistryCluster: pulumi.Output<outputs.SchemaRegistryDekSchemaRegistryCluster | undefined>;
|
|
67
|
+
/**
|
|
68
|
+
* The subject for this DEK.
|
|
69
|
+
*/
|
|
39
70
|
readonly subjectName: pulumi.Output<string>;
|
|
71
|
+
/**
|
|
72
|
+
* The version of this DEK. Defaults to `1`.
|
|
73
|
+
*/
|
|
40
74
|
readonly version: pulumi.Output<number | undefined>;
|
|
41
75
|
/**
|
|
42
76
|
* Create a SchemaRegistryDek resource with the given unique name, arguments, and options.
|
|
@@ -51,50 +85,81 @@ export declare class SchemaRegistryDek extends pulumi.CustomResource {
|
|
|
51
85
|
* Input properties used for looking up and filtering SchemaRegistryDek resources.
|
|
52
86
|
*/
|
|
53
87
|
export interface SchemaRegistryDekState {
|
|
88
|
+
/**
|
|
89
|
+
* Accepted values are: `AES128_GCM`, `AES256_GCM`, and `AES256_SIV`. Defaults to `AES256_GCM`.
|
|
90
|
+
*/
|
|
54
91
|
algorithm?: pulumi.Input<string>;
|
|
55
92
|
/**
|
|
56
93
|
* The Cluster API Credentials.
|
|
57
94
|
*/
|
|
58
95
|
credentials?: pulumi.Input<inputs.SchemaRegistryDekCredentials>;
|
|
96
|
+
/**
|
|
97
|
+
* The encrypted key material for the DEK.
|
|
98
|
+
*/
|
|
59
99
|
encryptedKeyMaterial?: pulumi.Input<string>;
|
|
60
100
|
/**
|
|
61
101
|
* Controls whether a dek should be soft or hard deleted. Set it to `true` if you want to hard delete a schema registry dek
|
|
62
102
|
* on destroy. Defaults to `false` (soft delete).
|
|
63
103
|
*/
|
|
64
104
|
hardDelete?: pulumi.Input<boolean>;
|
|
105
|
+
/**
|
|
106
|
+
* The name of the KEK used to encrypt this DEK.
|
|
107
|
+
*/
|
|
65
108
|
kekName?: pulumi.Input<string>;
|
|
109
|
+
/**
|
|
110
|
+
* (Optional String) The decrypted version of encrypted key material.
|
|
111
|
+
*/
|
|
66
112
|
keyMaterial?: pulumi.Input<string>;
|
|
67
113
|
/**
|
|
68
|
-
* The REST endpoint of the Schema Registry cluster, for example,
|
|
69
|
-
* `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).
|
|
114
|
+
* The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).
|
|
70
115
|
*/
|
|
71
116
|
restEndpoint?: pulumi.Input<string>;
|
|
72
117
|
schemaRegistryCluster?: pulumi.Input<inputs.SchemaRegistryDekSchemaRegistryCluster>;
|
|
118
|
+
/**
|
|
119
|
+
* The subject for this DEK.
|
|
120
|
+
*/
|
|
73
121
|
subjectName?: pulumi.Input<string>;
|
|
122
|
+
/**
|
|
123
|
+
* The version of this DEK. Defaults to `1`.
|
|
124
|
+
*/
|
|
74
125
|
version?: pulumi.Input<number>;
|
|
75
126
|
}
|
|
76
127
|
/**
|
|
77
128
|
* The set of arguments for constructing a SchemaRegistryDek resource.
|
|
78
129
|
*/
|
|
79
130
|
export interface SchemaRegistryDekArgs {
|
|
131
|
+
/**
|
|
132
|
+
* Accepted values are: `AES128_GCM`, `AES256_GCM`, and `AES256_SIV`. Defaults to `AES256_GCM`.
|
|
133
|
+
*/
|
|
80
134
|
algorithm?: pulumi.Input<string>;
|
|
81
135
|
/**
|
|
82
136
|
* The Cluster API Credentials.
|
|
83
137
|
*/
|
|
84
138
|
credentials?: pulumi.Input<inputs.SchemaRegistryDekCredentials>;
|
|
139
|
+
/**
|
|
140
|
+
* The encrypted key material for the DEK.
|
|
141
|
+
*/
|
|
85
142
|
encryptedKeyMaterial?: pulumi.Input<string>;
|
|
86
143
|
/**
|
|
87
144
|
* Controls whether a dek should be soft or hard deleted. Set it to `true` if you want to hard delete a schema registry dek
|
|
88
145
|
* on destroy. Defaults to `false` (soft delete).
|
|
89
146
|
*/
|
|
90
147
|
hardDelete?: pulumi.Input<boolean>;
|
|
148
|
+
/**
|
|
149
|
+
* The name of the KEK used to encrypt this DEK.
|
|
150
|
+
*/
|
|
91
151
|
kekName: pulumi.Input<string>;
|
|
92
152
|
/**
|
|
93
|
-
* The REST endpoint of the Schema Registry cluster, for example,
|
|
94
|
-
* `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).
|
|
153
|
+
* The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).
|
|
95
154
|
*/
|
|
96
155
|
restEndpoint?: pulumi.Input<string>;
|
|
97
156
|
schemaRegistryCluster?: pulumi.Input<inputs.SchemaRegistryDekSchemaRegistryCluster>;
|
|
157
|
+
/**
|
|
158
|
+
* The subject for this DEK.
|
|
159
|
+
*/
|
|
98
160
|
subjectName: pulumi.Input<string>;
|
|
161
|
+
/**
|
|
162
|
+
* The version of this DEK. Defaults to `1`.
|
|
163
|
+
*/
|
|
99
164
|
version?: pulumi.Input<number>;
|
|
100
165
|
}
|
package/schemaRegistryDek.js
CHANGED
|
@@ -5,6 +5,23 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.SchemaRegistryDek = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## Import
|
|
10
|
+
*
|
|
11
|
+
* You can import a Schema Registry Key by using the Schema Registry cluster ID, KEK name, Subject, Version and Algorithm in the format `<Schema Registry Cluster Id>/<Schema Registry KEK Name>/<Subject>/<Version>/<Algorithm>`, for example:
|
|
12
|
+
*
|
|
13
|
+
* $ export IMPORT_SCHEMA_REGISTRY_API_KEY="<schema_registry_api_key>"
|
|
14
|
+
*
|
|
15
|
+
* $ export IMPORT_SCHEMA_REGISTRY_API_SECRET="<schema_registry_api_secret>"
|
|
16
|
+
*
|
|
17
|
+
* $ export IMPORT_SCHEMA_REGISTRY_REST_ENDPOINT="<schema_registry_rest_endpoint>"
|
|
18
|
+
*
|
|
19
|
+
* ```sh
|
|
20
|
+
* $ pulumi import confluentcloud:index/schemaRegistryDek:SchemaRegistryDek my_dek lsrc-8wrx70/testkek/ts/1/AES256_GCM
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* !> **Warning:** Do not forget to delete terminal command history afterwards for security purposes.
|
|
24
|
+
*/
|
|
8
25
|
class SchemaRegistryDek extends pulumi.CustomResource {
|
|
9
26
|
/**
|
|
10
27
|
* Get an existing SchemaRegistryDek resource's state with the given name, ID, and optional extra
|
package/schemaRegistryDek.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemaRegistryDek.js","sourceRoot":"","sources":["../schemaRegistryDek.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8B,EAAE,IAAmC;QAC5H,OAAO,IAAI,iBAAiB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACxE,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,iBAAiB,CAAC,YAAY,CAAC;IAClE,CAAC;
|
|
1
|
+
{"version":3,"file":"schemaRegistryDek.js","sourceRoot":"","sources":["../schemaRegistryDek.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;GAgBG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,E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|
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* ## Import
|
|
6
|
+
*
|
|
7
|
+
* You can import a Schema Registry Key by using the Schema Registry cluster ID, Kek name in the format `<Schema Registry cluster ID>/<Kek name>`, for example:
|
|
8
|
+
*
|
|
9
|
+
* $ export IMPORT_SCHEMA_REGISTRY_API_KEY="<schema_registry_api_key>"
|
|
10
|
+
*
|
|
11
|
+
* $ export IMPORT_SCHEMA_REGISTRY_API_SECRET="<schema_registry_api_secret>"
|
|
12
|
+
*
|
|
13
|
+
* $ export IMPORT_SCHEMA_REGISTRY_REST_ENDPOINT="<schema_registry_rest_endpoint>"
|
|
14
|
+
*
|
|
15
|
+
* ```sh
|
|
16
|
+
* $ pulumi import confluentcloud:index/schemaRegistryKek:SchemaRegistryKek aws_key lsrc-8wrx70/aws_key
|
|
17
|
+
* ```
|
|
18
|
+
*
|
|
19
|
+
* !> **Warning:** Do not forget to delete terminal command history afterwards for security purposes.
|
|
20
|
+
*/
|
|
4
21
|
export declare class SchemaRegistryKek extends pulumi.CustomResource {
|
|
5
22
|
/**
|
|
6
23
|
* Get an existing SchemaRegistryKek resource's state with the given name, ID, and optional extra
|
|
@@ -21,25 +38,45 @@ export declare class SchemaRegistryKek extends pulumi.CustomResource {
|
|
|
21
38
|
* The Cluster API Credentials.
|
|
22
39
|
*/
|
|
23
40
|
readonly credentials: pulumi.Output<outputs.SchemaRegistryKekCredentials | undefined>;
|
|
41
|
+
/**
|
|
42
|
+
* The optional description for the KEK.
|
|
43
|
+
*/
|
|
24
44
|
readonly doc: pulumi.Output<string>;
|
|
25
45
|
/**
|
|
26
46
|
* Controls whether a kek should be soft or hard deleted. Set it to `true` if you want to hard delete a schema registry kek
|
|
27
47
|
* on destroy. Defaults to `false` (soft delete).
|
|
28
48
|
*/
|
|
29
49
|
readonly hardDelete: pulumi.Output<boolean | undefined>;
|
|
50
|
+
/**
|
|
51
|
+
* The ID of the key from KMS.
|
|
52
|
+
* - When using the AWS KMS, this is an ARN, for example, `arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789abc`.
|
|
53
|
+
* - When using the Azure Key Vault, this is a Key Identifier (URI), for example, `https://test-keyvault1.vault.azure.net/keys/test-key1/1234567890abcdef1234567890abcdef`.
|
|
54
|
+
* - When using the GCP KMS, this is a resource name, for example, `projects/test-project1/locations/us-central1/keyRings/test-keyRing1/cryptoKeys/test-key1`.
|
|
55
|
+
*/
|
|
30
56
|
readonly kmsKeyId: pulumi.Output<string>;
|
|
57
|
+
/**
|
|
58
|
+
* The type of Key Management Service (KMS). The supported values include `aws-kms`, `azure-kms`, and `gcp-kms`. Additionally, custom KMS types are supported as well.
|
|
59
|
+
*/
|
|
31
60
|
readonly kmsType: pulumi.Output<string>;
|
|
61
|
+
/**
|
|
62
|
+
* The custom property name (for example, `KeyUsage`).
|
|
63
|
+
*/
|
|
32
64
|
readonly name: pulumi.Output<string>;
|
|
65
|
+
/**
|
|
66
|
+
* The custom properties to set (for example, `KeyUsage=ENCRYPT_DECRYPT`, `KeyState=Enabled`):
|
|
67
|
+
*/
|
|
33
68
|
readonly properties: pulumi.Output<{
|
|
34
69
|
[key: string]: string;
|
|
35
70
|
}>;
|
|
36
71
|
/**
|
|
37
|
-
* The REST endpoint of the Schema Registry cluster, for example,
|
|
38
|
-
* `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).
|
|
72
|
+
* The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).
|
|
39
73
|
*/
|
|
40
74
|
readonly restEndpoint: pulumi.Output<string | undefined>;
|
|
41
75
|
readonly schemaRegistryCluster: pulumi.Output<outputs.SchemaRegistryKekSchemaRegistryCluster | undefined>;
|
|
42
|
-
|
|
76
|
+
/**
|
|
77
|
+
* The optional flag to control whether the DEK Registry has shared access to the KMS. Defaults to `false`.
|
|
78
|
+
*/
|
|
79
|
+
readonly shared: pulumi.Output<boolean | undefined>;
|
|
43
80
|
/**
|
|
44
81
|
* Create a SchemaRegistryKek resource with the given unique name, arguments, and options.
|
|
45
82
|
*
|
|
@@ -57,24 +94,44 @@ export interface SchemaRegistryKekState {
|
|
|
57
94
|
* The Cluster API Credentials.
|
|
58
95
|
*/
|
|
59
96
|
credentials?: pulumi.Input<inputs.SchemaRegistryKekCredentials>;
|
|
97
|
+
/**
|
|
98
|
+
* The optional description for the KEK.
|
|
99
|
+
*/
|
|
60
100
|
doc?: pulumi.Input<string>;
|
|
61
101
|
/**
|
|
62
102
|
* Controls whether a kek should be soft or hard deleted. Set it to `true` if you want to hard delete a schema registry kek
|
|
63
103
|
* on destroy. Defaults to `false` (soft delete).
|
|
64
104
|
*/
|
|
65
105
|
hardDelete?: pulumi.Input<boolean>;
|
|
106
|
+
/**
|
|
107
|
+
* The ID of the key from KMS.
|
|
108
|
+
* - When using the AWS KMS, this is an ARN, for example, `arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789abc`.
|
|
109
|
+
* - When using the Azure Key Vault, this is a Key Identifier (URI), for example, `https://test-keyvault1.vault.azure.net/keys/test-key1/1234567890abcdef1234567890abcdef`.
|
|
110
|
+
* - When using the GCP KMS, this is a resource name, for example, `projects/test-project1/locations/us-central1/keyRings/test-keyRing1/cryptoKeys/test-key1`.
|
|
111
|
+
*/
|
|
66
112
|
kmsKeyId?: pulumi.Input<string>;
|
|
113
|
+
/**
|
|
114
|
+
* The type of Key Management Service (KMS). The supported values include `aws-kms`, `azure-kms`, and `gcp-kms`. Additionally, custom KMS types are supported as well.
|
|
115
|
+
*/
|
|
67
116
|
kmsType?: pulumi.Input<string>;
|
|
117
|
+
/**
|
|
118
|
+
* The custom property name (for example, `KeyUsage`).
|
|
119
|
+
*/
|
|
68
120
|
name?: pulumi.Input<string>;
|
|
121
|
+
/**
|
|
122
|
+
* The custom properties to set (for example, `KeyUsage=ENCRYPT_DECRYPT`, `KeyState=Enabled`):
|
|
123
|
+
*/
|
|
69
124
|
properties?: pulumi.Input<{
|
|
70
125
|
[key: string]: pulumi.Input<string>;
|
|
71
126
|
}>;
|
|
72
127
|
/**
|
|
73
|
-
* The REST endpoint of the Schema Registry cluster, for example,
|
|
74
|
-
* `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).
|
|
128
|
+
* The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).
|
|
75
129
|
*/
|
|
76
130
|
restEndpoint?: pulumi.Input<string>;
|
|
77
131
|
schemaRegistryCluster?: pulumi.Input<inputs.SchemaRegistryKekSchemaRegistryCluster>;
|
|
132
|
+
/**
|
|
133
|
+
* The optional flag to control whether the DEK Registry has shared access to the KMS. Defaults to `false`.
|
|
134
|
+
*/
|
|
78
135
|
shared?: pulumi.Input<boolean>;
|
|
79
136
|
}
|
|
80
137
|
/**
|
|
@@ -85,23 +142,43 @@ export interface SchemaRegistryKekArgs {
|
|
|
85
142
|
* The Cluster API Credentials.
|
|
86
143
|
*/
|
|
87
144
|
credentials?: pulumi.Input<inputs.SchemaRegistryKekCredentials>;
|
|
145
|
+
/**
|
|
146
|
+
* The optional description for the KEK.
|
|
147
|
+
*/
|
|
88
148
|
doc?: pulumi.Input<string>;
|
|
89
149
|
/**
|
|
90
150
|
* Controls whether a kek should be soft or hard deleted. Set it to `true` if you want to hard delete a schema registry kek
|
|
91
151
|
* on destroy. Defaults to `false` (soft delete).
|
|
92
152
|
*/
|
|
93
153
|
hardDelete?: pulumi.Input<boolean>;
|
|
154
|
+
/**
|
|
155
|
+
* The ID of the key from KMS.
|
|
156
|
+
* - When using the AWS KMS, this is an ARN, for example, `arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789abc`.
|
|
157
|
+
* - When using the Azure Key Vault, this is a Key Identifier (URI), for example, `https://test-keyvault1.vault.azure.net/keys/test-key1/1234567890abcdef1234567890abcdef`.
|
|
158
|
+
* - When using the GCP KMS, this is a resource name, for example, `projects/test-project1/locations/us-central1/keyRings/test-keyRing1/cryptoKeys/test-key1`.
|
|
159
|
+
*/
|
|
94
160
|
kmsKeyId: pulumi.Input<string>;
|
|
161
|
+
/**
|
|
162
|
+
* The type of Key Management Service (KMS). The supported values include `aws-kms`, `azure-kms`, and `gcp-kms`. Additionally, custom KMS types are supported as well.
|
|
163
|
+
*/
|
|
95
164
|
kmsType: pulumi.Input<string>;
|
|
165
|
+
/**
|
|
166
|
+
* The custom property name (for example, `KeyUsage`).
|
|
167
|
+
*/
|
|
96
168
|
name?: pulumi.Input<string>;
|
|
169
|
+
/**
|
|
170
|
+
* The custom properties to set (for example, `KeyUsage=ENCRYPT_DECRYPT`, `KeyState=Enabled`):
|
|
171
|
+
*/
|
|
97
172
|
properties?: pulumi.Input<{
|
|
98
173
|
[key: string]: pulumi.Input<string>;
|
|
99
174
|
}>;
|
|
100
175
|
/**
|
|
101
|
-
* The REST endpoint of the Schema Registry cluster, for example,
|
|
102
|
-
* `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).
|
|
176
|
+
* The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).
|
|
103
177
|
*/
|
|
104
178
|
restEndpoint?: pulumi.Input<string>;
|
|
105
179
|
schemaRegistryCluster?: pulumi.Input<inputs.SchemaRegistryKekSchemaRegistryCluster>;
|
|
180
|
+
/**
|
|
181
|
+
* The optional flag to control whether the DEK Registry has shared access to the KMS. Defaults to `false`.
|
|
182
|
+
*/
|
|
106
183
|
shared?: pulumi.Input<boolean>;
|
|
107
184
|
}
|
package/schemaRegistryKek.js
CHANGED
|
@@ -5,6 +5,23 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.SchemaRegistryKek = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## Import
|
|
10
|
+
*
|
|
11
|
+
* You can import a Schema Registry Key by using the Schema Registry cluster ID, Kek name in the format `<Schema Registry cluster ID>/<Kek name>`, for example:
|
|
12
|
+
*
|
|
13
|
+
* $ export IMPORT_SCHEMA_REGISTRY_API_KEY="<schema_registry_api_key>"
|
|
14
|
+
*
|
|
15
|
+
* $ export IMPORT_SCHEMA_REGISTRY_API_SECRET="<schema_registry_api_secret>"
|
|
16
|
+
*
|
|
17
|
+
* $ export IMPORT_SCHEMA_REGISTRY_REST_ENDPOINT="<schema_registry_rest_endpoint>"
|
|
18
|
+
*
|
|
19
|
+
* ```sh
|
|
20
|
+
* $ pulumi import confluentcloud:index/schemaRegistryKek:SchemaRegistryKek aws_key lsrc-8wrx70/aws_key
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* !> **Warning:** Do not forget to delete terminal command history afterwards for security purposes.
|
|
24
|
+
*/
|
|
8
25
|
class SchemaRegistryKek extends pulumi.CustomResource {
|
|
9
26
|
/**
|
|
10
27
|
* Get an existing SchemaRegistryKek resource's state with the given name, ID, and optional extra
|
package/schemaRegistryKek.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemaRegistryKek.js","sourceRoot":"","sources":["../schemaRegistryKek.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8B,EAAE,IAAmC;QAC5H,OAAO,IAAI,iBAAiB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACxE,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,iBAAiB,CAAC,YAAY,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