@pulumi/confluentcloud 1.37.0-alpha.1710156163 → 1.37.0
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/flinkStatement.d.ts +2 -2
- package/flinkStatement.js +2 -2
- package/getSchema.d.ts +24 -0
- package/getSchema.js +2 -0
- package/getSchema.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/package.json +1 -1
- package/schema.d.ts +24 -0
- package/schema.js +4 -0
- package/schema.js.map +1 -1
- 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/types/input.d.ts +390 -20
- package/types/output.d.ts +264 -15
package/schemaRegistryKek.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 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,CAAC;IAClE,CAAC;
|
|
1
|
+
{"version":3,"file":"schemaRegistryKek.js","sourceRoot":"","sources":["../schemaRegistryKek.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,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,C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