cluster_operations_v2s
Creates, updates, deletes, gets or lists a cluster_operations_v2s resource.
Overview
| Name | cluster_operations_v2s |
| Type | Resource |
| Id | aws.kafka.cluster_operations_v2s |
Fields
The following fields are returned by SELECT queries:
- list_cluster_operations_v2
| Name | Datatype | Description |
|---|---|---|
cluster_arn | string | ARN of the cluster. |
cluster_type | string | Type of the backend cluster. (PROVISIONED, SERVERLESS) |
end_time | string (date-time) | The time at which the operation finished. |
operation_arn | string | ARN of the cluster operation. |
operation_state | string | State of the cluster operation. |
operation_type | string | Type of the cluster operation. |
start_time | string (date-time) | The time at which operation was started. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_cluster_operations_v2 | select | cluster_arn, region | maxResults, nextToken | Returns 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.
| Name | Datatype | Description |
|---|---|---|
cluster_arn | string | The arn of the cluster whose operations are being requested. |
region | string | AWS region (default: us-east-1) |
maxResults | integer | The maxResults of the query. |
nextToken | string | The nextToken of the query. |
SELECT examples
- list_cluster_operations_v2
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 }}'
;