class ScalingEvents
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.AutoScaling.ScalingEvents |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsautoscaling#ScalingEvents |
![]() | software.amazon.awscdk.services.autoscaling.ScalingEvents |
![]() | aws_cdk.aws_autoscaling.ScalingEvents |
![]() | aws-cdk-lib » aws_autoscaling » ScalingEvents |
A list of ScalingEvents, you can use one of the predefined lists, such as ScalingEvents.ERRORS or create a custom group by instantiating a NotificationTypes
object, e.g: new NotificationTypes(
NotificationType.INSTANCE_LAUNCH)
.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_autoscaling as autoscaling } from 'aws-cdk-lib';
const scalingEvents = autoscaling.ScalingEvents.ALL;
Initializer
new ScalingEvents(...types: ScalingEvent[])
Parameters
- types
Scaling
Event
Properties
Name | Type | Description |
---|---|---|
static ALL | Scaling | All fleet scaling events. |
static ERRORS | Scaling | Fleet scaling errors. |
static LAUNCH_EVENTS | Scaling | Fleet scaling launch events. |
static TERMINATION_EVENTS | Scaling | Fleet termination launch events. |
static ALL
Type:
Scaling
All fleet scaling events.
static ERRORS
Type:
Scaling
Fleet scaling errors.
static LAUNCH_EVENTS
Type:
Scaling
Fleet scaling launch events.
static TERMINATION_EVENTS
Type:
Scaling
Fleet termination launch events.