org-formation / aws-resource-providers

A community driven repository where you can find AWS Resource Type Providers for different purposes (including org-formation ones).
MIT License
88 stars 21 forks source link

Community::CostExplorer::AnomalyMonitor & AnomalySubscription #36

Open OlafConijn opened 3 years ago

OlafConijn commented 3 years ago

The Community::CostExplorer::AnomalyMonitor allows users to set up an anomaly monitor

Proposal to do so using the following resource types

Type: Community::CostExplorer::AnomalyMonitor
Properties: 
  MonitorName: String # Name of the anomaly monitor
  MonitorType: String # DIMENSIONAL or CUSTOM
  MonitorDimension: String # SERVICE
  MonitorSpecification: any # contains expression as JSON or YAML
  DimensionalValueCount: number 
Type: Community::CostExplorer::AnomalySubscription
Properties: 
  SubscriptionName: String # Name of the anomaly subscription
  MonitorArnList: List<String> # !Refs to Monitor
  Subscribers: List<Subscriber> # { Type: EMAIL | SNS, Address: String  }
  Threshold: number
  Frequency: String # DAILY, IMMEDIATE or WEEKLY