awscloudwatchactions

package
v2.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2021 License: Apache-2.0 Imports: 9 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewApplicationScalingAction_Override

func NewApplicationScalingAction_Override(a ApplicationScalingAction, stepScalingAction awsapplicationautoscaling.StepScalingAction)

func NewAutoScalingAction_Override

func NewAutoScalingAction_Override(a AutoScalingAction, stepScalingAction awsautoscaling.StepScalingAction)

func NewEc2Action_Override

func NewEc2Action_Override(e Ec2Action, instanceAction Ec2InstanceAction)

func NewSnsAction_Override

func NewSnsAction_Override(s SnsAction, topic awssns.ITopic)

Types

type ApplicationScalingAction

type ApplicationScalingAction interface {
	awscloudwatch.IAlarmAction
	Bind(_scope constructs.Construct, _alarm awscloudwatch.IAlarm) *awscloudwatch.AlarmActionConfig
}

Use an ApplicationAutoScaling StepScalingAction as an Alarm Action.

TODO: EXAMPLE

type AutoScalingAction

type AutoScalingAction interface {
	awscloudwatch.IAlarmAction
	Bind(_scope constructs.Construct, _alarm awscloudwatch.IAlarm) *awscloudwatch.AlarmActionConfig
}

Use an AutoScaling StepScalingAction as an Alarm Action.

TODO: EXAMPLE

func NewAutoScalingAction

func NewAutoScalingAction(stepScalingAction awsautoscaling.StepScalingAction) AutoScalingAction

type Ec2Action

type Ec2Action interface {
	awscloudwatch.IAlarmAction
	Bind(_scope constructs.Construct, _alarm awscloudwatch.IAlarm) *awscloudwatch.AlarmActionConfig
}

Use an EC2 action as an Alarm action.

TODO: EXAMPLE

func NewEc2Action

func NewEc2Action(instanceAction Ec2InstanceAction) Ec2Action

type Ec2InstanceAction

type Ec2InstanceAction string

Types of EC2 actions available.

const (
	Ec2InstanceAction_REBOOT    Ec2InstanceAction = "REBOOT"
	Ec2InstanceAction_RECOVER   Ec2InstanceAction = "RECOVER"
	Ec2InstanceAction_STOP      Ec2InstanceAction = "STOP"
	Ec2InstanceAction_TERMINATE Ec2InstanceAction = "TERMINATE"
)

type SnsAction

type SnsAction interface {
	awscloudwatch.IAlarmAction
	Bind(_scope constructs.Construct, _alarm awscloudwatch.IAlarm) *awscloudwatch.AlarmActionConfig
}

Use an SNS topic as an alarm action.

TODO: EXAMPLE

func NewSnsAction

func NewSnsAction(topic awssns.ITopic) SnsAction

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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