Skip to content

Bedrock Agentcore Control  >  Structures  >  HarnessAgentCoreRuntimeEnvironment

HarnessAgentCoreRuntimeEnvironment

Structure Class

HarnessAgentCoreRuntimeEnvironment dataclass

The AgentCore Runtime environment for a harness.

Attributes

agent_runtime_arn instance-attribute
agent_runtime_arn: str

The ARN of the underlying AgentCore Runtime.

agent_runtime_id instance-attribute
agent_runtime_id: str

The ID of the underlying AgentCore Runtime.

agent_runtime_name instance-attribute
agent_runtime_name: str

The name of the underlying AgentCore Runtime.

filesystem_configurations class-attribute instance-attribute
filesystem_configurations: list[FilesystemConfiguration] | None = None

The filesystem configurations for the runtime environment.

lifecycle_configuration instance-attribute
lifecycle_configuration: 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.

network_configuration instance-attribute
network_configuration: NetworkConfiguration

SecurityConfig for the Agent.