Interface BlueGreenUpdatePolicy.Builder

    • Method Detail

      • trafficRoutingConfiguration

        BlueGreenUpdatePolicy.Builder trafficRoutingConfiguration​(TrafficRoutingConfig trafficRoutingConfiguration)

        Defines the traffic routing strategy to shift traffic from the old fleet to the new fleet during an endpoint deployment.

        Parameters:
        trafficRoutingConfiguration - Defines the traffic routing strategy to shift traffic from the old fleet to the new fleet during an endpoint deployment.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • terminationWaitInSeconds

        BlueGreenUpdatePolicy.Builder terminationWaitInSeconds​(Integer terminationWaitInSeconds)

        Additional waiting time in seconds after the completion of an endpoint deployment before terminating the old endpoint fleet. Default is 0.

        Parameters:
        terminationWaitInSeconds - Additional waiting time in seconds after the completion of an endpoint deployment before terminating the old endpoint fleet. Default is 0.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • maximumExecutionTimeoutInSeconds

        BlueGreenUpdatePolicy.Builder maximumExecutionTimeoutInSeconds​(Integer maximumExecutionTimeoutInSeconds)

        Maximum execution timeout for the deployment. Note that the timeout value should be larger than the total waiting time specified in TerminationWaitInSeconds and WaitIntervalInSeconds.

        Parameters:
        maximumExecutionTimeoutInSeconds - Maximum execution timeout for the deployment. Note that the timeout value should be larger than the total waiting time specified in TerminationWaitInSeconds and WaitIntervalInSeconds.
        Returns:
        Returns a reference to this object so that method calls can be chained together.