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, resource_pattern_type_filter=None, acl_resource_type=None, __props__=None, __name__=None, __opts__=None)

A resource for managing Kafka ACLs.

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

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

  • acl_host (pulumi.Input[str]) – Host from which principal listed in acl_principal will have access.

  • acl_operation (pulumi.Input[str]) – Operation that is being allowed or denied. Valid values are Unknown, Any, All, Read, Write, Create, Delete, Alter, Describe, ClusterAction, DescribeConfigs, AlterConfigs, IdempotentWrite.

  • acl_permission_type (pulumi.Input[str]) – Type of permission. Valid values are Unknown, Any, Allow, Deny.

  • acl_principal (pulumi.Input[str]) – Principal that is being allowed or denied.

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

  • resource_pattern_type_filter (pulumi.Input[str]) – The pattern filter. Valid values are Prefixed, Any, Match, Literal.

  • acl_resource_type (pulumi.Input[str]) – The type of resource. Valid values are Unknown, Any, Topic, Group, Cluster, TransactionalID.

acl_host = None

Host from which principal listed in acl_principal will have access.

acl_operation = None

Operation that is being allowed or denied. Valid values are Unknown, Any, All, Read, Write, Create, Delete, Alter, Describe, ClusterAction, DescribeConfigs, AlterConfigs, IdempotentWrite.

acl_permission_type = None

Type of permission. Valid values are Unknown, Any, Allow, Deny.

acl_principal = None

Principal that is being allowed or denied.

acl_resource_name = None

The name of the resource.

resource_pattern_type_filter = None

The pattern filter. Valid values are Prefixed, Any, Match, Literal.

acl_resource_type = None

The type of resource. Valid values are Unknown, Any, Topic, Group, Cluster, TransactionalID.

static get(resource_name, id, opts=None, acl_host=None, acl_operation=None, acl_permission_type=None, acl_principal=None, acl_resource_name=None, resource_pattern_type_filter=None, acl_resource_type=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_host (pulumi.Input[str]) – Host from which principal listed in acl_principal will have access.

  • acl_operation (pulumi.Input[str]) – Operation that is being allowed or denied. Valid values are Unknown, Any, All, Read, Write, Create, Delete, Alter, Describe, ClusterAction, DescribeConfigs, AlterConfigs, IdempotentWrite.

  • acl_permission_type (pulumi.Input[str]) – Type of permission. Valid values are Unknown, Any, Allow, Deny.

  • acl_principal (pulumi.Input[str]) – Principal that is being allowed or denied.

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

  • resource_pattern_type_filter (pulumi.Input[str]) – The pattern filter. Valid values are Prefixed, Any, Match, Literal.

  • acl_resource_type (pulumi.Input[str]) – The type of resource. Valid values are Unknown, Any, Topic, Group, Cluster, TransactionalID.

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.

static get(resource_name, id, opts=None)

Get an existing Provider 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.

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)

A resource for managing Kafka topics. Increases partition count without destroying the topic.

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

  • 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]) – The number of partitions the topic should have.

  • replication_factor (pulumi.Input[float]) – The number of replicas the topic should have.

config = None

A map of string k/v attributes.

name = None

The name of the topic.

partitions = None

The number of partitions the topic should have.

replication_factor = None

The number of replicas the topic should have.

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]) – The number of partitions the topic should have.

  • replication_factor (pulumi.Input[float]) – The number of replicas the topic should have.

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