AWS Fundamentals Logo
AWS Fundamentals
AWS::BedrockAgentCore::Harness

BedrockAgentCore Harness

Definition of AWS::BedrockAgentCore::Harness resource type - a managed agentic loop service that provides a turnkey solution for running stateful, tool-equipped AI agents.

Properties

17 configurable properties. 3 required. Click a row to see details.

Filter:
PropertyTypeFlags
ExecutionRoleArn
string
Required
HarnessName
string
RequiredCreate-only
Model
HarnessModelConfiguration
Required
AllowedTools
Array<string>
AuthorizerConfiguration
AuthorizerConfiguration
Environment
HarnessEnvironmentProvider
EnvironmentArtifact
HarnessEnvironmentArtifact
EnvironmentVariables
object
MaxIterations
integer
MaxTokens
integer
Memory
HarnessMemoryConfiguration
Skills
Array<HarnessSkill>
SystemPrompt
Array<HarnessSystemContentBlock>
Tags
Array<Tag>
TimeoutSeconds
integer
Tools
Array<HarnessTool>
Truncation
HarnessTruncationConfiguration

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
ArnstringThe Amazon Resource Name (ARN) of the harness.
CreatedAtstringThe timestamp when the harness was created.
HarnessIdstringThe unique identifier of the harness.
StatusstringThe current status of the harness.
UpdatedAtstringThe timestamp when the harness was last updated.

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::BedrockAgentCore::Harness

Resources:
  MyResource:
    Type: AWS::BedrockAgentCore::Harness
    Properties:
      HarnessName: "arn:aws:service:region:account:resource"
      ExecutionRoleArn: "arn:aws:service:region:account:resource"
      Model: "value"
      Tags:
        - Key: Environment
          Value: Production

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

create

bedrock-agentcore:CreateAgentRuntimebedrock-agentcore:CreateAgentRuntimeEndpointbedrock-agentcore:CreateHarnessbedrock-agentcore:CreateWorkloadIdentitybedrock-agentcore:DeleteAgentRuntimebedrock-agentcore:DeleteAgentRuntimeEndpointbedrock-agentcore:DeleteWorkloadIdentitybedrock-agentcore:GetAgentRuntimebedrock-agentcore:GetAgentRuntimeEndpointbedrock-agentcore:GetHarnessbedrock-agentcore:TagResourcebedrock-agentcore:UpdateAgentRuntimebedrock-agentcore:UpdateAgentRuntimeEndpointiam:PassRole

read

bedrock-agentcore:GetHarnessbedrock-agentcore:ListTagsForResource

update

bedrock-agentcore:CreateAgentRuntimebedrock-agentcore:CreateAgentRuntimeEndpointbedrock-agentcore:CreateWorkloadIdentitybedrock-agentcore:DeleteAgentRuntimebedrock-agentcore:DeleteAgentRuntimeEndpointbedrock-agentcore:DeleteWorkloadIdentitybedrock-agentcore:GetAgentRuntimebedrock-agentcore:GetAgentRuntimeEndpointbedrock-agentcore:GetHarnessbedrock-agentcore:ListTagsForResourcebedrock-agentcore:TagResourcebedrock-agentcore:UntagResourcebedrock-agentcore:UpdateAgentRuntimebedrock-agentcore:UpdateAgentRuntimeEndpointbedrock-agentcore:UpdateHarnessiam:PassRole

delete

bedrock-agentcore:CreateAgentRuntimebedrock-agentcore:CreateAgentRuntimeEndpointbedrock-agentcore:CreateWorkloadIdentitybedrock-agentcore:DeleteAgentRuntimebedrock-agentcore:DeleteAgentRuntimeEndpointbedrock-agentcore:DeleteHarnessbedrock-agentcore:DeleteWorkloadIdentitybedrock-agentcore:GetAgentRuntimebedrock-agentcore:GetAgentRuntimeEndpointbedrock-agentcore:GetHarnessbedrock-agentcore:UpdateAgentRuntimebedrock-agentcore:UpdateAgentRuntimeEndpoint

list

bedrock-agentcore:ListHarnesses

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

ServiceBedrockAgentCore
Properties22
Required3
TaggingSupported
Primary IDArn

Supported Operations

CreateReadUpdateDeleteList

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

HarnessNameEnvironment/AgentCoreRuntimeEnvironment/NetworkConfiguration

External Links