-name:ec2-old-instancesresource:ec2comment:|Report running instances older than 60 daysfilters:-"State.Name":running-type:instance-agedays:60# Use Case: Report all AMIs that are 120+ days or older-name:ancient-images-reportresource:amicomment:|Report on all images older than 90 days which should be de-registered.filters:-type:image-agedays:120

Instance Age Filter

The instance age filter allows for filtering the set of EC2 instances by
their LaunchTime, i.e. all instances older than 60 or 90 days. The default
date value is 60 days if otherwise unspecified.
Configuring a specific value for instance-age to report all instances older
than 90 days.