You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::OpsWorks::Types::ShutdownEventConfiguration

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb

Overview

Note:

When making an API call, you may pass ShutdownEventConfiguration data as a hash:

{
  execution_timeout: 1,
  delay_until_elb_connections_drained: false,
}

The Shutdown event configuration.

Instance Attribute Summary collapse

Instance Attribute Details

#delay_until_elb_connections_drainedBoolean

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

Returns:

  • (Boolean)


5327
5328
5329
5330
5331
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 5327

class ShutdownEventConfiguration < Struct.new(
  :execution_timeout,
  :delay_until_elb_connections_drained)
  include Aws::Structure
end

#execution_timeoutInteger

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

Returns:

  • (Integer)


5327
5328
5329
5330
5331
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 5327

class ShutdownEventConfiguration < Struct.new(
  :execution_timeout,
  :delay_until_elb_connections_drained)
  include Aws::Structure
end