Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
policies:
- name: satish-ec2-tag-check-notify
region: us-east-2
description: |
notify Owner if 4 tags as below are not added.
resource: ec2
mode:
type: periodic
schedule: "cron(0/10 * ? * * *)"
role: arn:aws:iam::12345:role/custodian-generic-role
filters:
- and:
- tag:bax-ctime: present
- tag:Appid: absent
- tag:Appname: absent
- tag:Owner: absent
- tag:Name: absent
- type: state-age
op: ge
days: 1
actions:
- type: notify
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.