bedrock-agentcore:GetHarness

Read

bedrock-agentcore:GetHarness is a Read access-level action in the bedrock-agentcore service. Grants permission to get details of a harness

Resource types

ARNs that bedrock-agentcore:GetHarness can be scoped to in an IAM policy.

arn:${Partition}:bedrock-agentcore:${Region}:${Account}:harness/${HarnessId}
harness

Condition keys

Keys you can use in the Condition block of a policy that grants bedrock-agentcore:GetHarness.

aws:ResourceTag/${TagKey} String

Filters access by having actions based on the tag value associated with the resource

Example IAM policy

A minimal policy that allows bedrock-agentcore:GetHarness. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowBedrockagentcoreGetHarness",
      "Effect": "Allow",
      "Action": "bedrock-agentcore:GetHarness",
      "Resource": "*"
    }
  ]
}

Related actions in bedrock-agentcore

View all bedrock-agentcore actions →