Class CfnCapacityProviderPropsMixin.AutoScalingGroupProviderProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnCapacityProviderPropsMixin.AutoScalingGroupProviderProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnCapacityProviderPropsMixin.AutoScalingGroupProviderProperty
CfnCapacityProviderPropsMixin.AutoScalingGroupProviderProperty-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.cfnpropertymixins.services.ecs.CfnCapacityProviderPropsMixin.AutoScalingGroupProviderProperty
CfnCapacityProviderPropsMixin.AutoScalingGroupProviderProperty.Builder, CfnCapacityProviderPropsMixin.AutoScalingGroupProviderProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnCapacityProviderPropsMixin.AutoScalingGroupProviderProperty.Builder.protectedJsii$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.JsonNodefinal booleanfinal ObjectThe Amazon Resource Name (ARN) that identifies the Auto Scaling group, or the Auto Scaling group name.final StringThe managed draining option for the Auto Scaling group capacity provider.final ObjectThe managed scaling settings for the Auto Scaling group capacity provider.final StringThe managed termination protection setting to use for the Auto Scaling group capacity provider.final inthashCode()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
protected Jsii$Proxy(CfnCapacityProviderPropsMixin.AutoScalingGroupProviderProperty.Builder builder) Constructor that initializes the object based on literal property values passed by theCfnCapacityProviderPropsMixin.AutoScalingGroupProviderProperty.Builder.
-
-
Method Details
-
getAutoScalingGroupArn
Description copied from interface:CfnCapacityProviderPropsMixin.AutoScalingGroupProviderPropertyThe Amazon Resource Name (ARN) that identifies the Auto Scaling group, or the Auto Scaling group name.Returns union: either
StringorIAutoScalingGroupRef- Specified by:
getAutoScalingGroupArnin interfaceCfnCapacityProviderPropsMixin.AutoScalingGroupProviderProperty- See Also:
-
getManagedDraining
Description copied from interface:CfnCapacityProviderPropsMixin.AutoScalingGroupProviderPropertyThe managed draining option for the Auto Scaling group capacity provider.When you enable this, Amazon ECS manages and gracefully drains the EC2 container instances that are in the Auto Scaling group capacity provider.
- Specified by:
getManagedDrainingin interfaceCfnCapacityProviderPropsMixin.AutoScalingGroupProviderProperty- See Also:
-
getManagedScaling
Description copied from interface:CfnCapacityProviderPropsMixin.AutoScalingGroupProviderPropertyThe managed scaling settings for the Auto Scaling group capacity provider.Returns union: either
IResolvableorCfnCapacityProviderPropsMixin.ManagedScalingProperty- Specified by:
getManagedScalingin interfaceCfnCapacityProviderPropsMixin.AutoScalingGroupProviderProperty- See Also:
-
getManagedTerminationProtection
Description copied from interface:CfnCapacityProviderPropsMixin.AutoScalingGroupProviderPropertyThe 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:
getManagedTerminationProtectionin interfaceCfnCapacityProviderPropsMixin.AutoScalingGroupProviderProperty- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-