Class CfnCapacityProvider.AutoScalingGroupProviderProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnCapacityProvider.AutoScalingGroupProviderProperty
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- CfnCapacityProvider.AutoScalingGroupProviderProperty
CfnCapacityProvider.AutoScalingGroupProviderProperty
-
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.AutoScalingGroupProviderProperty
CfnCapacityProvider.AutoScalingGroupProviderProperty.Builder, CfnCapacityProvider.AutoScalingGroupProviderProperty.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnCapacityProvider.AutoScalingGroupProviderProperty.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 String
The Amazon Resource Name (ARN) that identifies the Auto Scaling group.final Object
The managed scaling settings for the Auto Scaling group capacity provider.final String
The managed termination protection setting to use for the Auto Scaling group 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.AutoScalingGroupProviderProperty.Builder
.
-
-
Method Details
-
getAutoScalingGroupArn
Description copied from interface:CfnCapacityProvider.AutoScalingGroupProviderProperty
The Amazon Resource Name (ARN) that identifies the Auto Scaling group.- Specified by:
getAutoScalingGroupArn
in interfaceCfnCapacityProvider.AutoScalingGroupProviderProperty
-
getManagedScaling
Description copied from interface:CfnCapacityProvider.AutoScalingGroupProviderProperty
The managed scaling settings for the Auto Scaling group capacity provider.- Specified by:
getManagedScaling
in interfaceCfnCapacityProvider.AutoScalingGroupProviderProperty
-
getManagedTerminationProtection
Description copied from interface:CfnCapacityProvider.AutoScalingGroupProviderProperty
The managed termination protection setting to use for the Auto Scaling group capacity provider.This determines whether the Auto Scaling group has managed termination protection. The default is off.
When using managed termination protection, managed scaling must also be used otherwise managed termination protection doesn't work.
When managed termination protection is on, Amazon ECS prevents the Amazon EC2 instances in an Auto Scaling group that contain tasks from being terminated during a scale-in action. The Auto Scaling group and each instance in the Auto Scaling group must have instance protection from scale-in actions on as well. For more information, see Instance Protection in the AWS Auto Scaling User Guide .
When managed termination protection is off, your Amazon EC2 instances aren't protected from termination when the Auto Scaling group scales in.
- Specified by:
getManagedTerminationProtection
in interfaceCfnCapacityProvider.AutoScalingGroupProviderProperty
-
$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()
-