Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Alarm ¶ added in v0.69.0
type Alarm struct { Metadata defsecTypes.Metadata AlarmName defsecTypes.StringValue MetricName defsecTypes.StringValue Dimensions []AlarmDimension Metrics []MetricDataQuery }
type AlarmDimension ¶ added in v0.69.0
type AlarmDimension struct { Metadata defsecTypes.Metadata Name defsecTypes.StringValue Value defsecTypes.StringValue }
type CloudWatch ¶
func (CloudWatch) GetAlarmByMetricName ¶ added in v0.69.0
func (w CloudWatch) GetAlarmByMetricName(metricName string) (alarm *Alarm)
func (CloudWatch) GetLogGroupByArn ¶ added in v0.69.0
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 ¶ added in v0.69.0
type MetricDataQuery struct { Metadata defsecTypes.Metadata Expression defsecTypes.StringValue ID defsecTypes.StringValue }
type MetricFilter ¶ added in v0.69.0
type MetricFilter struct { Metadata defsecTypes.Metadata FilterName defsecTypes.StringValue FilterPattern defsecTypes.StringValue }
Click to show internal directories.
Click to hide internal directories.