Param Filter

Updated 6 hours ago by Totalcloud

Param filter helps filter out resources by their attributes or their Add-ons attributes.

Example:

If you select Param and enter the below conditions, you can fetch only t2.medium instances from the subset of instances fetched from Resource node:

  • Enter Key with Instance Type
  • Enter Operator with ==
  • Enter Value with t2.medium

Operators

There are several conditional setters available in Param filter that you can use with Key and Value. The below provides an over view of these operators:

<

less than

Example: Filter EC2 Volumes size less than ( < ) 4GiB

>

greater than

Example: Filter EC2s with CPU greater (>) than 90% usage

==

equal to

Example: Filter EC2 instances with tags equal (==) to 'Test Env'

!=

not equal to

Example: Filter EC2 Volumes State not (!=) in use

>=

greater than or equal to

Example: Filter IAM roles with age greater than or equal to (>=) 90 days

<=

less than or equal to

Example: Filter EC2 Volumes' size less than or equal to (< =) 4GiB

has

has the value

Example: Filter EC2 Volumes with Key 'addOns.Snapshots.data.VolumeId' has Value 'vol-1234567890'

Not has

does not have the value

Example: Filter EC2 Volumes with Key 'addOns.Snapshots.data.State' not has 'completed'

Usage Examples:

Here are few usage examples to give you a gist of how to use this filter

  • Selecting only IAM roles with >90 days old and with old passwords
  • Selecting only a specific type of EC2 instances
  • Selecting EC2 instances created in the past week


How did we do?