@pulumi/confluentcloud 2.20.0 → 2.21.0-alpha.1742354781

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.
@@ -0,0 +1,182 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ /**
5
+ * ## Example Usage
6
+ *
7
+ * ### Option #1: Manage multiple Catalog Integrations in the same Pulumi Stack
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as confluentcloud from "@pulumi/confluentcloud";
12
+ *
13
+ * const example = new confluentcloud.CatalogIntegration("example", {
14
+ * environment: {
15
+ * id: staging.id,
16
+ * },
17
+ * kafkaCluster: {
18
+ * id: stagingConfluentKafkaCluster.id,
19
+ * },
20
+ * displayName: "catalog-integration-1",
21
+ * awsGlue: {
22
+ * providerIntegrationId: main.id,
23
+ * },
24
+ * credentials: {
25
+ * key: env_admin_tableflow_api_key.id,
26
+ * secret: env_admin_tableflow_api_key.secret,
27
+ * },
28
+ * });
29
+ * ```
30
+ *
31
+ * ### Option #2: Manage a single Catalog Integration in the same Pulumi Stack
32
+ *
33
+ * ```typescript
34
+ * import * as pulumi from "@pulumi/pulumi";
35
+ * import * as confluentcloud from "@pulumi/confluentcloud";
36
+ *
37
+ * const example = new confluentcloud.CatalogIntegration("example", {
38
+ * environment: {
39
+ * id: staging.id,
40
+ * },
41
+ * kafkaCluster: {
42
+ * id: stagingConfluentKafkaCluster.id,
43
+ * },
44
+ * displayName: "catalog-integration-1",
45
+ * snowflake: {
46
+ * endpoint: "https://vuser1_polaris.snowflakecomputing.com/",
47
+ * clientId: "***REDACTED***",
48
+ * clientSecret: "***REDACTED***",
49
+ * warehouse: "catalog-name",
50
+ * allowedScope: "session:role:R1",
51
+ * },
52
+ * });
53
+ * ```
54
+ *
55
+ * ## Import
56
+ *
57
+ * You can import a Catalog Integration by using the Catalog Integration name, Environment ID, and Kafka Cluster ID, in the format `<Environment ID>/<Kafka Cluster ID>/<Catalog Integration Id>`, for example:
58
+ *
59
+ * Option #1: Manage multiple Catalog Integrations in the same Pulumi Stack
60
+ *
61
+ * $ export IMPORT_TABLEFLOW_API_KEY="<tableflow_api_key>"
62
+ *
63
+ * $ export IMPORT_TABLEFLOW_API_SECRET="<tableflow_api_secret>"
64
+ *
65
+ * ```sh
66
+ * $ pulumi import confluentcloud:index/catalogIntegration:CatalogIntegration example env-abc123/lkc-abc123/tci-abc123
67
+ * ```
68
+ *
69
+ * Option #2: Manage a single Catalog Integration in the same Pulumi Stack
70
+ *
71
+ * ```sh
72
+ * $ pulumi import confluentcloud:index/catalogIntegration:CatalogIntegration example env-abc123/lkc-abc123/tci-abc123
73
+ * ```
74
+ *
75
+ * !> **Warning:** Do not forget to delete terminal command history afterwards for security purposes.
76
+ */
77
+ export declare class CatalogIntegration extends pulumi.CustomResource {
78
+ /**
79
+ * Get an existing CatalogIntegration resource's state with the given name, ID, and optional extra
80
+ * properties used to qualify the lookup.
81
+ *
82
+ * @param name The _unique_ name of the resulting resource.
83
+ * @param id The _unique_ provider ID of the resource to lookup.
84
+ * @param state Any extra arguments used during the lookup.
85
+ * @param opts Optional settings to control the behavior of the CustomResource.
86
+ */
87
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: CatalogIntegrationState, opts?: pulumi.CustomResourceOptions): CatalogIntegration;
88
+ /**
89
+ * Returns true if the given object is an instance of CatalogIntegration. This is designed to work even
90
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
91
+ */
92
+ static isInstance(obj: any): obj is CatalogIntegration;
93
+ /**
94
+ * The catalog integration Glue connection configuration.
95
+ */
96
+ readonly awsGlue: pulumi.Output<outputs.CatalogIntegrationAwsGlue | undefined>;
97
+ /**
98
+ * The Cluster API Credentials.
99
+ */
100
+ readonly credentials: pulumi.Output<outputs.CatalogIntegrationCredentials | undefined>;
101
+ /**
102
+ * The name of the catalog integration.
103
+ */
104
+ readonly displayName: pulumi.Output<string>;
105
+ /**
106
+ * Environment objects represent an isolated namespace for your Confluent resources for organizational purposes.
107
+ */
108
+ readonly environment: pulumi.Output<outputs.CatalogIntegrationEnvironment>;
109
+ readonly kafkaCluster: pulumi.Output<outputs.CatalogIntegrationKafkaCluster>;
110
+ /**
111
+ * The catalog integration connection configuration for Snowflake Open Catalog.
112
+ */
113
+ readonly snowflake: pulumi.Output<outputs.CatalogIntegrationSnowflake | undefined>;
114
+ /**
115
+ * (Optional Boolean) Indicates whether the Catalog Integration should be suspended.
116
+ */
117
+ readonly suspended: pulumi.Output<boolean>;
118
+ /**
119
+ * Create a CatalogIntegration resource with the given unique name, arguments, and options.
120
+ *
121
+ * @param name The _unique_ name of the resource.
122
+ * @param args The arguments to use to populate this resource's properties.
123
+ * @param opts A bag of options that control this resource's behavior.
124
+ */
125
+ constructor(name: string, args: CatalogIntegrationArgs, opts?: pulumi.CustomResourceOptions);
126
+ }
127
+ /**
128
+ * Input properties used for looking up and filtering CatalogIntegration resources.
129
+ */
130
+ export interface CatalogIntegrationState {
131
+ /**
132
+ * The catalog integration Glue connection configuration.
133
+ */
134
+ awsGlue?: pulumi.Input<inputs.CatalogIntegrationAwsGlue>;
135
+ /**
136
+ * The Cluster API Credentials.
137
+ */
138
+ credentials?: pulumi.Input<inputs.CatalogIntegrationCredentials>;
139
+ /**
140
+ * The name of the catalog integration.
141
+ */
142
+ displayName?: pulumi.Input<string>;
143
+ /**
144
+ * Environment objects represent an isolated namespace for your Confluent resources for organizational purposes.
145
+ */
146
+ environment?: pulumi.Input<inputs.CatalogIntegrationEnvironment>;
147
+ kafkaCluster?: pulumi.Input<inputs.CatalogIntegrationKafkaCluster>;
148
+ /**
149
+ * The catalog integration connection configuration for Snowflake Open Catalog.
150
+ */
151
+ snowflake?: pulumi.Input<inputs.CatalogIntegrationSnowflake>;
152
+ /**
153
+ * (Optional Boolean) Indicates whether the Catalog Integration should be suspended.
154
+ */
155
+ suspended?: pulumi.Input<boolean>;
156
+ }
157
+ /**
158
+ * The set of arguments for constructing a CatalogIntegration resource.
159
+ */
160
+ export interface CatalogIntegrationArgs {
161
+ /**
162
+ * The catalog integration Glue connection configuration.
163
+ */
164
+ awsGlue?: pulumi.Input<inputs.CatalogIntegrationAwsGlue>;
165
+ /**
166
+ * The Cluster API Credentials.
167
+ */
168
+ credentials?: pulumi.Input<inputs.CatalogIntegrationCredentials>;
169
+ /**
170
+ * The name of the catalog integration.
171
+ */
172
+ displayName: pulumi.Input<string>;
173
+ /**
174
+ * Environment objects represent an isolated namespace for your Confluent resources for organizational purposes.
175
+ */
176
+ environment: pulumi.Input<inputs.CatalogIntegrationEnvironment>;
177
+ kafkaCluster: pulumi.Input<inputs.CatalogIntegrationKafkaCluster>;
178
+ /**
179
+ * The catalog integration connection configuration for Snowflake Open Catalog.
180
+ */
181
+ snowflake?: pulumi.Input<inputs.CatalogIntegrationSnowflake>;
182
+ }
@@ -0,0 +1,145 @@
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.CatalogIntegration = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * ## Example Usage
10
+ *
11
+ * ### Option #1: Manage multiple Catalog Integrations in the same Pulumi Stack
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as confluentcloud from "@pulumi/confluentcloud";
16
+ *
17
+ * const example = new confluentcloud.CatalogIntegration("example", {
18
+ * environment: {
19
+ * id: staging.id,
20
+ * },
21
+ * kafkaCluster: {
22
+ * id: stagingConfluentKafkaCluster.id,
23
+ * },
24
+ * displayName: "catalog-integration-1",
25
+ * awsGlue: {
26
+ * providerIntegrationId: main.id,
27
+ * },
28
+ * credentials: {
29
+ * key: env_admin_tableflow_api_key.id,
30
+ * secret: env_admin_tableflow_api_key.secret,
31
+ * },
32
+ * });
33
+ * ```
34
+ *
35
+ * ### Option #2: Manage a single Catalog Integration in the same Pulumi Stack
36
+ *
37
+ * ```typescript
38
+ * import * as pulumi from "@pulumi/pulumi";
39
+ * import * as confluentcloud from "@pulumi/confluentcloud";
40
+ *
41
+ * const example = new confluentcloud.CatalogIntegration("example", {
42
+ * environment: {
43
+ * id: staging.id,
44
+ * },
45
+ * kafkaCluster: {
46
+ * id: stagingConfluentKafkaCluster.id,
47
+ * },
48
+ * displayName: "catalog-integration-1",
49
+ * snowflake: {
50
+ * endpoint: "https://vuser1_polaris.snowflakecomputing.com/",
51
+ * clientId: "***REDACTED***",
52
+ * clientSecret: "***REDACTED***",
53
+ * warehouse: "catalog-name",
54
+ * allowedScope: "session:role:R1",
55
+ * },
56
+ * });
57
+ * ```
58
+ *
59
+ * ## Import
60
+ *
61
+ * You can import a Catalog Integration by using the Catalog Integration name, Environment ID, and Kafka Cluster ID, in the format `<Environment ID>/<Kafka Cluster ID>/<Catalog Integration Id>`, for example:
62
+ *
63
+ * Option #1: Manage multiple Catalog Integrations in the same Pulumi Stack
64
+ *
65
+ * $ export IMPORT_TABLEFLOW_API_KEY="<tableflow_api_key>"
66
+ *
67
+ * $ export IMPORT_TABLEFLOW_API_SECRET="<tableflow_api_secret>"
68
+ *
69
+ * ```sh
70
+ * $ pulumi import confluentcloud:index/catalogIntegration:CatalogIntegration example env-abc123/lkc-abc123/tci-abc123
71
+ * ```
72
+ *
73
+ * Option #2: Manage a single Catalog Integration in the same Pulumi Stack
74
+ *
75
+ * ```sh
76
+ * $ pulumi import confluentcloud:index/catalogIntegration:CatalogIntegration example env-abc123/lkc-abc123/tci-abc123
77
+ * ```
78
+ *
79
+ * !> **Warning:** Do not forget to delete terminal command history afterwards for security purposes.
80
+ */
81
+ class CatalogIntegration extends pulumi.CustomResource {
82
+ /**
83
+ * Get an existing CatalogIntegration resource's state with the given name, ID, and optional extra
84
+ * properties used to qualify the lookup.
85
+ *
86
+ * @param name The _unique_ name of the resulting resource.
87
+ * @param id The _unique_ provider ID of the resource to lookup.
88
+ * @param state Any extra arguments used during the lookup.
89
+ * @param opts Optional settings to control the behavior of the CustomResource.
90
+ */
91
+ static get(name, id, state, opts) {
92
+ return new CatalogIntegration(name, state, Object.assign(Object.assign({}, opts), { id: id }));
93
+ }
94
+ /**
95
+ * Returns true if the given object is an instance of CatalogIntegration. This is designed to work even
96
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
97
+ */
98
+ static isInstance(obj) {
99
+ if (obj === undefined || obj === null) {
100
+ return false;
101
+ }
102
+ return obj['__pulumiType'] === CatalogIntegration.__pulumiType;
103
+ }
104
+ constructor(name, argsOrState, opts) {
105
+ let resourceInputs = {};
106
+ opts = opts || {};
107
+ if (opts.id) {
108
+ const state = argsOrState;
109
+ resourceInputs["awsGlue"] = state ? state.awsGlue : undefined;
110
+ resourceInputs["credentials"] = state ? state.credentials : undefined;
111
+ resourceInputs["displayName"] = state ? state.displayName : undefined;
112
+ resourceInputs["environment"] = state ? state.environment : undefined;
113
+ resourceInputs["kafkaCluster"] = state ? state.kafkaCluster : undefined;
114
+ resourceInputs["snowflake"] = state ? state.snowflake : undefined;
115
+ resourceInputs["suspended"] = state ? state.suspended : undefined;
116
+ }
117
+ else {
118
+ const args = argsOrState;
119
+ if ((!args || args.displayName === undefined) && !opts.urn) {
120
+ throw new Error("Missing required property 'displayName'");
121
+ }
122
+ if ((!args || args.environment === undefined) && !opts.urn) {
123
+ throw new Error("Missing required property 'environment'");
124
+ }
125
+ if ((!args || args.kafkaCluster === undefined) && !opts.urn) {
126
+ throw new Error("Missing required property 'kafkaCluster'");
127
+ }
128
+ resourceInputs["awsGlue"] = args ? args.awsGlue : undefined;
129
+ resourceInputs["credentials"] = (args === null || args === void 0 ? void 0 : args.credentials) ? pulumi.secret(args.credentials) : undefined;
130
+ resourceInputs["displayName"] = args ? args.displayName : undefined;
131
+ resourceInputs["environment"] = args ? args.environment : undefined;
132
+ resourceInputs["kafkaCluster"] = args ? args.kafkaCluster : undefined;
133
+ resourceInputs["snowflake"] = args ? args.snowflake : undefined;
134
+ resourceInputs["suspended"] = undefined /*out*/;
135
+ }
136
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
137
+ const secretOpts = { additionalSecretOutputs: ["credentials"] };
138
+ opts = pulumi.mergeOptions(opts, secretOpts);
139
+ super(CatalogIntegration.__pulumiType, name, resourceInputs, opts);
140
+ }
141
+ }
142
+ exports.CatalogIntegration = CatalogIntegration;
143
+ /** @internal */
144
+ CatalogIntegration.__pulumiType = 'confluentcloud:index/catalogIntegration:CatalogIntegration';
145
+ //# sourceMappingURL=catalogIntegration.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalogIntegration.js","sourceRoot":"","sources":["../catalogIntegration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwEG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+B,EAAE,IAAmC;QAC7H,OAAO,IAAI,kBAAkB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACzE,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,kBAAkB,CAAC,YAAY,CAAC;IACnE,CAAC;IAoCD,YAAY,IAAY,EAAE,WAA8D,EAAE,IAAmC;QACzH,IAAI,cAAc,GAAkB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;QAC7C,KAAK,CAAC,kBAAkB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvE,CAAC;;AAjGL,gDAkGC;AApFG,gBAAgB;AACO,+BAAY,GAAG,4DAA4D,CAAC"}
package/config/vars.d.ts CHANGED
@@ -78,3 +78,11 @@ export declare const schemaRegistryId: string | undefined;
78
78
  * The Schema Registry Cluster REST Endpoint.
79
79
  */
80
80
  export declare const schemaRegistryRestEndpoint: string | undefined;
81
+ /**
82
+ * The Tableflow API Key.
83
+ */
84
+ export declare const tableflowApiKey: string | undefined;
85
+ /**
86
+ * The Tableflow API Secret.
87
+ */
88
+ export declare const tableflowApiSecret: string | undefined;
package/config/vars.js CHANGED
@@ -124,4 +124,16 @@ Object.defineProperty(exports, "schemaRegistryRestEndpoint", {
124
124
  },
125
125
  enumerable: true,
126
126
  });
127
+ Object.defineProperty(exports, "tableflowApiKey", {
128
+ get() {
129
+ return __config.get("tableflowApiKey");
130
+ },
131
+ enumerable: true,
132
+ });
133
+ Object.defineProperty(exports, "tableflowApiSecret", {
134
+ get() {
135
+ return __config.get("tableflowApiSecret");
136
+ },
137
+ enumerable: true,
138
+ });
127
139
  //# sourceMappingURL=vars.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"vars.js","sourceRoot":"","sources":["../../config/vars.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAIzC,MAAM,QAAQ,GAAG,IAAI,MAAM,CAAC,MAAM,CAAC,gBAAgB,CAAC,CAAC;AAMrD,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,qBAAqB,EAAE;IAClD,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,qBAAqB,CAAC,CAAC;IAC/C,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,aAAa,EAAE;IAC1C,GAAG;QACC,OAAO,QAAQ,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@@ -0,0 +1,68 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ /**
5
+ * [![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)
6
+ *
7
+ * `confluentcloud.CatalogIntegration` describes a Catalog Integration data source.
8
+ *
9
+ * ## Example Usage
10
+ */
11
+ export declare function getCatalogIntegration(args: GetCatalogIntegrationArgs, opts?: pulumi.InvokeOptions): Promise<GetCatalogIntegrationResult>;
12
+ /**
13
+ * A collection of arguments for invoking getCatalogIntegration.
14
+ */
15
+ export interface GetCatalogIntegrationArgs {
16
+ credentials?: inputs.GetCatalogIntegrationCredentials;
17
+ environment: inputs.GetCatalogIntegrationEnvironment;
18
+ /**
19
+ * The ID of the Catalog Integration, for example, `tci-abc123`.
20
+ */
21
+ id: string;
22
+ kafkaCluster: inputs.GetCatalogIntegrationKafkaCluster;
23
+ }
24
+ /**
25
+ * A collection of values returned by getCatalogIntegration.
26
+ */
27
+ export interface GetCatalogIntegrationResult {
28
+ /**
29
+ * (Optional Configuration Block) supports the following:
30
+ */
31
+ readonly awsGlues: outputs.GetCatalogIntegrationAwsGlue[];
32
+ readonly credentials?: outputs.GetCatalogIntegrationCredentials;
33
+ /**
34
+ * (Required String) The name of the catalog integration.
35
+ */
36
+ readonly displayName: string;
37
+ readonly environment: outputs.GetCatalogIntegrationEnvironment;
38
+ readonly id: string;
39
+ readonly kafkaCluster: outputs.GetCatalogIntegrationKafkaCluster;
40
+ /**
41
+ * (Optional Configuration Block) supports the following:
42
+ */
43
+ readonly snowflakes: outputs.GetCatalogIntegrationSnowflake[];
44
+ /**
45
+ * (Optional Boolean) Indicates whether the Catalog Integration should be suspended.
46
+ */
47
+ readonly suspended: boolean;
48
+ }
49
+ /**
50
+ * [![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)
51
+ *
52
+ * `confluentcloud.CatalogIntegration` describes a Catalog Integration data source.
53
+ *
54
+ * ## Example Usage
55
+ */
56
+ export declare function getCatalogIntegrationOutput(args: GetCatalogIntegrationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetCatalogIntegrationResult>;
57
+ /**
58
+ * A collection of arguments for invoking getCatalogIntegration.
59
+ */
60
+ export interface GetCatalogIntegrationOutputArgs {
61
+ credentials?: pulumi.Input<inputs.GetCatalogIntegrationCredentialsArgs>;
62
+ environment: pulumi.Input<inputs.GetCatalogIntegrationEnvironmentArgs>;
63
+ /**
64
+ * The ID of the Catalog Integration, for example, `tci-abc123`.
65
+ */
66
+ id: pulumi.Input<string>;
67
+ kafkaCluster: pulumi.Input<inputs.GetCatalogIntegrationKafkaClusterArgs>;
68
+ }
@@ -0,0 +1,42 @@
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.getCatalogIntegrationOutput = exports.getCatalogIntegration = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
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.CatalogIntegration` describes a Catalog Integration data source.
12
+ *
13
+ * ## Example Usage
14
+ */
15
+ function getCatalogIntegration(args, opts) {
16
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
17
+ return pulumi.runtime.invoke("confluentcloud:index/getCatalogIntegration:getCatalogIntegration", {
18
+ "credentials": args.credentials,
19
+ "environment": args.environment,
20
+ "id": args.id,
21
+ "kafkaCluster": args.kafkaCluster,
22
+ }, opts);
23
+ }
24
+ exports.getCatalogIntegration = getCatalogIntegration;
25
+ /**
26
+ * [![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)
27
+ *
28
+ * `confluentcloud.CatalogIntegration` describes a Catalog Integration data source.
29
+ *
30
+ * ## Example Usage
31
+ */
32
+ function getCatalogIntegrationOutput(args, opts) {
33
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
34
+ return pulumi.runtime.invokeOutput("confluentcloud:index/getCatalogIntegration:getCatalogIntegration", {
35
+ "credentials": args.credentials,
36
+ "environment": args.environment,
37
+ "id": args.id,
38
+ "kafkaCluster": args.kafkaCluster,
39
+ }, opts);
40
+ }
41
+ exports.getCatalogIntegrationOutput = getCatalogIntegrationOutput;
42
+ //# sourceMappingURL=getCatalogIntegration.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getCatalogIntegration.js","sourceRoot":"","sources":["../getCatalogIntegration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;GAMG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAC9F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kEAAkE,EAAE;QAC7F,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,sDAQC;AAwCD;;;;;;GAMG;AACH,SAAgB,2BAA2B,CAAC,IAAqC,EAAE,IAAiC;IAChH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,kEAAkE,EAAE;QACnG,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,kEAQC"}
@@ -0,0 +1,172 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ /**
5
+ * [![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)
6
+ *
7
+ * `confluentcloud.TableflowTopic` describes a Tableflow Topic data source.
8
+ *
9
+ * ## Example Usage
10
+ *
11
+ * ### Option #1: Manage multiple Tableflow Topics in the same Pulumi Stack
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as confluentcloud from "@pulumi/confluentcloud";
16
+ *
17
+ * export = async () => {
18
+ * const example = await confluentcloud.getTableflowTopic({
19
+ * environment: {
20
+ * id: staging.id,
21
+ * },
22
+ * kafkaCluster: {
23
+ * id: stagingConfluentKafkaCluster.id,
24
+ * },
25
+ * displayName: "tableflow-example",
26
+ * credentials: {
27
+ * key: env_admin_tableflow_api_key.id,
28
+ * secret: env_admin_tableflow_api_key.secret,
29
+ * },
30
+ * });
31
+ * return {
32
+ * "retention-ms": example.retentionMs,
33
+ * };
34
+ * }
35
+ * ```
36
+ *
37
+ * ### Option #2: Manage a single Tableflow Topic in the same Pulumi Stack
38
+ *
39
+ * ```typescript
40
+ * import * as pulumi from "@pulumi/pulumi";
41
+ * import * as confluentcloud from "@pulumi/confluentcloud";
42
+ *
43
+ * export = async () => {
44
+ * const example = await confluentcloud.getTableflowTopic({
45
+ * displayName: "tableflow-example",
46
+ * });
47
+ * return {
48
+ * "retention-ms": example.retentionMs,
49
+ * };
50
+ * }
51
+ * ```
52
+ */
53
+ export declare function getTableflowTopic(args: GetTableflowTopicArgs, opts?: pulumi.InvokeOptions): Promise<GetTableflowTopicResult>;
54
+ /**
55
+ * A collection of arguments for invoking getTableflowTopic.
56
+ */
57
+ export interface GetTableflowTopicArgs {
58
+ credentials?: inputs.GetTableflowTopicCredentials;
59
+ /**
60
+ * The name of the Tableflow Topic.
61
+ */
62
+ displayName: string;
63
+ environment: inputs.GetTableflowTopicEnvironment;
64
+ kafkaCluster: inputs.GetTableflowTopicKafkaCluster;
65
+ }
66
+ /**
67
+ * A collection of values returned by getTableflowTopic.
68
+ */
69
+ export interface GetTableflowTopicResult {
70
+ /**
71
+ * (Optional Configuration Block) supports the following:
72
+ */
73
+ readonly byobAws: outputs.GetTableflowTopicByobAw[];
74
+ readonly credentials?: outputs.GetTableflowTopicCredentials;
75
+ readonly displayName: string;
76
+ /**
77
+ * (Optional Boolean) This flag determines whether to enable compaction for the Tableflow enabled topic.
78
+ */
79
+ readonly enableCompaction: boolean;
80
+ /**
81
+ * (Optional Boolean) This flag determines whether to enable partitioning for the Tableflow enabled topic.
82
+ */
83
+ readonly enablePartitioning: boolean;
84
+ readonly environment: outputs.GetTableflowTopicEnvironment;
85
+ /**
86
+ * The provider-assigned unique ID for this managed resource.
87
+ */
88
+ readonly id: string;
89
+ readonly kafkaCluster: outputs.GetTableflowTopicKafkaCluster;
90
+ /**
91
+ * (Optional Configuration Block) The configuration of the Confluent managed bucket.
92
+ */
93
+ readonly managedStorages: outputs.GetTableflowTopicManagedStorage[];
94
+ /**
95
+ * (Optional String) The strategy to handle record failures in the Tableflow enabled topic during materialization. For `SKIP`, we skip the bad records and move to the next record. For `SUSPEND`, we suspend the materialization of the topic.
96
+ */
97
+ readonly recordFailureStrategy: string;
98
+ /**
99
+ * (Optional String) The max age of snapshots (Iceberg) or versions (Delta) (snapshot/version expiration) to keep on the table in milliseconds for the Tableflow enabled topic.
100
+ */
101
+ readonly retentionMs: string;
102
+ /**
103
+ * (Optional Boolean) Indicates whether the Tableflow should be suspended.
104
+ */
105
+ readonly suspended: boolean;
106
+ /**
107
+ * (Optional List) The supported table formats for the Tableflow-enabled topic.
108
+ */
109
+ readonly tableFormats: string[];
110
+ }
111
+ /**
112
+ * [![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)
113
+ *
114
+ * `confluentcloud.TableflowTopic` describes a Tableflow Topic data source.
115
+ *
116
+ * ## Example Usage
117
+ *
118
+ * ### Option #1: Manage multiple Tableflow Topics in the same Pulumi Stack
119
+ *
120
+ * ```typescript
121
+ * import * as pulumi from "@pulumi/pulumi";
122
+ * import * as confluentcloud from "@pulumi/confluentcloud";
123
+ *
124
+ * export = async () => {
125
+ * const example = await confluentcloud.getTableflowTopic({
126
+ * environment: {
127
+ * id: staging.id,
128
+ * },
129
+ * kafkaCluster: {
130
+ * id: stagingConfluentKafkaCluster.id,
131
+ * },
132
+ * displayName: "tableflow-example",
133
+ * credentials: {
134
+ * key: env_admin_tableflow_api_key.id,
135
+ * secret: env_admin_tableflow_api_key.secret,
136
+ * },
137
+ * });
138
+ * return {
139
+ * "retention-ms": example.retentionMs,
140
+ * };
141
+ * }
142
+ * ```
143
+ *
144
+ * ### Option #2: Manage a single Tableflow Topic in the same Pulumi Stack
145
+ *
146
+ * ```typescript
147
+ * import * as pulumi from "@pulumi/pulumi";
148
+ * import * as confluentcloud from "@pulumi/confluentcloud";
149
+ *
150
+ * export = async () => {
151
+ * const example = await confluentcloud.getTableflowTopic({
152
+ * displayName: "tableflow-example",
153
+ * });
154
+ * return {
155
+ * "retention-ms": example.retentionMs,
156
+ * };
157
+ * }
158
+ * ```
159
+ */
160
+ export declare function getTableflowTopicOutput(args: GetTableflowTopicOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetTableflowTopicResult>;
161
+ /**
162
+ * A collection of arguments for invoking getTableflowTopic.
163
+ */
164
+ export interface GetTableflowTopicOutputArgs {
165
+ credentials?: pulumi.Input<inputs.GetTableflowTopicCredentialsArgs>;
166
+ /**
167
+ * The name of the Tableflow Topic.
168
+ */
169
+ displayName: pulumi.Input<string>;
170
+ environment: pulumi.Input<inputs.GetTableflowTopicEnvironmentArgs>;
171
+ kafkaCluster: pulumi.Input<inputs.GetTableflowTopicKafkaClusterArgs>;
172
+ }