aws.cloudwatch
Supported platform
- aws
Description
Amazon CloudWatch
Use the aws.cloudwatch
resource 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
Check 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
)