Documentation ¶
Index ¶
- func NewApplicationScalingAction_Override(a ApplicationScalingAction, ...)
- func NewAutoScalingAction_Override(a AutoScalingAction, stepScalingAction awsautoscaling.StepScalingAction)
- func NewEc2Action_Override(e Ec2Action, instanceAction Ec2InstanceAction)
- func NewSnsAction_Override(s SnsAction, topic awssns.ITopic)
- type ApplicationScalingAction
- type AutoScalingAction
- type Ec2Action
- type Ec2InstanceAction
- type SnsAction
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 ¶
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
func NewApplicationScalingAction ¶
func NewApplicationScalingAction(stepScalingAction awsapplicationautoscaling.StepScalingAction) ApplicationScalingAction
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 ¶
Click to show internal directories.
Click to hide internal directories.