Last active
October 17, 2016 13:05
-
-
Save kapilt/d2dafed9b41c0578cc3e118f3ec03f5b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
policies: | |
- name: all-lambdas | |
resource: lambda | |
- name: custodian-lambdas | |
resource: lambda | |
filters: | |
- type: value | |
key: FunctionName | |
value: "^custodian*" | |
op: regex | |
- name: lambda-policies | |
resource: lambda | |
filters: | |
- type: event-trigger | |
- name: lambda-errors | |
resource: lambda | |
filters: | |
- type: metrics | |
name: Errors | |
statistics: Sum | |
days: 14 | |
value: 0 | |
op: greater-than | |
- name: lambda-executions | |
resource: lambda | |
filters: | |
- type: metrics | |
name: Invocations | |
statistics: Sum | |
days: 14 | |
period: 3600 | |
value: -1 | |
op: greater-than | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment