Kafka Connect v0.0.9 published on Thursday, Jan 23, 2025 by azaurus1
kafka-connect.connector.Connector
Explore with Pulumi AI
Create Connector Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Connector(name: string, args: ConnectorArgs, opts?: CustomResourceOptions);
@overload
def Connector(resource_name: str,
args: ConnectorArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Connector(resource_name: str,
opts: Optional[ResourceOptions] = None,
config: Optional[Mapping[str, Any]] = None)
func NewConnector(ctx *Context, name string, args ConnectorArgs, opts ...ResourceOption) (*Connector, error)
public Connector(string name, ConnectorArgs args, CustomResourceOptions? opts = null)
public Connector(String name, ConnectorArgs args)
public Connector(String name, ConnectorArgs args, CustomResourceOptions options)
type: kafka-connect:connector:Connector
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ConnectorArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ConnectorArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ConnectorArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ConnectorArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ConnectorArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var connectorResource = new KafkaConnect.Connector.Connector("connectorResource", new()
{
Config =
{
{ "string", "any" },
},
});
example, err := connector.NewConnector(ctx, "connectorResource", &connector.ConnectorArgs{
Config: pulumi.Map{
"string": pulumi.Any("any"),
},
})
var connectorResource = new Connector("connectorResource", ConnectorArgs.builder()
.config(Map.of("string", "any"))
.build());
connector_resource = kafka_connect.connector.Connector("connectorResource", config={
"string": "any",
})
const connectorResource = new kafka_connect.connector.Connector("connectorResource", {config: {
string: "any",
}});
type: kafka-connect:connector:Connector
properties:
config:
string: any
Connector Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Connector resource accepts the following input properties:
- Config Dictionary<string, object>
- Config map[string]interface{}
- config Map<String,Object>
- config {[key: string]: any}
- config Mapping[str, Any]
- config Map<Any>
Outputs
All input properties are implicitly available as output properties. Additionally, the Connector resource produces the following output properties:
Package Details
- Repository
- kafka-connect azaurus1/pulumi-kafka-connect
- License
- Apache-2.0