aws.insight-rule¶
Filters¶
Actions¶
delete¶
Delete a cloudwatch contributor insight rule
- example:
policies:
- name: cloudwatch-delete-insight-rule
resource: insight-rule
filters:
- type: value
key: State
value: ENABLED
op: eq
actions:
- delete
properties:
type:
enum:
- delete
required:
- type
Permissions - cloudwatch:DeleteInsightRules
disable¶
Disable a cloudwatch contributor insight rule.
- example:
policies:
- name: cloudwatch-disable-insight-rule
resource: insight-rule
filters:
- type: value
key: State
value: ENABLED
op: eq
actions:
- disable
properties:
type:
enum:
- disable
required:
- type
Permissions - cloudwatch:DisableInsightRules