published on Friday, May 29, 2026 by Pulumi
published on Friday, May 29, 2026 by Pulumi
Manages an AWS Bedrock AgentCore Harness. A Harness is a managed agent loop that wraps model configuration, tools, skills, memory, and compute environment into a single deployable unit.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const assumeRole = aws.iam.getPolicyDocument({
statements: [{
effect: "Allow",
actions: ["sts:AssumeRole"],
principals: [{
type: "Service",
identifiers: ["bedrock-agentcore.amazonaws.com"],
}],
}],
});
const example = new aws.iam.Role("example", {
name: "bedrock-agentcore-harness-role",
assumeRolePolicy: assumeRole.then(assumeRole => assumeRole.json),
});
const exampleRolePolicy = new aws.iam.RolePolicy("example", {
role: example.name,
policy: JSON.stringify({
Version: "2012-10-17",
Statement: [{
Effect: "Allow",
Action: [
"bedrock:InvokeModel",
"bedrock:InvokeModelWithResponseStream",
],
Resource: "*",
}],
}),
});
const exampleAgentcoreHarness = new aws.bedrock.AgentcoreHarness("example", {
harnessName: "example_harness",
executionRoleArn: example.arn,
model: {
bedrockModelConfig: {
modelId: "anthropic.claude-sonnet-4-20250514",
},
},
systemPrompts: [{
text: "You are a helpful assistant.",
}],
});
import pulumi
import json
import pulumi_aws as aws
assume_role = aws.iam.get_policy_document(statements=[{
"effect": "Allow",
"actions": ["sts:AssumeRole"],
"principals": [{
"type": "Service",
"identifiers": ["bedrock-agentcore.amazonaws.com"],
}],
}])
example = aws.iam.Role("example",
name="bedrock-agentcore-harness-role",
assume_role_policy=assume_role.json)
example_role_policy = aws.iam.RolePolicy("example",
role=example.name,
policy=json.dumps({
"Version": "2012-10-17",
"Statement": [{
"Effect": "Allow",
"Action": [
"bedrock:InvokeModel",
"bedrock:InvokeModelWithResponseStream",
],
"Resource": "*",
}],
}))
example_agentcore_harness = aws.bedrock.AgentcoreHarness("example",
harness_name="example_harness",
execution_role_arn=example.arn,
model={
"bedrock_model_config": {
"model_id": "anthropic.claude-sonnet-4-20250514",
},
},
system_prompts=[{
"text": "You are a helpful assistant.",
}])
package main
import (
"encoding/json"
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/bedrock"
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/iam"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
assumeRole, err := iam.GetPolicyDocument(ctx, &iam.GetPolicyDocumentArgs{
Statements: []iam.GetPolicyDocumentStatement{
{
Effect: pulumi.StringRef("Allow"),
Actions: []string{
"sts:AssumeRole",
},
Principals: []iam.GetPolicyDocumentStatementPrincipal{
{
Type: "Service",
Identifiers: []string{
"bedrock-agentcore.amazonaws.com",
},
},
},
},
},
}, nil)
if err != nil {
return err
}
example, err := iam.NewRole(ctx, "example", &iam.RoleArgs{
Name: pulumi.String("bedrock-agentcore-harness-role"),
AssumeRolePolicy: pulumi.String(pulumi.String(assumeRole.Json)),
})
if err != nil {
return err
}
tmpJSON0, err := json.Marshal(map[string]interface{}{
"Version": "2012-10-17",
"Statement": []map[string]interface{}{
map[string]interface{}{
"Effect": "Allow",
"Action": []string{
"bedrock:InvokeModel",
"bedrock:InvokeModelWithResponseStream",
},
"Resource": "*",
},
},
})
if err != nil {
return err
}
json0 := string(tmpJSON0)
_, err = iam.NewRolePolicy(ctx, "example", &iam.RolePolicyArgs{
Role: example.Name,
Policy: pulumi.String(pulumi.String(json0)),
})
if err != nil {
return err
}
_, err = bedrock.NewAgentcoreHarness(ctx, "example", &bedrock.AgentcoreHarnessArgs{
HarnessName: pulumi.String("example_harness"),
ExecutionRoleArn: example.Arn,
Model: &bedrock.AgentcoreHarnessModelArgs{
BedrockModelConfig: &bedrock.AgentcoreHarnessModelBedrockModelConfigArgs{
ModelId: pulumi.String("anthropic.claude-sonnet-4-20250514"),
},
},
SystemPrompts: bedrock.AgentcoreHarnessSystemPromptArray{
&bedrock.AgentcoreHarnessSystemPromptArgs{
Text: pulumi.String("You are a helpful assistant."),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using System.Text.Json;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var assumeRole = Aws.Iam.GetPolicyDocument.Invoke(new()
{
Statements = new[]
{
new Aws.Iam.Inputs.GetPolicyDocumentStatementInputArgs
{
Effect = "Allow",
Actions = new[]
{
"sts:AssumeRole",
},
Principals = new[]
{
new Aws.Iam.Inputs.GetPolicyDocumentStatementPrincipalInputArgs
{
Type = "Service",
Identifiers = new[]
{
"bedrock-agentcore.amazonaws.com",
},
},
},
},
},
});
var example = new Aws.Iam.Role("example", new()
{
Name = "bedrock-agentcore-harness-role",
AssumeRolePolicy = assumeRole.Apply(getPolicyDocumentResult => getPolicyDocumentResult.Json),
});
var exampleRolePolicy = new Aws.Iam.RolePolicy("example", new()
{
Role = example.Name,
Policy = JsonSerializer.Serialize(new Dictionary<string, object?>
{
["Version"] = "2012-10-17",
["Statement"] = new[]
{
new Dictionary<string, object?>
{
["Effect"] = "Allow",
["Action"] = new[]
{
"bedrock:InvokeModel",
"bedrock:InvokeModelWithResponseStream",
},
["Resource"] = "*",
},
},
}),
});
var exampleAgentcoreHarness = new Aws.Bedrock.AgentcoreHarness("example", new()
{
HarnessName = "example_harness",
ExecutionRoleArn = example.Arn,
Model = new Aws.Bedrock.Inputs.AgentcoreHarnessModelArgs
{
BedrockModelConfig = new Aws.Bedrock.Inputs.AgentcoreHarnessModelBedrockModelConfigArgs
{
ModelId = "anthropic.claude-sonnet-4-20250514",
},
},
SystemPrompts = new[]
{
new Aws.Bedrock.Inputs.AgentcoreHarnessSystemPromptArgs
{
Text = "You are a helpful assistant.",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.iam.IamFunctions;
import com.pulumi.aws.iam.inputs.GetPolicyDocumentArgs;
import com.pulumi.aws.iam.Role;
import com.pulumi.aws.iam.RoleArgs;
import com.pulumi.aws.iam.RolePolicy;
import com.pulumi.aws.iam.RolePolicyArgs;
import com.pulumi.aws.bedrock.AgentcoreHarness;
import com.pulumi.aws.bedrock.AgentcoreHarnessArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreHarnessModelArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreHarnessModelBedrockModelConfigArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreHarnessSystemPromptArgs;
import static com.pulumi.codegen.internal.Serialization.*;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var assumeRole = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
.statements(GetPolicyDocumentStatementArgs.builder()
.effect("Allow")
.actions("sts:AssumeRole")
.principals(GetPolicyDocumentStatementPrincipalArgs.builder()
.type("Service")
.identifiers("bedrock-agentcore.amazonaws.com")
.build())
.build())
.build());
var example = new Role("example", RoleArgs.builder()
.name("bedrock-agentcore-harness-role")
.assumeRolePolicy(assumeRole.json())
.build());
var exampleRolePolicy = new RolePolicy("exampleRolePolicy", RolePolicyArgs.builder()
.role(example.name())
.policy(serializeJson(
jsonObject(
jsonProperty("Version", "2012-10-17"),
jsonProperty("Statement", jsonArray(jsonObject(
jsonProperty("Effect", "Allow"),
jsonProperty("Action", jsonArray(
"bedrock:InvokeModel",
"bedrock:InvokeModelWithResponseStream"
)),
jsonProperty("Resource", "*")
)))
)))
.build());
var exampleAgentcoreHarness = new AgentcoreHarness("exampleAgentcoreHarness", AgentcoreHarnessArgs.builder()
.harnessName("example_harness")
.executionRoleArn(example.arn())
.model(AgentcoreHarnessModelArgs.builder()
.bedrockModelConfig(AgentcoreHarnessModelBedrockModelConfigArgs.builder()
.modelId("anthropic.claude-sonnet-4-20250514")
.build())
.build())
.systemPrompts(AgentcoreHarnessSystemPromptArgs.builder()
.text("You are a helpful assistant.")
.build())
.build());
}
}
resources:
example:
type: aws:iam:Role
properties:
name: bedrock-agentcore-harness-role
assumeRolePolicy: ${assumeRole.json}
exampleRolePolicy:
type: aws:iam:RolePolicy
name: example
properties:
role: ${example.name}
policy:
fn::toJSON:
Version: 2012-10-17
Statement:
- Effect: Allow
Action:
- bedrock:InvokeModel
- bedrock:InvokeModelWithResponseStream
Resource: '*'
exampleAgentcoreHarness:
type: aws:bedrock:AgentcoreHarness
name: example
properties:
harnessName: example_harness
executionRoleArn: ${example.arn}
model:
bedrockModelConfig:
modelId: anthropic.claude-sonnet-4-20250514
systemPrompts:
- text: You are a helpful assistant.
variables:
assumeRole:
fn::invoke:
function: aws:iam:getPolicyDocument
arguments:
statements:
- effect: Allow
actions:
- sts:AssumeRole
principals:
- type: Service
identifiers:
- bedrock-agentcore.amazonaws.com
pulumi {
required_providers {
aws = {
source = "pulumi/aws"
}
}
}
data "aws_iam_getpolicydocument" "assumeRole" {
statements {
effect = "Allow"
actions = ["sts:AssumeRole"]
principals {
type = "Service"
identifiers = ["bedrock-agentcore.amazonaws.com"]
}
}
}
resource "aws_iam_role" "example" {
name = "bedrock-agentcore-harness-role"
assume_role_policy = data.aws_iam_getpolicydocument.assumeRole.json
}
resource "aws_iam_rolepolicy" "example" {
role = aws_iam_role.example.name
policy = jsonencode({
"Version" = "2012-10-17"
"Statement" = [{
"Effect" = "Allow"
"Action" = ["bedrock:InvokeModel", "bedrock:InvokeModelWithResponseStream"]
"Resource" = "*"
}]
})
}
resource "aws_bedrock_agentcoreharness" "example" {
harness_name = "example_harness"
execution_role_arn = aws_iam_role.example.arn
model = {
bedrock_model_config = {
model_id = "anthropic.claude-sonnet-4-20250514"
}
}
system_prompts {
text = "You are a helpful assistant."
}
}
With Tools and Truncation
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.bedrock.AgentcoreHarness("example", {
harnessName: "example_with_tools",
executionRoleArn: exampleAwsIamRole.arn,
model: {
bedrockModelConfig: {
modelId: "anthropic.claude-sonnet-4-20250514",
temperature: 0.7,
topP: 0.9,
},
},
systemPrompts: [{
text: "You are a coding assistant.",
}],
allowedTools: ["*"],
maxIterations: 10,
maxTokens: 4096,
timeoutSeconds: 300,
tools: [{
type: "inline_function",
name: "get_weather",
config: {
inlineFunction: {
description: "Get the current weather for a location",
inputSchema: JSON.stringify({
type: "object",
properties: {
location: {
type: "string",
description: "City name",
},
},
required: ["location"],
}),
},
},
}],
truncations: [{
strategy: "sliding_window",
config: [{
slidingWindow: [{
messagesCount: 50,
}],
}],
}],
});
import pulumi
import json
import pulumi_aws as aws
example = aws.bedrock.AgentcoreHarness("example",
harness_name="example_with_tools",
execution_role_arn=example_aws_iam_role["arn"],
model={
"bedrock_model_config": {
"model_id": "anthropic.claude-sonnet-4-20250514",
"temperature": 0.7,
"top_p": 0.9,
},
},
system_prompts=[{
"text": "You are a coding assistant.",
}],
allowed_tools=["*"],
max_iterations=10,
max_tokens=4096,
timeout_seconds=300,
tools=[{
"type": "inline_function",
"name": "get_weather",
"config": {
"inline_function": {
"description": "Get the current weather for a location",
"input_schema": json.dumps({
"type": "object",
"properties": {
"location": {
"type": "string",
"description": "City name",
},
},
"required": ["location"],
}),
},
},
}],
truncations=[{
"strategy": "sliding_window",
"config": [{
"slidingWindow": [{
"messagesCount": 50,
}],
}],
}])
package main
import (
"encoding/json"
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/bedrock"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
tmpJSON0, err := json.Marshal(map[string]interface{}{
"type": "object",
"properties": map[string]interface{}{
"location": map[string]interface{}{
"type": "string",
"description": "City name",
},
},
"required": []string{
"location",
},
})
if err != nil {
return err
}
json0 := string(tmpJSON0)
_, err = bedrock.NewAgentcoreHarness(ctx, "example", &bedrock.AgentcoreHarnessArgs{
HarnessName: pulumi.String("example_with_tools"),
ExecutionRoleArn: pulumi.Any(exampleAwsIamRole.Arn),
Model: &bedrock.AgentcoreHarnessModelArgs{
BedrockModelConfig: &bedrock.AgentcoreHarnessModelBedrockModelConfigArgs{
ModelId: pulumi.String("anthropic.claude-sonnet-4-20250514"),
Temperature: pulumi.Float64(0.7),
TopP: pulumi.Float64(0.9),
},
},
SystemPrompts: bedrock.AgentcoreHarnessSystemPromptArray{
&bedrock.AgentcoreHarnessSystemPromptArgs{
Text: pulumi.String("You are a coding assistant."),
},
},
AllowedTools: pulumi.StringArray{
pulumi.String("*"),
},
MaxIterations: pulumi.Int(10),
MaxTokens: pulumi.Int(4096),
TimeoutSeconds: pulumi.Int(300),
Tools: bedrock.AgentcoreHarnessToolArray{
&bedrock.AgentcoreHarnessToolArgs{
Type: pulumi.String("inline_function"),
Name: pulumi.String("get_weather"),
Config: &bedrock.AgentcoreHarnessToolConfigArgs{
InlineFunction: &bedrock.AgentcoreHarnessToolConfigInlineFunctionArgs{
Description: pulumi.String("Get the current weather for a location"),
InputSchema: pulumi.String(pulumi.String(json0)),
},
},
},
},
Truncations: bedrock.AgentcoreHarnessTruncationArray{
&bedrock.AgentcoreHarnessTruncationArgs{
Strategy: pulumi.String("sliding_window"),
Config: []map[string]interface{}{
map[string]interface{}{
"slidingWindow": []map[string]interface{}{
map[string]interface{}{
"messagesCount": 50,
},
},
},
},
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using System.Text.Json;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.Bedrock.AgentcoreHarness("example", new()
{
HarnessName = "example_with_tools",
ExecutionRoleArn = exampleAwsIamRole.Arn,
Model = new Aws.Bedrock.Inputs.AgentcoreHarnessModelArgs
{
BedrockModelConfig = new Aws.Bedrock.Inputs.AgentcoreHarnessModelBedrockModelConfigArgs
{
ModelId = "anthropic.claude-sonnet-4-20250514",
Temperature = 0.7,
TopP = 0.9,
},
},
SystemPrompts = new[]
{
new Aws.Bedrock.Inputs.AgentcoreHarnessSystemPromptArgs
{
Text = "You are a coding assistant.",
},
},
AllowedTools = new[]
{
"*",
},
MaxIterations = 10,
MaxTokens = 4096,
TimeoutSeconds = 300,
Tools = new[]
{
new Aws.Bedrock.Inputs.AgentcoreHarnessToolArgs
{
Type = "inline_function",
Name = "get_weather",
Config = new Aws.Bedrock.Inputs.AgentcoreHarnessToolConfigArgs
{
InlineFunction = new Aws.Bedrock.Inputs.AgentcoreHarnessToolConfigInlineFunctionArgs
{
Description = "Get the current weather for a location",
InputSchema = JsonSerializer.Serialize(new Dictionary<string, object?>
{
["type"] = "object",
["properties"] = new Dictionary<string, object?>
{
["location"] = new Dictionary<string, object?>
{
["type"] = "string",
["description"] = "City name",
},
},
["required"] = new[]
{
"location",
},
}),
},
},
},
},
Truncations = new[]
{
new Aws.Bedrock.Inputs.AgentcoreHarnessTruncationArgs
{
Strategy = "sliding_window",
Config = new[]
{
{
{ "slidingWindow", new[]
{
{
{ "messagesCount", 50 },
},
} },
},
},
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.bedrock.AgentcoreHarness;
import com.pulumi.aws.bedrock.AgentcoreHarnessArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreHarnessModelArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreHarnessModelBedrockModelConfigArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreHarnessSystemPromptArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreHarnessToolArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreHarnessToolConfigArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreHarnessToolConfigInlineFunctionArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreHarnessTruncationArgs;
import static com.pulumi.codegen.internal.Serialization.*;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new AgentcoreHarness("example", AgentcoreHarnessArgs.builder()
.harnessName("example_with_tools")
.executionRoleArn(exampleAwsIamRole.arn())
.model(AgentcoreHarnessModelArgs.builder()
.bedrockModelConfig(AgentcoreHarnessModelBedrockModelConfigArgs.builder()
.modelId("anthropic.claude-sonnet-4-20250514")
.temperature(0.7)
.topP(0.9)
.build())
.build())
.systemPrompts(AgentcoreHarnessSystemPromptArgs.builder()
.text("You are a coding assistant.")
.build())
.allowedTools("*")
.maxIterations(10)
.maxTokens(4096)
.timeoutSeconds(300)
.tools(AgentcoreHarnessToolArgs.builder()
.type("inline_function")
.name("get_weather")
.config(AgentcoreHarnessToolConfigArgs.builder()
.inlineFunction(AgentcoreHarnessToolConfigInlineFunctionArgs.builder()
.description("Get the current weather for a location")
.inputSchema(serializeJson(
jsonObject(
jsonProperty("type", "object"),
jsonProperty("properties", jsonObject(
jsonProperty("location", jsonObject(
jsonProperty("type", "string"),
jsonProperty("description", "City name")
))
)),
jsonProperty("required", jsonArray("location"))
)))
.build())
.build())
.build())
.truncations(AgentcoreHarnessTruncationArgs.builder()
.strategy("sliding_window")
.config(Arrays.asList(Map.of("slidingWindow", Arrays.asList(Map.of("messagesCount", 50)))))
.build())
.build());
}
}
resources:
example:
type: aws:bedrock:AgentcoreHarness
properties:
harnessName: example_with_tools
executionRoleArn: ${exampleAwsIamRole.arn}
model:
bedrockModelConfig:
modelId: anthropic.claude-sonnet-4-20250514
temperature: 0.7
topP: 0.9
systemPrompts:
- text: You are a coding assistant.
allowedTools:
- '*'
maxIterations: 10
maxTokens: 4096
timeoutSeconds: 300
tools:
- type: inline_function
name: get_weather
config:
inlineFunction:
description: Get the current weather for a location
inputSchema:
fn::toJSON:
type: object
properties:
location:
type: string
description: City name
required:
- location
truncations:
- strategy: sliding_window
config:
- slidingWindow:
- messagesCount: 50
pulumi {
required_providers {
aws = {
source = "pulumi/aws"
}
}
}
resource "aws_bedrock_agentcoreharness" "example" {
harness_name = "example_with_tools"
execution_role_arn = exampleAwsIamRole.arn
model = {
bedrock_model_config = {
model_id = "anthropic.claude-sonnet-4-20250514"
temperature = 0.7
top_p = 0.9
}
}
system_prompts {
text = "You are a coding assistant."
}
allowed_tools = ["*"]
max_iterations = 10
max_tokens = 4096
timeout_seconds = 300
tools {
type = "inline_function"
name = "get_weather"
config = {
inline_function = {
description = "Get the current weather for a location"
input_schema = jsonencode({
"type" = "object"
"properties" = {
"location" = {
"type" = "string"
"description" = "City name"
}
}
"required" = ["location"]
})
}
}
}
truncations {
strategy = "sliding_window"
config = [{
"slidingWindow" = [{
"messagesCount" = 50
}]
}]
}
}
Create AgentcoreHarness Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AgentcoreHarness(name: string, args: AgentcoreHarnessArgs, opts?: CustomResourceOptions);@overload
def AgentcoreHarness(resource_name: str,
args: AgentcoreHarnessArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AgentcoreHarness(resource_name: str,
opts: Optional[ResourceOptions] = None,
execution_role_arn: Optional[str] = None,
model: Optional[AgentcoreHarnessModelArgs] = None,
harness_name: Optional[str] = None,
max_tokens: Optional[int] = None,
authorizer_configuration: Optional[AgentcoreHarnessAuthorizerConfigurationArgs] = None,
environment_variables: Optional[Mapping[str, str]] = None,
environment_artifact: Optional[AgentcoreHarnessEnvironmentArtifactArgs] = None,
max_iterations: Optional[int] = None,
allowed_tools: Optional[Sequence[str]] = None,
memory: Optional[AgentcoreHarnessMemoryArgs] = None,
environments: Optional[Sequence[AgentcoreHarnessEnvironmentArgs]] = None,
region: Optional[str] = None,
skills: Optional[Sequence[AgentcoreHarnessSkillArgs]] = None,
system_prompts: Optional[Sequence[AgentcoreHarnessSystemPromptArgs]] = None,
tags: Optional[Mapping[str, str]] = None,
timeout_seconds: Optional[int] = None,
timeouts: Optional[AgentcoreHarnessTimeoutsArgs] = None,
tools: Optional[Sequence[AgentcoreHarnessToolArgs]] = None,
truncations: Optional[Sequence[AgentcoreHarnessTruncationArgs]] = None)func NewAgentcoreHarness(ctx *Context, name string, args AgentcoreHarnessArgs, opts ...ResourceOption) (*AgentcoreHarness, error)public AgentcoreHarness(string name, AgentcoreHarnessArgs args, CustomResourceOptions? opts = null)
public AgentcoreHarness(String name, AgentcoreHarnessArgs args)
public AgentcoreHarness(String name, AgentcoreHarnessArgs args, CustomResourceOptions options)
type: aws:bedrock:AgentcoreHarness
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws_bedrock_agentcoreharness" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args AgentcoreHarnessArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args AgentcoreHarnessArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args AgentcoreHarnessArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AgentcoreHarnessArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AgentcoreHarnessArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var agentcoreHarnessResource = new Aws.Bedrock.AgentcoreHarness("agentcoreHarnessResource", new()
{
ExecutionRoleArn = "string",
Model = new Aws.Bedrock.Inputs.AgentcoreHarnessModelArgs
{
BedrockModelConfig = new Aws.Bedrock.Inputs.AgentcoreHarnessModelBedrockModelConfigArgs
{
ModelId = "string",
MaxTokens = 0,
Temperature = 0,
TopP = 0,
},
GeminiModelConfig = new Aws.Bedrock.Inputs.AgentcoreHarnessModelGeminiModelConfigArgs
{
ApiKeyArn = "string",
ModelId = "string",
MaxTokens = 0,
Temperature = 0,
TopK = 0,
TopP = 0,
},
OpenaiModelConfig = new Aws.Bedrock.Inputs.AgentcoreHarnessModelOpenaiModelConfigArgs
{
ApiKeyArn = "string",
ModelId = "string",
MaxTokens = 0,
Temperature = 0,
TopP = 0,
},
},
HarnessName = "string",
MaxTokens = 0,
AuthorizerConfiguration = new Aws.Bedrock.Inputs.AgentcoreHarnessAuthorizerConfigurationArgs
{
CustomJwtAuthorizer = new Aws.Bedrock.Inputs.AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerArgs
{
DiscoveryUrl = "string",
AllowedAudiences = new[]
{
"string",
},
AllowedClients = new[]
{
"string",
},
AllowedScopes = new[]
{
"string",
},
CustomClaims = new[]
{
new Aws.Bedrock.Inputs.AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerCustomClaimArgs
{
AuthorizingClaimMatchValue = new Aws.Bedrock.Inputs.AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerCustomClaimAuthorizingClaimMatchValueArgs
{
ClaimMatchOperator = "string",
ClaimMatchValue = new Aws.Bedrock.Inputs.AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerCustomClaimAuthorizingClaimMatchValueClaimMatchValueArgs
{
MatchValueString = "string",
MatchValueStringLists = new[]
{
"string",
},
},
},
InboundTokenClaimName = "string",
InboundTokenClaimValueType = "string",
},
},
},
},
EnvironmentVariables =
{
{ "string", "string" },
},
EnvironmentArtifact = new Aws.Bedrock.Inputs.AgentcoreHarnessEnvironmentArtifactArgs
{
ContainerConfiguration = new Aws.Bedrock.Inputs.AgentcoreHarnessEnvironmentArtifactContainerConfigurationArgs
{
ContainerUri = "string",
},
},
MaxIterations = 0,
AllowedTools = new[]
{
"string",
},
Memory = new Aws.Bedrock.Inputs.AgentcoreHarnessMemoryArgs
{
AgentcoreMemoryConfiguration = new Aws.Bedrock.Inputs.AgentcoreHarnessMemoryAgentcoreMemoryConfigurationArgs
{
Arn = "string",
ActorId = "string",
MessagesCount = 0,
RetrievalConfig = new Aws.Bedrock.Inputs.AgentcoreHarnessMemoryAgentcoreMemoryConfigurationRetrievalConfigArgs
{
MapBlockKey = "string",
RelevanceScore = 0,
StrategyId = "string",
TopK = 0,
},
},
},
Environments = new[]
{
new Aws.Bedrock.Inputs.AgentcoreHarnessEnvironmentArgs
{
AgentcoreRuntimeEnvironments = new[]
{
new Aws.Bedrock.Inputs.AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentArgs
{
AgentRuntimeArn = "string",
AgentRuntimeId = "string",
AgentRuntimeName = "string",
FilesystemConfigurations = new[]
{
new Aws.Bedrock.Inputs.AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentFilesystemConfigurationArgs
{
EfsAccessPoints = new[]
{
new Aws.Bedrock.Inputs.AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentFilesystemConfigurationEfsAccessPointArgs
{
AccessPointArn = "string",
MountPath = "string",
},
},
S3FilesAccessPoints = new[]
{
new Aws.Bedrock.Inputs.AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentFilesystemConfigurationS3FilesAccessPointArgs
{
AccessPointArn = "string",
MountPath = "string",
},
},
SessionStorages = new[]
{
new Aws.Bedrock.Inputs.AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentFilesystemConfigurationSessionStorageArgs
{
MountPath = "string",
},
},
},
},
LifecycleConfigurations = new[]
{
new Aws.Bedrock.Inputs.AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentLifecycleConfigurationArgs
{
IdleRuntimeSessionTimeout = 0,
MaxLifetime = 0,
},
},
NetworkConfigurations = new[]
{
new Aws.Bedrock.Inputs.AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentNetworkConfigurationArgs
{
NetworkMode = "string",
NetworkModeConfigs = new[]
{
new Aws.Bedrock.Inputs.AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentNetworkConfigurationNetworkModeConfigArgs
{
SecurityGroups = new[]
{
"string",
},
Subnets = new[]
{
"string",
},
},
},
},
},
},
},
},
},
Region = "string",
Skills = new[]
{
new Aws.Bedrock.Inputs.AgentcoreHarnessSkillArgs
{
Path = "string",
},
},
SystemPrompts = new[]
{
new Aws.Bedrock.Inputs.AgentcoreHarnessSystemPromptArgs
{
Text = "string",
},
},
Tags =
{
{ "string", "string" },
},
TimeoutSeconds = 0,
Timeouts = new Aws.Bedrock.Inputs.AgentcoreHarnessTimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
Tools = new[]
{
new Aws.Bedrock.Inputs.AgentcoreHarnessToolArgs
{
Type = "string",
Config = new Aws.Bedrock.Inputs.AgentcoreHarnessToolConfigArgs
{
AgentcoreBrowser = new Aws.Bedrock.Inputs.AgentcoreHarnessToolConfigAgentcoreBrowserArgs
{
BrowserArn = "string",
},
AgentcoreCodeInterpreter = new Aws.Bedrock.Inputs.AgentcoreHarnessToolConfigAgentcoreCodeInterpreterArgs
{
CodeInterpreterArn = "string",
},
AgentcoreGateway = new Aws.Bedrock.Inputs.AgentcoreHarnessToolConfigAgentcoreGatewayArgs
{
GatewayArn = "string",
OutboundAuth = new Aws.Bedrock.Inputs.AgentcoreHarnessToolConfigAgentcoreGatewayOutboundAuthArgs
{
AwsIam = false,
None = false,
Oauth = new Aws.Bedrock.Inputs.AgentcoreHarnessToolConfigAgentcoreGatewayOutboundAuthOauthArgs
{
ProviderArn = "string",
Scopes = new[]
{
"string",
},
CustomParameters =
{
{ "string", "string" },
},
DefaultReturnUrl = "string",
GrantType = "string",
},
},
},
InlineFunction = new Aws.Bedrock.Inputs.AgentcoreHarnessToolConfigInlineFunctionArgs
{
Description = "string",
InputSchema = "string",
},
RemoteMcp = new Aws.Bedrock.Inputs.AgentcoreHarnessToolConfigRemoteMcpArgs
{
Url = "string",
Headers =
{
{ "string", "string" },
},
},
},
Name = "string",
},
},
Truncations = new[]
{
new Aws.Bedrock.Inputs.AgentcoreHarnessTruncationArgs
{
Configs = new[]
{
new Aws.Bedrock.Inputs.AgentcoreHarnessTruncationConfigArgs
{
SlidingWindows = new[]
{
new Aws.Bedrock.Inputs.AgentcoreHarnessTruncationConfigSlidingWindowArgs
{
MessagesCount = 0,
},
},
Summarizations = new[]
{
new Aws.Bedrock.Inputs.AgentcoreHarnessTruncationConfigSummarizationArgs
{
PreserveRecentMessages = 0,
SummarizationSystemPrompt = "string",
SummaryRatio = 0,
},
},
},
},
Strategy = "string",
},
},
});
example, err := bedrock.NewAgentcoreHarness(ctx, "agentcoreHarnessResource", &bedrock.AgentcoreHarnessArgs{
ExecutionRoleArn: pulumi.String("string"),
Model: &bedrock.AgentcoreHarnessModelArgs{
BedrockModelConfig: &bedrock.AgentcoreHarnessModelBedrockModelConfigArgs{
ModelId: pulumi.String("string"),
MaxTokens: pulumi.Int(0),
Temperature: pulumi.Float64(0),
TopP: pulumi.Float64(0),
},
GeminiModelConfig: &bedrock.AgentcoreHarnessModelGeminiModelConfigArgs{
ApiKeyArn: pulumi.String("string"),
ModelId: pulumi.String("string"),
MaxTokens: pulumi.Int(0),
Temperature: pulumi.Float64(0),
TopK: pulumi.Int(0),
TopP: pulumi.Float64(0),
},
OpenaiModelConfig: &bedrock.AgentcoreHarnessModelOpenaiModelConfigArgs{
ApiKeyArn: pulumi.String("string"),
ModelId: pulumi.String("string"),
MaxTokens: pulumi.Int(0),
Temperature: pulumi.Float64(0),
TopP: pulumi.Float64(0),
},
},
HarnessName: pulumi.String("string"),
MaxTokens: pulumi.Int(0),
AuthorizerConfiguration: &bedrock.AgentcoreHarnessAuthorizerConfigurationArgs{
CustomJwtAuthorizer: &bedrock.AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerArgs{
DiscoveryUrl: pulumi.String("string"),
AllowedAudiences: pulumi.StringArray{
pulumi.String("string"),
},
AllowedClients: pulumi.StringArray{
pulumi.String("string"),
},
AllowedScopes: pulumi.StringArray{
pulumi.String("string"),
},
CustomClaims: bedrock.AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerCustomClaimArray{
&bedrock.AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerCustomClaimArgs{
AuthorizingClaimMatchValue: &bedrock.AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerCustomClaimAuthorizingClaimMatchValueArgs{
ClaimMatchOperator: pulumi.String("string"),
ClaimMatchValue: &bedrock.AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerCustomClaimAuthorizingClaimMatchValueClaimMatchValueArgs{
MatchValueString: pulumi.String("string"),
MatchValueStringLists: pulumi.StringArray{
pulumi.String("string"),
},
},
},
InboundTokenClaimName: pulumi.String("string"),
InboundTokenClaimValueType: pulumi.String("string"),
},
},
},
},
EnvironmentVariables: pulumi.StringMap{
"string": pulumi.String("string"),
},
EnvironmentArtifact: &bedrock.AgentcoreHarnessEnvironmentArtifactArgs{
ContainerConfiguration: &bedrock.AgentcoreHarnessEnvironmentArtifactContainerConfigurationArgs{
ContainerUri: pulumi.String("string"),
},
},
MaxIterations: pulumi.Int(0),
AllowedTools: pulumi.StringArray{
pulumi.String("string"),
},
Memory: &bedrock.AgentcoreHarnessMemoryArgs{
AgentcoreMemoryConfiguration: &bedrock.AgentcoreHarnessMemoryAgentcoreMemoryConfigurationArgs{
Arn: pulumi.String("string"),
ActorId: pulumi.String("string"),
MessagesCount: pulumi.Int(0),
RetrievalConfig: &bedrock.AgentcoreHarnessMemoryAgentcoreMemoryConfigurationRetrievalConfigArgs{
MapBlockKey: pulumi.String("string"),
RelevanceScore: pulumi.Float64(0),
StrategyId: pulumi.String("string"),
TopK: pulumi.Int(0),
},
},
},
Environments: bedrock.AgentcoreHarnessEnvironmentArray{
&bedrock.AgentcoreHarnessEnvironmentArgs{
AgentcoreRuntimeEnvironments: bedrock.AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentArray{
&bedrock.AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentArgs{
AgentRuntimeArn: pulumi.String("string"),
AgentRuntimeId: pulumi.String("string"),
AgentRuntimeName: pulumi.String("string"),
FilesystemConfigurations: bedrock.AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentFilesystemConfigurationArray{
&bedrock.AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentFilesystemConfigurationArgs{
EfsAccessPoints: bedrock.AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentFilesystemConfigurationEfsAccessPointArray{
&bedrock.AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentFilesystemConfigurationEfsAccessPointArgs{
AccessPointArn: pulumi.String("string"),
MountPath: pulumi.String("string"),
},
},
S3FilesAccessPoints: bedrock.AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentFilesystemConfigurationS3FilesAccessPointArray{
&bedrock.AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentFilesystemConfigurationS3FilesAccessPointArgs{
AccessPointArn: pulumi.String("string"),
MountPath: pulumi.String("string"),
},
},
SessionStorages: bedrock.AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentFilesystemConfigurationSessionStorageArray{
&bedrock.AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentFilesystemConfigurationSessionStorageArgs{
MountPath: pulumi.String("string"),
},
},
},
},
LifecycleConfigurations: bedrock.AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentLifecycleConfigurationArray{
&bedrock.AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentLifecycleConfigurationArgs{
IdleRuntimeSessionTimeout: pulumi.Int(0),
MaxLifetime: pulumi.Int(0),
},
},
NetworkConfigurations: bedrock.AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentNetworkConfigurationArray{
&bedrock.AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentNetworkConfigurationArgs{
NetworkMode: pulumi.String("string"),
NetworkModeConfigs: bedrock.AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentNetworkConfigurationNetworkModeConfigArray{
&bedrock.AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentNetworkConfigurationNetworkModeConfigArgs{
SecurityGroups: pulumi.StringArray{
pulumi.String("string"),
},
Subnets: pulumi.StringArray{
pulumi.String("string"),
},
},
},
},
},
},
},
},
},
Region: pulumi.String("string"),
Skills: bedrock.AgentcoreHarnessSkillArray{
&bedrock.AgentcoreHarnessSkillArgs{
Path: pulumi.String("string"),
},
},
SystemPrompts: bedrock.AgentcoreHarnessSystemPromptArray{
&bedrock.AgentcoreHarnessSystemPromptArgs{
Text: pulumi.String("string"),
},
},
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
TimeoutSeconds: pulumi.Int(0),
Timeouts: &bedrock.AgentcoreHarnessTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
Tools: bedrock.AgentcoreHarnessToolArray{
&bedrock.AgentcoreHarnessToolArgs{
Type: pulumi.String("string"),
Config: &bedrock.AgentcoreHarnessToolConfigArgs{
AgentcoreBrowser: &bedrock.AgentcoreHarnessToolConfigAgentcoreBrowserArgs{
BrowserArn: pulumi.String("string"),
},
AgentcoreCodeInterpreter: &bedrock.AgentcoreHarnessToolConfigAgentcoreCodeInterpreterArgs{
CodeInterpreterArn: pulumi.String("string"),
},
AgentcoreGateway: &bedrock.AgentcoreHarnessToolConfigAgentcoreGatewayArgs{
GatewayArn: pulumi.String("string"),
OutboundAuth: &bedrock.AgentcoreHarnessToolConfigAgentcoreGatewayOutboundAuthArgs{
AwsIam: pulumi.Bool(false),
None: pulumi.Bool(false),
Oauth: &bedrock.AgentcoreHarnessToolConfigAgentcoreGatewayOutboundAuthOauthArgs{
ProviderArn: pulumi.String("string"),
Scopes: pulumi.StringArray{
pulumi.String("string"),
},
CustomParameters: pulumi.StringMap{
"string": pulumi.String("string"),
},
DefaultReturnUrl: pulumi.String("string"),
GrantType: pulumi.String("string"),
},
},
},
InlineFunction: &bedrock.AgentcoreHarnessToolConfigInlineFunctionArgs{
Description: pulumi.String("string"),
InputSchema: pulumi.String("string"),
},
RemoteMcp: &bedrock.AgentcoreHarnessToolConfigRemoteMcpArgs{
Url: pulumi.String("string"),
Headers: pulumi.StringMap{
"string": pulumi.String("string"),
},
},
},
Name: pulumi.String("string"),
},
},
Truncations: bedrock.AgentcoreHarnessTruncationArray{
&bedrock.AgentcoreHarnessTruncationArgs{
Configs: bedrock.AgentcoreHarnessTruncationConfigArray{
&bedrock.AgentcoreHarnessTruncationConfigArgs{
SlidingWindows: bedrock.AgentcoreHarnessTruncationConfigSlidingWindowArray{
&bedrock.AgentcoreHarnessTruncationConfigSlidingWindowArgs{
MessagesCount: pulumi.Int(0),
},
},
Summarizations: bedrock.AgentcoreHarnessTruncationConfigSummarizationArray{
&bedrock.AgentcoreHarnessTruncationConfigSummarizationArgs{
PreserveRecentMessages: pulumi.Int(0),
SummarizationSystemPrompt: pulumi.String("string"),
SummaryRatio: pulumi.Float64(0),
},
},
},
},
Strategy: pulumi.String("string"),
},
},
})
resource "aws_bedrock_agentcoreharness" "agentcoreHarnessResource" {
execution_role_arn = "string"
model = {
bedrock_model_config = {
model_id = "string"
max_tokens = 0
temperature = 0
top_p = 0
}
gemini_model_config = {
api_key_arn = "string"
model_id = "string"
max_tokens = 0
temperature = 0
top_k = 0
top_p = 0
}
openai_model_config = {
api_key_arn = "string"
model_id = "string"
max_tokens = 0
temperature = 0
top_p = 0
}
}
harness_name = "string"
max_tokens = 0
authorizer_configuration = {
custom_jwt_authorizer = {
discovery_url = "string"
allowed_audiences = ["string"]
allowed_clients = ["string"]
allowed_scopes = ["string"]
custom_claims = [{
"authorizingClaimMatchValue" = {
"claimMatchOperator" = "string"
"claimMatchValue" = {
"matchValueString" = "string"
"matchValueStringLists" = ["string"]
}
}
"inboundTokenClaimName" = "string"
"inboundTokenClaimValueType" = "string"
}]
}
}
environment_variables = {
"string" = "string"
}
environment_artifact = {
container_configuration = {
container_uri = "string"
}
}
max_iterations = 0
allowed_tools = ["string"]
memory = {
agentcore_memory_configuration = {
arn = "string"
actor_id = "string"
messages_count = 0
retrieval_config = {
map_block_key = "string"
relevance_score = 0
strategy_id = "string"
top_k = 0
}
}
}
environments {
agentcore_runtime_environments {
agent_runtime_arn = "string"
agent_runtime_id = "string"
agent_runtime_name = "string"
filesystem_configurations {
efs_access_points {
access_point_arn = "string"
mount_path = "string"
}
s3_files_access_points {
access_point_arn = "string"
mount_path = "string"
}
session_storages {
mount_path = "string"
}
}
lifecycle_configurations {
idle_runtime_session_timeout = 0
max_lifetime = 0
}
network_configurations {
network_mode = "string"
network_mode_configs {
security_groups = ["string"]
subnets = ["string"]
}
}
}
}
region = "string"
skills {
path = "string"
}
system_prompts {
text = "string"
}
tags = {
"string" = "string"
}
timeout_seconds = 0
timeouts = {
create = "string"
delete = "string"
update = "string"
}
tools {
type = "string"
config = {
agentcore_browser = {
browser_arn = "string"
}
agentcore_code_interpreter = {
code_interpreter_arn = "string"
}
agentcore_gateway = {
gateway_arn = "string"
outbound_auth = {
aws_iam = false
none = false
oauth = {
provider_arn = "string"
scopes = ["string"]
custom_parameters = {
"string" = "string"
}
default_return_url = "string"
grant_type = "string"
}
}
}
inline_function = {
description = "string"
input_schema = "string"
}
remote_mcp = {
url = "string"
headers = {
"string" = "string"
}
}
}
name = "string"
}
truncations {
configs {
sliding_windows {
messages_count = 0
}
summarizations {
preserve_recent_messages = 0
summarization_system_prompt = "string"
summary_ratio = 0
}
}
strategy = "string"
}
}
var agentcoreHarnessResource = new AgentcoreHarness("agentcoreHarnessResource", AgentcoreHarnessArgs.builder()
.executionRoleArn("string")
.model(AgentcoreHarnessModelArgs.builder()
.bedrockModelConfig(AgentcoreHarnessModelBedrockModelConfigArgs.builder()
.modelId("string")
.maxTokens(0)
.temperature(0.0)
.topP(0.0)
.build())
.geminiModelConfig(AgentcoreHarnessModelGeminiModelConfigArgs.builder()
.apiKeyArn("string")
.modelId("string")
.maxTokens(0)
.temperature(0.0)
.topK(0)
.topP(0.0)
.build())
.openaiModelConfig(AgentcoreHarnessModelOpenaiModelConfigArgs.builder()
.apiKeyArn("string")
.modelId("string")
.maxTokens(0)
.temperature(0.0)
.topP(0.0)
.build())
.build())
.harnessName("string")
.maxTokens(0)
.authorizerConfiguration(AgentcoreHarnessAuthorizerConfigurationArgs.builder()
.customJwtAuthorizer(AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerArgs.builder()
.discoveryUrl("string")
.allowedAudiences("string")
.allowedClients("string")
.allowedScopes("string")
.customClaims(AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerCustomClaimArgs.builder()
.authorizingClaimMatchValue(AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerCustomClaimAuthorizingClaimMatchValueArgs.builder()
.claimMatchOperator("string")
.claimMatchValue(AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerCustomClaimAuthorizingClaimMatchValueClaimMatchValueArgs.builder()
.matchValueString("string")
.matchValueStringLists("string")
.build())
.build())
.inboundTokenClaimName("string")
.inboundTokenClaimValueType("string")
.build())
.build())
.build())
.environmentVariables(Map.of("string", "string"))
.environmentArtifact(AgentcoreHarnessEnvironmentArtifactArgs.builder()
.containerConfiguration(AgentcoreHarnessEnvironmentArtifactContainerConfigurationArgs.builder()
.containerUri("string")
.build())
.build())
.maxIterations(0)
.allowedTools("string")
.memory(AgentcoreHarnessMemoryArgs.builder()
.agentcoreMemoryConfiguration(AgentcoreHarnessMemoryAgentcoreMemoryConfigurationArgs.builder()
.arn("string")
.actorId("string")
.messagesCount(0)
.retrievalConfig(AgentcoreHarnessMemoryAgentcoreMemoryConfigurationRetrievalConfigArgs.builder()
.mapBlockKey("string")
.relevanceScore(0.0)
.strategyId("string")
.topK(0)
.build())
.build())
.build())
.environments(AgentcoreHarnessEnvironmentArgs.builder()
.agentcoreRuntimeEnvironments(AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentArgs.builder()
.agentRuntimeArn("string")
.agentRuntimeId("string")
.agentRuntimeName("string")
.filesystemConfigurations(AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentFilesystemConfigurationArgs.builder()
.efsAccessPoints(AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentFilesystemConfigurationEfsAccessPointArgs.builder()
.accessPointArn("string")
.mountPath("string")
.build())
.s3FilesAccessPoints(AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentFilesystemConfigurationS3FilesAccessPointArgs.builder()
.accessPointArn("string")
.mountPath("string")
.build())
.sessionStorages(AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentFilesystemConfigurationSessionStorageArgs.builder()
.mountPath("string")
.build())
.build())
.lifecycleConfigurations(AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentLifecycleConfigurationArgs.builder()
.idleRuntimeSessionTimeout(0)
.maxLifetime(0)
.build())
.networkConfigurations(AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentNetworkConfigurationArgs.builder()
.networkMode("string")
.networkModeConfigs(AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentNetworkConfigurationNetworkModeConfigArgs.builder()
.securityGroups("string")
.subnets("string")
.build())
.build())
.build())
.build())
.region("string")
.skills(AgentcoreHarnessSkillArgs.builder()
.path("string")
.build())
.systemPrompts(AgentcoreHarnessSystemPromptArgs.builder()
.text("string")
.build())
.tags(Map.of("string", "string"))
.timeoutSeconds(0)
.timeouts(AgentcoreHarnessTimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.tools(AgentcoreHarnessToolArgs.builder()
.type("string")
.config(AgentcoreHarnessToolConfigArgs.builder()
.agentcoreBrowser(AgentcoreHarnessToolConfigAgentcoreBrowserArgs.builder()
.browserArn("string")
.build())
.agentcoreCodeInterpreter(AgentcoreHarnessToolConfigAgentcoreCodeInterpreterArgs.builder()
.codeInterpreterArn("string")
.build())
.agentcoreGateway(AgentcoreHarnessToolConfigAgentcoreGatewayArgs.builder()
.gatewayArn("string")
.outboundAuth(AgentcoreHarnessToolConfigAgentcoreGatewayOutboundAuthArgs.builder()
.awsIam(false)
.none(false)
.oauth(AgentcoreHarnessToolConfigAgentcoreGatewayOutboundAuthOauthArgs.builder()
.providerArn("string")
.scopes("string")
.customParameters(Map.of("string", "string"))
.defaultReturnUrl("string")
.grantType("string")
.build())
.build())
.build())
.inlineFunction(AgentcoreHarnessToolConfigInlineFunctionArgs.builder()
.description("string")
.inputSchema("string")
.build())
.remoteMcp(AgentcoreHarnessToolConfigRemoteMcpArgs.builder()
.url("string")
.headers(Map.of("string", "string"))
.build())
.build())
.name("string")
.build())
.truncations(AgentcoreHarnessTruncationArgs.builder()
.configs(AgentcoreHarnessTruncationConfigArgs.builder()
.slidingWindows(AgentcoreHarnessTruncationConfigSlidingWindowArgs.builder()
.messagesCount(0)
.build())
.summarizations(AgentcoreHarnessTruncationConfigSummarizationArgs.builder()
.preserveRecentMessages(0)
.summarizationSystemPrompt("string")
.summaryRatio(0.0)
.build())
.build())
.strategy("string")
.build())
.build());
agentcore_harness_resource = aws.bedrock.AgentcoreHarness("agentcoreHarnessResource",
execution_role_arn="string",
model={
"bedrock_model_config": {
"model_id": "string",
"max_tokens": 0,
"temperature": float(0),
"top_p": float(0),
},
"gemini_model_config": {
"api_key_arn": "string",
"model_id": "string",
"max_tokens": 0,
"temperature": float(0),
"top_k": 0,
"top_p": float(0),
},
"openai_model_config": {
"api_key_arn": "string",
"model_id": "string",
"max_tokens": 0,
"temperature": float(0),
"top_p": float(0),
},
},
harness_name="string",
max_tokens=0,
authorizer_configuration={
"custom_jwt_authorizer": {
"discovery_url": "string",
"allowed_audiences": ["string"],
"allowed_clients": ["string"],
"allowed_scopes": ["string"],
"custom_claims": [{
"authorizing_claim_match_value": {
"claim_match_operator": "string",
"claim_match_value": {
"match_value_string": "string",
"match_value_string_lists": ["string"],
},
},
"inbound_token_claim_name": "string",
"inbound_token_claim_value_type": "string",
}],
},
},
environment_variables={
"string": "string",
},
environment_artifact={
"container_configuration": {
"container_uri": "string",
},
},
max_iterations=0,
allowed_tools=["string"],
memory={
"agentcore_memory_configuration": {
"arn": "string",
"actor_id": "string",
"messages_count": 0,
"retrieval_config": {
"map_block_key": "string",
"relevance_score": float(0),
"strategy_id": "string",
"top_k": 0,
},
},
},
environments=[{
"agentcore_runtime_environments": [{
"agent_runtime_arn": "string",
"agent_runtime_id": "string",
"agent_runtime_name": "string",
"filesystem_configurations": [{
"efs_access_points": [{
"access_point_arn": "string",
"mount_path": "string",
}],
"s3_files_access_points": [{
"access_point_arn": "string",
"mount_path": "string",
}],
"session_storages": [{
"mount_path": "string",
}],
}],
"lifecycle_configurations": [{
"idle_runtime_session_timeout": 0,
"max_lifetime": 0,
}],
"network_configurations": [{
"network_mode": "string",
"network_mode_configs": [{
"security_groups": ["string"],
"subnets": ["string"],
}],
}],
}],
}],
region="string",
skills=[{
"path": "string",
}],
system_prompts=[{
"text": "string",
}],
tags={
"string": "string",
},
timeout_seconds=0,
timeouts={
"create": "string",
"delete": "string",
"update": "string",
},
tools=[{
"type": "string",
"config": {
"agentcore_browser": {
"browser_arn": "string",
},
"agentcore_code_interpreter": {
"code_interpreter_arn": "string",
},
"agentcore_gateway": {
"gateway_arn": "string",
"outbound_auth": {
"aws_iam": False,
"none": False,
"oauth": {
"provider_arn": "string",
"scopes": ["string"],
"custom_parameters": {
"string": "string",
},
"default_return_url": "string",
"grant_type": "string",
},
},
},
"inline_function": {
"description": "string",
"input_schema": "string",
},
"remote_mcp": {
"url": "string",
"headers": {
"string": "string",
},
},
},
"name": "string",
}],
truncations=[{
"configs": [{
"sliding_windows": [{
"messages_count": 0,
}],
"summarizations": [{
"preserve_recent_messages": 0,
"summarization_system_prompt": "string",
"summary_ratio": float(0),
}],
}],
"strategy": "string",
}])
const agentcoreHarnessResource = new aws.bedrock.AgentcoreHarness("agentcoreHarnessResource", {
executionRoleArn: "string",
model: {
bedrockModelConfig: {
modelId: "string",
maxTokens: 0,
temperature: 0,
topP: 0,
},
geminiModelConfig: {
apiKeyArn: "string",
modelId: "string",
maxTokens: 0,
temperature: 0,
topK: 0,
topP: 0,
},
openaiModelConfig: {
apiKeyArn: "string",
modelId: "string",
maxTokens: 0,
temperature: 0,
topP: 0,
},
},
harnessName: "string",
maxTokens: 0,
authorizerConfiguration: {
customJwtAuthorizer: {
discoveryUrl: "string",
allowedAudiences: ["string"],
allowedClients: ["string"],
allowedScopes: ["string"],
customClaims: [{
authorizingClaimMatchValue: {
claimMatchOperator: "string",
claimMatchValue: {
matchValueString: "string",
matchValueStringLists: ["string"],
},
},
inboundTokenClaimName: "string",
inboundTokenClaimValueType: "string",
}],
},
},
environmentVariables: {
string: "string",
},
environmentArtifact: {
containerConfiguration: {
containerUri: "string",
},
},
maxIterations: 0,
allowedTools: ["string"],
memory: {
agentcoreMemoryConfiguration: {
arn: "string",
actorId: "string",
messagesCount: 0,
retrievalConfig: {
mapBlockKey: "string",
relevanceScore: 0,
strategyId: "string",
topK: 0,
},
},
},
environments: [{
agentcoreRuntimeEnvironments: [{
agentRuntimeArn: "string",
agentRuntimeId: "string",
agentRuntimeName: "string",
filesystemConfigurations: [{
efsAccessPoints: [{
accessPointArn: "string",
mountPath: "string",
}],
s3FilesAccessPoints: [{
accessPointArn: "string",
mountPath: "string",
}],
sessionStorages: [{
mountPath: "string",
}],
}],
lifecycleConfigurations: [{
idleRuntimeSessionTimeout: 0,
maxLifetime: 0,
}],
networkConfigurations: [{
networkMode: "string",
networkModeConfigs: [{
securityGroups: ["string"],
subnets: ["string"],
}],
}],
}],
}],
region: "string",
skills: [{
path: "string",
}],
systemPrompts: [{
text: "string",
}],
tags: {
string: "string",
},
timeoutSeconds: 0,
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
tools: [{
type: "string",
config: {
agentcoreBrowser: {
browserArn: "string",
},
agentcoreCodeInterpreter: {
codeInterpreterArn: "string",
},
agentcoreGateway: {
gatewayArn: "string",
outboundAuth: {
awsIam: false,
none: false,
oauth: {
providerArn: "string",
scopes: ["string"],
customParameters: {
string: "string",
},
defaultReturnUrl: "string",
grantType: "string",
},
},
},
inlineFunction: {
description: "string",
inputSchema: "string",
},
remoteMcp: {
url: "string",
headers: {
string: "string",
},
},
},
name: "string",
}],
truncations: [{
configs: [{
slidingWindows: [{
messagesCount: 0,
}],
summarizations: [{
preserveRecentMessages: 0,
summarizationSystemPrompt: "string",
summaryRatio: 0,
}],
}],
strategy: "string",
}],
});
type: aws:bedrock:AgentcoreHarness
properties:
allowedTools:
- string
authorizerConfiguration:
customJwtAuthorizer:
allowedAudiences:
- string
allowedClients:
- string
allowedScopes:
- string
customClaims:
- authorizingClaimMatchValue:
claimMatchOperator: string
claimMatchValue:
matchValueString: string
matchValueStringLists:
- string
inboundTokenClaimName: string
inboundTokenClaimValueType: string
discoveryUrl: string
environmentArtifact:
containerConfiguration:
containerUri: string
environmentVariables:
string: string
environments:
- agentcoreRuntimeEnvironments:
- agentRuntimeArn: string
agentRuntimeId: string
agentRuntimeName: string
filesystemConfigurations:
- efsAccessPoints:
- accessPointArn: string
mountPath: string
s3FilesAccessPoints:
- accessPointArn: string
mountPath: string
sessionStorages:
- mountPath: string
lifecycleConfigurations:
- idleRuntimeSessionTimeout: 0
maxLifetime: 0
networkConfigurations:
- networkMode: string
networkModeConfigs:
- securityGroups:
- string
subnets:
- string
executionRoleArn: string
harnessName: string
maxIterations: 0
maxTokens: 0
memory:
agentcoreMemoryConfiguration:
actorId: string
arn: string
messagesCount: 0
retrievalConfig:
mapBlockKey: string
relevanceScore: 0
strategyId: string
topK: 0
model:
bedrockModelConfig:
maxTokens: 0
modelId: string
temperature: 0
topP: 0
geminiModelConfig:
apiKeyArn: string
maxTokens: 0
modelId: string
temperature: 0
topK: 0
topP: 0
openaiModelConfig:
apiKeyArn: string
maxTokens: 0
modelId: string
temperature: 0
topP: 0
region: string
skills:
- path: string
systemPrompts:
- text: string
tags:
string: string
timeoutSeconds: 0
timeouts:
create: string
delete: string
update: string
tools:
- config:
agentcoreBrowser:
browserArn: string
agentcoreCodeInterpreter:
codeInterpreterArn: string
agentcoreGateway:
gatewayArn: string
outboundAuth:
awsIam: false
none: false
oauth:
customParameters:
string: string
defaultReturnUrl: string
grantType: string
providerArn: string
scopes:
- string
inlineFunction:
description: string
inputSchema: string
remoteMcp:
headers:
string: string
url: string
name: string
type: string
truncations:
- configs:
- slidingWindows:
- messagesCount: 0
summarizations:
- preserveRecentMessages: 0
summarizationSystemPrompt: string
summaryRatio: 0
strategy: string
AgentcoreHarness Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The AgentcoreHarness resource accepts the following input properties:
- Execution
Role stringArn - ARN of the IAM role that the harness assumes to access AWS services.
- Harness
Name string - Name of the harness. Must be 1-40 characters, alphanumeric and underscores only.
- Model
Agentcore
Harness Model Model configuration for the harness. See
modelbelow.The following arguments are optional:
- Allowed
Tools List<string> - List of tool names allowed for the harness. Use
["*"]to allow all tools. -
Agentcore
Harness Authorizer Configuration - Authorization configuration for authenticating requests. See
authorizerConfigurationbelow. - Environment
Artifact AgentcoreHarness Environment Artifact - Environment artifact configuration. See
environmentArtifactbelow. - Environment
Variables Dictionary<string, string> - Map of environment variables.
- Environments
List<Agentcore
Harness Environment> - Compute environment configuration. See
environmentbelow. - Max
Iterations int - Maximum number of iterations the agent loop can perform.
- Max
Tokens int - Maximum number of tokens in the model response.
- Memory
Agentcore
Harness Memory - Memory configuration. See
memorybelow. - Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Skills
List<Agentcore
Harness Skill> - Skill configurations. See
skillbelow. - System
Prompts List<AgentcoreHarness System Prompt> - System prompt blocks for the harness. See
systemPromptbelow. - Dictionary<string, string>
- Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Timeout
Seconds int - Timeout in seconds for the harness execution.
- Timeouts
Agentcore
Harness Timeouts - Tools
List<Agentcore
Harness Tool> - Tool configurations. See
toolbelow. - Truncations
List<Agentcore
Harness Truncation> - Truncation configuration for conversation history. See
truncationbelow.
- Execution
Role stringArn - ARN of the IAM role that the harness assumes to access AWS services.
- Harness
Name string - Name of the harness. Must be 1-40 characters, alphanumeric and underscores only.
- Model
Agentcore
Harness Model Args Model configuration for the harness. See
modelbelow.The following arguments are optional:
- Allowed
Tools []string - List of tool names allowed for the harness. Use
["*"]to allow all tools. -
Agentcore
Harness Authorizer Configuration Args - Authorization configuration for authenticating requests. See
authorizerConfigurationbelow. - Environment
Artifact AgentcoreHarness Environment Artifact Args - Environment artifact configuration. See
environmentArtifactbelow. - Environment
Variables map[string]string - Map of environment variables.
- Environments
[]Agentcore
Harness Environment Args - Compute environment configuration. See
environmentbelow. - Max
Iterations int - Maximum number of iterations the agent loop can perform.
- Max
Tokens int - Maximum number of tokens in the model response.
- Memory
Agentcore
Harness Memory Args - Memory configuration. See
memorybelow. - Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Skills
[]Agentcore
Harness Skill Args - Skill configurations. See
skillbelow. - System
Prompts []AgentcoreHarness System Prompt Args - System prompt blocks for the harness. See
systemPromptbelow. - map[string]string
- Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Timeout
Seconds int - Timeout in seconds for the harness execution.
- Timeouts
Agentcore
Harness Timeouts Args - Tools
[]Agentcore
Harness Tool Args - Tool configurations. See
toolbelow. - Truncations
[]Agentcore
Harness Truncation Args - Truncation configuration for conversation history. See
truncationbelow.
- execution_
role_ stringarn - ARN of the IAM role that the harness assumes to access AWS services.
- harness_
name string - Name of the harness. Must be 1-40 characters, alphanumeric and underscores only.
- model object
Model configuration for the harness. See
modelbelow.The following arguments are optional:
- allowed_
tools list(string) - List of tool names allowed for the harness. Use
["*"]to allow all tools. - object
- Authorization configuration for authenticating requests. See
authorizerConfigurationbelow. - environment_
artifact object - Environment artifact configuration. See
environmentArtifactbelow. - environment_
variables map(string) - Map of environment variables.
- environments list(object)
- Compute environment configuration. See
environmentbelow. - max_
iterations number - Maximum number of iterations the agent loop can perform.
- max_
tokens number - Maximum number of tokens in the model response.
- memory object
- Memory configuration. See
memorybelow. - region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- skills list(object)
- Skill configurations. See
skillbelow. - system_
prompts list(object) - System prompt blocks for the harness. See
systemPromptbelow. - map(string)
- Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - timeout_
seconds number - Timeout in seconds for the harness execution.
- timeouts object
- tools list(object)
- Tool configurations. See
toolbelow. - truncations list(object)
- Truncation configuration for conversation history. See
truncationbelow.
- execution
Role StringArn - ARN of the IAM role that the harness assumes to access AWS services.
- harness
Name String - Name of the harness. Must be 1-40 characters, alphanumeric and underscores only.
- model
Agentcore
Harness Model Model configuration for the harness. See
modelbelow.The following arguments are optional:
- allowed
Tools List<String> - List of tool names allowed for the harness. Use
["*"]to allow all tools. -
Agentcore
Harness Authorizer Configuration - Authorization configuration for authenticating requests. See
authorizerConfigurationbelow. - environment
Artifact AgentcoreHarness Environment Artifact - Environment artifact configuration. See
environmentArtifactbelow. - environment
Variables Map<String,String> - Map of environment variables.
- environments
List<Agentcore
Harness Environment> - Compute environment configuration. See
environmentbelow. - max
Iterations Integer - Maximum number of iterations the agent loop can perform.
- max
Tokens Integer - Maximum number of tokens in the model response.
- memory
Agentcore
Harness Memory - Memory configuration. See
memorybelow. - region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- skills
List<Agentcore
Harness Skill> - Skill configurations. See
skillbelow. - system
Prompts List<AgentcoreHarness System Prompt> - System prompt blocks for the harness. See
systemPromptbelow. - Map<String,String>
- Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - timeout
Seconds Integer - Timeout in seconds for the harness execution.
- timeouts
Agentcore
Harness Timeouts - tools
List<Agentcore
Harness Tool> - Tool configurations. See
toolbelow. - truncations
List<Agentcore
Harness Truncation> - Truncation configuration for conversation history. See
truncationbelow.
- execution
Role stringArn - ARN of the IAM role that the harness assumes to access AWS services.
- harness
Name string - Name of the harness. Must be 1-40 characters, alphanumeric and underscores only.
- model
Agentcore
Harness Model Model configuration for the harness. See
modelbelow.The following arguments are optional:
- allowed
Tools string[] - List of tool names allowed for the harness. Use
["*"]to allow all tools. -
Agentcore
Harness Authorizer Configuration - Authorization configuration for authenticating requests. See
authorizerConfigurationbelow. - environment
Artifact AgentcoreHarness Environment Artifact - Environment artifact configuration. See
environmentArtifactbelow. - environment
Variables {[key: string]: string} - Map of environment variables.
- environments
Agentcore
Harness Environment[] - Compute environment configuration. See
environmentbelow. - max
Iterations number - Maximum number of iterations the agent loop can perform.
- max
Tokens number - Maximum number of tokens in the model response.
- memory
Agentcore
Harness Memory - Memory configuration. See
memorybelow. - region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- skills
Agentcore
Harness Skill[] - Skill configurations. See
skillbelow. - system
Prompts AgentcoreHarness System Prompt[] - System prompt blocks for the harness. See
systemPromptbelow. - {[key: string]: string}
- Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - timeout
Seconds number - Timeout in seconds for the harness execution.
- timeouts
Agentcore
Harness Timeouts - tools
Agentcore
Harness Tool[] - Tool configurations. See
toolbelow. - truncations
Agentcore
Harness Truncation[] - Truncation configuration for conversation history. See
truncationbelow.
- execution_
role_ strarn - ARN of the IAM role that the harness assumes to access AWS services.
- harness_
name str - Name of the harness. Must be 1-40 characters, alphanumeric and underscores only.
- model
Agentcore
Harness Model Args Model configuration for the harness. See
modelbelow.The following arguments are optional:
- allowed_
tools Sequence[str] - List of tool names allowed for the harness. Use
["*"]to allow all tools. -
Agentcore
Harness Authorizer Configuration Args - Authorization configuration for authenticating requests. See
authorizerConfigurationbelow. - environment_
artifact AgentcoreHarness Environment Artifact Args - Environment artifact configuration. See
environmentArtifactbelow. - environment_
variables Mapping[str, str] - Map of environment variables.
- environments
Sequence[Agentcore
Harness Environment Args] - Compute environment configuration. See
environmentbelow. - max_
iterations int - Maximum number of iterations the agent loop can perform.
- max_
tokens int - Maximum number of tokens in the model response.
- memory
Agentcore
Harness Memory Args - Memory configuration. See
memorybelow. - region str
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- skills
Sequence[Agentcore
Harness Skill Args] - Skill configurations. See
skillbelow. - system_
prompts Sequence[AgentcoreHarness System Prompt Args] - System prompt blocks for the harness. See
systemPromptbelow. - Mapping[str, str]
- Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - timeout_
seconds int - Timeout in seconds for the harness execution.
- timeouts
Agentcore
Harness Timeouts Args - tools
Sequence[Agentcore
Harness Tool Args] - Tool configurations. See
toolbelow. - truncations
Sequence[Agentcore
Harness Truncation Args] - Truncation configuration for conversation history. See
truncationbelow.
- execution
Role StringArn - ARN of the IAM role that the harness assumes to access AWS services.
- harness
Name String - Name of the harness. Must be 1-40 characters, alphanumeric and underscores only.
- model Property Map
Model configuration for the harness. See
modelbelow.The following arguments are optional:
- allowed
Tools List<String> - List of tool names allowed for the harness. Use
["*"]to allow all tools. - Property Map
- Authorization configuration for authenticating requests. See
authorizerConfigurationbelow. - environment
Artifact Property Map - Environment artifact configuration. See
environmentArtifactbelow. - environment
Variables Map<String> - Map of environment variables.
- environments List<Property Map>
- Compute environment configuration. See
environmentbelow. - max
Iterations Number - Maximum number of iterations the agent loop can perform.
- max
Tokens Number - Maximum number of tokens in the model response.
- memory Property Map
- Memory configuration. See
memorybelow. - region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- skills List<Property Map>
- Skill configurations. See
skillbelow. - system
Prompts List<Property Map> - System prompt blocks for the harness. See
systemPromptbelow. - Map<String>
- Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - timeout
Seconds Number - Timeout in seconds for the harness execution.
- timeouts Property Map
- tools List<Property Map>
- Tool configurations. See
toolbelow. - truncations List<Property Map>
- Truncation configuration for conversation history. See
truncationbelow.
Outputs
All input properties are implicitly available as output properties. Additionally, the AgentcoreHarness resource produces the following output properties:
- arn string
- ARN of the Harness.
- harness_
id string - Unique identifier of the Harness.
- id string
- The provider-assigned unique ID for this managed resource.
- map(string)
- A map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- arn str
- ARN of the Harness.
- harness_
id str - Unique identifier of the Harness.
- id str
- The provider-assigned unique ID for this managed resource.
- Mapping[str, str]
- A map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
Look up Existing AgentcoreHarness Resource
Get an existing AgentcoreHarness resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: AgentcoreHarnessState, opts?: CustomResourceOptions): AgentcoreHarness@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
allowed_tools: Optional[Sequence[str]] = None,
arn: Optional[str] = None,
authorizer_configuration: Optional[AgentcoreHarnessAuthorizerConfigurationArgs] = None,
environment_artifact: Optional[AgentcoreHarnessEnvironmentArtifactArgs] = None,
environment_variables: Optional[Mapping[str, str]] = None,
environments: Optional[Sequence[AgentcoreHarnessEnvironmentArgs]] = None,
execution_role_arn: Optional[str] = None,
harness_id: Optional[str] = None,
harness_name: Optional[str] = None,
max_iterations: Optional[int] = None,
max_tokens: Optional[int] = None,
memory: Optional[AgentcoreHarnessMemoryArgs] = None,
model: Optional[AgentcoreHarnessModelArgs] = None,
region: Optional[str] = None,
skills: Optional[Sequence[AgentcoreHarnessSkillArgs]] = None,
system_prompts: Optional[Sequence[AgentcoreHarnessSystemPromptArgs]] = None,
tags: Optional[Mapping[str, str]] = None,
tags_all: Optional[Mapping[str, str]] = None,
timeout_seconds: Optional[int] = None,
timeouts: Optional[AgentcoreHarnessTimeoutsArgs] = None,
tools: Optional[Sequence[AgentcoreHarnessToolArgs]] = None,
truncations: Optional[Sequence[AgentcoreHarnessTruncationArgs]] = None) -> AgentcoreHarnessfunc GetAgentcoreHarness(ctx *Context, name string, id IDInput, state *AgentcoreHarnessState, opts ...ResourceOption) (*AgentcoreHarness, error)public static AgentcoreHarness Get(string name, Input<string> id, AgentcoreHarnessState? state, CustomResourceOptions? opts = null)public static AgentcoreHarness get(String name, Output<String> id, AgentcoreHarnessState state, CustomResourceOptions options)resources: _: type: aws:bedrock:AgentcoreHarness get: id: ${id}import {
to = aws_bedrock_agentcoreharness.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Allowed
Tools List<string> - List of tool names allowed for the harness. Use
["*"]to allow all tools. - Arn string
- ARN of the Harness.
-
Agentcore
Harness Authorizer Configuration - Authorization configuration for authenticating requests. See
authorizerConfigurationbelow. - Environment
Artifact AgentcoreHarness Environment Artifact - Environment artifact configuration. See
environmentArtifactbelow. - Environment
Variables Dictionary<string, string> - Map of environment variables.
- Environments
List<Agentcore
Harness Environment> - Compute environment configuration. See
environmentbelow. - Execution
Role stringArn - ARN of the IAM role that the harness assumes to access AWS services.
- Harness
Id string - Unique identifier of the Harness.
- Harness
Name string - Name of the harness. Must be 1-40 characters, alphanumeric and underscores only.
- Max
Iterations int - Maximum number of iterations the agent loop can perform.
- Max
Tokens int - Maximum number of tokens in the model response.
- Memory
Agentcore
Harness Memory - Memory configuration. See
memorybelow. - Model
Agentcore
Harness Model Model configuration for the harness. See
modelbelow.The following arguments are optional:
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Skills
List<Agentcore
Harness Skill> - Skill configurations. See
skillbelow. - System
Prompts List<AgentcoreHarness System Prompt> - System prompt blocks for the harness. See
systemPromptbelow. - Dictionary<string, string>
- Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Dictionary<string, string>
- A map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - Timeout
Seconds int - Timeout in seconds for the harness execution.
- Timeouts
Agentcore
Harness Timeouts - Tools
List<Agentcore
Harness Tool> - Tool configurations. See
toolbelow. - Truncations
List<Agentcore
Harness Truncation> - Truncation configuration for conversation history. See
truncationbelow.
- Allowed
Tools []string - List of tool names allowed for the harness. Use
["*"]to allow all tools. - Arn string
- ARN of the Harness.
-
Agentcore
Harness Authorizer Configuration Args - Authorization configuration for authenticating requests. See
authorizerConfigurationbelow. - Environment
Artifact AgentcoreHarness Environment Artifact Args - Environment artifact configuration. See
environmentArtifactbelow. - Environment
Variables map[string]string - Map of environment variables.
- Environments
[]Agentcore
Harness Environment Args - Compute environment configuration. See
environmentbelow. - Execution
Role stringArn - ARN of the IAM role that the harness assumes to access AWS services.
- Harness
Id string - Unique identifier of the Harness.
- Harness
Name string - Name of the harness. Must be 1-40 characters, alphanumeric and underscores only.
- Max
Iterations int - Maximum number of iterations the agent loop can perform.
- Max
Tokens int - Maximum number of tokens in the model response.
- Memory
Agentcore
Harness Memory Args - Memory configuration. See
memorybelow. - Model
Agentcore
Harness Model Args Model configuration for the harness. See
modelbelow.The following arguments are optional:
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Skills
[]Agentcore
Harness Skill Args - Skill configurations. See
skillbelow. - System
Prompts []AgentcoreHarness System Prompt Args - System prompt blocks for the harness. See
systemPromptbelow. - map[string]string
- Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - map[string]string
- A map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - Timeout
Seconds int - Timeout in seconds for the harness execution.
- Timeouts
Agentcore
Harness Timeouts Args - Tools
[]Agentcore
Harness Tool Args - Tool configurations. See
toolbelow. - Truncations
[]Agentcore
Harness Truncation Args - Truncation configuration for conversation history. See
truncationbelow.
- allowed_
tools list(string) - List of tool names allowed for the harness. Use
["*"]to allow all tools. - arn string
- ARN of the Harness.
- object
- Authorization configuration for authenticating requests. See
authorizerConfigurationbelow. - environment_
artifact object - Environment artifact configuration. See
environmentArtifactbelow. - environment_
variables map(string) - Map of environment variables.
- environments list(object)
- Compute environment configuration. See
environmentbelow. - execution_
role_ stringarn - ARN of the IAM role that the harness assumes to access AWS services.
- harness_
id string - Unique identifier of the Harness.
- harness_
name string - Name of the harness. Must be 1-40 characters, alphanumeric and underscores only.
- max_
iterations number - Maximum number of iterations the agent loop can perform.
- max_
tokens number - Maximum number of tokens in the model response.
- memory object
- Memory configuration. See
memorybelow. - model object
Model configuration for the harness. See
modelbelow.The following arguments are optional:
- region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- skills list(object)
- Skill configurations. See
skillbelow. - system_
prompts list(object) - System prompt blocks for the harness. See
systemPromptbelow. - map(string)
- Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - map(string)
- A map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - timeout_
seconds number - Timeout in seconds for the harness execution.
- timeouts object
- tools list(object)
- Tool configurations. See
toolbelow. - truncations list(object)
- Truncation configuration for conversation history. See
truncationbelow.
- allowed
Tools List<String> - List of tool names allowed for the harness. Use
["*"]to allow all tools. - arn String
- ARN of the Harness.
-
Agentcore
Harness Authorizer Configuration - Authorization configuration for authenticating requests. See
authorizerConfigurationbelow. - environment
Artifact AgentcoreHarness Environment Artifact - Environment artifact configuration. See
environmentArtifactbelow. - environment
Variables Map<String,String> - Map of environment variables.
- environments
List<Agentcore
Harness Environment> - Compute environment configuration. See
environmentbelow. - execution
Role StringArn - ARN of the IAM role that the harness assumes to access AWS services.
- harness
Id String - Unique identifier of the Harness.
- harness
Name String - Name of the harness. Must be 1-40 characters, alphanumeric and underscores only.
- max
Iterations Integer - Maximum number of iterations the agent loop can perform.
- max
Tokens Integer - Maximum number of tokens in the model response.
- memory
Agentcore
Harness Memory - Memory configuration. See
memorybelow. - model
Agentcore
Harness Model Model configuration for the harness. See
modelbelow.The following arguments are optional:
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- skills
List<Agentcore
Harness Skill> - Skill configurations. See
skillbelow. - system
Prompts List<AgentcoreHarness System Prompt> - System prompt blocks for the harness. See
systemPromptbelow. - Map<String,String>
- Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String,String>
- A map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - timeout
Seconds Integer - Timeout in seconds for the harness execution.
- timeouts
Agentcore
Harness Timeouts - tools
List<Agentcore
Harness Tool> - Tool configurations. See
toolbelow. - truncations
List<Agentcore
Harness Truncation> - Truncation configuration for conversation history. See
truncationbelow.
- allowed
Tools string[] - List of tool names allowed for the harness. Use
["*"]to allow all tools. - arn string
- ARN of the Harness.
-
Agentcore
Harness Authorizer Configuration - Authorization configuration for authenticating requests. See
authorizerConfigurationbelow. - environment
Artifact AgentcoreHarness Environment Artifact - Environment artifact configuration. See
environmentArtifactbelow. - environment
Variables {[key: string]: string} - Map of environment variables.
- environments
Agentcore
Harness Environment[] - Compute environment configuration. See
environmentbelow. - execution
Role stringArn - ARN of the IAM role that the harness assumes to access AWS services.
- harness
Id string - Unique identifier of the Harness.
- harness
Name string - Name of the harness. Must be 1-40 characters, alphanumeric and underscores only.
- max
Iterations number - Maximum number of iterations the agent loop can perform.
- max
Tokens number - Maximum number of tokens in the model response.
- memory
Agentcore
Harness Memory - Memory configuration. See
memorybelow. - model
Agentcore
Harness Model Model configuration for the harness. See
modelbelow.The following arguments are optional:
- region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- skills
Agentcore
Harness Skill[] - Skill configurations. See
skillbelow. - system
Prompts AgentcoreHarness System Prompt[] - System prompt blocks for the harness. See
systemPromptbelow. - {[key: string]: string}
- Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - {[key: string]: string}
- A map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - timeout
Seconds number - Timeout in seconds for the harness execution.
- timeouts
Agentcore
Harness Timeouts - tools
Agentcore
Harness Tool[] - Tool configurations. See
toolbelow. - truncations
Agentcore
Harness Truncation[] - Truncation configuration for conversation history. See
truncationbelow.
- allowed_
tools Sequence[str] - List of tool names allowed for the harness. Use
["*"]to allow all tools. - arn str
- ARN of the Harness.
-
Agentcore
Harness Authorizer Configuration Args - Authorization configuration for authenticating requests. See
authorizerConfigurationbelow. - environment_
artifact AgentcoreHarness Environment Artifact Args - Environment artifact configuration. See
environmentArtifactbelow. - environment_
variables Mapping[str, str] - Map of environment variables.
- environments
Sequence[Agentcore
Harness Environment Args] - Compute environment configuration. See
environmentbelow. - execution_
role_ strarn - ARN of the IAM role that the harness assumes to access AWS services.
- harness_
id str - Unique identifier of the Harness.
- harness_
name str - Name of the harness. Must be 1-40 characters, alphanumeric and underscores only.
- max_
iterations int - Maximum number of iterations the agent loop can perform.
- max_
tokens int - Maximum number of tokens in the model response.
- memory
Agentcore
Harness Memory Args - Memory configuration. See
memorybelow. - model
Agentcore
Harness Model Args Model configuration for the harness. See
modelbelow.The following arguments are optional:
- region str
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- skills
Sequence[Agentcore
Harness Skill Args] - Skill configurations. See
skillbelow. - system_
prompts Sequence[AgentcoreHarness System Prompt Args] - System prompt blocks for the harness. See
systemPromptbelow. - Mapping[str, str]
- Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Mapping[str, str]
- A map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - timeout_
seconds int - Timeout in seconds for the harness execution.
- timeouts
Agentcore
Harness Timeouts Args - tools
Sequence[Agentcore
Harness Tool Args] - Tool configurations. See
toolbelow. - truncations
Sequence[Agentcore
Harness Truncation Args] - Truncation configuration for conversation history. See
truncationbelow.
- allowed
Tools List<String> - List of tool names allowed for the harness. Use
["*"]to allow all tools. - arn String
- ARN of the Harness.
- Property Map
- Authorization configuration for authenticating requests. See
authorizerConfigurationbelow. - environment
Artifact Property Map - Environment artifact configuration. See
environmentArtifactbelow. - environment
Variables Map<String> - Map of environment variables.
- environments List<Property Map>
- Compute environment configuration. See
environmentbelow. - execution
Role StringArn - ARN of the IAM role that the harness assumes to access AWS services.
- harness
Id String - Unique identifier of the Harness.
- harness
Name String - Name of the harness. Must be 1-40 characters, alphanumeric and underscores only.
- max
Iterations Number - Maximum number of iterations the agent loop can perform.
- max
Tokens Number - Maximum number of tokens in the model response.
- memory Property Map
- Memory configuration. See
memorybelow. - model Property Map
Model configuration for the harness. See
modelbelow.The following arguments are optional:
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- skills List<Property Map>
- Skill configurations. See
skillbelow. - system
Prompts List<Property Map> - System prompt blocks for the harness. See
systemPromptbelow. - Map<String>
- Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String>
- A map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - timeout
Seconds Number - Timeout in seconds for the harness execution.
- timeouts Property Map
- tools List<Property Map>
- Tool configurations. See
toolbelow. - truncations List<Property Map>
- Truncation configuration for conversation history. See
truncationbelow.
Supporting Types
AgentcoreHarnessAuthorizerConfiguration, AgentcoreHarnessAuthorizerConfigurationArgs
-
Agentcore
Harness Authorizer Configuration Custom Jwt Authorizer - JWT-based authorization configuration block. See
customJwtAuthorizerbelow.
-
Agentcore
Harness Authorizer Configuration Custom Jwt Authorizer - JWT-based authorization configuration block. See
customJwtAuthorizerbelow.
- object
- JWT-based authorization configuration block. See
customJwtAuthorizerbelow.
-
Agentcore
Harness Authorizer Configuration Custom Jwt Authorizer - JWT-based authorization configuration block. See
customJwtAuthorizerbelow.
-
Agentcore
Harness Authorizer Configuration Custom Jwt Authorizer - JWT-based authorization configuration block. See
customJwtAuthorizerbelow.
-
Agentcore
Harness Authorizer Configuration Custom Jwt Authorizer - JWT-based authorization configuration block. See
customJwtAuthorizerbelow.
- Property Map
- JWT-based authorization configuration block. See
customJwtAuthorizerbelow.
AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizer, AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerArgs
- Discovery
Url string - URL used to fetch OpenID Connect configuration or authorization server metadata. Must end with
.well-known/openid-configuration. - Allowed
Audiences List<string> - Set of allowed audience values for JWT token validation.
- Allowed
Clients List<string> - Set of allowed client IDs for JWT token validation.
- Allowed
Scopes List<string> - Set of scopes that are allowed to access the token.
- Custom
Claims List<AgentcoreHarness Authorizer Configuration Custom Jwt Authorizer Custom Claim> - Repeatable block to define a custom claim validation name, value, and operation. See
customClaimbelow.
- Discovery
Url string - URL used to fetch OpenID Connect configuration or authorization server metadata. Must end with
.well-known/openid-configuration. - Allowed
Audiences []string - Set of allowed audience values for JWT token validation.
- Allowed
Clients []string - Set of allowed client IDs for JWT token validation.
- Allowed
Scopes []string - Set of scopes that are allowed to access the token.
- Custom
Claims []AgentcoreHarness Authorizer Configuration Custom Jwt Authorizer Custom Claim - Repeatable block to define a custom claim validation name, value, and operation. See
customClaimbelow.
- discovery_
url string - URL used to fetch OpenID Connect configuration or authorization server metadata. Must end with
.well-known/openid-configuration. - allowed_
audiences list(string) - Set of allowed audience values for JWT token validation.
- allowed_
clients list(string) - Set of allowed client IDs for JWT token validation.
- allowed_
scopes list(string) - Set of scopes that are allowed to access the token.
- custom_
claims list(object) - Repeatable block to define a custom claim validation name, value, and operation. See
customClaimbelow.
- discovery
Url String - URL used to fetch OpenID Connect configuration or authorization server metadata. Must end with
.well-known/openid-configuration. - allowed
Audiences List<String> - Set of allowed audience values for JWT token validation.
- allowed
Clients List<String> - Set of allowed client IDs for JWT token validation.
- allowed
Scopes List<String> - Set of scopes that are allowed to access the token.
- custom
Claims List<AgentcoreHarness Authorizer Configuration Custom Jwt Authorizer Custom Claim> - Repeatable block to define a custom claim validation name, value, and operation. See
customClaimbelow.
- discovery
Url string - URL used to fetch OpenID Connect configuration or authorization server metadata. Must end with
.well-known/openid-configuration. - allowed
Audiences string[] - Set of allowed audience values for JWT token validation.
- allowed
Clients string[] - Set of allowed client IDs for JWT token validation.
- allowed
Scopes string[] - Set of scopes that are allowed to access the token.
- custom
Claims AgentcoreHarness Authorizer Configuration Custom Jwt Authorizer Custom Claim[] - Repeatable block to define a custom claim validation name, value, and operation. See
customClaimbelow.
- discovery_
url str - URL used to fetch OpenID Connect configuration or authorization server metadata. Must end with
.well-known/openid-configuration. - allowed_
audiences Sequence[str] - Set of allowed audience values for JWT token validation.
- allowed_
clients Sequence[str] - Set of allowed client IDs for JWT token validation.
- allowed_
scopes Sequence[str] - Set of scopes that are allowed to access the token.
- custom_
claims Sequence[AgentcoreHarness Authorizer Configuration Custom Jwt Authorizer Custom Claim] - Repeatable block to define a custom claim validation name, value, and operation. See
customClaimbelow.
- discovery
Url String - URL used to fetch OpenID Connect configuration or authorization server metadata. Must end with
.well-known/openid-configuration. - allowed
Audiences List<String> - Set of allowed audience values for JWT token validation.
- allowed
Clients List<String> - Set of allowed client IDs for JWT token validation.
- allowed
Scopes List<String> - Set of scopes that are allowed to access the token.
- custom
Claims List<Property Map> - Repeatable block to define a custom claim validation name, value, and operation. See
customClaimbelow.
AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerCustomClaim, AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerCustomClaimArgs
-
Agentcore
Harness Authorizer Configuration Custom Jwt Authorizer Custom Claim Authorizing Claim Match Value - Configuration block to define the value or values to match for and the relationship of the match. See
authorizingClaimMatchValuebelow. - Inbound
Token stringClaim Name - Name of the custom claim field to check.
- Inbound
Token stringClaim Value Type - Data type of the claim value to check for. Valid values are
STRINGandSTRING_ARRAY.
-
Agentcore
Harness Authorizer Configuration Custom Jwt Authorizer Custom Claim Authorizing Claim Match Value - Configuration block to define the value or values to match for and the relationship of the match. See
authorizingClaimMatchValuebelow. - Inbound
Token stringClaim Name - Name of the custom claim field to check.
- Inbound
Token stringClaim Value Type - Data type of the claim value to check for. Valid values are
STRINGandSTRING_ARRAY.
- object
- Configuration block to define the value or values to match for and the relationship of the match. See
authorizingClaimMatchValuebelow. - inbound_
token_ stringclaim_ name - Name of the custom claim field to check.
- inbound_
token_ stringclaim_ value_ type - Data type of the claim value to check for. Valid values are
STRINGandSTRING_ARRAY.
-
Agentcore
Harness Authorizer Configuration Custom Jwt Authorizer Custom Claim Authorizing Claim Match Value - Configuration block to define the value or values to match for and the relationship of the match. See
authorizingClaimMatchValuebelow. - inbound
Token StringClaim Name - Name of the custom claim field to check.
- inbound
Token StringClaim Value Type - Data type of the claim value to check for. Valid values are
STRINGandSTRING_ARRAY.
-
Agentcore
Harness Authorizer Configuration Custom Jwt Authorizer Custom Claim Authorizing Claim Match Value - Configuration block to define the value or values to match for and the relationship of the match. See
authorizingClaimMatchValuebelow. - inbound
Token stringClaim Name - Name of the custom claim field to check.
- inbound
Token stringClaim Value Type - Data type of the claim value to check for. Valid values are
STRINGandSTRING_ARRAY.
-
Agentcore
Harness Authorizer Configuration Custom Jwt Authorizer Custom Claim Authorizing Claim Match Value - Configuration block to define the value or values to match for and the relationship of the match. See
authorizingClaimMatchValuebelow. - inbound_
token_ strclaim_ name - Name of the custom claim field to check.
- inbound_
token_ strclaim_ value_ type - Data type of the claim value to check for. Valid values are
STRINGandSTRING_ARRAY.
- Property Map
- Configuration block to define the value or values to match for and the relationship of the match. See
authorizingClaimMatchValuebelow. - inbound
Token StringClaim Name - Name of the custom claim field to check.
- inbound
Token StringClaim Value Type - Data type of the claim value to check for. Valid values are
STRINGandSTRING_ARRAY.
AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerCustomClaimAuthorizingClaimMatchValue, AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerCustomClaimAuthorizingClaimMatchValueArgs
- Claim
Match stringOperator - Relationship between the claim field value and the value or values to match for. Valid values are
EQUALS,CONTAINS, andCONTAINS_ANY.EQUALScan be used only wheninboundTokenClaimValueTypeisSTRING.CONTAINSorCONTAINS_ANYcan be used only wheninboundTokenClaimValueTypeisSTRING_ARRAY. - Claim
Match AgentcoreValue Harness Authorizer Configuration Custom Jwt Authorizer Custom Claim Authorizing Claim Match Value Claim Match Value - Value or values to match for. See
claimMatchValuebelow.
- Claim
Match stringOperator - Relationship between the claim field value and the value or values to match for. Valid values are
EQUALS,CONTAINS, andCONTAINS_ANY.EQUALScan be used only wheninboundTokenClaimValueTypeisSTRING.CONTAINSorCONTAINS_ANYcan be used only wheninboundTokenClaimValueTypeisSTRING_ARRAY. - Claim
Match AgentcoreValue Harness Authorizer Configuration Custom Jwt Authorizer Custom Claim Authorizing Claim Match Value Claim Match Value - Value or values to match for. See
claimMatchValuebelow.
- claim_
match_ stringoperator - Relationship between the claim field value and the value or values to match for. Valid values are
EQUALS,CONTAINS, andCONTAINS_ANY.EQUALScan be used only wheninboundTokenClaimValueTypeisSTRING.CONTAINSorCONTAINS_ANYcan be used only wheninboundTokenClaimValueTypeisSTRING_ARRAY. - claim_
match_ objectvalue - Value or values to match for. See
claimMatchValuebelow.
- claim
Match StringOperator - Relationship between the claim field value and the value or values to match for. Valid values are
EQUALS,CONTAINS, andCONTAINS_ANY.EQUALScan be used only wheninboundTokenClaimValueTypeisSTRING.CONTAINSorCONTAINS_ANYcan be used only wheninboundTokenClaimValueTypeisSTRING_ARRAY. - claim
Match AgentcoreValue Harness Authorizer Configuration Custom Jwt Authorizer Custom Claim Authorizing Claim Match Value Claim Match Value - Value or values to match for. See
claimMatchValuebelow.
- claim
Match stringOperator - Relationship between the claim field value and the value or values to match for. Valid values are
EQUALS,CONTAINS, andCONTAINS_ANY.EQUALScan be used only wheninboundTokenClaimValueTypeisSTRING.CONTAINSorCONTAINS_ANYcan be used only wheninboundTokenClaimValueTypeisSTRING_ARRAY. - claim
Match AgentcoreValue Harness Authorizer Configuration Custom Jwt Authorizer Custom Claim Authorizing Claim Match Value Claim Match Value - Value or values to match for. See
claimMatchValuebelow.
- claim_
match_ stroperator - Relationship between the claim field value and the value or values to match for. Valid values are
EQUALS,CONTAINS, andCONTAINS_ANY.EQUALScan be used only wheninboundTokenClaimValueTypeisSTRING.CONTAINSorCONTAINS_ANYcan be used only wheninboundTokenClaimValueTypeisSTRING_ARRAY. - claim_
match_ Agentcorevalue Harness Authorizer Configuration Custom Jwt Authorizer Custom Claim Authorizing Claim Match Value Claim Match Value - Value or values to match for. See
claimMatchValuebelow.
- claim
Match StringOperator - Relationship between the claim field value and the value or values to match for. Valid values are
EQUALS,CONTAINS, andCONTAINS_ANY.EQUALScan be used only wheninboundTokenClaimValueTypeisSTRING.CONTAINSorCONTAINS_ANYcan be used only wheninboundTokenClaimValueTypeisSTRING_ARRAY. - claim
Match Property MapValue - Value or values to match for. See
claimMatchValuebelow.
AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerCustomClaimAuthorizingClaimMatchValueClaimMatchValue, AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerCustomClaimAuthorizingClaimMatchValueClaimMatchValueArgs
- Match
Value stringString - String value to match for. Must be specified when
claimMatchOperatorisEQUALSorCONTAINS. Exactly one ofmatchValueStringormatchValueStringListmust be specified. - Match
Value List<string>String Lists - List of strings to check for a match. Must be specified when
claimMatchOperatorisCONTAINS_ANY. Exactly one ofmatchValueStringormatchValueStringListmust be specified.
- Match
Value stringString - String value to match for. Must be specified when
claimMatchOperatorisEQUALSorCONTAINS. Exactly one ofmatchValueStringormatchValueStringListmust be specified. - Match
Value []stringString Lists - List of strings to check for a match. Must be specified when
claimMatchOperatorisCONTAINS_ANY. Exactly one ofmatchValueStringormatchValueStringListmust be specified.
- match_
value_ stringstring - String value to match for. Must be specified when
claimMatchOperatorisEQUALSorCONTAINS. Exactly one ofmatchValueStringormatchValueStringListmust be specified. - match_
value_ list(string)string_ lists - List of strings to check for a match. Must be specified when
claimMatchOperatorisCONTAINS_ANY. Exactly one ofmatchValueStringormatchValueStringListmust be specified.
- match
Value StringString - String value to match for. Must be specified when
claimMatchOperatorisEQUALSorCONTAINS. Exactly one ofmatchValueStringormatchValueStringListmust be specified. - match
Value List<String>String Lists - List of strings to check for a match. Must be specified when
claimMatchOperatorisCONTAINS_ANY. Exactly one ofmatchValueStringormatchValueStringListmust be specified.
- match
Value stringString - String value to match for. Must be specified when
claimMatchOperatorisEQUALSorCONTAINS. Exactly one ofmatchValueStringormatchValueStringListmust be specified. - match
Value string[]String Lists - List of strings to check for a match. Must be specified when
claimMatchOperatorisCONTAINS_ANY. Exactly one ofmatchValueStringormatchValueStringListmust be specified.
- match_
value_ strstring - String value to match for. Must be specified when
claimMatchOperatorisEQUALSorCONTAINS. Exactly one ofmatchValueStringormatchValueStringListmust be specified. - match_
value_ Sequence[str]string_ lists - List of strings to check for a match. Must be specified when
claimMatchOperatorisCONTAINS_ANY. Exactly one ofmatchValueStringormatchValueStringListmust be specified.
- match
Value StringString - String value to match for. Must be specified when
claimMatchOperatorisEQUALSorCONTAINS. Exactly one ofmatchValueStringormatchValueStringListmust be specified. - match
Value List<String>String Lists - List of strings to check for a match. Must be specified when
claimMatchOperatorisCONTAINS_ANY. Exactly one ofmatchValueStringormatchValueStringListmust be specified.
AgentcoreHarnessEnvironment, AgentcoreHarnessEnvironmentArgs
- Agentcore
Runtime List<AgentcoreEnvironments Harness Environment Agentcore Runtime Environment> - AgentCore runtime environment configuration. See
agentcoreRuntimeEnvironmentbelow.
- Agentcore
Runtime []AgentcoreEnvironments Harness Environment Agentcore Runtime Environment - AgentCore runtime environment configuration. See
agentcoreRuntimeEnvironmentbelow.
- agentcore_
runtime_ list(object)environments - AgentCore runtime environment configuration. See
agentcoreRuntimeEnvironmentbelow.
- agentcore
Runtime List<AgentcoreEnvironments Harness Environment Agentcore Runtime Environment> - AgentCore runtime environment configuration. See
agentcoreRuntimeEnvironmentbelow.
- agentcore
Runtime AgentcoreEnvironments Harness Environment Agentcore Runtime Environment[] - AgentCore runtime environment configuration. See
agentcoreRuntimeEnvironmentbelow.
- agentcore_
runtime_ Sequence[Agentcoreenvironments Harness Environment Agentcore Runtime Environment] - AgentCore runtime environment configuration. See
agentcoreRuntimeEnvironmentbelow.
- agentcore
Runtime List<Property Map>Environments - AgentCore runtime environment configuration. See
agentcoreRuntimeEnvironmentbelow.
AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironment, AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentArgs
- Agent
Runtime stringArn - Agent
Runtime stringId - Agent
Runtime stringName - Filesystem
Configurations List<AgentcoreHarness Environment Agentcore Runtime Environment Filesystem Configuration> - Filesystem configurations. See
filesystemConfigurationbelow. - Lifecycle
Configurations List<AgentcoreHarness Environment Agentcore Runtime Environment Lifecycle Configuration> - Lifecycle configuration. See
lifecycleConfigurationbelow. - Network
Configurations List<AgentcoreHarness Environment Agentcore Runtime Environment Network Configuration> - Network configuration. See
networkConfigurationbelow.
- Agent
Runtime stringArn - Agent
Runtime stringId - Agent
Runtime stringName - Filesystem
Configurations []AgentcoreHarness Environment Agentcore Runtime Environment Filesystem Configuration - Filesystem configurations. See
filesystemConfigurationbelow. - Lifecycle
Configurations []AgentcoreHarness Environment Agentcore Runtime Environment Lifecycle Configuration - Lifecycle configuration. See
lifecycleConfigurationbelow. - Network
Configurations []AgentcoreHarness Environment Agentcore Runtime Environment Network Configuration - Network configuration. See
networkConfigurationbelow.
- agent_
runtime_ stringarn - agent_
runtime_ stringid - agent_
runtime_ stringname - filesystem_
configurations list(object) - Filesystem configurations. See
filesystemConfigurationbelow. - lifecycle_
configurations list(object) - Lifecycle configuration. See
lifecycleConfigurationbelow. - network_
configurations list(object) - Network configuration. See
networkConfigurationbelow.
- agent
Runtime StringArn - agent
Runtime StringId - agent
Runtime StringName - filesystem
Configurations List<AgentcoreHarness Environment Agentcore Runtime Environment Filesystem Configuration> - Filesystem configurations. See
filesystemConfigurationbelow. - lifecycle
Configurations List<AgentcoreHarness Environment Agentcore Runtime Environment Lifecycle Configuration> - Lifecycle configuration. See
lifecycleConfigurationbelow. - network
Configurations List<AgentcoreHarness Environment Agentcore Runtime Environment Network Configuration> - Network configuration. See
networkConfigurationbelow.
- agent
Runtime stringArn - agent
Runtime stringId - agent
Runtime stringName - filesystem
Configurations AgentcoreHarness Environment Agentcore Runtime Environment Filesystem Configuration[] - Filesystem configurations. See
filesystemConfigurationbelow. - lifecycle
Configurations AgentcoreHarness Environment Agentcore Runtime Environment Lifecycle Configuration[] - Lifecycle configuration. See
lifecycleConfigurationbelow. - network
Configurations AgentcoreHarness Environment Agentcore Runtime Environment Network Configuration[] - Network configuration. See
networkConfigurationbelow.
- agent_
runtime_ strarn - agent_
runtime_ strid - agent_
runtime_ strname - filesystem_
configurations Sequence[AgentcoreHarness Environment Agentcore Runtime Environment Filesystem Configuration] - Filesystem configurations. See
filesystemConfigurationbelow. - lifecycle_
configurations Sequence[AgentcoreHarness Environment Agentcore Runtime Environment Lifecycle Configuration] - Lifecycle configuration. See
lifecycleConfigurationbelow. - network_
configurations Sequence[AgentcoreHarness Environment Agentcore Runtime Environment Network Configuration] - Network configuration. See
networkConfigurationbelow.
- agent
Runtime StringArn - agent
Runtime StringId - agent
Runtime StringName - filesystem
Configurations List<Property Map> - Filesystem configurations. See
filesystemConfigurationbelow. - lifecycle
Configurations List<Property Map> - Lifecycle configuration. See
lifecycleConfigurationbelow. - network
Configurations List<Property Map> - Network configuration. See
networkConfigurationbelow.
AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentFilesystemConfiguration, AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentFilesystemConfigurationArgs
- Efs
Access List<AgentcorePoints Harness Environment Agentcore Runtime Environment Filesystem Configuration Efs Access Point> - Amazon EFS access point to mount as shared file storage. Exactly one of
sessionStorage,s3FilesAccessPoint, orefsAccessPointmust be specified. SeeefsAccessPointbelow. - S3Files
Access List<AgentcorePoints Harness Environment Agentcore Runtime Environment Filesystem Configuration S3Files Access Point> - Amazon S3 Files access point to mount as shared file storage. Exactly one of
sessionStorage,s3FilesAccessPoint, orefsAccessPointmust be specified. Sees3FilesAccessPointbelow. - Session
Storages List<AgentcoreHarness Environment Agentcore Runtime Environment Filesystem Configuration Session Storage> - Session storage filesystem providing persistent storage across agent runtime session invocations. Exactly one of
sessionStorage,s3FilesAccessPoint, orefsAccessPointmust be specified. SeesessionStoragebelow.
- Efs
Access []AgentcorePoints Harness Environment Agentcore Runtime Environment Filesystem Configuration Efs Access Point - Amazon EFS access point to mount as shared file storage. Exactly one of
sessionStorage,s3FilesAccessPoint, orefsAccessPointmust be specified. SeeefsAccessPointbelow. - S3Files
Access []AgentcorePoints Harness Environment Agentcore Runtime Environment Filesystem Configuration S3Files Access Point - Amazon S3 Files access point to mount as shared file storage. Exactly one of
sessionStorage,s3FilesAccessPoint, orefsAccessPointmust be specified. Sees3FilesAccessPointbelow. - Session
Storages []AgentcoreHarness Environment Agentcore Runtime Environment Filesystem Configuration Session Storage - Session storage filesystem providing persistent storage across agent runtime session invocations. Exactly one of
sessionStorage,s3FilesAccessPoint, orefsAccessPointmust be specified. SeesessionStoragebelow.
- efs_
access_ list(object)points - Amazon EFS access point to mount as shared file storage. Exactly one of
sessionStorage,s3FilesAccessPoint, orefsAccessPointmust be specified. SeeefsAccessPointbelow. - s3_
files_ list(object)access_ points - Amazon S3 Files access point to mount as shared file storage. Exactly one of
sessionStorage,s3FilesAccessPoint, orefsAccessPointmust be specified. Sees3FilesAccessPointbelow. - session_
storages list(object) - Session storage filesystem providing persistent storage across agent runtime session invocations. Exactly one of
sessionStorage,s3FilesAccessPoint, orefsAccessPointmust be specified. SeesessionStoragebelow.
- efs
Access List<AgentcorePoints Harness Environment Agentcore Runtime Environment Filesystem Configuration Efs Access Point> - Amazon EFS access point to mount as shared file storage. Exactly one of
sessionStorage,s3FilesAccessPoint, orefsAccessPointmust be specified. SeeefsAccessPointbelow. - s3Files
Access List<AgentcorePoints Harness Environment Agentcore Runtime Environment Filesystem Configuration S3Files Access Point> - Amazon S3 Files access point to mount as shared file storage. Exactly one of
sessionStorage,s3FilesAccessPoint, orefsAccessPointmust be specified. Sees3FilesAccessPointbelow. - session
Storages List<AgentcoreHarness Environment Agentcore Runtime Environment Filesystem Configuration Session Storage> - Session storage filesystem providing persistent storage across agent runtime session invocations. Exactly one of
sessionStorage,s3FilesAccessPoint, orefsAccessPointmust be specified. SeesessionStoragebelow.
- efs
Access AgentcorePoints Harness Environment Agentcore Runtime Environment Filesystem Configuration Efs Access Point[] - Amazon EFS access point to mount as shared file storage. Exactly one of
sessionStorage,s3FilesAccessPoint, orefsAccessPointmust be specified. SeeefsAccessPointbelow. - s3Files
Access AgentcorePoints Harness Environment Agentcore Runtime Environment Filesystem Configuration S3Files Access Point[] - Amazon S3 Files access point to mount as shared file storage. Exactly one of
sessionStorage,s3FilesAccessPoint, orefsAccessPointmust be specified. Sees3FilesAccessPointbelow. - session
Storages AgentcoreHarness Environment Agentcore Runtime Environment Filesystem Configuration Session Storage[] - Session storage filesystem providing persistent storage across agent runtime session invocations. Exactly one of
sessionStorage,s3FilesAccessPoint, orefsAccessPointmust be specified. SeesessionStoragebelow.
- efs_
access_ Sequence[Agentcorepoints Harness Environment Agentcore Runtime Environment Filesystem Configuration Efs Access Point] - Amazon EFS access point to mount as shared file storage. Exactly one of
sessionStorage,s3FilesAccessPoint, orefsAccessPointmust be specified. SeeefsAccessPointbelow. - s3_
files_ Sequence[Agentcoreaccess_ points Harness Environment Agentcore Runtime Environment Filesystem Configuration S3Files Access Point] - Amazon S3 Files access point to mount as shared file storage. Exactly one of
sessionStorage,s3FilesAccessPoint, orefsAccessPointmust be specified. Sees3FilesAccessPointbelow. - session_
storages Sequence[AgentcoreHarness Environment Agentcore Runtime Environment Filesystem Configuration Session Storage] - Session storage filesystem providing persistent storage across agent runtime session invocations. Exactly one of
sessionStorage,s3FilesAccessPoint, orefsAccessPointmust be specified. SeesessionStoragebelow.
- efs
Access List<Property Map>Points - Amazon EFS access point to mount as shared file storage. Exactly one of
sessionStorage,s3FilesAccessPoint, orefsAccessPointmust be specified. SeeefsAccessPointbelow. - s3Files
Access List<Property Map>Points - Amazon S3 Files access point to mount as shared file storage. Exactly one of
sessionStorage,s3FilesAccessPoint, orefsAccessPointmust be specified. Sees3FilesAccessPointbelow. - session
Storages List<Property Map> - Session storage filesystem providing persistent storage across agent runtime session invocations. Exactly one of
sessionStorage,s3FilesAccessPoint, orefsAccessPointmust be specified. SeesessionStoragebelow.
AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentFilesystemConfigurationEfsAccessPoint, AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentFilesystemConfigurationEfsAccessPointArgs
- Access
Point stringArn - ARN of the Amazon EFS access point to mount into the agent runtime.
- Mount
Path string - Mount path for the EFS access point inside the agent runtime. Must be under
/mntwith exactly one subdirectory level (for example,/mnt/data).
- Access
Point stringArn - ARN of the Amazon EFS access point to mount into the agent runtime.
- Mount
Path string - Mount path for the EFS access point inside the agent runtime. Must be under
/mntwith exactly one subdirectory level (for example,/mnt/data).
- access_
point_ stringarn - ARN of the Amazon EFS access point to mount into the agent runtime.
- mount_
path string - Mount path for the EFS access point inside the agent runtime. Must be under
/mntwith exactly one subdirectory level (for example,/mnt/data).
- access
Point StringArn - ARN of the Amazon EFS access point to mount into the agent runtime.
- mount
Path String - Mount path for the EFS access point inside the agent runtime. Must be under
/mntwith exactly one subdirectory level (for example,/mnt/data).
- access
Point stringArn - ARN of the Amazon EFS access point to mount into the agent runtime.
- mount
Path string - Mount path for the EFS access point inside the agent runtime. Must be under
/mntwith exactly one subdirectory level (for example,/mnt/data).
- access_
point_ strarn - ARN of the Amazon EFS access point to mount into the agent runtime.
- mount_
path str - Mount path for the EFS access point inside the agent runtime. Must be under
/mntwith exactly one subdirectory level (for example,/mnt/data).
- access
Point StringArn - ARN of the Amazon EFS access point to mount into the agent runtime.
- mount
Path String - Mount path for the EFS access point inside the agent runtime. Must be under
/mntwith exactly one subdirectory level (for example,/mnt/data).
AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentFilesystemConfigurationS3FilesAccessPoint, AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentFilesystemConfigurationS3FilesAccessPointArgs
- Access
Point stringArn - ARN of the Amazon S3 Files access point to mount into the agent runtime.
- Mount
Path string - Mount path for the S3 Files access point inside the agent runtime. Must be under
/mntwith exactly one subdirectory level (for example,/mnt/data).
- Access
Point stringArn - ARN of the Amazon S3 Files access point to mount into the agent runtime.
- Mount
Path string - Mount path for the S3 Files access point inside the agent runtime. Must be under
/mntwith exactly one subdirectory level (for example,/mnt/data).
- access_
point_ stringarn - ARN of the Amazon S3 Files access point to mount into the agent runtime.
- mount_
path string - Mount path for the S3 Files access point inside the agent runtime. Must be under
/mntwith exactly one subdirectory level (for example,/mnt/data).
- access
Point StringArn - ARN of the Amazon S3 Files access point to mount into the agent runtime.
- mount
Path String - Mount path for the S3 Files access point inside the agent runtime. Must be under
/mntwith exactly one subdirectory level (for example,/mnt/data).
- access
Point stringArn - ARN of the Amazon S3 Files access point to mount into the agent runtime.
- mount
Path string - Mount path for the S3 Files access point inside the agent runtime. Must be under
/mntwith exactly one subdirectory level (for example,/mnt/data).
- access_
point_ strarn - ARN of the Amazon S3 Files access point to mount into the agent runtime.
- mount_
path str - Mount path for the S3 Files access point inside the agent runtime. Must be under
/mntwith exactly one subdirectory level (for example,/mnt/data).
- access
Point StringArn - ARN of the Amazon S3 Files access point to mount into the agent runtime.
- mount
Path String - Mount path for the S3 Files access point inside the agent runtime. Must be under
/mntwith exactly one subdirectory level (for example,/mnt/data).
AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentFilesystemConfigurationSessionStorage, AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentFilesystemConfigurationSessionStorageArgs
- Mount
Path string - Mount path for the session storage filesystem inside the agent runtime. Must be under
/mntwith exactly one subdirectory level (for example,/mnt/data).
- Mount
Path string - Mount path for the session storage filesystem inside the agent runtime. Must be under
/mntwith exactly one subdirectory level (for example,/mnt/data).
- mount_
path string - Mount path for the session storage filesystem inside the agent runtime. Must be under
/mntwith exactly one subdirectory level (for example,/mnt/data).
- mount
Path String - Mount path for the session storage filesystem inside the agent runtime. Must be under
/mntwith exactly one subdirectory level (for example,/mnt/data).
- mount
Path string - Mount path for the session storage filesystem inside the agent runtime. Must be under
/mntwith exactly one subdirectory level (for example,/mnt/data).
- mount_
path str - Mount path for the session storage filesystem inside the agent runtime. Must be under
/mntwith exactly one subdirectory level (for example,/mnt/data).
- mount
Path String - Mount path for the session storage filesystem inside the agent runtime. Must be under
/mntwith exactly one subdirectory level (for example,/mnt/data).
AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentLifecycleConfiguration, AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentLifecycleConfigurationArgs
- Idle
Runtime intSession Timeout - Timeout in seconds for idle sessions.
- Max
Lifetime int - Maximum lifetime of the instance in seconds.
- Idle
Runtime intSession Timeout - Timeout in seconds for idle sessions.
- Max
Lifetime int - Maximum lifetime of the instance in seconds.
- idle_
runtime_ numbersession_ timeout - Timeout in seconds for idle sessions.
- max_
lifetime number - Maximum lifetime of the instance in seconds.
- idle
Runtime IntegerSession Timeout - Timeout in seconds for idle sessions.
- max
Lifetime Integer - Maximum lifetime of the instance in seconds.
- idle
Runtime numberSession Timeout - Timeout in seconds for idle sessions.
- max
Lifetime number - Maximum lifetime of the instance in seconds.
- idle_
runtime_ intsession_ timeout - Timeout in seconds for idle sessions.
- max_
lifetime int - Maximum lifetime of the instance in seconds.
- idle
Runtime NumberSession Timeout - Timeout in seconds for idle sessions.
- max
Lifetime Number - Maximum lifetime of the instance in seconds.
AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentNetworkConfiguration, AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentNetworkConfigurationArgs
- Network
Mode string - Network mode. Valid values:
PUBLIC,VPC. - Network
Mode List<AgentcoreConfigs Harness Environment Agentcore Runtime Environment Network Configuration Network Mode Config> - VPC configuration. See
networkModeConfigbelow.
- Network
Mode string - Network mode. Valid values:
PUBLIC,VPC. - Network
Mode []AgentcoreConfigs Harness Environment Agentcore Runtime Environment Network Configuration Network Mode Config - VPC configuration. See
networkModeConfigbelow.
- network_
mode string - Network mode. Valid values:
PUBLIC,VPC. - network_
mode_ list(object)configs - VPC configuration. See
networkModeConfigbelow.
- network
Mode String - Network mode. Valid values:
PUBLIC,VPC. - network
Mode List<AgentcoreConfigs Harness Environment Agentcore Runtime Environment Network Configuration Network Mode Config> - VPC configuration. See
networkModeConfigbelow.
- network
Mode string - Network mode. Valid values:
PUBLIC,VPC. - network
Mode AgentcoreConfigs Harness Environment Agentcore Runtime Environment Network Configuration Network Mode Config[] - VPC configuration. See
networkModeConfigbelow.
- network_
mode str - Network mode. Valid values:
PUBLIC,VPC. - network_
mode_ Sequence[Agentcoreconfigs Harness Environment Agentcore Runtime Environment Network Configuration Network Mode Config] - VPC configuration. See
networkModeConfigbelow.
- network
Mode String - Network mode. Valid values:
PUBLIC,VPC. - network
Mode List<Property Map>Configs - VPC configuration. See
networkModeConfigbelow.
AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentNetworkConfigurationNetworkModeConfig, AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentNetworkConfigurationNetworkModeConfigArgs
- Security
Groups List<string> - Security groups for the VPC.
- Subnets List<string>
- Subnets for the VPC.
- Security
Groups []string - Security groups for the VPC.
- Subnets []string
- Subnets for the VPC.
- security_
groups list(string) - Security groups for the VPC.
- subnets list(string)
- Subnets for the VPC.
- security
Groups List<String> - Security groups for the VPC.
- subnets List<String>
- Subnets for the VPC.
- security
Groups string[] - Security groups for the VPC.
- subnets string[]
- Subnets for the VPC.
- security_
groups Sequence[str] - Security groups for the VPC.
- subnets Sequence[str]
- Subnets for the VPC.
- security
Groups List<String> - Security groups for the VPC.
- subnets List<String>
- Subnets for the VPC.
AgentcoreHarnessEnvironmentArtifact, AgentcoreHarnessEnvironmentArtifactArgs
- Container
Configuration AgentcoreHarness Environment Artifact Container Configuration - Container configuration. See
containerConfigurationbelow.
- Container
Configuration AgentcoreHarness Environment Artifact Container Configuration - Container configuration. See
containerConfigurationbelow.
- container_
configuration object - Container configuration. See
containerConfigurationbelow.
- container
Configuration AgentcoreHarness Environment Artifact Container Configuration - Container configuration. See
containerConfigurationbelow.
- container
Configuration AgentcoreHarness Environment Artifact Container Configuration - Container configuration. See
containerConfigurationbelow.
- container_
configuration AgentcoreHarness Environment Artifact Container Configuration - Container configuration. See
containerConfigurationbelow.
- container
Configuration Property Map - Container configuration. See
containerConfigurationbelow.
AgentcoreHarnessEnvironmentArtifactContainerConfiguration, AgentcoreHarnessEnvironmentArtifactContainerConfigurationArgs
- Container
Uri string - URI of the container image.
- Container
Uri string - URI of the container image.
- container_
uri string - URI of the container image.
- container
Uri String - URI of the container image.
- container
Uri string - URI of the container image.
- container_
uri str - URI of the container image.
- container
Uri String - URI of the container image.
AgentcoreHarnessMemory, AgentcoreHarnessMemoryArgs
- Agentcore
Memory AgentcoreConfiguration Harness Memory Agentcore Memory Configuration - AgentCore memory configuration. See
agentcoreMemoryConfigurationbelow.
- Agentcore
Memory AgentcoreConfiguration Harness Memory Agentcore Memory Configuration - AgentCore memory configuration. See
agentcoreMemoryConfigurationbelow.
- agentcore_
memory_ objectconfiguration - AgentCore memory configuration. See
agentcoreMemoryConfigurationbelow.
- agentcore
Memory AgentcoreConfiguration Harness Memory Agentcore Memory Configuration - AgentCore memory configuration. See
agentcoreMemoryConfigurationbelow.
- agentcore
Memory AgentcoreConfiguration Harness Memory Agentcore Memory Configuration - AgentCore memory configuration. See
agentcoreMemoryConfigurationbelow.
- agentcore_
memory_ Agentcoreconfiguration Harness Memory Agentcore Memory Configuration - AgentCore memory configuration. See
agentcoreMemoryConfigurationbelow.
- agentcore
Memory Property MapConfiguration - AgentCore memory configuration. See
agentcoreMemoryConfigurationbelow.
AgentcoreHarnessMemoryAgentcoreMemoryConfiguration, AgentcoreHarnessMemoryAgentcoreMemoryConfigurationArgs
- Arn string
- ARN of the AgentCore memory resource.
- Actor
Id string - Actor ID for memory sessions.
- Messages
Count int - Number of messages to retrieve from memory.
- Retrieval
Config AgentcoreHarness Memory Agentcore Memory Configuration Retrieval Config - Retrieval configuration parameters. See
retrievalConfigbelow.
- Arn string
- ARN of the AgentCore memory resource.
- Actor
Id string - Actor ID for memory sessions.
- Messages
Count int - Number of messages to retrieve from memory.
- Retrieval
Config AgentcoreHarness Memory Agentcore Memory Configuration Retrieval Config - Retrieval configuration parameters. See
retrievalConfigbelow.
- arn string
- ARN of the AgentCore memory resource.
- actor_
id string - Actor ID for memory sessions.
- messages_
count number - Number of messages to retrieve from memory.
- retrieval_
config object - Retrieval configuration parameters. See
retrievalConfigbelow.
- arn String
- ARN of the AgentCore memory resource.
- actor
Id String - Actor ID for memory sessions.
- messages
Count Integer - Number of messages to retrieve from memory.
- retrieval
Config AgentcoreHarness Memory Agentcore Memory Configuration Retrieval Config - Retrieval configuration parameters. See
retrievalConfigbelow.
- arn string
- ARN of the AgentCore memory resource.
- actor
Id string - Actor ID for memory sessions.
- messages
Count number - Number of messages to retrieve from memory.
- retrieval
Config AgentcoreHarness Memory Agentcore Memory Configuration Retrieval Config - Retrieval configuration parameters. See
retrievalConfigbelow.
- arn str
- ARN of the AgentCore memory resource.
- actor_
id str - Actor ID for memory sessions.
- messages_
count int - Number of messages to retrieve from memory.
- retrieval_
config AgentcoreHarness Memory Agentcore Memory Configuration Retrieval Config - Retrieval configuration parameters. See
retrievalConfigbelow.
- arn String
- ARN of the AgentCore memory resource.
- actor
Id String - Actor ID for memory sessions.
- messages
Count Number - Number of messages to retrieve from memory.
- retrieval
Config Property Map - Retrieval configuration parameters. See
retrievalConfigbelow.
AgentcoreHarnessMemoryAgentcoreMemoryConfigurationRetrievalConfig, AgentcoreHarnessMemoryAgentcoreMemoryConfigurationRetrievalConfigArgs
- Map
Block stringKey - Key for the retrieval configuration map block.
- Relevance
Score double - Relevance score threshold. Valid value is between
0and1. - Strategy
Id string - ID of the memory strategy.
- Top
K int - Number of top results to retrieve.
- Map
Block stringKey - Key for the retrieval configuration map block.
- Relevance
Score float64 - Relevance score threshold. Valid value is between
0and1. - Strategy
Id string - ID of the memory strategy.
- Top
K int - Number of top results to retrieve.
- map_
block_ stringkey - Key for the retrieval configuration map block.
- relevance_
score number - Relevance score threshold. Valid value is between
0and1. - strategy_
id string - ID of the memory strategy.
- top_
k number - Number of top results to retrieve.
- map
Block StringKey - Key for the retrieval configuration map block.
- relevance
Score Double - Relevance score threshold. Valid value is between
0and1. - strategy
Id String - ID of the memory strategy.
- top
K Integer - Number of top results to retrieve.
- map
Block stringKey - Key for the retrieval configuration map block.
- relevance
Score number - Relevance score threshold. Valid value is between
0and1. - strategy
Id string - ID of the memory strategy.
- top
K number - Number of top results to retrieve.
- map_
block_ strkey - Key for the retrieval configuration map block.
- relevance_
score float - Relevance score threshold. Valid value is between
0and1. - strategy_
id str - ID of the memory strategy.
- top_
k int - Number of top results to retrieve.
- map
Block StringKey - Key for the retrieval configuration map block.
- relevance
Score Number - Relevance score threshold. Valid value is between
0and1. - strategy
Id String - ID of the memory strategy.
- top
K Number - Number of top results to retrieve.
AgentcoreHarnessModel, AgentcoreHarnessModelArgs
- Bedrock
Model AgentcoreConfig Harness Model Bedrock Model Config - Amazon Bedrock model configuration. See
bedrockModelConfigbelow. - Gemini
Model AgentcoreConfig Harness Model Gemini Model Config - Gemini model configuration. See
geminiModelConfigbelow. - Openai
Model AgentcoreConfig Harness Model Openai Model Config - OpenAI model configuration. See
openaiModelConfigbelow.
- Bedrock
Model AgentcoreConfig Harness Model Bedrock Model Config - Amazon Bedrock model configuration. See
bedrockModelConfigbelow. - Gemini
Model AgentcoreConfig Harness Model Gemini Model Config - Gemini model configuration. See
geminiModelConfigbelow. - Openai
Model AgentcoreConfig Harness Model Openai Model Config - OpenAI model configuration. See
openaiModelConfigbelow.
- bedrock_
model_ objectconfig - Amazon Bedrock model configuration. See
bedrockModelConfigbelow. - gemini_
model_ objectconfig - Gemini model configuration. See
geminiModelConfigbelow. - openai_
model_ objectconfig - OpenAI model configuration. See
openaiModelConfigbelow.
- bedrock
Model AgentcoreConfig Harness Model Bedrock Model Config - Amazon Bedrock model configuration. See
bedrockModelConfigbelow. - gemini
Model AgentcoreConfig Harness Model Gemini Model Config - Gemini model configuration. See
geminiModelConfigbelow. - openai
Model AgentcoreConfig Harness Model Openai Model Config - OpenAI model configuration. See
openaiModelConfigbelow.
- bedrock
Model AgentcoreConfig Harness Model Bedrock Model Config - Amazon Bedrock model configuration. See
bedrockModelConfigbelow. - gemini
Model AgentcoreConfig Harness Model Gemini Model Config - Gemini model configuration. See
geminiModelConfigbelow. - openai
Model AgentcoreConfig Harness Model Openai Model Config - OpenAI model configuration. See
openaiModelConfigbelow.
- bedrock_
model_ Agentcoreconfig Harness Model Bedrock Model Config - Amazon Bedrock model configuration. See
bedrockModelConfigbelow. - gemini_
model_ Agentcoreconfig Harness Model Gemini Model Config - Gemini model configuration. See
geminiModelConfigbelow. - openai_
model_ Agentcoreconfig Harness Model Openai Model Config - OpenAI model configuration. See
openaiModelConfigbelow.
- bedrock
Model Property MapConfig - Amazon Bedrock model configuration. See
bedrockModelConfigbelow. - gemini
Model Property MapConfig - Gemini model configuration. See
geminiModelConfigbelow. - openai
Model Property MapConfig - OpenAI model configuration. See
openaiModelConfigbelow.
AgentcoreHarnessModelBedrockModelConfig, AgentcoreHarnessModelBedrockModelConfigArgs
- Model
Id string - Bedrock model ID (e.g.,
anthropic.claude-sonnet-4-20250514). - Max
Tokens int - Maximum number of tokens to generate.
- Temperature double
- Temperature for sampling. Must be between 0 and 2.
- Top
P double - Top-p (nucleus) sampling parameter. Must be between 0 and 1.
- Model
Id string - Bedrock model ID (e.g.,
anthropic.claude-sonnet-4-20250514). - Max
Tokens int - Maximum number of tokens to generate.
- Temperature float64
- Temperature for sampling. Must be between 0 and 2.
- Top
P float64 - Top-p (nucleus) sampling parameter. Must be between 0 and 1.
- model_
id string - Bedrock model ID (e.g.,
anthropic.claude-sonnet-4-20250514). - max_
tokens number - Maximum number of tokens to generate.
- temperature number
- Temperature for sampling. Must be between 0 and 2.
- top_
p number - Top-p (nucleus) sampling parameter. Must be between 0 and 1.
- model
Id String - Bedrock model ID (e.g.,
anthropic.claude-sonnet-4-20250514). - max
Tokens Integer - Maximum number of tokens to generate.
- temperature Double
- Temperature for sampling. Must be between 0 and 2.
- top
P Double - Top-p (nucleus) sampling parameter. Must be between 0 and 1.
- model
Id string - Bedrock model ID (e.g.,
anthropic.claude-sonnet-4-20250514). - max
Tokens number - Maximum number of tokens to generate.
- temperature number
- Temperature for sampling. Must be between 0 and 2.
- top
P number - Top-p (nucleus) sampling parameter. Must be between 0 and 1.
- model_
id str - Bedrock model ID (e.g.,
anthropic.claude-sonnet-4-20250514). - max_
tokens int - Maximum number of tokens to generate.
- temperature float
- Temperature for sampling. Must be between 0 and 2.
- top_
p float - Top-p (nucleus) sampling parameter. Must be between 0 and 1.
- model
Id String - Bedrock model ID (e.g.,
anthropic.claude-sonnet-4-20250514). - max
Tokens Number - Maximum number of tokens to generate.
- temperature Number
- Temperature for sampling. Must be between 0 and 2.
- top
P Number - Top-p (nucleus) sampling parameter. Must be between 0 and 1.
AgentcoreHarnessModelGeminiModelConfig, AgentcoreHarnessModelGeminiModelConfigArgs
- api_
key_ stringarn - ARN of the secret containing the API key.
- model_
id string - Gemini model ID.
- max_
tokens number - Maximum number of tokens to generate.
- temperature number
- Temperature for sampling.
- top_
k number - Top-k sampling parameter.
- top_
p number - Top-p sampling parameter.
- api_
key_ strarn - ARN of the secret containing the API key.
- model_
id str - Gemini model ID.
- max_
tokens int - Maximum number of tokens to generate.
- temperature float
- Temperature for sampling.
- top_
k int - Top-k sampling parameter.
- top_
p float - Top-p sampling parameter.
AgentcoreHarnessModelOpenaiModelConfig, AgentcoreHarnessModelOpenaiModelConfigArgs
- Api
Key stringArn - ARN of the secret containing the API key.
- Model
Id string - OpenAI model ID.
- Max
Tokens int - Maximum number of tokens to generate.
- Temperature double
- Temperature for sampling.
- Top
P double - Top-p sampling parameter.
- Api
Key stringArn - ARN of the secret containing the API key.
- Model
Id string - OpenAI model ID.
- Max
Tokens int - Maximum number of tokens to generate.
- Temperature float64
- Temperature for sampling.
- Top
P float64 - Top-p sampling parameter.
- api_
key_ stringarn - ARN of the secret containing the API key.
- model_
id string - OpenAI model ID.
- max_
tokens number - Maximum number of tokens to generate.
- temperature number
- Temperature for sampling.
- top_
p number - Top-p sampling parameter.
- api
Key StringArn - ARN of the secret containing the API key.
- model
Id String - OpenAI model ID.
- max
Tokens Integer - Maximum number of tokens to generate.
- temperature Double
- Temperature for sampling.
- top
P Double - Top-p sampling parameter.
- api
Key stringArn - ARN of the secret containing the API key.
- model
Id string - OpenAI model ID.
- max
Tokens number - Maximum number of tokens to generate.
- temperature number
- Temperature for sampling.
- top
P number - Top-p sampling parameter.
- api_
key_ strarn - ARN of the secret containing the API key.
- model_
id str - OpenAI model ID.
- max_
tokens int - Maximum number of tokens to generate.
- temperature float
- Temperature for sampling.
- top_
p float - Top-p sampling parameter.
- api
Key StringArn - ARN of the secret containing the API key.
- model
Id String - OpenAI model ID.
- max
Tokens Number - Maximum number of tokens to generate.
- temperature Number
- Temperature for sampling.
- top
P Number - Top-p sampling parameter.
AgentcoreHarnessSkill, AgentcoreHarnessSkillArgs
- Path string
- Path to the skill.
- Path string
- Path to the skill.
- path string
- Path to the skill.
- path String
- Path to the skill.
- path string
- Path to the skill.
- path str
- Path to the skill.
- path String
- Path to the skill.
AgentcoreHarnessSystemPrompt, AgentcoreHarnessSystemPromptArgs
- Text string
- Text content of the system prompt.
- Text string
- Text content of the system prompt.
- text string
- Text content of the system prompt.
- text String
- Text content of the system prompt.
- text string
- Text content of the system prompt.
- text str
- Text content of the system prompt.
- text String
- Text content of the system prompt.
AgentcoreHarnessTimeouts, AgentcoreHarnessTimeoutsArgs
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- Update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- Update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
AgentcoreHarnessTool, AgentcoreHarnessToolArgs
- Type string
- Type of tool. Valid values:
remoteMcp,agentcoreBrowser,agentcoreGateway,inlineFunction,agentcoreCodeInterpreter. - Config
Agentcore
Harness Tool Config - Tool-specific configuration. See
tool configbelow. - Name string
- Name of the tool.
- Type string
- Type of tool. Valid values:
remoteMcp,agentcoreBrowser,agentcoreGateway,inlineFunction,agentcoreCodeInterpreter. - Config
Agentcore
Harness Tool Config - Tool-specific configuration. See
tool configbelow. - Name string
- Name of the tool.
- type String
- Type of tool. Valid values:
remoteMcp,agentcoreBrowser,agentcoreGateway,inlineFunction,agentcoreCodeInterpreter. - config
Agentcore
Harness Tool Config - Tool-specific configuration. See
tool configbelow. - name String
- Name of the tool.
- type string
- Type of tool. Valid values:
remoteMcp,agentcoreBrowser,agentcoreGateway,inlineFunction,agentcoreCodeInterpreter. - config
Agentcore
Harness Tool Config - Tool-specific configuration. See
tool configbelow. - name string
- Name of the tool.
- type str
- Type of tool. Valid values:
remoteMcp,agentcoreBrowser,agentcoreGateway,inlineFunction,agentcoreCodeInterpreter. - config
Agentcore
Harness Tool Config - Tool-specific configuration. See
tool configbelow. - name str
- Name of the tool.
- type String
- Type of tool. Valid values:
remoteMcp,agentcoreBrowser,agentcoreGateway,inlineFunction,agentcoreCodeInterpreter. - config Property Map
- Tool-specific configuration. See
tool configbelow. - name String
- Name of the tool.
AgentcoreHarnessToolConfig, AgentcoreHarnessToolConfigArgs
- Agentcore
Browser AgentcoreHarness Tool Config Agentcore Browser - AgentCore browser configuration. See
agentcoreBrowserbelow. - Agentcore
Code AgentcoreInterpreter Harness Tool Config Agentcore Code Interpreter - AgentCore code interpreter configuration. See
agentcoreCodeInterpreterbelow. - Agentcore
Gateway AgentcoreHarness Tool Config Agentcore Gateway - AgentCore gateway configuration. See
agentcoreGatewaybelow. - Inline
Function AgentcoreHarness Tool Config Inline Function - Inline function configuration. See
inlineFunctionbelow. - Remote
Mcp AgentcoreHarness Tool Config Remote Mcp - Remote MCP server configuration. See
remoteMcpbelow.
- Agentcore
Browser AgentcoreHarness Tool Config Agentcore Browser - AgentCore browser configuration. See
agentcoreBrowserbelow. - Agentcore
Code AgentcoreInterpreter Harness Tool Config Agentcore Code Interpreter - AgentCore code interpreter configuration. See
agentcoreCodeInterpreterbelow. - Agentcore
Gateway AgentcoreHarness Tool Config Agentcore Gateway - AgentCore gateway configuration. See
agentcoreGatewaybelow. - Inline
Function AgentcoreHarness Tool Config Inline Function - Inline function configuration. See
inlineFunctionbelow. - Remote
Mcp AgentcoreHarness Tool Config Remote Mcp - Remote MCP server configuration. See
remoteMcpbelow.
- agentcore_
browser object - AgentCore browser configuration. See
agentcoreBrowserbelow. - agentcore_
code_ objectinterpreter - AgentCore code interpreter configuration. See
agentcoreCodeInterpreterbelow. - agentcore_
gateway object - AgentCore gateway configuration. See
agentcoreGatewaybelow. - inline_
function object - Inline function configuration. See
inlineFunctionbelow. - remote_
mcp object - Remote MCP server configuration. See
remoteMcpbelow.
- agentcore
Browser AgentcoreHarness Tool Config Agentcore Browser - AgentCore browser configuration. See
agentcoreBrowserbelow. - agentcore
Code AgentcoreInterpreter Harness Tool Config Agentcore Code Interpreter - AgentCore code interpreter configuration. See
agentcoreCodeInterpreterbelow. - agentcore
Gateway AgentcoreHarness Tool Config Agentcore Gateway - AgentCore gateway configuration. See
agentcoreGatewaybelow. - inline
Function AgentcoreHarness Tool Config Inline Function - Inline function configuration. See
inlineFunctionbelow. - remote
Mcp AgentcoreHarness Tool Config Remote Mcp - Remote MCP server configuration. See
remoteMcpbelow.
- agentcore
Browser AgentcoreHarness Tool Config Agentcore Browser - AgentCore browser configuration. See
agentcoreBrowserbelow. - agentcore
Code AgentcoreInterpreter Harness Tool Config Agentcore Code Interpreter - AgentCore code interpreter configuration. See
agentcoreCodeInterpreterbelow. - agentcore
Gateway AgentcoreHarness Tool Config Agentcore Gateway - AgentCore gateway configuration. See
agentcoreGatewaybelow. - inline
Function AgentcoreHarness Tool Config Inline Function - Inline function configuration. See
inlineFunctionbelow. - remote
Mcp AgentcoreHarness Tool Config Remote Mcp - Remote MCP server configuration. See
remoteMcpbelow.
- agentcore_
browser AgentcoreHarness Tool Config Agentcore Browser - AgentCore browser configuration. See
agentcoreBrowserbelow. - agentcore_
code_ Agentcoreinterpreter Harness Tool Config Agentcore Code Interpreter - AgentCore code interpreter configuration. See
agentcoreCodeInterpreterbelow. - agentcore_
gateway AgentcoreHarness Tool Config Agentcore Gateway - AgentCore gateway configuration. See
agentcoreGatewaybelow. - inline_
function AgentcoreHarness Tool Config Inline Function - Inline function configuration. See
inlineFunctionbelow. - remote_
mcp AgentcoreHarness Tool Config Remote Mcp - Remote MCP server configuration. See
remoteMcpbelow.
- agentcore
Browser Property Map - AgentCore browser configuration. See
agentcoreBrowserbelow. - agentcore
Code Property MapInterpreter - AgentCore code interpreter configuration. See
agentcoreCodeInterpreterbelow. - agentcore
Gateway Property Map - AgentCore gateway configuration. See
agentcoreGatewaybelow. - inline
Function Property Map - Inline function configuration. See
inlineFunctionbelow. - remote
Mcp Property Map - Remote MCP server configuration. See
remoteMcpbelow.
AgentcoreHarnessToolConfigAgentcoreBrowser, AgentcoreHarnessToolConfigAgentcoreBrowserArgs
- Browser
Arn string - ARN of the AgentCore browser resource.
- Browser
Arn string - ARN of the AgentCore browser resource.
- browser_
arn string - ARN of the AgentCore browser resource.
- browser
Arn String - ARN of the AgentCore browser resource.
- browser
Arn string - ARN of the AgentCore browser resource.
- browser_
arn str - ARN of the AgentCore browser resource.
- browser
Arn String - ARN of the AgentCore browser resource.
AgentcoreHarnessToolConfigAgentcoreCodeInterpreter, AgentcoreHarnessToolConfigAgentcoreCodeInterpreterArgs
- Code
Interpreter stringArn - ARN of the AgentCore code interpreter resource.
- Code
Interpreter stringArn - ARN of the AgentCore code interpreter resource.
- code_
interpreter_ stringarn - ARN of the AgentCore code interpreter resource.
- code
Interpreter StringArn - ARN of the AgentCore code interpreter resource.
- code
Interpreter stringArn - ARN of the AgentCore code interpreter resource.
- code_
interpreter_ strarn - ARN of the AgentCore code interpreter resource.
- code
Interpreter StringArn - ARN of the AgentCore code interpreter resource.
AgentcoreHarnessToolConfigAgentcoreGateway, AgentcoreHarnessToolConfigAgentcoreGatewayArgs
- Gateway
Arn string - ARN of the AgentCore gateway resource.
- Outbound
Auth AgentcoreHarness Tool Config Agentcore Gateway Outbound Auth - Outbound authentication configuration. See
outboundAuthbelow.
- Gateway
Arn string - ARN of the AgentCore gateway resource.
- Outbound
Auth AgentcoreHarness Tool Config Agentcore Gateway Outbound Auth - Outbound authentication configuration. See
outboundAuthbelow.
- gateway_
arn string - ARN of the AgentCore gateway resource.
- outbound_
auth object - Outbound authentication configuration. See
outboundAuthbelow.
- gateway
Arn String - ARN of the AgentCore gateway resource.
- outbound
Auth AgentcoreHarness Tool Config Agentcore Gateway Outbound Auth - Outbound authentication configuration. See
outboundAuthbelow.
- gateway
Arn string - ARN of the AgentCore gateway resource.
- outbound
Auth AgentcoreHarness Tool Config Agentcore Gateway Outbound Auth - Outbound authentication configuration. See
outboundAuthbelow.
- gateway_
arn str - ARN of the AgentCore gateway resource.
- outbound_
auth AgentcoreHarness Tool Config Agentcore Gateway Outbound Auth - Outbound authentication configuration. See
outboundAuthbelow.
- gateway
Arn String - ARN of the AgentCore gateway resource.
- outbound
Auth Property Map - Outbound authentication configuration. See
outboundAuthbelow.
AgentcoreHarnessToolConfigAgentcoreGatewayOutboundAuth, AgentcoreHarnessToolConfigAgentcoreGatewayOutboundAuthArgs
- Aws
Iam bool - Set to
trueto use AWS IAM authentication. - None bool
- Set to
trueto disable authentication. - Oauth
Agentcore
Harness Tool Config Agentcore Gateway Outbound Auth Oauth - OAuth credential provider configuration. See
oauthbelow.
- Aws
Iam bool - Set to
trueto use AWS IAM authentication. - None bool
- Set to
trueto disable authentication. - Oauth
Agentcore
Harness Tool Config Agentcore Gateway Outbound Auth Oauth - OAuth credential provider configuration. See
oauthbelow.
- aws
Iam Boolean - Set to
trueto use AWS IAM authentication. - none Boolean
- Set to
trueto disable authentication. - oauth
Agentcore
Harness Tool Config Agentcore Gateway Outbound Auth Oauth - OAuth credential provider configuration. See
oauthbelow.
- aws
Iam boolean - Set to
trueto use AWS IAM authentication. - none boolean
- Set to
trueto disable authentication. - oauth
Agentcore
Harness Tool Config Agentcore Gateway Outbound Auth Oauth - OAuth credential provider configuration. See
oauthbelow.
- aws_
iam bool - Set to
trueto use AWS IAM authentication. - none bool
- Set to
trueto disable authentication. - oauth
Agentcore
Harness Tool Config Agentcore Gateway Outbound Auth Oauth - OAuth credential provider configuration. See
oauthbelow.
- aws
Iam Boolean - Set to
trueto use AWS IAM authentication. - none Boolean
- Set to
trueto disable authentication. - oauth Property Map
- OAuth credential provider configuration. See
oauthbelow.
AgentcoreHarnessToolConfigAgentcoreGatewayOutboundAuthOauth, AgentcoreHarnessToolConfigAgentcoreGatewayOutboundAuthOauthArgs
- Provider
Arn string - ARN of the OAuth credential provider.
- Scopes List<string>
- List of OAuth scopes.
- Custom
Parameters Dictionary<string, string> - Map of custom parameters.
- Default
Return stringUrl - Default return URL for OAuth flow.
- Grant
Type string - OAuth grant type.
- Provider
Arn string - ARN of the OAuth credential provider.
- Scopes []string
- List of OAuth scopes.
- Custom
Parameters map[string]string - Map of custom parameters.
- Default
Return stringUrl - Default return URL for OAuth flow.
- Grant
Type string - OAuth grant type.
- provider_
arn string - ARN of the OAuth credential provider.
- scopes list(string)
- List of OAuth scopes.
- custom_
parameters map(string) - Map of custom parameters.
- default_
return_ stringurl - Default return URL for OAuth flow.
- grant_
type string - OAuth grant type.
- provider
Arn String - ARN of the OAuth credential provider.
- scopes List<String>
- List of OAuth scopes.
- custom
Parameters Map<String,String> - Map of custom parameters.
- default
Return StringUrl - Default return URL for OAuth flow.
- grant
Type String - OAuth grant type.
- provider
Arn string - ARN of the OAuth credential provider.
- scopes string[]
- List of OAuth scopes.
- custom
Parameters {[key: string]: string} - Map of custom parameters.
- default
Return stringUrl - Default return URL for OAuth flow.
- grant
Type string - OAuth grant type.
- provider_
arn str - ARN of the OAuth credential provider.
- scopes Sequence[str]
- List of OAuth scopes.
- custom_
parameters Mapping[str, str] - Map of custom parameters.
- default_
return_ strurl - Default return URL for OAuth flow.
- grant_
type str - OAuth grant type.
- provider
Arn String - ARN of the OAuth credential provider.
- scopes List<String>
- List of OAuth scopes.
- custom
Parameters Map<String> - Map of custom parameters.
- default
Return StringUrl - Default return URL for OAuth flow.
- grant
Type String - OAuth grant type.
AgentcoreHarnessToolConfigInlineFunction, AgentcoreHarnessToolConfigInlineFunctionArgs
- Description string
- Description of the inline function.
- Input
Schema string - JSON string defining the input schema for the function.
- Description string
- Description of the inline function.
- Input
Schema string - JSON string defining the input schema for the function.
- description string
- Description of the inline function.
- input_
schema string - JSON string defining the input schema for the function.
- description String
- Description of the inline function.
- input
Schema String - JSON string defining the input schema for the function.
- description string
- Description of the inline function.
- input
Schema string - JSON string defining the input schema for the function.
- description str
- Description of the inline function.
- input_
schema str - JSON string defining the input schema for the function.
- description String
- Description of the inline function.
- input
Schema String - JSON string defining the input schema for the function.
AgentcoreHarnessToolConfigRemoteMcp, AgentcoreHarnessToolConfigRemoteMcpArgs
AgentcoreHarnessTruncation, AgentcoreHarnessTruncationArgs
- Configs
List<Agentcore
Harness Truncation Config> - Strategy-specific configuration. See
truncation configbelow. - Strategy string
- Truncation strategy. Valid values:
slidingWindow,summarization,none.
- Configs
[]Agentcore
Harness Truncation Config - Strategy-specific configuration. See
truncation configbelow. - Strategy string
- Truncation strategy. Valid values:
slidingWindow,summarization,none.
- configs list(object)
- Strategy-specific configuration. See
truncation configbelow. - strategy string
- Truncation strategy. Valid values:
slidingWindow,summarization,none.
- configs
List<Agentcore
Harness Truncation Config> - Strategy-specific configuration. See
truncation configbelow. - strategy String
- Truncation strategy. Valid values:
slidingWindow,summarization,none.
- configs
Agentcore
Harness Truncation Config[] - Strategy-specific configuration. See
truncation configbelow. - strategy string
- Truncation strategy. Valid values:
slidingWindow,summarization,none.
- configs
Sequence[Agentcore
Harness Truncation Config] - Strategy-specific configuration. See
truncation configbelow. - strategy str
- Truncation strategy. Valid values:
slidingWindow,summarization,none.
- configs List<Property Map>
- Strategy-specific configuration. See
truncation configbelow. - strategy String
- Truncation strategy. Valid values:
slidingWindow,summarization,none.
AgentcoreHarnessTruncationConfig, AgentcoreHarnessTruncationConfigArgs
- Sliding
Windows List<AgentcoreHarness Truncation Config Sliding Window> - Sliding window truncation configuration. See
slidingWindowbelow. - Summarizations
List<Agentcore
Harness Truncation Config Summarization> - Summarization truncation configuration. See
summarizationbelow.
- Sliding
Windows []AgentcoreHarness Truncation Config Sliding Window - Sliding window truncation configuration. See
slidingWindowbelow. - Summarizations
[]Agentcore
Harness Truncation Config Summarization - Summarization truncation configuration. See
summarizationbelow.
- sliding_
windows list(object) - Sliding window truncation configuration. See
slidingWindowbelow. - summarizations list(object)
- Summarization truncation configuration. See
summarizationbelow.
- sliding
Windows List<AgentcoreHarness Truncation Config Sliding Window> - Sliding window truncation configuration. See
slidingWindowbelow. - summarizations
List<Agentcore
Harness Truncation Config Summarization> - Summarization truncation configuration. See
summarizationbelow.
- sliding
Windows AgentcoreHarness Truncation Config Sliding Window[] - Sliding window truncation configuration. See
slidingWindowbelow. - summarizations
Agentcore
Harness Truncation Config Summarization[] - Summarization truncation configuration. See
summarizationbelow.
- sliding_
windows Sequence[AgentcoreHarness Truncation Config Sliding Window] - Sliding window truncation configuration. See
slidingWindowbelow. - summarizations
Sequence[Agentcore
Harness Truncation Config Summarization] - Summarization truncation configuration. See
summarizationbelow.
- sliding
Windows List<Property Map> - Sliding window truncation configuration. See
slidingWindowbelow. - summarizations List<Property Map>
- Summarization truncation configuration. See
summarizationbelow.
AgentcoreHarnessTruncationConfigSlidingWindow, AgentcoreHarnessTruncationConfigSlidingWindowArgs
- Messages
Count int - Number of recent messages to keep in the conversation window.
- Messages
Count int - Number of recent messages to keep in the conversation window.
- messages_
count number - Number of recent messages to keep in the conversation window.
- messages
Count Integer - Number of recent messages to keep in the conversation window.
- messages
Count number - Number of recent messages to keep in the conversation window.
- messages_
count int - Number of recent messages to keep in the conversation window.
- messages
Count Number - Number of recent messages to keep in the conversation window.
AgentcoreHarnessTruncationConfigSummarization, AgentcoreHarnessTruncationConfigSummarizationArgs
- Preserve
Recent intMessages - Number of recent messages to preserve without summarization.
- Summarization
System stringPrompt - Custom system prompt for the summarization model.
- Summary
Ratio double - Ratio of the conversation to summarize (0 to 1).
- Preserve
Recent intMessages - Number of recent messages to preserve without summarization.
- Summarization
System stringPrompt - Custom system prompt for the summarization model.
- Summary
Ratio float64 - Ratio of the conversation to summarize (0 to 1).
- preserve_
recent_ numbermessages - Number of recent messages to preserve without summarization.
- summarization_
system_ stringprompt - Custom system prompt for the summarization model.
- summary_
ratio number - Ratio of the conversation to summarize (0 to 1).
- preserve
Recent IntegerMessages - Number of recent messages to preserve without summarization.
- summarization
System StringPrompt - Custom system prompt for the summarization model.
- summary
Ratio Double - Ratio of the conversation to summarize (0 to 1).
- preserve
Recent numberMessages - Number of recent messages to preserve without summarization.
- summarization
System stringPrompt - Custom system prompt for the summarization model.
- summary
Ratio number - Ratio of the conversation to summarize (0 to 1).
- preserve_
recent_ intmessages - Number of recent messages to preserve without summarization.
- summarization_
system_ strprompt - Custom system prompt for the summarization model.
- summary_
ratio float - Ratio of the conversation to summarize (0 to 1).
- preserve
Recent NumberMessages - Number of recent messages to preserve without summarization.
- summarization
System StringPrompt - Custom system prompt for the summarization model.
- summary
Ratio Number - Ratio of the conversation to summarize (0 to 1).
Import
Identity Schema
Required
harnessId(String) ID of the harness.
Optional
accountId(String) AWS Account where this resource is managed.region(String) Region where this resource is managed.
Using pulumi import, import Bedrock AgentCore Harnesses using harnessId. For example:
$ pulumi import aws:bedrock/agentcoreHarness:AgentcoreHarness example example-Ab12Cd34Ef
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
awsTerraform Provider.
published on Friday, May 29, 2026 by Pulumi