@pulumi/confluentcloud 1.32.0 → 1.33.0-alpha.1706626171

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.
Files changed (78) hide show
  1. package/apiKey.d.ts +128 -0
  2. package/apiKey.js +128 -0
  3. package/apiKey.js.map +1 -1
  4. package/byokKey.d.ts +35 -0
  5. package/byokKey.js +35 -0
  6. package/byokKey.js.map +1 -1
  7. package/clusterLink.d.ts +56 -0
  8. package/clusterLink.js +56 -0
  9. package/clusterLink.js.map +1 -1
  10. package/connector.d.ts +191 -0
  11. package/connector.js +170 -0
  12. package/connector.js.map +1 -1
  13. package/environment.d.ts +25 -0
  14. package/environment.js +25 -0
  15. package/environment.js.map +1 -1
  16. package/getEnvironments.d.ts +2 -8
  17. package/getEnvironments.js +2 -8
  18. package/getEnvironments.js.map +1 -1
  19. package/getSchemaRegistryClusters.d.ts +2 -8
  20. package/getSchemaRegistryClusters.js +2 -8
  21. package/getSchemaRegistryClusters.js.map +1 -1
  22. package/getSchemaRegistryDek.d.ts +48 -0
  23. package/getSchemaRegistryDek.js +25 -0
  24. package/getSchemaRegistryDek.js.map +1 -0
  25. package/getSchemaRegistryKek.d.ts +44 -0
  26. package/getSchemaRegistryKek.js +22 -0
  27. package/getSchemaRegistryKek.js.map +1 -0
  28. package/getUsers.d.ts +2 -8
  29. package/getUsers.js +2 -8
  30. package/getUsers.js.map +1 -1
  31. package/index.d.ts +12 -0
  32. package/index.js +18 -2
  33. package/index.js.map +1 -1
  34. package/kafkaCluster.d.ts +137 -0
  35. package/kafkaCluster.js +137 -0
  36. package/kafkaCluster.js.map +1 -1
  37. package/kafkaMirrorTopic.d.ts +31 -0
  38. package/kafkaMirrorTopic.js +31 -0
  39. package/kafkaMirrorTopic.js.map +1 -1
  40. package/ksqlCluster.d.ts +14 -0
  41. package/ksqlCluster.js +14 -0
  42. package/ksqlCluster.js.map +1 -1
  43. package/network.d.ts +99 -0
  44. package/network.js +99 -0
  45. package/network.js.map +1 -1
  46. package/networkLinkEndpoint.d.ts +26 -0
  47. package/networkLinkEndpoint.js +26 -0
  48. package/networkLinkEndpoint.js.map +1 -1
  49. package/networkLinkService.d.ts +45 -0
  50. package/networkLinkService.js +45 -0
  51. package/networkLinkService.js.map +1 -1
  52. package/package.json +1 -1
  53. package/peering.d.ts +79 -0
  54. package/peering.js +79 -0
  55. package/peering.js.map +1 -1
  56. package/privateLinkAccess.d.ts +108 -0
  57. package/privateLinkAccess.js +108 -0
  58. package/privateLinkAccess.js.map +1 -1
  59. package/roleBinding.d.ts +20 -0
  60. package/roleBinding.js +20 -0
  61. package/roleBinding.js.map +1 -1
  62. package/schemaRegistryDek.d.ts +100 -0
  63. package/schemaRegistryDek.js +75 -0
  64. package/schemaRegistryDek.js.map +1 -0
  65. package/schemaRegistryKek.d.ts +107 -0
  66. package/schemaRegistryKek.js +75 -0
  67. package/schemaRegistryKek.js.map +1 -0
  68. package/serviceAccount.d.ts +37 -0
  69. package/serviceAccount.js +37 -0
  70. package/serviceAccount.js.map +1 -1
  71. package/tfImporter.d.ts +60 -0
  72. package/tfImporter.js +18 -0
  73. package/tfImporter.js.map +1 -1
  74. package/transitGatewayAttachment.d.ts +44 -0
  75. package/transitGatewayAttachment.js +44 -0
  76. package/transitGatewayAttachment.js.map +1 -1
  77. package/types/input.d.ts +51 -0
  78. package/types/output.d.ts +37 -0
