aws.cloudwatch
Supported Platform
- aws
Description
AWS CloudWatch provides observability of AWS resources and applications
The aws.cloudwatch
resource is used to assess the configuration of the AWS CloudWatch service.
Fields
ID | TYPE | DESCRIPTION |
---|---|---|
logGroups | []aws.cloudwatch.loggroup | list of cloudwatch log groups |
alarms | []aws.cloudwatch.metricsalarm | list of cloudwatch alarms |
metrics | []aws.cloudwatch.metric | list of cloudwatch metrics |
Examples
Return a list of aws.cloudwatch.loggroup
resources representing individual CloudWatch log groups configured across all enabled regions
aws.cloudwatch.logGroups;
Return a list of aws.cloudwatch.metric
resources representing individual CloudWatch metrics configured across all enabled regions
aws.cloudwatch.metrics;
Checks that all cloudwatch alarms have at least one action enabled
aws.cloudwatch.alarms.all(
actions.length > 0 == true &&
insufficientDataActions.length > 0 ==
props.cloudwatchAlarmInsufficientDataActionRequired &&
okActions.length > 0 == props.cloudwatchAlarmOkActionRequired
);