Interface ShutdownEventConfiguration.Builder

    • Method Detail

      • executionTimeout

        ShutdownEventConfiguration.Builder executionTimeout​(Integer executionTimeout)

        The time, in seconds, that AWS OpsWorks Stacks will wait after triggering a Shutdown event before shutting down an instance.

        Parameters:
        executionTimeout - The time, in seconds, that AWS OpsWorks Stacks will wait after triggering a Shutdown event before shutting down an instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • delayUntilElbConnectionsDrained

        ShutdownEventConfiguration.Builder delayUntilElbConnectionsDrained​(Boolean delayUntilElbConnectionsDrained)

        Whether to enable Elastic Load Balancing connection draining. For more information, see Connection Draining

        Parameters:
        delayUntilElbConnectionsDrained - Whether to enable Elastic Load Balancing connection draining. For more information, see Connection Draining
        Returns:
        Returns a reference to this object so that method calls can be chained together.