Skip to content

AWS::CloudWatch::InsightRule

  • Provide metrics for every service in AWS
  • Cloudwatch is commonly used as base for auto scaling
  • Source: Elastic Beanstalk, EC2, VPC, SDK, ...
  • Sink: S3, ElasticSearch, ...

Properties

Type: AWS::CloudWatch::InsightRule
Properties:
  RuleBody: String
  RuleName: String
  RuleState: String
  Tags:
    - Tag

RuleBody

  • Define and send your own custom metrics to CloudWatch
  • Use API PutMetricData to send values
  • MetricResolution: Standard (1min), High Resolution (10 or 30 seconds)
aws cloudwatch put-metric-data \
  --namespace "Usage Metrics" \
  --metric-data "file://metric.json"