Interface IAutoScalingGroup.Jsii$Default
- All Superinterfaces:
IAutoScalingGroup,IAutoScalingGroupRef,IAutoScalingGroupRef.Jsii$Default,software.constructs.IConstruct,software.constructs.IConstruct.Jsii$Default,software.constructs.IDependable,software.constructs.IDependable.Jsii$Default,IEnvironmentAware,IEnvironmentAware.Jsii$Default,IGrantable,IGrantable.Jsii$Default,IResource,IResource.Jsii$Default,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
IAutoScalingGroup.Jsii$Proxy
- Enclosing interface:
IAutoScalingGroup
@Internal
public static interface IAutoScalingGroup.Jsii$Default
extends IAutoScalingGroup, IResource.Jsii$Default, IAutoScalingGroupRef.Jsii$Default, IGrantable.Jsii$Default
Internal default implementation for
IAutoScalingGroup.-
Nested Class Summary
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.autoscaling.IAutoScalingGroup
IAutoScalingGroup.Jsii$Default, IAutoScalingGroup.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.autoscaling.IAutoScalingGroupRef
IAutoScalingGroupRef.Jsii$Default, IAutoScalingGroupRef.Jsii$ProxyNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default, software.constructs.IConstruct.Jsii$ProxyNested classes/interfaces inherited from interface software.constructs.IDependable
software.constructs.IDependable.Jsii$Default, software.constructs.IDependable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
IEnvironmentAware.Jsii$Default, IEnvironmentAware.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.services.iam.IGrantable
IGrantable.Jsii$Default, IGrantable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IResource
IResource.Jsii$Default, IResource.Jsii$Proxy -
Method Summary
Modifier and TypeMethodDescriptiondefault LifecycleHookaddLifecycleHook(String id, BasicLifecycleHookProps props) Send a message to either an SQS queue or SNS topic when instances launch or terminate.default voidaddUserData(String... commands) Add command to the startup script of fleet instances.default WarmPoolAdd a pool of pre-initialized EC2 instances that sits alongside an Auto Scaling group.default WarmPooladdWarmPool(WarmPoolOptions options) Add a pool of pre-initialized EC2 instances that sits alongside an Auto Scaling group.default StringThe arn of the AutoScalingGroup.default StringThe name of the AutoScalingGroup.default OperatingSystemTypeThe operating system family that the instances in this auto-scaling group belong to.default TargetTrackingScalingPolicyScale out or in to achieve a target CPU utilization.default TargetTrackingScalingPolicyScale out or in to achieve a target network ingress rate.default StepScalingPolicyscaleOnMetric(String id, BasicStepScalingPolicyProps props) Scale out or in, in response to a metric.default TargetTrackingScalingPolicyScale out or in to achieve a target network egress rate.default ScheduledActionscaleOnSchedule(String id, BasicScheduledActionProps props) Scale out or in based on time.default TargetTrackingScalingPolicyscaleToTrackMetric(String id, MetricTargetTrackingProps props) Scale out or in in order to keep a metric around a target value.Methods inherited from interface software.amazon.awscdk.interfaces.autoscaling.IAutoScalingGroupRef.Jsii$Default
getAutoScalingGroupRefMethods inherited from interface software.constructs.IConstruct.Jsii$Default
getNodeMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware.Jsii$Default
getEnvMethods inherited from interface software.amazon.awscdk.services.iam.IGrantable.Jsii$Default
getGrantPrincipalMethods inherited from interface software.amazon.awscdk.IResource.Jsii$Default
applyRemovalPolicy, getStackMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAutoScalingGroupArn
The arn of the AutoScalingGroup.- Specified by:
getAutoScalingGroupArnin interfaceIAutoScalingGroup
-
getAutoScalingGroupName
The name of the AutoScalingGroup.- Specified by:
getAutoScalingGroupNamein interfaceIAutoScalingGroup
-
getOsType
The operating system family that the instances in this auto-scaling group belong to.Is 'UNKNOWN' for imported ASGs.
- Specified by:
getOsTypein interfaceIAutoScalingGroup
-
addLifecycleHook
@Stability(Stable) @NotNull default LifecycleHook addLifecycleHook(@NotNull String id, @NotNull BasicLifecycleHookProps props) Send a message to either an SQS queue or SNS topic when instances launch or terminate.- Specified by:
addLifecycleHookin interfaceIAutoScalingGroup- Parameters:
id- This parameter is required.props- This parameter is required.
-
addUserData
Add command to the startup script of fleet instances.The command must be in the scripting language supported by the fleet's OS (i.e. Linux/Windows). Does nothing for imported ASGs.
- Specified by:
addUserDatain interfaceIAutoScalingGroup- Parameters:
commands- This parameter is required.
-
addWarmPool
Add a pool of pre-initialized EC2 instances that sits alongside an Auto Scaling group.- Specified by:
addWarmPoolin interfaceIAutoScalingGroup- Parameters:
options-
-
addWarmPool
Add a pool of pre-initialized EC2 instances that sits alongside an Auto Scaling group.- Specified by:
addWarmPoolin interfaceIAutoScalingGroup
-
scaleOnCpuUtilization
@Stability(Stable) @NotNull default TargetTrackingScalingPolicy scaleOnCpuUtilization(@NotNull String id, @NotNull CpuUtilizationScalingProps props) Scale out or in to achieve a target CPU utilization.- Specified by:
scaleOnCpuUtilizationin interfaceIAutoScalingGroup- Parameters:
id- This parameter is required.props- This parameter is required.
-
scaleOnIncomingBytes
@Stability(Stable) @NotNull default TargetTrackingScalingPolicy scaleOnIncomingBytes(@NotNull String id, @NotNull NetworkUtilizationScalingProps props) Scale out or in to achieve a target network ingress rate.- Specified by:
scaleOnIncomingBytesin interfaceIAutoScalingGroup- Parameters:
id- This parameter is required.props- This parameter is required.
-
scaleOnMetric
@Stability(Stable) @NotNull default StepScalingPolicy scaleOnMetric(@NotNull String id, @NotNull BasicStepScalingPolicyProps props) Scale out or in, in response to a metric.- Specified by:
scaleOnMetricin interfaceIAutoScalingGroup- Parameters:
id- This parameter is required.props- This parameter is required.
-
scaleOnOutgoingBytes
@Stability(Stable) @NotNull default TargetTrackingScalingPolicy scaleOnOutgoingBytes(@NotNull String id, @NotNull NetworkUtilizationScalingProps props) Scale out or in to achieve a target network egress rate.- Specified by:
scaleOnOutgoingBytesin interfaceIAutoScalingGroup- Parameters:
id- This parameter is required.props- This parameter is required.
-
scaleOnSchedule
@Stability(Stable) @NotNull default ScheduledAction scaleOnSchedule(@NotNull String id, @NotNull BasicScheduledActionProps props) Scale out or in based on time.- Specified by:
scaleOnSchedulein interfaceIAutoScalingGroup- Parameters:
id- This parameter is required.props- This parameter is required.
-
scaleToTrackMetric
@Stability(Stable) @NotNull default TargetTrackingScalingPolicy scaleToTrackMetric(@NotNull String id, @NotNull MetricTargetTrackingProps props) Scale out or in in order to keep a metric around a target value.- Specified by:
scaleToTrackMetricin interfaceIAutoScalingGroup- Parameters:
id- This parameter is required.props- This parameter is required.
-