Class CfnCapacityProvider.ManagedScalingProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnCapacityProvider.ManagedScalingProperty
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnCapacityProvider.ManagedScalingProperty
CfnCapacityProvider.ManagedScalingProperty
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.ecs.CfnCapacityProvider.ManagedScalingProperty
CfnCapacityProvider.ManagedScalingProperty.Builder, CfnCapacityProvider.ManagedScalingProperty.Jsii$Proxy
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnCapacityProvider.ManagedScalingProperty.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
final Number
The period of time, in seconds, after a newly launched Amazon EC2 instance can contribute to CloudWatch metrics for Auto Scaling group.final Number
The maximum number of Amazon EC2 instances that Amazon ECS will scale out at one time.final Number
The minimum number of Amazon EC2 instances that Amazon ECS will scale out at one time.final String
Determines whether to use managed scaling for the capacity provider.final Number
The target capacity utilization as a percentage for the capacity provider.final int
hashCode()
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnCapacityProvider.ManagedScalingProperty.Builder
.
-
-
Method Details
-
getInstanceWarmupPeriod
Description copied from interface:CfnCapacityProvider.ManagedScalingProperty
The period of time, in seconds, after a newly launched Amazon EC2 instance can contribute to CloudWatch metrics for Auto Scaling group.If this parameter is omitted, the default value of
300
seconds is used.- Specified by:
getInstanceWarmupPeriod
in interfaceCfnCapacityProvider.ManagedScalingProperty
- See Also:
-
getMaximumScalingStepSize
Description copied from interface:CfnCapacityProvider.ManagedScalingProperty
The maximum number of Amazon EC2 instances that Amazon ECS will scale out at one time.If this parameter is omitted, the default value of
10000
is used.- Specified by:
getMaximumScalingStepSize
in interfaceCfnCapacityProvider.ManagedScalingProperty
- See Also:
-
getMinimumScalingStepSize
Description copied from interface:CfnCapacityProvider.ManagedScalingProperty
The minimum number of Amazon EC2 instances that Amazon ECS will scale out at one time.The scale in process is not affected by this parameter If this parameter is omitted, the default value of
1
is used.When additional capacity is required, Amazon ECS will scale up the minimum scaling step size even if the actual demand is less than the minimum scaling step size.
If you use a capacity provider with an Auto Scaling group configured with more than one Amazon EC2 instance type or Availability Zone, Amazon ECS will scale up by the exact minimum scaling step size value and will ignore both the maximum scaling step size as well as the capacity demand.
- Specified by:
getMinimumScalingStepSize
in interfaceCfnCapacityProvider.ManagedScalingProperty
- See Also:
-
getStatus
Description copied from interface:CfnCapacityProvider.ManagedScalingProperty
Determines whether to use managed scaling for the capacity provider.- Specified by:
getStatus
in interfaceCfnCapacityProvider.ManagedScalingProperty
- See Also:
-
getTargetCapacity
Description copied from interface:CfnCapacityProvider.ManagedScalingProperty
The target capacity utilization as a percentage for the capacity provider.The specified value must be greater than
0
and less than or equal to100
. For example, if you want the capacity provider to maintain 10% spare capacity, then that means the utilization is 90%, so use atargetCapacity
of90
. The default value of100
percent results in the Amazon EC2 instances in your Auto Scaling group being completely used.- Specified by:
getTargetCapacity
in interfaceCfnCapacityProvider.ManagedScalingProperty
- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-