@pulumi/databricks
Version:
A Pulumi package for creating and managing databricks cloud resources.
150 lines (149 loc) • 6.52 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "./types/input";
import * as outputs from "./types/output";
/**
* [](https://docs.databricks.com/aws/en/release-notes/release-types)
*
* ## Import
*
* As of Pulumi v1.5, resources can be imported through configuration.
*
* hcl
*
* import {
*
* id = "name"
*
* to = databricks_feature_engineering_kafka_config.this
*
* }
*
* If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
*
* ```sh
* $ pulumi import databricks:index/featureEngineeringKafkaConfig:FeatureEngineeringKafkaConfig this "name"
* ```
*/
export declare class FeatureEngineeringKafkaConfig extends pulumi.CustomResource {
/**
* Get an existing FeatureEngineeringKafkaConfig resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param state Any extra arguments used during the lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: FeatureEngineeringKafkaConfigState, opts?: pulumi.CustomResourceOptions): FeatureEngineeringKafkaConfig;
/**
* Returns true if the given object is an instance of FeatureEngineeringKafkaConfig. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is FeatureEngineeringKafkaConfig;
/**
* Authentication configuration for connection to topics
*/
readonly authConfig: pulumi.Output<outputs.FeatureEngineeringKafkaConfigAuthConfig>;
/**
* A comma-separated list of host/port pairs pointing to Kafka cluster
*/
readonly bootstrapServers: pulumi.Output<string>;
/**
* Catch-all for miscellaneous options. Keys should be source options or Kafka consumer options (kafka.*)
*/
readonly extraOptions: pulumi.Output<{
[key: string]: string;
} | undefined>;
/**
* Schema configuration for extracting message keys from topics. At least one of keySchema and valueSchema must be provided
*/
readonly keySchema: pulumi.Output<outputs.FeatureEngineeringKafkaConfigKeySchema | undefined>;
/**
* (string) - Name that uniquely identifies this Kafka config within the metastore. This will be the identifier used from the Feature object to reference these configs for a feature.
* Can be distinct from topic name
*/
readonly name: pulumi.Output<string>;
/**
* Options to configure which Kafka topics to pull data from
*/
readonly subscriptionMode: pulumi.Output<outputs.FeatureEngineeringKafkaConfigSubscriptionMode>;
/**
* Schema configuration for extracting message values from topics. At least one of keySchema and valueSchema must be provided
*/
readonly valueSchema: pulumi.Output<outputs.FeatureEngineeringKafkaConfigValueSchema | undefined>;
/**
* Create a FeatureEngineeringKafkaConfig resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args: FeatureEngineeringKafkaConfigArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering FeatureEngineeringKafkaConfig resources.
*/
export interface FeatureEngineeringKafkaConfigState {
/**
* Authentication configuration for connection to topics
*/
authConfig?: pulumi.Input<inputs.FeatureEngineeringKafkaConfigAuthConfig>;
/**
* A comma-separated list of host/port pairs pointing to Kafka cluster
*/
bootstrapServers?: pulumi.Input<string>;
/**
* Catch-all for miscellaneous options. Keys should be source options or Kafka consumer options (kafka.*)
*/
extraOptions?: pulumi.Input<{
[key: string]: pulumi.Input<string>;
}>;
/**
* Schema configuration for extracting message keys from topics. At least one of keySchema and valueSchema must be provided
*/
keySchema?: pulumi.Input<inputs.FeatureEngineeringKafkaConfigKeySchema>;
/**
* (string) - Name that uniquely identifies this Kafka config within the metastore. This will be the identifier used from the Feature object to reference these configs for a feature.
* Can be distinct from topic name
*/
name?: pulumi.Input<string>;
/**
* Options to configure which Kafka topics to pull data from
*/
subscriptionMode?: pulumi.Input<inputs.FeatureEngineeringKafkaConfigSubscriptionMode>;
/**
* Schema configuration for extracting message values from topics. At least one of keySchema and valueSchema must be provided
*/
valueSchema?: pulumi.Input<inputs.FeatureEngineeringKafkaConfigValueSchema>;
}
/**
* The set of arguments for constructing a FeatureEngineeringKafkaConfig resource.
*/
export interface FeatureEngineeringKafkaConfigArgs {
/**
* Authentication configuration for connection to topics
*/
authConfig: pulumi.Input<inputs.FeatureEngineeringKafkaConfigAuthConfig>;
/**
* A comma-separated list of host/port pairs pointing to Kafka cluster
*/
bootstrapServers: pulumi.Input<string>;
/**
* Catch-all for miscellaneous options. Keys should be source options or Kafka consumer options (kafka.*)
*/
extraOptions?: pulumi.Input<{
[key: string]: pulumi.Input<string>;
}>;
/**
* Schema configuration for extracting message keys from topics. At least one of keySchema and valueSchema must be provided
*/
keySchema?: pulumi.Input<inputs.FeatureEngineeringKafkaConfigKeySchema>;
/**
* Options to configure which Kafka topics to pull data from
*/
subscriptionMode: pulumi.Input<inputs.FeatureEngineeringKafkaConfigSubscriptionMode>;
/**
* Schema configuration for extracting message values from topics. At least one of keySchema and valueSchema must be provided
*/
valueSchema?: pulumi.Input<inputs.FeatureEngineeringKafkaConfigValueSchema>;
}