aws.cloudwatch resources

aws.alarm

Actions

delete

Delete a cloudwatch alarm.

example

policies:
  - name: cloudwatch-delete-stale-alarms
    resource: alarm
    filters:
      - type: value
        value_type: age
        key: StateUpdatedTimestamp
        value: 30
        op: ge
      - StateValue: INSUFFICIENT_DATA
    actions:
      - delete
properties:
  type:
    enum:
    - delete
required:
- type