Skip to main content

nodes

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

Overview

Namenodes
TypeResource
Idaws.kafka.nodes

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
added_to_cluster_timestringThe start time.
broker_node_infoobjectThe broker node info.
controller_node_infoobjectThe ControllerNodeInfo.
instance_typestringThe instance type.
node_arnstringThe Amazon Resource Name (ARN) of the node.
node_typestringThe node type. (BROKER)
zookeeper_node_infoobjectThe ZookeeperNodeInfo.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_nodesselectcluster_arn, regionmaxResults, nextTokenReturns a list of the broker nodes in the cluster.

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)
maxResultsintegerThe maximum number of results to return in the response. If there are more results, the response includes a NextToken parameter.
nextTokenstringThe paginated results marker. When the result of the operation is truncated, the call returns NextToken in the response. To get the next batch, provide this token in your next request.

SELECT examples

Returns a list of the broker nodes in the cluster.

SELECT
added_to_cluster_time,
broker_node_info,
controller_node_info,
instance_type,
node_arn,
node_type,
zookeeper_node_info
FROM aws.kafka.nodes
WHERE cluster_arn = '{{ cluster_arn }}' -- required
AND region = '{{ region }}' -- required
AND maxResults = '{{ maxResults }}'
AND nextToken = '{{ nextToken }}'
;