LifecycleConfiguration - Amazon Bedrock AgentCore Control Plane

LifecycleConfiguration

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.

Contents

idleRuntimeSessionTimeout

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).

Type: Integer

Valid Range: Minimum value of 60. Maximum value of 28800.

Required: No

maxLifetime

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

Type: Integer

Valid Range: Minimum value of 60. Maximum value of 28800.

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: