Interface EC2DeploymentOptions.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EC2DeploymentOptions.Builder,,EC2DeploymentOptions> SdkBuilder<EC2DeploymentOptions.Builder,,EC2DeploymentOptions> SdkPojo
- Enclosing class:
EC2DeploymentOptions
-
Method Summary
Modifier and TypeMethodDescriptionautoScalingGroupProcessesToSuspend(Collection<AutoScalingGroupProcess> autoScalingGroupProcessesToSuspend) The Amazon EC2 Auto Scaling processes to suspend during the deployment.autoScalingGroupProcessesToSuspend(AutoScalingGroupProcess... autoScalingGroupProcessesToSuspend) The Amazon EC2 Auto Scaling processes to suspend during the deployment.autoScalingGroupProcessesToSuspendWithStrings(String... autoScalingGroupProcessesToSuspend) The Amazon EC2 Auto Scaling processes to suspend during the deployment.autoScalingGroupProcessesToSuspendWithStrings(Collection<String> autoScalingGroupProcessesToSuspend) The Amazon EC2 Auto Scaling processes to suspend during the deployment.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
autoScalingGroupProcessesToSuspendWithStrings
EC2DeploymentOptions.Builder autoScalingGroupProcessesToSuspendWithStrings(Collection<String> autoScalingGroupProcessesToSuspend) The Amazon EC2 Auto Scaling processes to suspend during the deployment. CodeDeploy suspends these processes before it deploys to instances in an Auto Scaling group, and resumes them when the deployment succeeds, fails, or is stopped. Valid values are
Terminate,AZRebalance,InstanceRefresh, andScheduledActions.This parameter applies only to in-place deployments on the EC2/On-premises compute platform. If the list is empty, or if the deployment does not target instances in an Auto Scaling group, no processes are suspended.
The service role for the deployment group must have permission to call
autoscaling:SuspendProcessesandautoscaling:ResumeProcesseson the target Auto Scaling groups. If the processes cannot be suspended, the deployment fails before any instance is updated.If you suspend
ScheduledActions, scheduled actions with a start time during the deployment are skipped and do not run after the process resumes.If CodeDeploy cannot resume the processes, the deployment fails and the processes stay suspended until you resume them with the Auto Scaling
ResumeProcessesaction. WhileTerminateis suspended, Auto Scaling does not replace unhealthy instances. If you suspendTerminate, configure a trigger that notifies you when a deployment fails.- Parameters:
autoScalingGroupProcessesToSuspend- The Amazon EC2 Auto Scaling processes to suspend during the deployment. CodeDeploy suspends these processes before it deploys to instances in an Auto Scaling group, and resumes them when the deployment succeeds, fails, or is stopped. Valid values areTerminate,AZRebalance,InstanceRefresh, andScheduledActions.This parameter applies only to in-place deployments on the EC2/On-premises compute platform. If the list is empty, or if the deployment does not target instances in an Auto Scaling group, no processes are suspended.
The service role for the deployment group must have permission to call
autoscaling:SuspendProcessesandautoscaling:ResumeProcesseson the target Auto Scaling groups. If the processes cannot be suspended, the deployment fails before any instance is updated.If you suspend
ScheduledActions, scheduled actions with a start time during the deployment are skipped and do not run after the process resumes.If CodeDeploy cannot resume the processes, the deployment fails and the processes stay suspended until you resume them with the Auto Scaling
ResumeProcessesaction. WhileTerminateis suspended, Auto Scaling does not replace unhealthy instances. If you suspendTerminate, configure a trigger that notifies you when a deployment fails.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoScalingGroupProcessesToSuspendWithStrings
EC2DeploymentOptions.Builder autoScalingGroupProcessesToSuspendWithStrings(String... autoScalingGroupProcessesToSuspend) The Amazon EC2 Auto Scaling processes to suspend during the deployment. CodeDeploy suspends these processes before it deploys to instances in an Auto Scaling group, and resumes them when the deployment succeeds, fails, or is stopped. Valid values are
Terminate,AZRebalance,InstanceRefresh, andScheduledActions.This parameter applies only to in-place deployments on the EC2/On-premises compute platform. If the list is empty, or if the deployment does not target instances in an Auto Scaling group, no processes are suspended.
The service role for the deployment group must have permission to call
autoscaling:SuspendProcessesandautoscaling:ResumeProcesseson the target Auto Scaling groups. If the processes cannot be suspended, the deployment fails before any instance is updated.If you suspend
ScheduledActions, scheduled actions with a start time during the deployment are skipped and do not run after the process resumes.If CodeDeploy cannot resume the processes, the deployment fails and the processes stay suspended until you resume them with the Auto Scaling
ResumeProcessesaction. WhileTerminateis suspended, Auto Scaling does not replace unhealthy instances. If you suspendTerminate, configure a trigger that notifies you when a deployment fails.- Parameters:
autoScalingGroupProcessesToSuspend- The Amazon EC2 Auto Scaling processes to suspend during the deployment. CodeDeploy suspends these processes before it deploys to instances in an Auto Scaling group, and resumes them when the deployment succeeds, fails, or is stopped. Valid values areTerminate,AZRebalance,InstanceRefresh, andScheduledActions.This parameter applies only to in-place deployments on the EC2/On-premises compute platform. If the list is empty, or if the deployment does not target instances in an Auto Scaling group, no processes are suspended.
The service role for the deployment group must have permission to call
autoscaling:SuspendProcessesandautoscaling:ResumeProcesseson the target Auto Scaling groups. If the processes cannot be suspended, the deployment fails before any instance is updated.If you suspend
ScheduledActions, scheduled actions with a start time during the deployment are skipped and do not run after the process resumes.If CodeDeploy cannot resume the processes, the deployment fails and the processes stay suspended until you resume them with the Auto Scaling
ResumeProcessesaction. WhileTerminateis suspended, Auto Scaling does not replace unhealthy instances. If you suspendTerminate, configure a trigger that notifies you when a deployment fails.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoScalingGroupProcessesToSuspend
EC2DeploymentOptions.Builder autoScalingGroupProcessesToSuspend(Collection<AutoScalingGroupProcess> autoScalingGroupProcessesToSuspend) The Amazon EC2 Auto Scaling processes to suspend during the deployment. CodeDeploy suspends these processes before it deploys to instances in an Auto Scaling group, and resumes them when the deployment succeeds, fails, or is stopped. Valid values are
Terminate,AZRebalance,InstanceRefresh, andScheduledActions.This parameter applies only to in-place deployments on the EC2/On-premises compute platform. If the list is empty, or if the deployment does not target instances in an Auto Scaling group, no processes are suspended.
The service role for the deployment group must have permission to call
autoscaling:SuspendProcessesandautoscaling:ResumeProcesseson the target Auto Scaling groups. If the processes cannot be suspended, the deployment fails before any instance is updated.If you suspend
ScheduledActions, scheduled actions with a start time during the deployment are skipped and do not run after the process resumes.If CodeDeploy cannot resume the processes, the deployment fails and the processes stay suspended until you resume them with the Auto Scaling
ResumeProcessesaction. WhileTerminateis suspended, Auto Scaling does not replace unhealthy instances. If you suspendTerminate, configure a trigger that notifies you when a deployment fails.- Parameters:
autoScalingGroupProcessesToSuspend- The Amazon EC2 Auto Scaling processes to suspend during the deployment. CodeDeploy suspends these processes before it deploys to instances in an Auto Scaling group, and resumes them when the deployment succeeds, fails, or is stopped. Valid values areTerminate,AZRebalance,InstanceRefresh, andScheduledActions.This parameter applies only to in-place deployments on the EC2/On-premises compute platform. If the list is empty, or if the deployment does not target instances in an Auto Scaling group, no processes are suspended.
The service role for the deployment group must have permission to call
autoscaling:SuspendProcessesandautoscaling:ResumeProcesseson the target Auto Scaling groups. If the processes cannot be suspended, the deployment fails before any instance is updated.If you suspend
ScheduledActions, scheduled actions with a start time during the deployment are skipped and do not run after the process resumes.If CodeDeploy cannot resume the processes, the deployment fails and the processes stay suspended until you resume them with the Auto Scaling
ResumeProcessesaction. WhileTerminateis suspended, Auto Scaling does not replace unhealthy instances. If you suspendTerminate, configure a trigger that notifies you when a deployment fails.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoScalingGroupProcessesToSuspend
EC2DeploymentOptions.Builder autoScalingGroupProcessesToSuspend(AutoScalingGroupProcess... autoScalingGroupProcessesToSuspend) The Amazon EC2 Auto Scaling processes to suspend during the deployment. CodeDeploy suspends these processes before it deploys to instances in an Auto Scaling group, and resumes them when the deployment succeeds, fails, or is stopped. Valid values are
Terminate,AZRebalance,InstanceRefresh, andScheduledActions.This parameter applies only to in-place deployments on the EC2/On-premises compute platform. If the list is empty, or if the deployment does not target instances in an Auto Scaling group, no processes are suspended.
The service role for the deployment group must have permission to call
autoscaling:SuspendProcessesandautoscaling:ResumeProcesseson the target Auto Scaling groups. If the processes cannot be suspended, the deployment fails before any instance is updated.If you suspend
ScheduledActions, scheduled actions with a start time during the deployment are skipped and do not run after the process resumes.If CodeDeploy cannot resume the processes, the deployment fails and the processes stay suspended until you resume them with the Auto Scaling
ResumeProcessesaction. WhileTerminateis suspended, Auto Scaling does not replace unhealthy instances. If you suspendTerminate, configure a trigger that notifies you when a deployment fails.- Parameters:
autoScalingGroupProcessesToSuspend- The Amazon EC2 Auto Scaling processes to suspend during the deployment. CodeDeploy suspends these processes before it deploys to instances in an Auto Scaling group, and resumes them when the deployment succeeds, fails, or is stopped. Valid values areTerminate,AZRebalance,InstanceRefresh, andScheduledActions.This parameter applies only to in-place deployments on the EC2/On-premises compute platform. If the list is empty, or if the deployment does not target instances in an Auto Scaling group, no processes are suspended.
The service role for the deployment group must have permission to call
autoscaling:SuspendProcessesandautoscaling:ResumeProcesseson the target Auto Scaling groups. If the processes cannot be suspended, the deployment fails before any instance is updated.If you suspend
ScheduledActions, scheduled actions with a start time during the deployment are skipped and do not run after the process resumes.If CodeDeploy cannot resume the processes, the deployment fails and the processes stay suspended until you resume them with the Auto Scaling
ResumeProcessesaction. WhileTerminateis suspended, Auto Scaling does not replace unhealthy instances. If you suspendTerminate, configure a trigger that notifies you when a deployment fails.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-