This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon CloudFormation User Guide.
AWS::BedrockAgentCore::Harness 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.
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "IdleRuntimeSessionTimeout" :Integer, "MaxLifetime" :Integer}
YAML
IdleRuntimeSessionTimeout:IntegerMaxLifetime:Integer
Properties
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).
Required: No
Type: Integer
Minimum:
60Maximum:
28800Update requires: No interruption
MaxLifetime-
Maximum lifetime for the instance in seconds. Once reached, instances will be automatically terminated and replaced. Default: 28800 seconds (8 hours).
Required: No
Type: Integer
Minimum:
60Maximum:
28800Update requires: No interruption