cloudwatch

package
v0.74.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 10, 2022 License: MIT Imports: 1 Imported by: 2

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 {
	defsecTypes.Metadata
	AlarmName  defsecTypes.StringValue
	MetricName defsecTypes.StringValue
	Dimensions []AlarmDimension
	Metrics    []MetricDataQuery
}

type AlarmDimension added in v0.69.0

type AlarmDimension struct {
	defsecTypes.Metadata
	Name  defsecTypes.StringValue
	Value defsecTypes.StringValue
}

type CloudWatch

type CloudWatch struct {
	LogGroups []LogGroup
	Alarms    []Alarm
}

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 {
	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 {
	defsecTypes.Metadata
	Expression defsecTypes.StringValue
	ID         defsecTypes.StringValue
}

type MetricFilter added in v0.69.0

type MetricFilter struct {
	defsecTypes.Metadata
	FilterName    defsecTypes.StringValue
	FilterPattern defsecTypes.StringValue
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL