Operation to create a harness.
Request body
The name of the harness. Must start with a letter and contain only alphanumeric characters and underscores.
A unique, case-sensitive identifier to ensure idempotency of the request.
The ARN of the IAM role that the harness assumes when running. This role must have permissions for the services the agent needs to access, such as Amazon Bedrock for model invocation.
Environment variables to set in the harness runtime environment.
The tools that the agent is allowed to use. Supports glob patterns such as * for all tools, @builtin for all built-in tools, or @serverName/toolName for specific MCP server tools.
The maximum number of iterations the agent loop can execute per invocation.
The maximum total number of output tokens the agent can generate across all model calls within a single invocation.
The maximum duration in seconds for the agent loop execution per invocation.
Tags to apply to the harness resource.
Response
Success