Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Alarm ¶
type Alarm struct { Metadata defsecTypes.Metadata AlarmName defsecTypes.StringValue MetricName defsecTypes.StringValue Dimensions []AlarmDimension Metrics []MetricDataQuery }
type AlarmDimension ¶
type AlarmDimension struct { Metadata defsecTypes.Metadata Name defsecTypes.StringValue Value defsecTypes.StringValue }
type CloudWatch ¶
func (CloudWatch) GetAlarmByMetricName ¶
func (w CloudWatch) GetAlarmByMetricName(metricName string) (alarm *Alarm)
func (CloudWatch) GetLogGroupByArn ¶
func (w CloudWatch) GetLogGroupByArn(arn string) (logGroup *LogGroup)
type LogGroup ¶
type LogGroup struct { Metadata defsecTypes.Metadata Arn defsecTypes.StringValue Name defsecTypes.StringValue KMSKeyID defsecTypes.StringValue RetentionInDays defsecTypes.IntValue MetricFilters []MetricFilter }
type MetricDataQuery ¶
type MetricDataQuery struct { Metadata defsecTypes.Metadata Expression defsecTypes.StringValue ID defsecTypes.StringValue }
type MetricFilter ¶
type MetricFilter struct { Metadata defsecTypes.Metadata FilterName defsecTypes.StringValue FilterPattern defsecTypes.StringValue }
Click to show internal directories.
Click to hide internal directories.