cloudwatch

package
v0.57.1 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2024 License: Apache-2.0 Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Alarm

type Alarm struct {
	Metadata   iacTypes.Metadata
	AlarmName  iacTypes.StringValue
	MetricName iacTypes.StringValue
	Dimensions []AlarmDimension
	Metrics    []MetricDataQuery
}

type AlarmDimension

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

type CloudWatch

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

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        iacTypes.Metadata
	Arn             iacTypes.StringValue
	Name            iacTypes.StringValue
	KMSKeyID        iacTypes.StringValue
	RetentionInDays iacTypes.IntValue
	MetricFilters   []MetricFilter
}

type MetricDataQuery

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

type MetricFilter

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

Jump to

Keyboard shortcuts

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