@Stability(value=Stable) @Internal public static final class CfnDeploymentGroup.DeploymentProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnDeploymentGroup.DeploymentProperty
CfnDeploymentGroup.DeploymentPropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnDeploymentGroup.DeploymentProperty.Builder, CfnDeploymentGroup.DeploymentProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnDeploymentGroup.DeploymentProperty.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnDeploymentGroup.AlarmConfigurationProperty.Builder. |
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(Object o) |
String |
getDescription()
A comment about the deployment.
|
Object |
getIgnoreApplicationStopFailures()
If true, then if an `ApplicationStop` , `BeforeBlockTraffic` , or `AfterBlockTraffic` deployment lifecycle event to an instance fails, then the deployment continues to the next deployment lifecycle event.
|
Object |
getRevision()
Information about the location of stored application artifacts and the service from which to retrieve them.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(CfnDeploymentGroup.DeploymentProperty.Builder builder)
CfnDeploymentGroup.AlarmConfigurationProperty.Builder.public final Object getRevision()
CfnDeploymentGroup.DeploymentPropertygetRevision in interface CfnDeploymentGroup.DeploymentPropertypublic final String getDescription()
CfnDeploymentGroup.DeploymentPropertygetDescription in interface CfnDeploymentGroup.DeploymentPropertypublic final Object getIgnoreApplicationStopFailures()
CfnDeploymentGroup.DeploymentProperty
For example, if ApplicationStop fails, the deployment continues with DownloadBundle. If BeforeBlockTraffic fails, the deployment continues with BlockTraffic . If AfterBlockTraffic fails, the deployment continues with ApplicationStop .
If false or not specified, then if a lifecycle event fails during a deployment to an instance, that deployment fails. If deployment to that instance is part of an overall deployment and the number of healthy hosts is not less than the minimum number of healthy hosts, then a deployment to the next instance is attempted.
During a deployment, the AWS CodeDeploy agent runs the scripts specified for ApplicationStop , BeforeBlockTraffic , and AfterBlockTraffic in the AppSpec file from the previous successful deployment. (All other scripts are run from the AppSpec file in the current deployment.) If one of these scripts contains an error and does not run successfully, the deployment can fail.
If the cause of the failure is a script from the last successful deployment that will never run successfully, create a new deployment and use ignoreApplicationStopFailures to specify that the ApplicationStop , BeforeBlockTraffic , and AfterBlockTraffic failures should be ignored.
getIgnoreApplicationStopFailures in interface CfnDeploymentGroup.DeploymentProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.