Class ScalingEvents
- Namespace
- Amazon.CDK.AWS.AutoScaling
- Assembly
- Amazon.CDK.AWS.AutoScaling.dll
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)
.
public class ScalingEvents : DeputyBase
- Inheritance
-
ScalingEvents
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AutoScaling;
var scalingEvents = ScalingEvents.ALL;
Remarks
ExampleMetadata: fixture=_generated
Constructors
ScalingEvents(params ScalingEvent[])
public ScalingEvents(params ScalingEvent[] types)
Parameters
types
ScalingEvent[]
Properties
ALL
All fleet scaling events.
public static ScalingEvents ALL { get; }
Property Value
ERRORS
Fleet scaling errors.
public static ScalingEvents ERRORS { get; }
Property Value
LAUNCH_EVENTS
Fleet scaling launch events.
public static ScalingEvents LAUNCH_EVENTS { get; }
Property Value
TERMINATION_EVENTS
Fleet termination launch events.
public static ScalingEvents TERMINATION_EVENTS { get; }