Skip to content

Configuration

Garot Conklin edited this page Apr 29, 2025 · 1 revision

Configuration Guide

YAML Rules Configuration

Basic Structure

rules:
  - name: "Rule Name"
    trigger:
      metric: "MetricName"
      namespace: "AWS/Service"
      threshold: value
    actions:
      - type: "action_type"
        steps: []

Example Configurations

  1. High CPU Remediation
rules:
  - name: "HighCPU_Remediation"
    trigger:
      metric: "CPUUtilization"
      threshold: 90
    actions:
      - type: "remediate"
        steps:
          - "terminate-instance"

Environment Configuration

Lambda Environment Variables

  • CONFIG_S3_PATH: S3 path to YAML config
  • LOG_LEVEL: Logging verbosity
  • BEDROCK_MODEL: AI model selection

AWS Parameters

Required SSM parameters:

  • /cloudopsai/slack/webhook
  • /cloudopsai/servicenow/api-key
Clone this wiki locally