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.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.codedeploy.CfnDeploymentGroup.DeploymentProperty
CfnDeploymentGroup.DeploymentProperty.Builder, CfnDeploymentGroup.DeploymentProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnDeploymentGroup.DeploymentProperty.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 StringA comment about the deployment.final ObjectIf true, then if anApplicationStop,BeforeBlockTraffic, orAfterBlockTrafficdeployment lifecycle event to an instance fails, then the deployment continues to the next deployment lifecycle event.final ObjectInformation about the location of stored application artifacts and the service from which to retrieve them.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 theCfnDeploymentGroup.DeploymentProperty.Builder.
-
-
Method Details
-
getRevision
Description copied from interface:CfnDeploymentGroup.DeploymentPropertyInformation about the location of stored application artifacts and the service from which to retrieve them.Returns union: either
IResolvableorCfnDeploymentGroup.RevisionLocationProperty- Specified by:
getRevisionin interfaceCfnDeploymentGroup.DeploymentProperty- See Also:
-
getDescription
Description copied from interface:CfnDeploymentGroup.DeploymentPropertyA comment about the deployment.- Specified by:
getDescriptionin interfaceCfnDeploymentGroup.DeploymentProperty- See Also:
-
getIgnoreApplicationStopFailures
Description copied from interface:CfnDeploymentGroup.DeploymentPropertyIf true, then if anApplicationStop,BeforeBlockTraffic, orAfterBlockTrafficdeployment lifecycle event to an instance fails, then the deployment continues to the next deployment lifecycle event.For example, if
ApplicationStopfails, the deployment continues with DownloadBundle. IfBeforeBlockTrafficfails, the deployment continues withBlockTraffic. IfAfterBlockTrafficfails, 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, andAfterBlockTrafficin 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
ignoreApplicationStopFailuresto specify that theApplicationStop,BeforeBlockTraffic, andAfterBlockTrafficfailures should be ignored.Returns union: either
BooleanorIResolvable- Specified by:
getIgnoreApplicationStopFailuresin interfaceCfnDeploymentGroup.DeploymentProperty- 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()
-