Pulumi Kafka

class pulumi_kafka.Acl(resource_name, opts=None, acl_host=None, acl_operation=None, acl_permission_type=None, acl_principal=None, acl_resource_name=None, acl_resource_type=None, resource_pattern_type_filter=None, __props__=None, __name__=None, __opts__=None)

Create a Acl resource with the given unique name, props, and options. :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] acl_resource_name: The name of the resouce

acl_resource_name = None

The name of the resouce

static get(resource_name, id, opts=None, acl_host=None, acl_operation=None, acl_permission_type=None, acl_principal=None, acl_resource_name=None, acl_resource_type=None, resource_pattern_type_filter=None)

Get an existing Acl resource’s state with the given name, id, and optional extra properties used to qualify the lookup.

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • acl_resource_name (pulumi.Input[str]) – The name of the resouce

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

class pulumi_kafka.Provider(resource_name, opts=None, bootstrap_servers=None, ca_cert=None, ca_cert_file=None, client_cert=None, client_cert_file=None, client_key=None, client_key_file=None, sasl_mechanism=None, sasl_password=None, sasl_username=None, skip_tls_verify=None, timeout=None, tls_enabled=None, __props__=None, __name__=None, __opts__=None)

The provider type for the kafka package. By default, resources use package-wide configuration settings, however an explicit Provider instance may be created and passed during resource construction to achieve fine-grained programmatic control over provider settings. See the documentation for more information.

Parameters
  • resource_name (str) – The name of the resource.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • bootstrap_servers (pulumi.Input[list]) – A list of kafka brokers

  • ca_cert (pulumi.Input[str]) – CA certificate file to validate the server’s certificate.

  • ca_cert_file (pulumi.Input[str]) – Path to a CA certificate file to validate the server’s certificate.

  • client_cert (pulumi.Input[str]) – The client certificate.

  • client_cert_file (pulumi.Input[str]) – Path to a file containing the client certificate.

  • client_key (pulumi.Input[str]) – The private key that the certificate was issued for.

  • client_key_file (pulumi.Input[str]) – Path to a file containing the private key that the certificate was issued for.

  • sasl_mechanism (pulumi.Input[str]) – SASL mechanism, can be plain, scram-sha512, scram-sha256

  • sasl_password (pulumi.Input[str]) – Password for SASL authentication.

  • sasl_username (pulumi.Input[str]) – Username for SASL authentication.

  • skip_tls_verify (pulumi.Input[bool]) – Set this to true only if the target Kafka server is an insecure development instance.

  • timeout (pulumi.Input[float]) – Timeout in seconds

  • tls_enabled (pulumi.Input[bool]) – Enable communication with the Kafka Cluster over TLS.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

class pulumi_kafka.Topic(resource_name, opts=None, config=None, name=None, partitions=None, replication_factor=None, __props__=None, __name__=None, __opts__=None)

Create a Topic resource with the given unique name, props, and options. :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[dict] config: A map of string k/v attributes. :param pulumi.Input[str] name: The name of the topic. :param pulumi.Input[float] partitions: Number of partitions. :param pulumi.Input[float] replication_factor: Number of replicas.

config = None

A map of string k/v attributes.

name = None

The name of the topic.

partitions = None

Number of partitions.

replication_factor = None

Number of replicas.

static get(resource_name, id, opts=None, config=None, name=None, partitions=None, replication_factor=None)

Get an existing Topic resource’s state with the given name, id, and optional extra properties used to qualify the lookup.

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • config (pulumi.Input[dict]) – A map of string k/v attributes.

  • name (pulumi.Input[str]) – The name of the topic.

  • partitions (pulumi.Input[float]) – Number of partitions.

  • replication_factor (pulumi.Input[float]) – Number of replicas.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str