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)
- func NewSsmAction_Override(s SsmAction, severity OpsItemSeverity, category OpsItemCategory)
- type ApplicationScalingAction
- type AutoScalingAction
- type Ec2Action
- type Ec2InstanceAction
- type OpsItemCategory
- type OpsItemSeverity
- type SnsAction
- type SsmAction
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 NewSsmAction_Override ¶ added in v2.11.0
func NewSsmAction_Override(s SsmAction, severity OpsItemSeverity, category OpsItemCategory)
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.
TODO: EXAMPLE
const ( Ec2InstanceAction_STOP Ec2InstanceAction = "STOP" Ec2InstanceAction_TERMINATE Ec2InstanceAction = "TERMINATE" Ec2InstanceAction_RECOVER Ec2InstanceAction = "RECOVER" Ec2InstanceAction_REBOOT Ec2InstanceAction = "REBOOT" )
type OpsItemCategory ¶ added in v2.11.0
type OpsItemCategory string
Types of OpsItem category available.
TODO: EXAMPLE
const ( OpsItemCategory_AVAILABILITY OpsItemCategory = "AVAILABILITY" OpsItemCategory_COST OpsItemCategory = "COST" OpsItemCategory_PERFORMANCE OpsItemCategory = "PERFORMANCE" OpsItemCategory_RECOVERY OpsItemCategory = "RECOVERY" OpsItemCategory_SECURITY OpsItemCategory = "SECURITY" )
type OpsItemSeverity ¶ added in v2.11.0
type OpsItemSeverity string
Types of OpsItem severity available.
TODO: EXAMPLE
const ( OpsItemSeverity_CRITICAL OpsItemSeverity = "CRITICAL" OpsItemSeverity_HIGH OpsItemSeverity = "HIGH" OpsItemSeverity_MEDIUM OpsItemSeverity = "MEDIUM" OpsItemSeverity_LOW OpsItemSeverity = "LOW" )
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 ¶
type SsmAction ¶ added in v2.11.0
type SsmAction interface { awscloudwatch.IAlarmAction Bind(_scope constructs.Construct, _alarm awscloudwatch.IAlarm) *awscloudwatch.AlarmActionConfig }
Use an SSM OpsItem action as an Alarm action.
TODO: EXAMPLE
func NewSsmAction ¶ added in v2.11.0
func NewSsmAction(severity OpsItemSeverity, category OpsItemCategory) SsmAction
Click to show internal directories.
Click to hide internal directories.