Filter Node

Updated 6 hours ago by Totalcloud

What is Filter Node?

The Filter node selectively retains a subset of AWS resources from a large set of particular AWS service as per the condition(s) and nested conditions defined in this node’s parameters window or according to the parameters derived from the previous Resource node

Working with Filter Nodes

To define a Filter node in a Workflow, follow the steps below:

  1. Go to workflow editor, after starting a new workflow or picking a new template
  2. If you start a new workflow:
    1. Click on the Filter icon available on the left navigation menu.
    2. Double click on the Filter node to access the parameters input window.
  3. If you pick an existing template:
    1. Double click on existing Filter node to access the parameters input window.

You can provide the definitive conditions and sub conditions to set the parameters as per your requirement.

Example: If you need to take action on IAM users whose Access Keys age are greater than 90 days – say delete these old IAM roles, you need to define conditions in the Filter node as shown below.

  1. Use And or Or to define multiple conditions and sub-conditions to refine your workflow as per your needs.
  2. Click on Save Node button after you set the parameters according to your requirement.
If you wish to delete this node, double click on the node and click on the Delete button.

For your convenience, we have provided pre-configured filters.

Types of Filters

  1. Param: Helps filter resources by their attributes or their Add-ons attributes.
  2. Tags: Helps filter resources by their tags.
  3. Security Group: Helps filter certain resources based on the properties of Security Groups associated with those resources or directly on the Security Groups themselves. Note that it is applicable only to EC2 SGs, Cluster SGs, mount target SGs, Cache SGs, DB SGs and Stale SGs.
  4. Network ACLs: Helps filter certain resources based on properties of NACL Rules associated with those resources or directly on the NACL themselves. Note that it is applicable to subnets that have associated NACL Rules.
  5. Function: Helps selectively filter resources using custom Java scripts, when none of the other Filters work.
  6. Time/Date: Ideal for filtering resources based on date value, such as 'Launch Time'

Usage Examples

For your convenience, we have populated few usage examples showcasing how to apply filters for some common use cases. Do check them out here.


How did we do?