public static final class CfnDeploymentGroup.BlueInstanceTerminationOptionProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnDeploymentGroup.BlueInstanceTerminationOptionProperty
CfnDeploymentGroup.BlueInstanceTerminationOptionProperty
CfnDeploymentGroup.BlueInstanceTerminationOptionProperty.Builder, CfnDeploymentGroup.BlueInstanceTerminationOptionProperty.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getAction()
The action to take on instances in the original environment after a successful blue/green deployment.
|
java.lang.Number |
getTerminationWaitTimeInMinutes()
For an Amazon EC2 deployment, the number of minutes to wait after a successful blue/green deployment before terminating instances from the original environment.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final java.lang.String getAction()
CfnDeploymentGroup.BlueInstanceTerminationOptionProperty
TERMINATE
: Instances are terminated after a specified wait time.KEEP_ALIVE
: Instances are left running after they are deregistered from the load balancer and removed from the deployment group.getAction
in interface CfnDeploymentGroup.BlueInstanceTerminationOptionProperty
public final java.lang.Number getTerminationWaitTimeInMinutes()
CfnDeploymentGroup.BlueInstanceTerminationOptionProperty
For an Amazon ECS deployment, the number of minutes before deleting the original (blue) task set. During an Amazon ECS deployment, CodeDeploy shifts traffic from the original (blue) task set to a replacement (green) task set.
The maximum setting is 2880 minutes (2 days).
getTerminationWaitTimeInMinutes
in interface CfnDeploymentGroup.BlueInstanceTerminationOptionProperty
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()