Class: Aws::BedrockAgentCoreControl::Types::LifecycleConfiguration

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

Overview

LifecycleConfiguration lets you manage the lifecycle of runtime sessions and resources in AgentCore Runtime. This configuration helps optimize resource utilization by automatically cleaning up idle sessions and preventing long-running instances from consuming resources indefinitely.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#idle_runtime_session_timeoutInteger

Timeout in seconds for idle runtime sessions. When a session remains idle for this duration, it will be automatically terminated. Default: 900 seconds (15 minutes).

Returns:

  • (Integer)


3240
3241
3242
3243
3244
3245
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 3240

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

#max_lifetimeInteger

Maximum lifetime for the instance in seconds. Once reached, instances will be automatically terminated and replaced. Default: 28800 seconds (8 hours).

Returns:

  • (Integer)


3240
3241
3242
3243
3244
3245
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 3240

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