Skip to main content

cluster_operations_v2s

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

Overview

Namecluster_operations_v2s
TypeResource
Idaws.kafka.cluster_operations_v2s

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
cluster_arnstringARN of the cluster.
cluster_typestringType of the backend cluster. (PROVISIONED, SERVERLESS)
end_timestring (date-time)The time at which the operation finished.
operation_arnstringARN of the cluster operation.
operation_statestringState of the cluster operation.
operation_typestringType of the cluster operation.
start_timestring (date-time)The time at which operation was started.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_cluster_operations_v2selectcluster_arn, regionmaxResults, nextTokenReturns a list of all the operations that have been performed on the specified MSK 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 arn of the cluster whose operations are being requested.
regionstringAWS region (default: us-east-1)
maxResultsintegerThe maxResults of the query.
nextTokenstringThe nextToken of the query.

SELECT examples

Returns a list of all the operations that have been performed on the specified MSK cluster.

SELECT
cluster_arn,
cluster_type,
end_time,
operation_arn,
operation_state,
operation_type,
start_time
FROM aws.kafka.cluster_operations_v2s
WHERE cluster_arn = '{{ cluster_arn }}' -- required
AND region = '{{ region }}' -- required
AND maxResults = '{{ maxResults }}'
AND nextToken = '{{ nextToken }}'
;