Task Amazon EC2 - List Volume
The Amazon EC2 - List volume(s) Task lists the Amazon EBS volumes that match a filter, with their status properties, using an Amazon Connection.
-98db5a9f23efb5688f7a8b18aba6d510.png)
The Main settings, Flow, On error, Conditions and TimeOut tabs are the same for every Task; see Job - Tasks.
EC2 - List volume(s) tab
- Connection: the Amazon Connection to use; see Connection - Amazon. Click the button next to the list to manage Connections. The Client asks you to select a Connection before it saves the Task
- Filter: the filter for the volumes, in the format of the example below. Variables are not resolved in this field
- Volume Ids: shown in the Client, but not used when the Task runs. To list particular volumes, use Filter
Example
@{Name="status"; Values="available"}
Output and errors
The Task writes one line for each volume to the Task output, with these values separated by |: availability zone, creation time, IOPS, size, snapshot ID, state, volume ID and volume type.
When the Connection cannot be found, or Amazon returns an error, the Task fails. To change how the Task responds to errors, see Task - On error.