Class CfnDeploymentGroup.DeploymentProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnDeploymentGroup.DeploymentProperty
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnDeploymentGroup.DeploymentProperty
CfnDeploymentGroup.DeploymentProperty
-
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.codedeploy.CfnDeploymentGroup.DeploymentProperty
CfnDeploymentGroup.DeploymentProperty.Builder, CfnDeploymentGroup.DeploymentProperty.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnDeploymentGroup.DeploymentProperty.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
A comment about the deployment.final Object
If true, then if anApplicationStop
,BeforeBlockTraffic
, orAfterBlockTraffic
deployment lifecycle event to an instance fails, then the deployment continues to the next deployment lifecycle event.final Object
Information about the location of stored application artifacts and the service from which to retrieve them.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 theCfnDeploymentGroup.DeploymentProperty.Builder
.
-
-
Method Details
-
getRevision
Description copied from interface:CfnDeploymentGroup.DeploymentProperty
Information about the location of stored application artifacts and the service from which to retrieve them.- Specified by:
getRevision
in interfaceCfnDeploymentGroup.DeploymentProperty
- See Also:
-
getDescription
Description copied from interface:CfnDeploymentGroup.DeploymentProperty
A comment about the deployment.- Specified by:
getDescription
in interfaceCfnDeploymentGroup.DeploymentProperty
- See Also:
-
getIgnoreApplicationStopFailures
Description copied from interface:CfnDeploymentGroup.DeploymentProperty
If true, then if anApplicationStop
,BeforeBlockTraffic
, orAfterBlockTraffic
deployment lifecycle event to an instance fails, then the deployment continues to the next deployment lifecycle event.For example, if
ApplicationStop
fails, the deployment continues with DownloadBundle. IfBeforeBlockTraffic
fails, the deployment continues withBlockTraffic
. IfAfterBlockTraffic
fails, the deployment continues withApplicationStop
.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
, andAfterBlockTraffic
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 theApplicationStop
,BeforeBlockTraffic
, andAfterBlockTraffic
failures should be ignored.- Specified by:
getIgnoreApplicationStopFailures
in interfaceCfnDeploymentGroup.DeploymentProperty
- See Also:
-
$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()
-