Provider
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.
Create a Provider Resource
new Provider(name: string, args: ProviderArgs, opts?: CustomResourceOptions);def 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, client_key_passphrase=None, sasl_mechanism=None, sasl_password=None, sasl_username=None, skip_tls_verify=None, timeout=None, tls_enabled=None, __props__=None);func NewProvider(ctx *Context, name string, args ProviderArgs, opts ...ResourceOption) (*Provider, error)public Provider(string name, ProviderArgs args, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args ProviderArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- opts ResourceOptions
- A bag of options that control this resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ProviderArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ProviderArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
Provider Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The Provider resource accepts the following input properties:
- Bootstrap
Servers List<string> A list of kafka brokers
- Ca
Cert string CA certificate file to validate the server’s certificate.
- Ca
Cert stringFile Path to a CA certificate file to validate the server’s certificate.
- Client
Cert string The client certificate.
- Client
Cert stringFile Path to a file containing the client certificate.
- Client
Key string The private key that the certificate was issued for.
- Client
Key stringFile Path to a file containing the private key that the certificate was issued for.
- Client
Key stringPassphrase The passphrase for the private key that the certificate was issued for.
- Sasl
Mechanism string SASL mechanism, can be plain, scram-sha512, scram-sha256
- Sasl
Password string Password for SASL authentication.
- Sasl
Username string Username for SASL authentication.
- Skip
Tls boolVerify Set this to true only if the target Kafka server is an insecure development instance.
- Timeout int
Timeout in seconds
- Tls
Enabled bool Enable communication with the Kafka Cluster over TLS.
- Bootstrap
Servers []string A list of kafka brokers
- Ca
Cert string CA certificate file to validate the server’s certificate.
- Ca
Cert stringFile Path to a CA certificate file to validate the server’s certificate.
- Client
Cert string The client certificate.
- Client
Cert stringFile Path to a file containing the client certificate.
- Client
Key string The private key that the certificate was issued for.
- Client
Key stringFile Path to a file containing the private key that the certificate was issued for.
- Client
Key stringPassphrase The passphrase for the private key that the certificate was issued for.
- Sasl
Mechanism string SASL mechanism, can be plain, scram-sha512, scram-sha256
- Sasl
Password string Password for SASL authentication.
- Sasl
Username string Username for SASL authentication.
- Skip
Tls boolVerify Set this to true only if the target Kafka server is an insecure development instance.
- Timeout int
Timeout in seconds
- Tls
Enabled bool Enable communication with the Kafka Cluster over TLS.
- bootstrap
Servers string[] A list of kafka brokers
- ca
Cert string CA certificate file to validate the server’s certificate.
- ca
Cert stringFile Path to a CA certificate file to validate the server’s certificate.
- client
Cert string The client certificate.
- client
Cert stringFile Path to a file containing the client certificate.
- client
Key string The private key that the certificate was issued for.
- client
Key stringFile Path to a file containing the private key that the certificate was issued for.
- client
Key stringPassphrase The passphrase for the private key that the certificate was issued for.
- sasl
Mechanism string SASL mechanism, can be plain, scram-sha512, scram-sha256
- sasl
Password string Password for SASL authentication.
- sasl
Username string Username for SASL authentication.
- skip
Tls booleanVerify Set this to true only if the target Kafka server is an insecure development instance.
- timeout number
Timeout in seconds
- tls
Enabled boolean Enable communication with the Kafka Cluster over TLS.
- bootstrap_
servers List[str] A list of kafka brokers
- ca_
cert str CA certificate file to validate the server’s certificate.
- ca_
cert_ strfile Path to a CA certificate file to validate the server’s certificate.
- client_
cert str The client certificate.
- client_
cert_ strfile Path to a file containing the client certificate.
- client_
key str The private key that the certificate was issued for.
- client_
key_ strfile Path to a file containing the private key that the certificate was issued for.
- client_
key_ strpassphrase The passphrase for the private key that the certificate was issued for.
- sasl_
mechanism str SASL mechanism, can be plain, scram-sha512, scram-sha256
- sasl_
password str Password for SASL authentication.
- sasl_
username str Username for SASL authentication.
- skip_
tls_ boolverify Set this to true only if the target Kafka server is an insecure development instance.
- timeout float
Timeout in seconds
- tls_
enabled bool Enable communication with the Kafka Cluster over TLS.
Outputs
All input properties are implicitly available as output properties. Additionally, the Provider resource produces the following output properties:
Package Details
- Repository
- https://github.com/pulumi/pulumi-kafka
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
kafkaTerraform Provider.