Uses of Package
software.amazon.awscdk.services.autoscaling
Package
Description
Amazon EC2 Auto Scaling Construct Library
Lifecycle Hook for the CDK AWS AutoScaling Library
CloudWatch Alarm Actions library
AWS CodeDeploy Construct Library
Amazon ECS Construct Library
Amazon EKS Construct Library
-
ClassDescriptionAn adjustment.A builder for
AdjustmentTier
How adjustment numbers are interpreted.Options for applying CloudFormation init to an instance or instance group.A builder forApplyCloudFormationInitOptions
A Fleet represents a managed set of EC2 instances.A fluent builder forAutoScalingGroup
.Properties of a Fleet.A builder forAutoScalingGroupProps
Base interface for target tracking props.A builder forBaseTargetTrackingProps
Basic properties for a lifecycle hook.A builder forBasicLifecycleHookProps
Properties for a scheduled scaling action.A builder forBasicScheduledActionProps
Example:A builder forBasicStepScalingPolicyProps
Properties for a Target Tracking policy that include the metric but exclude the target.A builder forBasicTargetTrackingScalingPolicyProps
Options needed to bind a target to a lifecycle hook.A builder forBindHookTargetOptions
Block device.A builder forBlockDevice
Describes a block device mapping for an EC2 instance or Auto Scaling group.TheAWS::AutoScaling::AutoScalingGroup
resource defines an Amazon EC2 Auto Scaling group, which is a collection of Amazon EC2 instances that are treated as a logical grouping for the purposes of automatic scaling and management.AcceleratorCountRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum number of accelerators for an instance type.A builder forCfnAutoScalingGroup.AcceleratorCountRequestProperty
AcceleratorTotalMemoryMiBRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum total memory size for the accelerators for an instance type, in MiB.BaselineEbsBandwidthMbpsRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum baseline bandwidth performance for an instance type, in Mbps.A fluent builder forCfnAutoScalingGroup
.InstanceMaintenancePolicy
is a property of the AWS::AutoScaling::AutoScalingGroup resource.A builder forCfnAutoScalingGroup.InstanceMaintenancePolicyProperty
The attributes for the instance types for a mixed instances policy.A builder forCfnAutoScalingGroup.InstanceRequirementsProperty
Use this structure to specify the distribution of On-Demand Instances and Spot Instances and the allocation strategies used to fulfill On-Demand and Spot capacities for a mixed instances policy.A builder forCfnAutoScalingGroup.InstancesDistributionProperty
Use this structure to let Amazon EC2 Auto Scaling do the following when the Auto Scaling group has a mixed instances policy: - Override the instance type that is specified in the launch template.A builder forCfnAutoScalingGroup.LaunchTemplateOverridesProperty
Use this structure to specify the launch templates and instance types (overrides) for a mixed instances policy.A builder forCfnAutoScalingGroup.LaunchTemplateProperty
Specifies a launch template to use when provisioning EC2 instances for an Auto Scaling group.A builder forCfnAutoScalingGroup.LaunchTemplateSpecificationProperty
LifecycleHookSpecification
specifies a lifecycle hook for theLifecycleHookSpecificationList
property of the AWS::AutoScaling::AutoScalingGroup resource.A builder forCfnAutoScalingGroup.LifecycleHookSpecificationProperty
MemoryGiBPerVCpuRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum amount of memory per vCPU for an instance type, in GiB.A builder forCfnAutoScalingGroup.MemoryGiBPerVCpuRequestProperty
MemoryMiBRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum instance memory size for an instance type, in MiB.A builder forCfnAutoScalingGroup.MemoryMiBRequestProperty
MetricsCollection
is a property of the AWS::AutoScaling::AutoScalingGroup resource that describes the group metrics that an Amazon EC2 Auto Scaling group sends to Amazon CloudWatch.A builder forCfnAutoScalingGroup.MetricsCollectionProperty
Use this structure to launch multiple instance types and On-Demand Instances and Spot Instances within a single Auto Scaling group.A builder forCfnAutoScalingGroup.MixedInstancesPolicyProperty
NetworkBandwidthGbpsRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum network bandwidth for an instance type, in Gbps.A builder forCfnAutoScalingGroup.NetworkBandwidthGbpsRequestProperty
NetworkInterfaceCountRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum number of network interfaces for an instance type.A builder forCfnAutoScalingGroup.NetworkInterfaceCountRequestProperty
A structure that specifies an Amazon SNS notification configuration for theNotificationConfigurations
property of the AWS::AutoScaling::AutoScalingGroup resource.A builder forCfnAutoScalingGroup.NotificationConfigurationProperty
A structure that specifies a tag for theTags
property of AWS::AutoScaling::AutoScalingGroup resource.A builder forCfnAutoScalingGroup.TagPropertyProperty
TotalLocalStorageGBRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum total local storage size for an instance type, in GB.A builder forCfnAutoScalingGroup.TotalLocalStorageGBRequestProperty
Example:A builder forCfnAutoScalingGroup.TrafficSourceIdentifierProperty
VCpuCountRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum number of vCPUs for an instance type.A builder forCfnAutoScalingGroup.VCpuCountRequestProperty
Properties for defining aCfnAutoScalingGroup
.A builder forCfnAutoScalingGroupProps
TheAWS::AutoScaling::LaunchConfiguration
resource specifies the launch configuration that can be used by an Auto Scaling group to configure Amazon EC2 instances.BlockDeviceMapping
specifies a block device mapping for theBlockDeviceMappings
property of the AWS::AutoScaling::LaunchConfiguration resource.A builder forCfnLaunchConfiguration.BlockDeviceMappingProperty
BlockDevice
is a property of theEBS
property of the AWS::AutoScaling::LaunchConfiguration BlockDeviceMapping property type that describes an Amazon EBS volume.A builder forCfnLaunchConfiguration.BlockDeviceProperty
A fluent builder forCfnLaunchConfiguration
.MetadataOptions
is a property of AWS::AutoScaling::LaunchConfiguration that describes metadata options for the instances.A builder forCfnLaunchConfiguration.MetadataOptionsProperty
Properties for defining aCfnLaunchConfiguration
.A builder forCfnLaunchConfigurationProps
TheAWS::AutoScaling::LifecycleHook
resource specifies lifecycle hooks for an Auto Scaling group.A fluent builder forCfnLifecycleHook
.Properties for defining aCfnLifecycleHook
.A builder forCfnLifecycleHookProps
TheAWS::AutoScaling::ScalingPolicy
resource specifies an Amazon EC2 Auto Scaling scaling policy so that the Auto Scaling group can scale the number of instances available for your application.A fluent builder forCfnScalingPolicy
.Contains customized metric specification information for a target tracking scaling policy for Amazon EC2 Auto Scaling.A builder forCfnScalingPolicy.CustomizedMetricSpecificationProperty
The metric data to return.A builder forCfnScalingPolicy.MetricDataQueryProperty
MetricDimension
specifies a name/value pair that is part of the identity of a CloudWatch metric for theDimensions
property of the AWS::AutoScaling::ScalingPolicy CustomizedMetricSpecification property type.A builder forCfnScalingPolicy.MetricDimensionProperty
Represents a specific metric.A builder forCfnScalingPolicy.MetricProperty
MetricStat
is a property of the AWS::AutoScaling::ScalingPolicy MetricDataQuery property type.A builder forCfnScalingPolicy.MetricStatProperty
Contains predefined metric specification information for a target tracking scaling policy for Amazon EC2 Auto Scaling.A builder forCfnScalingPolicy.PredefinedMetricSpecificationProperty
PredictiveScalingConfiguration
is a property of the AWS::AutoScaling::ScalingPolicy resource that specifies a predictive scaling policy for Amazon EC2 Auto Scaling.A builder forCfnScalingPolicy.PredictiveScalingConfigurationProperty
Contains capacity metric information for theCustomizedCapacityMetricSpecification
property of the AWS::AutoScaling::ScalingPolicy PredictiveScalingMetricSpecification property type.Contains load metric information for theCustomizedLoadMetricSpecification
property of the AWS::AutoScaling::ScalingPolicy PredictiveScalingMetricSpecification property type.Contains scaling metric information for theCustomizedScalingMetricSpecification
property of the AWS::AutoScaling::ScalingPolicy PredictiveScalingMetricSpecification property type.A structure that specifies a metric specification for theMetricSpecifications
property of the AWS::AutoScaling::ScalingPolicy PredictiveScalingConfiguration property type.Contains load metric information for thePredefinedLoadMetricSpecification
property of the AWS::AutoScaling::ScalingPolicy PredictiveScalingMetricSpecification property type.Contains metric pair information for thePredefinedMetricPairSpecification
property of the AWS::AutoScaling::ScalingPolicy PredictiveScalingMetricSpecification property type.Contains scaling metric information for thePredefinedScalingMetricSpecification
property of the AWS::AutoScaling::ScalingPolicy PredictiveScalingMetricSpecification property type.StepAdjustment
specifies a step adjustment for theStepAdjustments
property of the AWS::AutoScaling::ScalingPolicy resource.A builder forCfnScalingPolicy.StepAdjustmentProperty
TargetTrackingConfiguration
is a property of the AWS::AutoScaling::ScalingPolicy resource that specifies a target tracking scaling policy configuration for Amazon EC2 Auto Scaling.A builder forCfnScalingPolicy.TargetTrackingConfigurationProperty
The metric data to return.A builder forCfnScalingPolicy.TargetTrackingMetricDataQueryProperty
This structure defines the CloudWatch metric to return, along with the statistic and unit.A builder forCfnScalingPolicy.TargetTrackingMetricStatProperty
Properties for defining aCfnScalingPolicy
.A builder forCfnScalingPolicyProps
TheAWS::AutoScaling::ScheduledAction
resource specifies an Amazon EC2 Auto Scaling scheduled action so that the Auto Scaling group can change the number of instances available for your application in response to predictable load changes.A fluent builder forCfnScheduledAction
.Properties for defining aCfnScheduledAction
.A builder forCfnScheduledActionProps
TheAWS::AutoScaling::WarmPool
resource creates a pool of pre-initialized EC2 instances that sits alongside the Auto Scaling group.A fluent builder forCfnWarmPool
.A structure that specifies an instance reuse policy for theInstanceReusePolicy
property of the AWS::AutoScaling::WarmPool resource.A builder forCfnWarmPool.InstanceReusePolicyProperty
Properties for defining aCfnWarmPool
.A builder forCfnWarmPoolProps
Basic properties of an AutoScalingGroup, except the exact machines to run and where they should run.A builder forCommonAutoScalingGroupProps
Properties for enabling scaling based on CPU utilization.A builder forCpuUtilizationScalingProps
Options to configure a cron expression.A builder forCronOptions
Block device options for an EBS volume.A builder forEbsDeviceOptions
Base block device options for an EBS volume.A builder forEbsDeviceOptionsBase
Properties of an EBS block device.A builder forEbsDeviceProps
Block device options for an EBS volume created from a snapshot.A builder forEbsDeviceSnapshotOptions
Supported EBS volume types for blockDevices.EC2 Heath check options.A builder forEc2HealthCheckOptions
ELB Heath check options.A builder forElbHealthCheckOptions
Group metrics that an Auto Scaling group sends to Amazon CloudWatch.A set of group metrics.Health check settings.An AutoScalingGroup.Internal default implementation forIAutoScalingGroup
.A basic lifecycle hook object.Internal default implementation forILifecycleHook
.Interface for autoscaling lifecycle hook targets.Internal default implementation forILifecycleHookTarget
.InstancesDistribution is a subproperty of MixedInstancesPolicy that describes an instances distribution for an Auto Scaling group.A builder forInstancesDistribution
LaunchTemplateOverrides is a subproperty of LaunchTemplate that describes an override for a launch template.A builder forLaunchTemplateOverrides
Define a life cycle hook.A fluent builder forLifecycleHook
.Properties for a Lifecycle hook.A builder forLifecycleHookProps
Result of binding a lifecycle hook to a target.A builder forLifecycleHookTargetConfig
What instance transition to attach the hook to.How the scaling metric is going to be aggregated.Properties for enabling tracking of an arbitrary metric.A builder forMetricTargetTrackingProps
MixedInstancesPolicy allows you to configure a group that diversifies across On-Demand Instances and Spot Instances of multiple instance types.A builder forMixedInstancesPolicy
The monitoring mode for instances launched in an autoscaling group.Properties for enabling scaling based on network utilization.A builder forNetworkUtilizationScalingProps
AutoScalingGroup fleet change notifications configurations.A builder forNotificationConfiguration
Indicates how to allocate instance types to fulfill On-Demand capacity.The instance state in the warm pool.One of the predefined autoscaling metrics.Input for Signals.renderCreationPolicy.A builder forRenderSignalsOptions
Properties for enabling scaling based on request/second.A builder forRequestCountScalingProps
Options for customizing the rolling update.A builder forRollingUpdateOptions
Fleet scaling events.A list of ScalingEvents, you can use one of the predefined lists, such as ScalingEvents.ERRORS or create a custom group by instantiating aNotificationTypes
object, e.g:new NotificationTypes(
NotificationType.INSTANCE_LAUNCH)
.A range of metric values in which to apply a certain scaling operation.A builder forScalingInterval
Schedule for scheduled scaling actions.Define a scheduled scaling action.A fluent builder forScheduledAction
.Properties for a scheduled action on an AutoScalingGroup.A builder forScheduledActionProps
Configure whether the AutoScalingGroup waits for signals.Customization options for Signal handling.A builder forSignalsOptions
Indicates how to allocate instance types to fulfill Spot capacity.Define a step scaling action.A fluent builder forStepScalingAction
.Properties for a scaling policy.A builder forStepScalingActionProps
Define a acaling strategy which scales depending on absolute values of some metric.A fluent builder forStepScalingPolicy
.Example:A builder forStepScalingPolicyProps
Example:A fluent builder forTargetTrackingScalingPolicy
.Properties for a concrete TargetTrackingPolicy.A builder forTargetTrackingScalingPolicyProps
Specifies the termination criteria to apply before Amazon EC2 Auto Scaling chooses an instance for termination.How existing instances should be updated.Define a warm pool.A fluent builder forWarmPool
.Options for a warm pool.A builder forWarmPoolOptions
Properties for a warm pool.A builder forWarmPoolProps
-
ClassDescriptionOptions needed to bind a target to a lifecycle hook.Interface for autoscaling lifecycle hook targets.Result of binding a lifecycle hook to a target.
-
-
ClassDescriptionA Fleet represents a managed set of EC2 instances.An AutoScalingGroup.
-
ClassDescriptionA Fleet represents a managed set of EC2 instances.Block device.Basic properties of an AutoScalingGroup, except the exact machines to run and where they should run.A set of group metrics.Health check settings.An AutoScalingGroup.The monitoring mode for instances launched in an autoscaling group.AutoScalingGroup fleet change notifications configurations.Configure whether the AutoScalingGroup waits for signals.Specifies the termination criteria to apply before Amazon EC2 Auto Scaling chooses an instance for termination.How existing instances should be updated.
-
ClassDescriptionA Fleet represents a managed set of EC2 instances.Block device.Basic properties of an AutoScalingGroup, except the exact machines to run and where they should run.A set of group metrics.Health check settings.The monitoring mode for instances launched in an autoscaling group.AutoScalingGroup fleet change notifications configurations.Configure whether the AutoScalingGroup waits for signals.Specifies the termination criteria to apply before Amazon EC2 Auto Scaling chooses an instance for termination.How existing instances should be updated.