Skip to main content

Task Amazon EC2 - List Security Group​

The Amazon EC2 - List security group Task lists the security groups that match a filter, using an Amazon Connection.

EC2 - List security group Task settings, with the Connection and Filter fields

The Main settings, Flow, On error, Conditions and TimeOut tabs are the same for every Task; see Job - Tasks.

EC2 - List security group 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 security groups, in the format of the example below. Variables are not resolved in this field
Example

@{Name="vpc-id"; Values="vpc-1a2b3c4d"}

Output and errors​

The Task writes one line for each security group to the Task output, with these values separated by |: description, group ID, group name, owner (AWS account) ID and VPC ID.

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.