Class: Aws::BedrockAgentCoreControl::Types::InstanceLifecycleConfiguration

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

Overview

The configuration that manages the lifecycle of instances in a capacity provider, including idle timeout and maximum lifetime.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#idle_instance_timeout ⇒ Integer

The number of seconds an instance can remain idle before it is stopped. An instance is considered idle when all of its agents are idle. The default is 900 seconds (15 minutes).

Returns:

  • (Integer)


13352
13353
13354
13355
13356
13357
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 13352

class InstanceLifecycleConfiguration < Struct.new(
  :idle_instance_timeout,
  :max_lifetime)
  SENSITIVE = []
  include Aws::Structure
end

#max_lifetime ⇒ Integer

The maximum lifetime of an instance, in seconds. When an instance reaches this limit, the service terminates it regardless of activity. The default is 28800 seconds (8 hours). The maximum is 1209600 seconds (14 days).

Returns:

  • (Integer)


13352
13353
13354
13355
13356
13357
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 13352

class InstanceLifecycleConfiguration < Struct.new(
  :idle_instance_timeout,
  :max_lifetime)
  SENSITIVE = []
  include Aws::Structure
end