@@ -0,0 +1,100 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ export declare class SchemaRegistryDek extends pulumi.CustomResource {
5
+ /**
6
+ * Get an existing SchemaRegistryDek resource's state with the given name, ID, and optional extra
7
+ * properties used to qualify the lookup.
8
+ *
9
+ * @param name The _unique_ name of the resulting resource.
10
+ * @param id The _unique_ provider ID of the resource to lookup.
11
+ * @param state Any extra arguments used during the lookup.
12
+ * @param opts Optional settings to control the behavior of the CustomResource.
13
+ */
14
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SchemaRegistryDekState, opts?: pulumi.CustomResourceOptions): SchemaRegistryDek;
15
+ /**
16
+ * Returns true if the given object is an instance of SchemaRegistryDek. This is designed to work even
17
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
18
+ */
19
+ static isInstance(obj: any): obj is SchemaRegistryDek;
20
+ readonly algorithm: pulumi.Output<string | undefined>;
21
+ /**
22
+ * The Cluster API Credentials.
23
+ */
24
+ readonly credentials: pulumi.Output<outputs.SchemaRegistryDekCredentials | undefined>;
25
+ readonly encryptedKeyMaterial: pulumi.Output<string>;
26
+ /**
27
+ * 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
+ * on destroy. Defaults to `false` (soft delete).
29
+ */
30
+ readonly hardDelete: pulumi.Output<boolean | undefined>;
31
+ readonly kekName: pulumi.Output<string>;
32
+ readonly keyMaterial: pulumi.Output<string>;
33
+ /**
34
+ * The REST endpoint of the Schema Registry cluster, for example,
35
+ * `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).
36
+ */
37
+ readonly restEndpoint: pulumi.Output<string | undefined>;
38
+ readonly schemaRegistryCluster: pulumi.Output<outputs.SchemaRegistryDekSchemaRegistryCluster | undefined>;
39
+ readonly subjectName: pulumi.Output<string>;
40
+ readonly version: pulumi.Output<number | undefined>;
41
+ /**
42
+ * Create a SchemaRegistryDek resource with the given unique name, arguments, and options.
43
+ *
44
+ * @param name The _unique_ name of the resource.
45
+ * @param args The arguments to use to populate this resource's properties.
46
+ * @param opts A bag of options that control this resource's behavior.
47
+ */
48
+ constructor(name: string, args: SchemaRegistryDekArgs, opts?: pulumi.CustomResourceOptions);
49
+ }
50
+ /**
51
+ * Input properties used for looking up and filtering SchemaRegistryDek resources.
52
+ */
53
+ export interface SchemaRegistryDekState {
54
+ algorithm?: pulumi.Input<string>;
55
+ /**
56
+ * The Cluster API Credentials.
57
+ */
58
+ credentials?: pulumi.Input<inputs.SchemaRegistryDekCredentials>;
59
+ encryptedKeyMaterial?: pulumi.Input<string>;
60
+ /**
61
+ * 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
+ * on destroy. Defaults to `false` (soft delete).
63
+ */
64
+ hardDelete?: pulumi.Input<boolean>;
65
+ kekName?: pulumi.Input<string>;
66
+ keyMaterial?: pulumi.Input<string>;
67
+ /**
68
+ * The REST endpoint of the Schema Registry cluster, for example,
69
+ * `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).
70
+ */
71
+ restEndpoint?: pulumi.Input<string>;
72
+ schemaRegistryCluster?: pulumi.Input<inputs.SchemaRegistryDekSchemaRegistryCluster>;
73
+ subjectName?: pulumi.Input<string>;
74
+ version?: pulumi.Input<number>;
75
+ }
76
+ /**
77
+ * The set of arguments for constructing a SchemaRegistryDek resource.
78
+ */
79
+ export interface SchemaRegistryDekArgs {
80
+ algorithm?: pulumi.Input<string>;
81
+ /**
82
+ * The Cluster API Credentials.
83
+ */
84
+ credentials?: pulumi.Input<inputs.SchemaRegistryDekCredentials>;
85
+ encryptedKeyMaterial?: pulumi.Input<string>;
86
+ /**
87
+ * 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
+ * on destroy. Defaults to `false` (soft delete).
89
+ */
90
+ hardDelete?: pulumi.Input<boolean>;
91
+ kekName: pulumi.Input<string>;
92
+ /**
93
+ * The REST endpoint of the Schema Registry cluster, for example,
94
+ * `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).
95
+ */
96
+ restEndpoint?: pulumi.Input<string>;
97
+ schemaRegistryCluster?: pulumi.Input<inputs.SchemaRegistryDekSchemaRegistryCluster>;
98
+ subjectName: pulumi.Input<string>;
99
+ version?: pulumi.Input<number>;
100
+ }
@@ -0,0 +1,75 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.SchemaRegistryDek = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ class SchemaRegistryDek extends pulumi.CustomResource {
9
+ /**
10
+ * Get an existing SchemaRegistryDek resource's state with the given name, ID, and optional extra
11
+ * properties used to qualify the lookup.
12
+ *
13
+ * @param name The _unique_ name of the resulting resource.
14
+ * @param id The _unique_ provider ID of the resource to lookup.
15
+ * @param state Any extra arguments used during the lookup.
16
+ * @param opts Optional settings to control the behavior of the CustomResource.
17
+ */
18
+ static get(name, id, state, opts) {
19
+ return new SchemaRegistryDek(name, state, Object.assign(Object.assign({}, opts), { id: id }));
20
+ }
21
+ /**
22
+ * Returns true if the given object is an instance of SchemaRegistryDek. This is designed to work even
23
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
24
+ */
25
+ static isInstance(obj) {
26
+ if (obj === undefined || obj === null) {
27
+ return false;
28
+ }
29
+ return obj['__pulumiType'] === SchemaRegistryDek.__pulumiType;
30
+ }
31
+ constructor(name, argsOrState, opts) {
32
+ let resourceInputs = {};
33
+ opts = opts || {};
34
+ if (opts.id) {
35
+ const state = argsOrState;
36
+ resourceInputs["algorithm"] = state ? state.algorithm : undefined;
37
+ resourceInputs["credentials"] = state ? state.credentials : undefined;
38
+ resourceInputs["encryptedKeyMaterial"] = state ? state.encryptedKeyMaterial : undefined;
39
+ resourceInputs["hardDelete"] = state ? state.hardDelete : undefined;
40
+ resourceInputs["kekName"] = state ? state.kekName : undefined;
41
+ resourceInputs["keyMaterial"] = state ? state.keyMaterial : undefined;
42
+ resourceInputs["restEndpoint"] = state ? state.restEndpoint : undefined;
43
+ resourceInputs["schemaRegistryCluster"] = state ? state.schemaRegistryCluster : undefined;
44
+ resourceInputs["subjectName"] = state ? state.subjectName : undefined;
45
+ resourceInputs["version"] = state ? state.version : undefined;
46
+ }
47
+ else {
48
+ const args = argsOrState;
49
+ if ((!args || args.kekName === undefined) && !opts.urn) {
50
+ throw new Error("Missing required property 'kekName'");
51
+ }
52
+ if ((!args || args.subjectName === undefined) && !opts.urn) {
53
+ throw new Error("Missing required property 'subjectName'");
54
+ }
55
+ resourceInputs["algorithm"] = args ? args.algorithm : undefined;
56
+ resourceInputs["credentials"] = (args === null || args === void 0 ? void 0 : args.credentials) ? pulumi.secret(args.credentials) : undefined;
57
+ resourceInputs["encryptedKeyMaterial"] = args ? args.encryptedKeyMaterial : undefined;
58
+ resourceInputs["hardDelete"] = args ? args.hardDelete : undefined;
59
+ resourceInputs["kekName"] = args ? args.kekName : undefined;
60
+ resourceInputs["restEndpoint"] = args ? args.restEndpoint : undefined;
61
+ resourceInputs["schemaRegistryCluster"] = args ? args.schemaRegistryCluster : undefined;
62
+ resourceInputs["subjectName"] = args ? args.subjectName : undefined;
63
+ resourceInputs["version"] = args ? args.version : undefined;
64
+ resourceInputs["keyMaterial"] = undefined /*out*/;
65
+ }
66
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
67
+ const secretOpts = { additionalSecretOutputs: ["credentials"] };
68
+ opts = pulumi.mergeOptions(opts, secretOpts);
69
+ super(SchemaRegistryDek.__pulumiType, name, resourceInputs, opts);
70
+ }
71
+ }
72
+ exports.SchemaRegistryDek = SchemaRegistryDek;
73
+ /** @internal */
74
+ SchemaRegistryDek.__pulumiType = 'confluentcloud:index/schemaRegistryDek:SchemaRegistryDek';
75
+ //# sourceMappingURL=schemaRegistryDek.js.map
@@ -0,0 +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,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AClE,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,uBAAuB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC,CAAC,SAAS,CAAC;YACxF,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACrD;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,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtE,CAAC;;AAhGL,8CAiGC;AAnFG,gBAAgB;AACO,8BAAY,GAAG,0DAA0D,CAAC"}
@@ -0,0 +1,107 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ export declare class SchemaRegistryKek extends pulumi.CustomResource {
5
+ /**
6
+ * Get an existing SchemaRegistryKek resource's state with the given name, ID, and optional extra
7
+ * properties used to qualify the lookup.
8
+ *
9
+ * @param name The _unique_ name of the resulting resource.
10
+ * @param id The _unique_ provider ID of the resource to lookup.
11
+ * @param state Any extra arguments used during the lookup.
12
+ * @param opts Optional settings to control the behavior of the CustomResource.
13
+ */
14
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SchemaRegistryKekState, opts?: pulumi.CustomResourceOptions): SchemaRegistryKek;
15
+ /**
16
+ * Returns true if the given object is an instance of SchemaRegistryKek. This is designed to work even
17
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
18
+ */
19
+ static isInstance(obj: any): obj is SchemaRegistryKek;
20
+ /**
21
+ * The Cluster API Credentials.
22
+ */
23
+ readonly credentials: pulumi.Output<outputs.SchemaRegistryKekCredentials | undefined>;
24
+ readonly doc: pulumi.Output<string>;
25
+ /**
26
+ * 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
+ * on destroy. Defaults to `false` (soft delete).
28
+ */
29
+ readonly hardDelete: pulumi.Output<boolean | undefined>;
30
+ readonly kmsKeyId: pulumi.Output<string>;
31
+ readonly kmsType: pulumi.Output<string>;
32
+ readonly name: pulumi.Output<string>;
33
+ readonly properties: pulumi.Output<{
34
+ [key: string]: string;
35
+ }>;
36
+ /**
37
+ * The REST endpoint of the Schema Registry cluster, for example,
38
+ * `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).
39
+ */
40
+ readonly restEndpoint: pulumi.Output<string | undefined>;
41
+ readonly schemaRegistryCluster: pulumi.Output<outputs.SchemaRegistryKekSchemaRegistryCluster | undefined>;
42
+ readonly shared: pulumi.Output<boolean>;
43
+ /**
44
+ * Create a SchemaRegistryKek resource with the given unique name, arguments, and options.
45
+ *
46
+ * @param name The _unique_ name of the resource.
47
+ * @param args The arguments to use to populate this resource's properties.
48
+ * @param opts A bag of options that control this resource's behavior.
49
+ */
50
+ constructor(name: string, args: SchemaRegistryKekArgs, opts?: pulumi.CustomResourceOptions);
51
+ }
52
+ /**
53
+ * Input properties used for looking up and filtering SchemaRegistryKek resources.
54
+ */
55
+ export interface SchemaRegistryKekState {
56
+ /**
57
+ * The Cluster API Credentials.
58
+ */
59
+ credentials?: pulumi.Input<inputs.SchemaRegistryKekCredentials>;
60
+ doc?: pulumi.Input<string>;
61
+ /**
62
+ * 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
+ * on destroy. Defaults to `false` (soft delete).
64
+ */
65
+ hardDelete?: pulumi.Input<boolean>;
66
+ kmsKeyId?: pulumi.Input<string>;
67
+ kmsType?: pulumi.Input<string>;
68
+ name?: pulumi.Input<string>;
69
+ properties?: pulumi.Input<{
70
+ [key: string]: pulumi.Input<string>;
71
+ }>;
72
+ /**
73
+ * The REST endpoint of the Schema Registry cluster, for example,
74
+ * `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).
75
+ */
76
+ restEndpoint?: pulumi.Input<string>;
77
+ schemaRegistryCluster?: pulumi.Input<inputs.SchemaRegistryKekSchemaRegistryCluster>;
78
+ shared?: pulumi.Input<boolean>;
79
+ }
80
+ /**
81
+ * The set of arguments for constructing a SchemaRegistryKek resource.
82
+ */
83
+ export interface SchemaRegistryKekArgs {
84
+ /**
85
+ * The Cluster API Credentials.
86
+ */
87
+ credentials?: pulumi.Input<inputs.SchemaRegistryKekCredentials>;
88
+ doc?: pulumi.Input<string>;
89
+ /**
90
+ * 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
+ * on destroy. Defaults to `false` (soft delete).
92
+ */
93
+ hardDelete?: pulumi.Input<boolean>;
94
+ kmsKeyId: pulumi.Input<string>;
95
+ kmsType: pulumi.Input<string>;
96
+ name?: pulumi.Input<string>;
97
+ properties?: pulumi.Input<{
98
+ [key: string]: pulumi.Input<string>;
99
+ }>;
100
+ /**
101
+ * The REST endpoint of the Schema Registry cluster, for example,
102
+ * `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).
103
+ */
104
+ restEndpoint?: pulumi.Input<string>;
105
+ schemaRegistryCluster?: pulumi.Input<inputs.SchemaRegistryKekSchemaRegistryCluster>;
106
+ shared?: pulumi.Input<boolean>;
107
+ }
@@ -0,0 +1,75 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.SchemaRegistryKek = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ class SchemaRegistryKek extends pulumi.CustomResource {
9
+ /**
10
+ * Get an existing SchemaRegistryKek resource's state with the given name, ID, and optional extra
11
+ * properties used to qualify the lookup.
12
+ *
13
+ * @param name The _unique_ name of the resulting resource.
14
+ * @param id The _unique_ provider ID of the resource to lookup.
15
+ * @param state Any extra arguments used during the lookup.
16
+ * @param opts Optional settings to control the behavior of the CustomResource.
17
+ */
18
+ static get(name, id, state, opts) {
19
+ return new SchemaRegistryKek(name, state, Object.assign(Object.assign({}, opts), { id: id }));
20
+ }
21
+ /**
22
+ * Returns true if the given object is an instance of SchemaRegistryKek. This is designed to work even
23
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
24
+ */
25
+ static isInstance(obj) {
26
+ if (obj === undefined || obj === null) {
27
+ return false;
28
+ }
29
+ return obj['__pulumiType'] === SchemaRegistryKek.__pulumiType;
30
+ }
31
+ constructor(name, argsOrState, opts) {
32
+ let resourceInputs = {};
33
+ opts = opts || {};
34
+ if (opts.id) {
35
+ const state = argsOrState;
36
+ resourceInputs["credentials"] = state ? state.credentials : undefined;
37
+ resourceInputs["doc"] = state ? state.doc : undefined;
38
+ resourceInputs["hardDelete"] = state ? state.hardDelete : undefined;
39
+ resourceInputs["kmsKeyId"] = state ? state.kmsKeyId : undefined;
40
+ resourceInputs["kmsType"] = state ? state.kmsType : undefined;
41
+ resourceInputs["name"] = state ? state.name : undefined;
42
+ resourceInputs["properties"] = state ? state.properties : undefined;
43
+ resourceInputs["restEndpoint"] = state ? state.restEndpoint : undefined;
44
+ resourceInputs["schemaRegistryCluster"] = state ? state.schemaRegistryCluster : undefined;
45
+ resourceInputs["shared"] = state ? state.shared : undefined;
46
+ }
47
+ else {
48
+ const args = argsOrState;
49
+ if ((!args || args.kmsKeyId === undefined) && !opts.urn) {
50
+ throw new Error("Missing required property 'kmsKeyId'");
51
+ }
52
+ if ((!args || args.kmsType === undefined) && !opts.urn) {
53
+ throw new Error("Missing required property 'kmsType'");
54
+ }
55
+ resourceInputs["credentials"] = (args === null || args === void 0 ? void 0 : args.credentials) ? pulumi.secret(args.credentials) : undefined;
56
+ resourceInputs["doc"] = args ? args.doc : undefined;
57
+ resourceInputs["hardDelete"] = args ? args.hardDelete : undefined;
58
+ resourceInputs["kmsKeyId"] = args ? args.kmsKeyId : undefined;
59
+ resourceInputs["kmsType"] = args ? args.kmsType : undefined;
60
+ resourceInputs["name"] = args ? args.name : undefined;
61
+ resourceInputs["properties"] = args ? args.properties : undefined;
62
+ resourceInputs["restEndpoint"] = args ? args.restEndpoint : undefined;
63
+ resourceInputs["schemaRegistryCluster"] = args ? args.schemaRegistryCluster : undefined;
64
+ resourceInputs["shared"] = args ? args.shared : undefined;
65
+ }
66
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
67
+ const secretOpts = { additionalSecretOutputs: ["credentials"] };
68
+ opts = pulumi.mergeOptions(opts, secretOpts);
69
+ super(SchemaRegistryKek.__pulumiType, name, resourceInputs, opts);
70
+ }
71
+ }
72
+ exports.SchemaRegistryKek = SchemaRegistryKek;
73
+ /** @internal */
74
+ SchemaRegistryKek.__pulumiType = 'confluentcloud:index/schemaRegistryKek:SchemaRegistryKek';
75
+ //# sourceMappingURL=schemaRegistryKek.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schemaRegistryKek.js","sourceRoot":"","sources":["../schemaRegistryKek.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAE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,8BAAY,GAAG,0DAA0D,CAAC"}
@@ -1,5 +1,42 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
+ * [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
4
+ *
5
+ * `confluentcloud.ServiceAccount` provides a Service Account resource that enables creating, editing, and deleting service accounts on Confluent Cloud.
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as confluentcloud from "@pulumi/confluentcloud";
12
+ *
13
+ * const example_sa = new confluentcloud.ServiceAccount("example-sa", {description: "Service Account for orders app"});
14
+ * ```
15
+ * ## Getting Started
16
+ *
17
+ * The following end-to-end examples might help to get started with `confluentcloud.ServiceAccount` resource:
18
+ * * `basic-kafka-acls`: _Basic_ Kafka cluster with authorization using ACLs
19
+ * * `basic-kafka-acls-with-alias`: _Basic_ Kafka cluster with authorization using ACLs
20
+ * * `standard-kafka-acls`: _Standard_ Kafka cluster with authorization using ACLs
21
+ * * `standard-kafka-rbac`: _Standard_ Kafka cluster with authorization using RBAC
22
+ * * `dedicated-public-kafka-acls`: _Dedicated_ Kafka cluster that is accessible over the public internet with authorization using ACLs
23
+ * * `dedicated-public-kafka-rbac`: _Dedicated_ Kafka cluster that is accessible over the public internet with authorization using RBAC
24
+ * * `dedicated-privatelink-aws-kafka-acls`: _Dedicated_ Kafka cluster on AWS that is accessible via PrivateLink connections with authorization using ACLs
25
+ * * `dedicated-privatelink-aws-kafka-rbac`: _Dedicated_ Kafka cluster on AWS that is accessible via PrivateLink connections with authorization using RBAC
26
+ * * `dedicated-privatelink-azure-kafka-rbac`: _Dedicated_ Kafka cluster on Azure that is accessible via PrivateLink connections with authorization using RBAC
27
+ * * `dedicated-privatelink-azure-kafka-acls`: _Dedicated_ Kafka cluster on Azure that is accessible via PrivateLink connections with authorization using ACLs
28
+ * * `dedicated-private-service-connect-gcp-kafka-acls`: _Dedicated_ Kafka cluster on GCP that is accessible via Private Service Connect connections with authorization using ACLs
29
+ * * `dedicated-private-service-connect-gcp-kafka-rbac`: _Dedicated_ Kafka cluster on GCP that is accessible via Private Service Connect connections with authorization using RBAC
30
+ * * `dedicated-vnet-peering-azure-kafka-acls`: _Dedicated_ Kafka cluster on Azure that is accessible via VPC Peering connections with authorization using ACLs
31
+ * * `dedicated-vnet-peering-azure-kafka-rbac`: _Dedicated_ Kafka cluster on Azure that is accessible via VPC Peering connections with authorization using RBAC
32
+ * * `dedicated-vpc-peering-aws-kafka-acls`: _Dedicated_ Kafka cluster on AWS that is accessible via VPC Peering connections with authorization using ACLs
33
+ * * `dedicated-vpc-peering-aws-kafka-rbac`: _Dedicated_ Kafka cluster on AWS that is accessible via VPC Peering connections with authorization using RBAC
34
+ * * `dedicated-vpc-peering-gcp-kafka-acls`: _Dedicated_ Kafka cluster on GCP that is accessible via VPC Peering connections with authorization using ACLs
35
+ * * `dedicated-vpc-peering-gcp-kafka-rbac`: _Dedicated_ Kafka cluster on GCP that is accessible via VPC Peering connections with authorization using RBAC
36
+ * * `dedicated-transit-gateway-attachment-aws-kafka-acls`: _Dedicated_ Kafka cluster on AWS that is accessible via Transit Gateway Endpoint with authorization using ACLs
37
+ * * `dedicated-transit-gateway-attachment-aws-kafka-rbac`: _Dedicated_ Kafka cluster on AWS that is accessible via Transit Gateway Endpoint with authorization using RBAC
38
+ * * `enterprise-privatelinkattachment-aws-kafka-acls`: _Enterprise_ Kafka cluster on AWS that is accessible via PrivateLink connections with authorization using ACLs
39
+ *
3
40
  * ## Import
4
41
  *
5
42
  * You can import a Service Account by using Service Account ID, for example$ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>" $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
package/serviceAccount.js CHANGED
@@ -6,6 +6,43 @@ exports.ServiceAccount = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
+ * [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
10
+ *
11
+ * `confluentcloud.ServiceAccount` provides a Service Account resource that enables creating, editing, and deleting service accounts on Confluent Cloud.
12
+ *
13
+ * ## Example Usage
14
+ *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as confluentcloud from "@pulumi/confluentcloud";
18
+ *
19
+ * const example_sa = new confluentcloud.ServiceAccount("example-sa", {description: "Service Account for orders app"});
20
+ * ```
21
+ * ## Getting Started
22
+ *
23
+ * The following end-to-end examples might help to get started with `confluentcloud.ServiceAccount` resource:
24
+ * * `basic-kafka-acls`: _Basic_ Kafka cluster with authorization using ACLs
25
+ * * `basic-kafka-acls-with-alias`: _Basic_ Kafka cluster with authorization using ACLs
26
+ * * `standard-kafka-acls`: _Standard_ Kafka cluster with authorization using ACLs
27
+ * * `standard-kafka-rbac`: _Standard_ Kafka cluster with authorization using RBAC
28
+ * * `dedicated-public-kafka-acls`: _Dedicated_ Kafka cluster that is accessible over the public internet with authorization using ACLs
29
+ * * `dedicated-public-kafka-rbac`: _Dedicated_ Kafka cluster that is accessible over the public internet with authorization using RBAC
30
+ * * `dedicated-privatelink-aws-kafka-acls`: _Dedicated_ Kafka cluster on AWS that is accessible via PrivateLink connections with authorization using ACLs
31
+ * * `dedicated-privatelink-aws-kafka-rbac`: _Dedicated_ Kafka cluster on AWS that is accessible via PrivateLink connections with authorization using RBAC
32
+ * * `dedicated-privatelink-azure-kafka-rbac`: _Dedicated_ Kafka cluster on Azure that is accessible via PrivateLink connections with authorization using RBAC
33
+ * * `dedicated-privatelink-azure-kafka-acls`: _Dedicated_ Kafka cluster on Azure that is accessible via PrivateLink connections with authorization using ACLs
34
+ * * `dedicated-private-service-connect-gcp-kafka-acls`: _Dedicated_ Kafka cluster on GCP that is accessible via Private Service Connect connections with authorization using ACLs
35
+ * * `dedicated-private-service-connect-gcp-kafka-rbac`: _Dedicated_ Kafka cluster on GCP that is accessible via Private Service Connect connections with authorization using RBAC
36
+ * * `dedicated-vnet-peering-azure-kafka-acls`: _Dedicated_ Kafka cluster on Azure that is accessible via VPC Peering connections with authorization using ACLs
37
+ * * `dedicated-vnet-peering-azure-kafka-rbac`: _Dedicated_ Kafka cluster on Azure that is accessible via VPC Peering connections with authorization using RBAC
38
+ * * `dedicated-vpc-peering-aws-kafka-acls`: _Dedicated_ Kafka cluster on AWS that is accessible via VPC Peering connections with authorization using ACLs
39
+ * * `dedicated-vpc-peering-aws-kafka-rbac`: _Dedicated_ Kafka cluster on AWS that is accessible via VPC Peering connections with authorization using RBAC
40
+ * * `dedicated-vpc-peering-gcp-kafka-acls`: _Dedicated_ Kafka cluster on GCP that is accessible via VPC Peering connections with authorization using ACLs
41
+ * * `dedicated-vpc-peering-gcp-kafka-rbac`: _Dedicated_ Kafka cluster on GCP that is accessible via VPC Peering connections with authorization using RBAC
42
+ * * `dedicated-transit-gateway-attachment-aws-kafka-acls`: _Dedicated_ Kafka cluster on AWS that is accessible via Transit Gateway Endpoint with authorization using ACLs
43
+ * * `dedicated-transit-gateway-attachment-aws-kafka-rbac`: _Dedicated_ Kafka cluster on AWS that is accessible via Transit Gateway Endpoint with authorization using RBAC
44
+ * * `enterprise-privatelinkattachment-aws-kafka-acls`: _Enterprise_ Kafka cluster on AWS that is accessible via PrivateLink connections with authorization using ACLs
45
+ *
9
46
  * ## Import
10
47
  *
11
48
  * You can import a Service Account by using Service Account ID, for example$ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>" $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
@@ -1 +1 @@
1
- {"version":3,"file":"serviceAccount.js","sourceRoot":"","sources":["../serviceAccount.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;GAU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C"}
package/tfImporter.d.ts CHANGED
@@ -1,4 +1,22 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * ## Example Usage
4
+ *
5
+ * ```typescript
6
+ * import * as pulumi from "@pulumi/pulumi";
7
+ * import * as confluentcloud from "@pulumi/confluentcloud";
8
+ *
9
+ * const example = new confluentcloud.TfImporter("example", {resources: [
10
+ * "confluent_service_account",
11
+ * "confluent_environment",
12
+ * ]});
13
+ * ```
14
+ * ## Getting Started
15
+ *
16
+ * The following end-to-end examples might help to get started with the `confluentcloud.TfImporter` resource:
17
+ * * `cloud-importer`: Export _Cloud_ resources (for example, Service Accounts, Environments)
18
+ * * `kafka-importer`: Export _Kafka_ resources (for example, ACLs, Topics)
19
+ */
2
20
  export declare class TfImporter extends pulumi.CustomResource {
3
21
  /**
4
22
  * Get an existing TfImporter resource's state with the given name, ID, and optional extra
@@ -15,6 +33,20 @@ export declare class TfImporter extends pulumi.CustomResource {
15
33
  * when multiple copies of the Pulumi SDK have been loaded into the same process.
16
34
  */
17
35
  static isInstance(obj: any): obj is TfImporter;
36
+ /**
37
+ * An absolute path to a folder for outputting generated TF state and TF configuration files for your infrastructure. The folder is created if it doesn't exist. Defaults to `./imported_confluent_infrastructure`.
38
+ *
39
+ * These are the exportable resources:
40
+ * * Service Accounts
41
+ * * Environments
42
+ * * Connectors
43
+ * * Kafka Clusters
44
+ * * Access Control Lists (ACLs)
45
+ * * Topics
46
+ * * Schemas
47
+ *
48
+ * > **Note:** File an issue to request a support for other resources.
49
+ */
18
50
  readonly outputPath: pulumi.Output<string | undefined>;
19
51
  /**
20
52
  * A list of resources names to export. Defaults to all exportable resources.
@@ -33,6 +65,20 @@ export declare class TfImporter extends pulumi.CustomResource {
33
65
  * Input properties used for looking up and filtering TfImporter resources.
34
66
  */
35
67
  export interface TfImporterState {
68
+ /**
69
+ * An absolute path to a folder for outputting generated TF state and TF configuration files for your infrastructure. The folder is created if it doesn't exist. Defaults to `./imported_confluent_infrastructure`.
70
+ *
71
+ * These are the exportable resources:
72
+ * * Service Accounts
73
+ * * Environments
74
+ * * Connectors
75
+ * * Kafka Clusters
76
+ * * Access Control Lists (ACLs)
77
+ * * Topics
78
+ * * Schemas
79
+ *
80
+ * > **Note:** File an issue to request a support for other resources.
81
+ */
36
82
  outputPath?: pulumi.Input<string>;
37
83
  /**
38
84
  * A list of resources names to export. Defaults to all exportable resources.
@@ -43,6 +89,20 @@ export interface TfImporterState {
43
89
  * The set of arguments for constructing a TfImporter resource.
44
90
  */
45
91
  export interface TfImporterArgs {
92
+ /**
93
+ * An absolute path to a folder for outputting generated TF state and TF configuration files for your infrastructure. The folder is created if it doesn't exist. Defaults to `./imported_confluent_infrastructure`.
94
+ *
95
+ * These are the exportable resources:
96
+ * * Service Accounts
97
+ * * Environments
98
+ * * Connectors
99
+ * * Kafka Clusters
100
+ * * Access Control Lists (ACLs)
101
+ * * Topics
102
+ * * Schemas
103
+ *
104
+ * > **Note:** File an issue to request a support for other resources.
105
+ */
46
106
  outputPath?: pulumi.Input<string>;
47
107
  /**
48
108
  * A list of resources names to export. Defaults to all exportable resources.
package/tfImporter.js CHANGED
@@ -5,6 +5,24 @@ Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.TfImporter = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
+ /**
9
+ * ## Example Usage
10
+ *
11
+ * ```typescript
12
+ * import * as pulumi from "@pulumi/pulumi";
13
+ * import * as confluentcloud from "@pulumi/confluentcloud";
14
+ *
15
+ * const example = new confluentcloud.TfImporter("example", {resources: [
16
+ * "confluent_service_account",
17
+ * "confluent_environment",
18
+ * ]});
19
+ * ```
20
+ * ## Getting Started
21
+ *
22
+ * The following end-to-end examples might help to get started with the `confluentcloud.TfImporter` resource:
23
+ * * `cloud-importer`: Export _Cloud_ resources (for example, Service Accounts, Environments)
24
+ * * `kafka-importer`: Export _Kafka_ resources (for example, ACLs, Topics)
25
+ */
8
26
  class TfImporter extends pulumi.CustomResource {
9
27
  /**
10
28
  * Get an existing TfImporter resource's state with the given name, ID, and optional extra
package/tfImporter.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"tfImporter.js","sourceRoot":"","sources":["../tfImporter.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuB,EAAE,IAAmC;QACrH,OAAO,IAAI,UAAU,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACjE,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,UAAU,CAAC,YAAY,CAAC;IAC3D,CAAC;IAgBD,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,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;SACrE;aAAM;YACH,MAAM,IAAI,GAAG,WAAyC,CAAC;YACvD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC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AC;YACzD,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;SACrE;aAAM;YACH,MAAM,IAAI,GAAG,WAAyC,CAAC;YACvD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;SACnE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;;AAtEL,gCAuEC;AAzDG,gBAAgB;AACO,uBAAY,GAAG,4CAA4C,CAAC"}
@@ -2,6 +2,50 @@ import * as pulumi from "@pulumi/pulumi";
2
2
  import * as inputs from "./types/input";
3
3
  import * as outputs from "./types/output";
4
4
  /**
5
+ * ## Example Usage
6
+ * ### Example Transit Gateway Attachment on AWS
7
+ *
8
+ * ```typescript
9
+ * import * as pulumi from "@pulumi/pulumi";
10
+ * import * as confluentcloud from "@pulumi/confluentcloud";
11
+ *
12
+ * const development = new confluentcloud.Environment("development", {});
13
+ * const aws_transit_gateway_attachment = new confluentcloud.Network("aws-transit-gateway-attachment", {
14
+ * displayName: "AWS Transit Gateway Attachment Network",
15
+ * cloud: "AWS",
16
+ * region: "us-east-2",
17
+ * cidr: "10.10.0.0/16",
18
+ * connectionTypes: ["TRANSITGATEWAY"],
19
+ * environment: {
20
+ * id: development.id,
21
+ * },
22
+ * });
23
+ * const aws = new confluentcloud.TransitGatewayAttachment("aws", {
24
+ * displayName: "AWS Transit Gateway Attachment",
25
+ * aws: {
26
+ * ramResourceShareArn: "arn:aws:ram:us-east-2:000000000000:resource-share/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx",
27
+ * transitGatewayId: "tgw-xxxxxxxxxxxxxxxxx",
28
+ * routes: [
29
+ * "192.168.0.0/16",
30
+ * "172.16.0.0/12",
31
+ * "100.64.0.0/10",
32
+ * "10.0.0.0/8",
33
+ * ],
34
+ * },
35
+ * environment: {
36
+ * id: development.id,
37
+ * },
38
+ * network: {
39
+ * id: aws_transit_gateway_attachment.id,
40
+ * },
41
+ * });
42
+ * ```
43
+ * ## Getting Started
44
+ *
45
+ * The following end-to-end examples might help to get started with `confluentcloud.TransitGatewayAttachment` resource:
46
+ * * `dedicated-transit-gateway-attachment-aws-kafka-acls`: _Dedicated_ Kafka cluster on AWS that is accessible via Transit Gateway Endpoint with authorization using ACLs
47
+ * * enterprise-privatelinkattachment-aws-kafka-acls
48
+ *
5
49
  * ## Import
6
50
  *
7
51
  * You can import a Transit Gateway Attachment by using Environment ID and Transit Gateway Attachment ID, in the format `<Environment ID>/<Transit Gateway Attachment ID>`. The following example shows how to import a Transit Gateway Attachment$ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>" $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"