nodes
Creates, updates, deletes, gets or lists a nodes resource.
Overview
| Name | nodes |
| Type | Resource |
| Id | aws.ssm.nodes |
Fields
The following fields are returned by SELECT queries:
- list_nodes
| Name | Datatype | Description |
|---|---|---|
capture_time | string (date-time) | The UTC timestamp for when the managed node data was last captured. |
id | string | The ID of the managed node. (pattern: <code>(^i-(\w{8}|\w{17})$)|(^mi-\w{17}$)</code>) |
node_type | object | Information about the type of node. |
owner | object | Information about the ownership of the managed node. |
region | string | The Amazon Web Services Region that a managed node was created in or assigned to. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_nodes | select | region | Takes in filters and returns a list of managed nodes matching the filter criteria. |
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 |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- list_nodes
Takes in filters and returns a list of managed nodes matching the filter criteria.
SELECT
capture_time,
id,
node_type,
owner,
region
FROM aws.ssm.nodes
WHERE region = '{{ region }}' -- required
;