awscloudwatchactions

package
v1.98.1-devpreview Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewApplicationScalingAction_Override

func NewApplicationScalingAction_Override(a ApplicationScalingAction, stepScalingAction awsapplicationautoscaling.StepScalingAction)

Experimental.

func NewAutoScalingAction_Override

func NewAutoScalingAction_Override(a AutoScalingAction, stepScalingAction awsautoscaling.StepScalingAction)

Experimental.

func NewEc2Action_Override

func NewEc2Action_Override(e Ec2Action, instanceAction Ec2InstanceAction)

Experimental.

func NewSnsAction_Override

func NewSnsAction_Override(s SnsAction, topic awssns.ITopic)

Experimental.

Types

type ApplicationScalingAction

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

Use an ApplicationAutoScaling StepScalingAction as an Alarm Action. Experimental.

func NewApplicationScalingAction

func NewApplicationScalingAction(stepScalingAction awsapplicationautoscaling.StepScalingAction) ApplicationScalingAction

Experimental.

type AutoScalingAction

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

Use an AutoScaling StepScalingAction as an Alarm Action. Experimental.

func NewAutoScalingAction

func NewAutoScalingAction(stepScalingAction awsautoscaling.StepScalingAction) AutoScalingAction

Experimental.

type Ec2Action

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

Use an EC2 action as an Alarm action. Experimental.

func NewEc2Action

func NewEc2Action(instanceAction Ec2InstanceAction) Ec2Action

Experimental.

type Ec2InstanceAction

type Ec2InstanceAction string

Types of EC2 actions available. Experimental.

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

type SnsAction

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

Use an SNS topic as an alarm action. Experimental.

func NewSnsAction

func NewSnsAction(topic awssns.ITopic) SnsAction

Experimental.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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