cloudwatch

package
v0.69.2 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 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 {
	types.Metadata
	AlarmName  types.StringValue
	MetricName types.StringValue
	Dimensions []AlarmDimension
	Metrics    []MetricDataQuery
}

type AlarmDimension added in v0.69.0

type AlarmDimension struct {
	types.Metadata
	Name  types.StringValue
	Value types.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 {
	types.Metadata
	Arn             types.StringValue
	Name            types.StringValue
	KMSKeyID        types.StringValue
	RetentionInDays types.IntValue
	MetricFilters   []MetricFilter
}

type MetricDataQuery added in v0.69.0

type MetricDataQuery struct {
	types.Metadata
	Expression types.StringValue
	ID         types.StringValue
}

type MetricFilter added in v0.69.0

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

Jump to

Keyboard shortcuts

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