class ScalingEvents
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.AutoScaling.ScalingEvents |
Java | software.amazon.awscdk.services.autoscaling.ScalingEvents |
Python | aws_cdk.aws_autoscaling.ScalingEvents |
TypeScript (source) | @aws-cdk/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 * as autoscaling from '@aws-cdk/aws-autoscaling';
const scalingEvents = autoscaling.ScalingEvents.ALL;
Initializer
new ScalingEvents(...types: ScalingEvent[])
Parameters
- types
ScalingEvent
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.

.NET
Java
Python
TypeScript (