Skip to main content

bootstrap_brokers

Creates, updates, deletes, gets or lists a bootstrap_brokers resource.

Overview

Namebootstrap_brokers
TypeResource
Idaws.kafka.bootstrap_brokers

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
bootstrap_broker_stringstringA string containing one or more hostname:port pairs.
bootstrap_broker_string_ipv_6stringA string that contains one or more DNS names (or IP) and port pairs for IPv6 connectivity.
bootstrap_broker_string_public_sasl_iamstringA string that contains one or more DNS names (or IP addresses) and SASL IAM port pairs.
bootstrap_broker_string_public_sasl_scramstringA string containing one or more DNS names (or IP) and Sasl Scram port pairs.
bootstrap_broker_string_public_tlsstringA string containing one or more DNS names (or IP) and TLS port pairs.
bootstrap_broker_string_sasl_iamstringA string that contains one or more DNS names (or IP addresses) and SASL IAM port pairs.
bootstrap_broker_string_sasl_iam_ipv_6stringA string that contains one or more DNS names (or IP) and SASL IAM port pairs for IPv6 connectivity.
bootstrap_broker_string_sasl_scramstringA string containing one or more DNS names (or IP) and Sasl Scram port pairs.
bootstrap_broker_string_sasl_scram_ipv_6stringA string that contains one or more DNS names (or IP) and SASL SCRAM port pairs for IPv6 connectivity.
bootstrap_broker_string_tlsstringA string containing one or more DNS names (or IP) and TLS port pairs.
bootstrap_broker_string_tls_ipv_6stringA string that contains one or more DNS names (or IP) and TLS port pairs for IPv6 connectivity.
bootstrap_broker_string_vpc_connectivity_sasl_iamstringA string containing one or more DNS names (or IP) and SASL/IAM port pairs for VPC connectivity.
bootstrap_broker_string_vpc_connectivity_sasl_scramstringA string containing one or more DNS names (or IP) and SASL/SCRAM port pairs for VPC connectivity.
bootstrap_broker_string_vpc_connectivity_tlsstringA string containing one or more DNS names (or IP) and TLS port pairs for VPC connectivity.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_bootstrap_brokersselectcluster_arn, regionA list of brokers that a client application can use to bootstrap. This list doesn't necessarily include all of the brokers in the cluster. The following Python 3.6 example shows how you can use the Amazon Resource Name (ARN) of a cluster to get its bootstrap brokers. If you don't know the ARN of your cluster, you can use the ListClusters operation to get the ARNs of all the clusters in this account and Region.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
cluster_arnstringThe Amazon Resource Name (ARN) that uniquely identifies the cluster.
regionstringAWS region (default: us-east-1)

SELECT examples

A list of brokers that a client application can use to bootstrap. This list doesn't necessarily include all of the brokers in the cluster. The following Python 3.6 example shows how you can use the Amazon Resource Name (ARN) of a cluster to get its bootstrap brokers. If you don't know the ARN of your cluster, you can use the ListClusters operation to get the ARNs of all the clusters in this account and Region.

SELECT
bootstrap_broker_string,
bootstrap_broker_string_ipv_6,
bootstrap_broker_string_public_sasl_iam,
bootstrap_broker_string_public_sasl_scram,
bootstrap_broker_string_public_tls,
bootstrap_broker_string_sasl_iam,
bootstrap_broker_string_sasl_iam_ipv_6,
bootstrap_broker_string_sasl_scram,
bootstrap_broker_string_sasl_scram_ipv_6,
bootstrap_broker_string_tls,
bootstrap_broker_string_tls_ipv_6,
bootstrap_broker_string_vpc_connectivity_sasl_iam,
bootstrap_broker_string_vpc_connectivity_sasl_scram,
bootstrap_broker_string_vpc_connectivity_tls
FROM aws.kafka.bootstrap_brokers
WHERE cluster_arn = '{{ cluster_arn }}' -- required
AND region = '{{ region }}' -- required
;