Class CfnAutoScalingRollingUpdate.Jsii$Proxy
- All Implemented Interfaces:
CfnAutoScalingRollingUpdate,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- CfnAutoScalingRollingUpdate
CfnAutoScalingRollingUpdate-
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.core.CfnAutoScalingRollingUpdate
CfnAutoScalingRollingUpdate.Builder, CfnAutoScalingRollingUpdate.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnAutoScalingRollingUpdate.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 NumberSpecifies the maximum number of instances that AWS CloudFormation updates.final NumberSpecifies the minimum number of instances that must be in service within the Auto Scaling group while AWS CloudFormation updates old instances.final NumberSpecifies the percentage of instances in an Auto Scaling rolling update that must signal success for an update to succeed.final StringThe amount of time that AWS CloudFormation pauses after making a change to a batch of instances to give those instances time to start software applications.Specifies the Auto Scaling processes to suspend during a stack update.final BooleanSpecifies whether the Auto Scaling group waits on signals from new instances during an update.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
Constructor that initializes the object based on literal property values passed by theCfnAutoScalingRollingUpdate.Builder.
-
-
Method Details
-
getMaxBatchSize
Description copied from interface:CfnAutoScalingRollingUpdateSpecifies the maximum number of instances that AWS CloudFormation updates.- Specified by:
getMaxBatchSizein interfaceCfnAutoScalingRollingUpdate
-
getMinInstancesInService
Description copied from interface:CfnAutoScalingRollingUpdateSpecifies the minimum number of instances that must be in service within the Auto Scaling group while AWS CloudFormation updates old instances.- Specified by:
getMinInstancesInServicein interfaceCfnAutoScalingRollingUpdate
-
getMinSuccessfulInstancesPercent
Description copied from interface:CfnAutoScalingRollingUpdateSpecifies the percentage of instances in an Auto Scaling rolling update that must signal success for an update to succeed.You can specify a value from 0 to 100. AWS CloudFormation rounds to the nearest tenth of a percent. For example, if you update five instances with a minimum successful percentage of 50, three instances must signal success.
If an instance doesn't send a signal within the time specified in the PauseTime property, AWS CloudFormation assumes that the instance wasn't updated.
If you specify this property, you must also enable the WaitOnResourceSignals and PauseTime properties.
- Specified by:
getMinSuccessfulInstancesPercentin interfaceCfnAutoScalingRollingUpdate
-
getPauseTime
Description copied from interface:CfnAutoScalingRollingUpdateThe amount of time that AWS CloudFormation pauses after making a change to a batch of instances to give those instances time to start software applications.For example, you might need to specify PauseTime when scaling up the number of instances in an Auto Scaling group.
If you enable the WaitOnResourceSignals property, PauseTime is the amount of time that AWS CloudFormation should wait for the Auto Scaling group to receive the required number of valid signals from added or replaced instances. If the PauseTime is exceeded before the Auto Scaling group receives the required number of signals, the update fails. For best results, specify a time period that gives your applications sufficient time to get started. If the update needs to be rolled back, a short PauseTime can cause the rollback to fail.
Specify PauseTime in the ISO8601 duration format (in the format PT#H#M#S, where each # is the number of hours, minutes, and seconds, respectively). The maximum PauseTime is one hour (PT1H).
- Specified by:
getPauseTimein interfaceCfnAutoScalingRollingUpdate
-
getSuspendProcesses
Description copied from interface:CfnAutoScalingRollingUpdateSpecifies the Auto Scaling processes to suspend during a stack update.Suspending processes prevents Auto Scaling from interfering with a stack update. For example, you can suspend alarming so that Auto Scaling doesn't execute scaling policies associated with an alarm. For valid values, see the ScalingProcesses.member.N parameter for the SuspendProcesses action in the Auto Scaling API Reference.
- Specified by:
getSuspendProcessesin interfaceCfnAutoScalingRollingUpdate
-
getWaitOnResourceSignals
Description copied from interface:CfnAutoScalingRollingUpdateSpecifies whether the Auto Scaling group waits on signals from new instances during an update.Use this property to ensure that instances have completed installing and configuring applications before the Auto Scaling group update proceeds. AWS CloudFormation suspends the update of an Auto Scaling group after new EC2 instances are launched into the group. AWS CloudFormation must receive a signal from each new instance within the specified PauseTime before continuing the update. To signal the Auto Scaling group, use the cfn-signal helper script or SignalResource API.
To have instances wait for an Elastic Load Balancing health check before they signal success, add a health-check verification by using the cfn-init helper script. For an example, see the verify_instance_health command in the Auto Scaling rolling updates sample template.
- Specified by:
getWaitOnResourceSignalsin interfaceCfnAutoScalingRollingUpdate
-
$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()
-