1. Packages
  2. Packages
  3. AWS
  4. API Docs
  5. bedrock
  6. AgentcoreHarness
Viewing docs for AWS v7.32.0
published on Friday, May 29, 2026 by Pulumi
aws logo
Viewing docs for AWS v7.32.0
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:

    ExecutionRoleArn string
    ARN of the IAM role that the harness assumes to access AWS services.
    HarnessName string
    Name of the harness. Must be 1-40 characters, alphanumeric and underscores only.
    Model AgentcoreHarnessModel

    Model configuration for the harness. See model below.

    The following arguments are optional:

    AllowedTools List<string>
    List of tool names allowed for the harness. Use ["*"] to allow all tools.
    AuthorizerConfiguration AgentcoreHarnessAuthorizerConfiguration
    Authorization configuration for authenticating requests. See authorizerConfiguration below.
    EnvironmentArtifact AgentcoreHarnessEnvironmentArtifact
    Environment artifact configuration. See environmentArtifact below.
    EnvironmentVariables Dictionary<string, string>
    Map of environment variables.
    Environments List<AgentcoreHarnessEnvironment>
    Compute environment configuration. See environment below.
    MaxIterations int
    Maximum number of iterations the agent loop can perform.
    MaxTokens int
    Maximum number of tokens in the model response.
    Memory AgentcoreHarnessMemory
    Memory configuration. See memory below.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    Skills List<AgentcoreHarnessSkill>
    Skill configurations. See skill below.
    SystemPrompts List<AgentcoreHarnessSystemPrompt>
    System prompt blocks for the harness. See systemPrompt below.
    Tags Dictionary<string, string>
    Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    TimeoutSeconds int
    Timeout in seconds for the harness execution.
    Timeouts AgentcoreHarnessTimeouts
    Tools List<AgentcoreHarnessTool>
    Tool configurations. See tool below.
    Truncations List<AgentcoreHarnessTruncation>
    Truncation configuration for conversation history. See truncation below.
    ExecutionRoleArn string
    ARN of the IAM role that the harness assumes to access AWS services.
    HarnessName string
    Name of the harness. Must be 1-40 characters, alphanumeric and underscores only.
    Model AgentcoreHarnessModelArgs

    Model configuration for the harness. See model below.

    The following arguments are optional:

    AllowedTools []string
    List of tool names allowed for the harness. Use ["*"] to allow all tools.
    AuthorizerConfiguration AgentcoreHarnessAuthorizerConfigurationArgs
    Authorization configuration for authenticating requests. See authorizerConfiguration below.
    EnvironmentArtifact AgentcoreHarnessEnvironmentArtifactArgs
    Environment artifact configuration. See environmentArtifact below.
    EnvironmentVariables map[string]string
    Map of environment variables.
    Environments []AgentcoreHarnessEnvironmentArgs
    Compute environment configuration. See environment below.
    MaxIterations int
    Maximum number of iterations the agent loop can perform.
    MaxTokens int
    Maximum number of tokens in the model response.
    Memory AgentcoreHarnessMemoryArgs
    Memory configuration. See memory below.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    Skills []AgentcoreHarnessSkillArgs
    Skill configurations. See skill below.
    SystemPrompts []AgentcoreHarnessSystemPromptArgs
    System prompt blocks for the harness. See systemPrompt below.
    Tags map[string]string
    Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    TimeoutSeconds int
    Timeout in seconds for the harness execution.
    Timeouts AgentcoreHarnessTimeoutsArgs
    Tools []AgentcoreHarnessToolArgs
    Tool configurations. See tool below.
    Truncations []AgentcoreHarnessTruncationArgs
    Truncation configuration for conversation history. See truncation below.
    execution_role_arn string
    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 model below.

    The following arguments are optional:

    allowed_tools list(string)
    List of tool names allowed for the harness. Use ["*"] to allow all tools.
    authorizer_configuration object
    Authorization configuration for authenticating requests. See authorizerConfiguration below.
    environment_artifact object
    Environment artifact configuration. See environmentArtifact below.
    environment_variables map(string)
    Map of environment variables.
    environments list(object)
    Compute environment configuration. See environment below.
    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 memory below.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    skills list(object)
    Skill configurations. See skill below.
    system_prompts list(object)
    System prompt blocks for the harness. See systemPrompt below.
    tags map(string)
    Key-value map of resource tags. If configured with a provider defaultTags configuration 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 tool below.
    truncations list(object)
    Truncation configuration for conversation history. See truncation below.
    executionRoleArn String
    ARN of the IAM role that the harness assumes to access AWS services.
    harnessName String
    Name of the harness. Must be 1-40 characters, alphanumeric and underscores only.
    model AgentcoreHarnessModel

    Model configuration for the harness. See model below.

    The following arguments are optional:

    allowedTools List<String>
    List of tool names allowed for the harness. Use ["*"] to allow all tools.
    authorizerConfiguration AgentcoreHarnessAuthorizerConfiguration
    Authorization configuration for authenticating requests. See authorizerConfiguration below.
    environmentArtifact AgentcoreHarnessEnvironmentArtifact
    Environment artifact configuration. See environmentArtifact below.
    environmentVariables Map<String,String>
    Map of environment variables.
    environments List<AgentcoreHarnessEnvironment>
    Compute environment configuration. See environment below.
    maxIterations Integer
    Maximum number of iterations the agent loop can perform.
    maxTokens Integer
    Maximum number of tokens in the model response.
    memory AgentcoreHarnessMemory
    Memory configuration. See memory below.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    skills List<AgentcoreHarnessSkill>
    Skill configurations. See skill below.
    systemPrompts List<AgentcoreHarnessSystemPrompt>
    System prompt blocks for the harness. See systemPrompt below.
    tags Map<String,String>
    Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    timeoutSeconds Integer
    Timeout in seconds for the harness execution.
    timeouts AgentcoreHarnessTimeouts
    tools List<AgentcoreHarnessTool>
    Tool configurations. See tool below.
    truncations List<AgentcoreHarnessTruncation>
    Truncation configuration for conversation history. See truncation below.
    executionRoleArn string
    ARN of the IAM role that the harness assumes to access AWS services.
    harnessName string
    Name of the harness. Must be 1-40 characters, alphanumeric and underscores only.
    model AgentcoreHarnessModel

    Model configuration for the harness. See model below.

    The following arguments are optional:

    allowedTools string[]
    List of tool names allowed for the harness. Use ["*"] to allow all tools.
    authorizerConfiguration AgentcoreHarnessAuthorizerConfiguration
    Authorization configuration for authenticating requests. See authorizerConfiguration below.
    environmentArtifact AgentcoreHarnessEnvironmentArtifact
    Environment artifact configuration. See environmentArtifact below.
    environmentVariables {[key: string]: string}
    Map of environment variables.
    environments AgentcoreHarnessEnvironment[]
    Compute environment configuration. See environment below.
    maxIterations number
    Maximum number of iterations the agent loop can perform.
    maxTokens number
    Maximum number of tokens in the model response.
    memory AgentcoreHarnessMemory
    Memory configuration. See memory below.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    skills AgentcoreHarnessSkill[]
    Skill configurations. See skill below.
    systemPrompts AgentcoreHarnessSystemPrompt[]
    System prompt blocks for the harness. See systemPrompt below.
    tags {[key: string]: string}
    Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    timeoutSeconds number
    Timeout in seconds for the harness execution.
    timeouts AgentcoreHarnessTimeouts
    tools AgentcoreHarnessTool[]
    Tool configurations. See tool below.
    truncations AgentcoreHarnessTruncation[]
    Truncation configuration for conversation history. See truncation below.
    execution_role_arn str
    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 AgentcoreHarnessModelArgs

    Model configuration for the harness. See model below.

    The following arguments are optional:

    allowed_tools Sequence[str]
    List of tool names allowed for the harness. Use ["*"] to allow all tools.
    authorizer_configuration AgentcoreHarnessAuthorizerConfigurationArgs
    Authorization configuration for authenticating requests. See authorizerConfiguration below.
    environment_artifact AgentcoreHarnessEnvironmentArtifactArgs
    Environment artifact configuration. See environmentArtifact below.
    environment_variables Mapping[str, str]
    Map of environment variables.
    environments Sequence[AgentcoreHarnessEnvironmentArgs]
    Compute environment configuration. See environment below.
    max_iterations int
    Maximum number of iterations the agent loop can perform.
    max_tokens int
    Maximum number of tokens in the model response.
    memory AgentcoreHarnessMemoryArgs
    Memory configuration. See memory below.
    region str
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    skills Sequence[AgentcoreHarnessSkillArgs]
    Skill configurations. See skill below.
    system_prompts Sequence[AgentcoreHarnessSystemPromptArgs]
    System prompt blocks for the harness. See systemPrompt below.
    tags Mapping[str, str]
    Key-value map of resource tags. If configured with a provider defaultTags configuration 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 AgentcoreHarnessTimeoutsArgs
    tools Sequence[AgentcoreHarnessToolArgs]
    Tool configurations. See tool below.
    truncations Sequence[AgentcoreHarnessTruncationArgs]
    Truncation configuration for conversation history. See truncation below.
    executionRoleArn String
    ARN of the IAM role that the harness assumes to access AWS services.
    harnessName String
    Name of the harness. Must be 1-40 characters, alphanumeric and underscores only.
    model Property Map

    Model configuration for the harness. See model below.

    The following arguments are optional:

    allowedTools List<String>
    List of tool names allowed for the harness. Use ["*"] to allow all tools.
    authorizerConfiguration Property Map
    Authorization configuration for authenticating requests. See authorizerConfiguration below.
    environmentArtifact Property Map
    Environment artifact configuration. See environmentArtifact below.
    environmentVariables Map<String>
    Map of environment variables.
    environments List<Property Map>
    Compute environment configuration. See environment below.
    maxIterations Number
    Maximum number of iterations the agent loop can perform.
    maxTokens Number
    Maximum number of tokens in the model response.
    memory Property Map
    Memory configuration. See memory below.
    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 skill below.
    systemPrompts List<Property Map>
    System prompt blocks for the harness. See systemPrompt below.
    tags Map<String>
    Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    timeoutSeconds Number
    Timeout in seconds for the harness execution.
    timeouts Property Map
    tools List<Property Map>
    Tool configurations. See tool below.
    truncations List<Property Map>
    Truncation configuration for conversation history. See truncation below.

    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.
    HarnessId string
    Unique identifier of the Harness.
    Id string
    The provider-assigned unique ID for this managed resource.
    TagsAll Dictionary<string, string>
    A map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    Arn string
    ARN of the Harness.
    HarnessId string
    Unique identifier of the Harness.
    Id string
    The provider-assigned unique ID for this managed resource.
    TagsAll map[string]string
    A map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    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.
    tags_all map(string)
    A map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    arn String
    ARN of the Harness.
    harnessId String
    Unique identifier of the Harness.
    id String
    The provider-assigned unique ID for this managed resource.
    tagsAll Map<String,String>
    A map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    arn string
    ARN of the Harness.
    harnessId string
    Unique identifier of the Harness.
    id string
    The provider-assigned unique ID for this managed resource.
    tagsAll {[key: string]: string}
    A map of tags assigned to the resource, including those inherited from the provider defaultTags configuration 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.
    tags_all Mapping[str, str]
    A map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    arn String
    ARN of the Harness.
    harnessId String
    Unique identifier of the Harness.
    id String
    The provider-assigned unique ID for this managed resource.
    tagsAll Map<String>
    A map of tags assigned to the resource, including those inherited from the provider defaultTags configuration 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) -> AgentcoreHarness
    func 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.
    The following state arguments are supported:
    AllowedTools List<string>
    List of tool names allowed for the harness. Use ["*"] to allow all tools.
    Arn string
    ARN of the Harness.
    AuthorizerConfiguration AgentcoreHarnessAuthorizerConfiguration
    Authorization configuration for authenticating requests. See authorizerConfiguration below.
    EnvironmentArtifact AgentcoreHarnessEnvironmentArtifact
    Environment artifact configuration. See environmentArtifact below.
    EnvironmentVariables Dictionary<string, string>
    Map of environment variables.
    Environments List<AgentcoreHarnessEnvironment>
    Compute environment configuration. See environment below.
    ExecutionRoleArn string
    ARN of the IAM role that the harness assumes to access AWS services.
    HarnessId string
    Unique identifier of the Harness.
    HarnessName string
    Name of the harness. Must be 1-40 characters, alphanumeric and underscores only.
    MaxIterations int
    Maximum number of iterations the agent loop can perform.
    MaxTokens int
    Maximum number of tokens in the model response.
    Memory AgentcoreHarnessMemory
    Memory configuration. See memory below.
    Model AgentcoreHarnessModel

    Model configuration for the harness. See model below.

    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<AgentcoreHarnessSkill>
    Skill configurations. See skill below.
    SystemPrompts List<AgentcoreHarnessSystemPrompt>
    System prompt blocks for the harness. See systemPrompt below.
    Tags Dictionary<string, string>
    Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    TagsAll Dictionary<string, string>
    A map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    TimeoutSeconds int
    Timeout in seconds for the harness execution.
    Timeouts AgentcoreHarnessTimeouts
    Tools List<AgentcoreHarnessTool>
    Tool configurations. See tool below.
    Truncations List<AgentcoreHarnessTruncation>
    Truncation configuration for conversation history. See truncation below.
    AllowedTools []string
    List of tool names allowed for the harness. Use ["*"] to allow all tools.
    Arn string
    ARN of the Harness.
    AuthorizerConfiguration AgentcoreHarnessAuthorizerConfigurationArgs
    Authorization configuration for authenticating requests. See authorizerConfiguration below.
    EnvironmentArtifact AgentcoreHarnessEnvironmentArtifactArgs
    Environment artifact configuration. See environmentArtifact below.
    EnvironmentVariables map[string]string
    Map of environment variables.
    Environments []AgentcoreHarnessEnvironmentArgs
    Compute environment configuration. See environment below.
    ExecutionRoleArn string
    ARN of the IAM role that the harness assumes to access AWS services.
    HarnessId string
    Unique identifier of the Harness.
    HarnessName string
    Name of the harness. Must be 1-40 characters, alphanumeric and underscores only.
    MaxIterations int
    Maximum number of iterations the agent loop can perform.
    MaxTokens int
    Maximum number of tokens in the model response.
    Memory AgentcoreHarnessMemoryArgs
    Memory configuration. See memory below.
    Model AgentcoreHarnessModelArgs

    Model configuration for the harness. See model below.

    The following arguments are optional:

    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    Skills []AgentcoreHarnessSkillArgs
    Skill configurations. See skill below.
    SystemPrompts []AgentcoreHarnessSystemPromptArgs
    System prompt blocks for the harness. See systemPrompt below.
    Tags map[string]string
    Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    TagsAll map[string]string
    A map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    TimeoutSeconds int
    Timeout in seconds for the harness execution.
    Timeouts AgentcoreHarnessTimeoutsArgs
    Tools []AgentcoreHarnessToolArgs
    Tool configurations. See tool below.
    Truncations []AgentcoreHarnessTruncationArgs
    Truncation configuration for conversation history. See truncation below.
    allowed_tools list(string)
    List of tool names allowed for the harness. Use ["*"] to allow all tools.
    arn string
    ARN of the Harness.
    authorizer_configuration object
    Authorization configuration for authenticating requests. See authorizerConfiguration below.
    environment_artifact object
    Environment artifact configuration. See environmentArtifact below.
    environment_variables map(string)
    Map of environment variables.
    environments list(object)
    Compute environment configuration. See environment below.
    execution_role_arn string
    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 memory below.
    model object

    Model configuration for the harness. See model below.

    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 skill below.
    system_prompts list(object)
    System prompt blocks for the harness. See systemPrompt below.
    tags map(string)
    Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tags_all map(string)
    A map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    timeout_seconds number
    Timeout in seconds for the harness execution.
    timeouts object
    tools list(object)
    Tool configurations. See tool below.
    truncations list(object)
    Truncation configuration for conversation history. See truncation below.
    allowedTools List<String>
    List of tool names allowed for the harness. Use ["*"] to allow all tools.
    arn String
    ARN of the Harness.
    authorizerConfiguration AgentcoreHarnessAuthorizerConfiguration
    Authorization configuration for authenticating requests. See authorizerConfiguration below.
    environmentArtifact AgentcoreHarnessEnvironmentArtifact
    Environment artifact configuration. See environmentArtifact below.
    environmentVariables Map<String,String>
    Map of environment variables.
    environments List<AgentcoreHarnessEnvironment>
    Compute environment configuration. See environment below.
    executionRoleArn String
    ARN of the IAM role that the harness assumes to access AWS services.
    harnessId String
    Unique identifier of the Harness.
    harnessName String
    Name of the harness. Must be 1-40 characters, alphanumeric and underscores only.
    maxIterations Integer
    Maximum number of iterations the agent loop can perform.
    maxTokens Integer
    Maximum number of tokens in the model response.
    memory AgentcoreHarnessMemory
    Memory configuration. See memory below.
    model AgentcoreHarnessModel

    Model configuration for the harness. See model below.

    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<AgentcoreHarnessSkill>
    Skill configurations. See skill below.
    systemPrompts List<AgentcoreHarnessSystemPrompt>
    System prompt blocks for the harness. See systemPrompt below.
    tags Map<String,String>
    Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tagsAll Map<String,String>
    A map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    timeoutSeconds Integer
    Timeout in seconds for the harness execution.
    timeouts AgentcoreHarnessTimeouts
    tools List<AgentcoreHarnessTool>
    Tool configurations. See tool below.
    truncations List<AgentcoreHarnessTruncation>
    Truncation configuration for conversation history. See truncation below.
    allowedTools string[]
    List of tool names allowed for the harness. Use ["*"] to allow all tools.
    arn string
    ARN of the Harness.
    authorizerConfiguration AgentcoreHarnessAuthorizerConfiguration
    Authorization configuration for authenticating requests. See authorizerConfiguration below.
    environmentArtifact AgentcoreHarnessEnvironmentArtifact
    Environment artifact configuration. See environmentArtifact below.
    environmentVariables {[key: string]: string}
    Map of environment variables.
    environments AgentcoreHarnessEnvironment[]
    Compute environment configuration. See environment below.
    executionRoleArn string
    ARN of the IAM role that the harness assumes to access AWS services.
    harnessId string
    Unique identifier of the Harness.
    harnessName string
    Name of the harness. Must be 1-40 characters, alphanumeric and underscores only.
    maxIterations number
    Maximum number of iterations the agent loop can perform.
    maxTokens number
    Maximum number of tokens in the model response.
    memory AgentcoreHarnessMemory
    Memory configuration. See memory below.
    model AgentcoreHarnessModel

    Model configuration for the harness. See model below.

    The following arguments are optional:

    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    skills AgentcoreHarnessSkill[]
    Skill configurations. See skill below.
    systemPrompts AgentcoreHarnessSystemPrompt[]
    System prompt blocks for the harness. See systemPrompt below.
    tags {[key: string]: string}
    Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tagsAll {[key: string]: string}
    A map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    timeoutSeconds number
    Timeout in seconds for the harness execution.
    timeouts AgentcoreHarnessTimeouts
    tools AgentcoreHarnessTool[]
    Tool configurations. See tool below.
    truncations AgentcoreHarnessTruncation[]
    Truncation configuration for conversation history. See truncation below.
    allowed_tools Sequence[str]
    List of tool names allowed for the harness. Use ["*"] to allow all tools.
    arn str
    ARN of the Harness.
    authorizer_configuration AgentcoreHarnessAuthorizerConfigurationArgs
    Authorization configuration for authenticating requests. See authorizerConfiguration below.
    environment_artifact AgentcoreHarnessEnvironmentArtifactArgs
    Environment artifact configuration. See environmentArtifact below.
    environment_variables Mapping[str, str]
    Map of environment variables.
    environments Sequence[AgentcoreHarnessEnvironmentArgs]
    Compute environment configuration. See environment below.
    execution_role_arn str
    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 AgentcoreHarnessMemoryArgs
    Memory configuration. See memory below.
    model AgentcoreHarnessModelArgs

    Model configuration for the harness. See model below.

    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[AgentcoreHarnessSkillArgs]
    Skill configurations. See skill below.
    system_prompts Sequence[AgentcoreHarnessSystemPromptArgs]
    System prompt blocks for the harness. See systemPrompt below.
    tags Mapping[str, str]
    Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tags_all Mapping[str, str]
    A map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    timeout_seconds int
    Timeout in seconds for the harness execution.
    timeouts AgentcoreHarnessTimeoutsArgs
    tools Sequence[AgentcoreHarnessToolArgs]
    Tool configurations. See tool below.
    truncations Sequence[AgentcoreHarnessTruncationArgs]
    Truncation configuration for conversation history. See truncation below.
    allowedTools List<String>
    List of tool names allowed for the harness. Use ["*"] to allow all tools.
    arn String
    ARN of the Harness.
    authorizerConfiguration Property Map
    Authorization configuration for authenticating requests. See authorizerConfiguration below.
    environmentArtifact Property Map
    Environment artifact configuration. See environmentArtifact below.
    environmentVariables Map<String>
    Map of environment variables.
    environments List<Property Map>
    Compute environment configuration. See environment below.
    executionRoleArn String
    ARN of the IAM role that the harness assumes to access AWS services.
    harnessId String
    Unique identifier of the Harness.
    harnessName String
    Name of the harness. Must be 1-40 characters, alphanumeric and underscores only.
    maxIterations Number
    Maximum number of iterations the agent loop can perform.
    maxTokens Number
    Maximum number of tokens in the model response.
    memory Property Map
    Memory configuration. See memory below.
    model Property Map

    Model configuration for the harness. See model below.

    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 skill below.
    systemPrompts List<Property Map>
    System prompt blocks for the harness. See systemPrompt below.
    tags Map<String>
    Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tagsAll Map<String>
    A map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    timeoutSeconds Number
    Timeout in seconds for the harness execution.
    timeouts Property Map
    tools List<Property Map>
    Tool configurations. See tool below.
    truncations List<Property Map>
    Truncation configuration for conversation history. See truncation below.

    Supporting Types

    AgentcoreHarnessAuthorizerConfiguration, AgentcoreHarnessAuthorizerConfigurationArgs

    CustomJwtAuthorizer AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizer
    JWT-based authorization configuration block. See customJwtAuthorizer below.
    CustomJwtAuthorizer AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizer
    JWT-based authorization configuration block. See customJwtAuthorizer below.
    custom_jwt_authorizer object
    JWT-based authorization configuration block. See customJwtAuthorizer below.
    customJwtAuthorizer AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizer
    JWT-based authorization configuration block. See customJwtAuthorizer below.
    customJwtAuthorizer AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizer
    JWT-based authorization configuration block. See customJwtAuthorizer below.
    custom_jwt_authorizer AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizer
    JWT-based authorization configuration block. See customJwtAuthorizer below.
    customJwtAuthorizer Property Map
    JWT-based authorization configuration block. See customJwtAuthorizer below.

    AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizer, AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerArgs

    DiscoveryUrl string
    URL used to fetch OpenID Connect configuration or authorization server metadata. Must end with .well-known/openid-configuration.
    AllowedAudiences List<string>
    Set of allowed audience values for JWT token validation.
    AllowedClients List<string>
    Set of allowed client IDs for JWT token validation.
    AllowedScopes List<string>
    Set of scopes that are allowed to access the token.
    CustomClaims List<AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerCustomClaim>
    Repeatable block to define a custom claim validation name, value, and operation. See customClaim below.
    DiscoveryUrl string
    URL used to fetch OpenID Connect configuration or authorization server metadata. Must end with .well-known/openid-configuration.
    AllowedAudiences []string
    Set of allowed audience values for JWT token validation.
    AllowedClients []string
    Set of allowed client IDs for JWT token validation.
    AllowedScopes []string
    Set of scopes that are allowed to access the token.
    CustomClaims []AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerCustomClaim
    Repeatable block to define a custom claim validation name, value, and operation. See customClaim below.
    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 customClaim below.
    discoveryUrl String
    URL used to fetch OpenID Connect configuration or authorization server metadata. Must end with .well-known/openid-configuration.
    allowedAudiences List<String>
    Set of allowed audience values for JWT token validation.
    allowedClients List<String>
    Set of allowed client IDs for JWT token validation.
    allowedScopes List<String>
    Set of scopes that are allowed to access the token.
    customClaims List<AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerCustomClaim>
    Repeatable block to define a custom claim validation name, value, and operation. See customClaim below.
    discoveryUrl string
    URL used to fetch OpenID Connect configuration or authorization server metadata. Must end with .well-known/openid-configuration.
    allowedAudiences string[]
    Set of allowed audience values for JWT token validation.
    allowedClients string[]
    Set of allowed client IDs for JWT token validation.
    allowedScopes string[]
    Set of scopes that are allowed to access the token.
    customClaims AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerCustomClaim[]
    Repeatable block to define a custom claim validation name, value, and operation. See customClaim below.
    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[AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerCustomClaim]
    Repeatable block to define a custom claim validation name, value, and operation. See customClaim below.
    discoveryUrl String
    URL used to fetch OpenID Connect configuration or authorization server metadata. Must end with .well-known/openid-configuration.
    allowedAudiences List<String>
    Set of allowed audience values for JWT token validation.
    allowedClients List<String>
    Set of allowed client IDs for JWT token validation.
    allowedScopes List<String>
    Set of scopes that are allowed to access the token.
    customClaims List<Property Map>
    Repeatable block to define a custom claim validation name, value, and operation. See customClaim below.

    AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerCustomClaim, AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerCustomClaimArgs

    AuthorizingClaimMatchValue AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerCustomClaimAuthorizingClaimMatchValue
    Configuration block to define the value or values to match for and the relationship of the match. See authorizingClaimMatchValue below.
    InboundTokenClaimName string
    Name of the custom claim field to check.
    InboundTokenClaimValueType string
    Data type of the claim value to check for. Valid values are STRING and STRING_ARRAY.
    AuthorizingClaimMatchValue AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerCustomClaimAuthorizingClaimMatchValue
    Configuration block to define the value or values to match for and the relationship of the match. See authorizingClaimMatchValue below.
    InboundTokenClaimName string
    Name of the custom claim field to check.
    InboundTokenClaimValueType string
    Data type of the claim value to check for. Valid values are STRING and STRING_ARRAY.
    authorizing_claim_match_value object
    Configuration block to define the value or values to match for and the relationship of the match. See authorizingClaimMatchValue below.
    inbound_token_claim_name string
    Name of the custom claim field to check.
    inbound_token_claim_value_type string
    Data type of the claim value to check for. Valid values are STRING and STRING_ARRAY.
    authorizingClaimMatchValue AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerCustomClaimAuthorizingClaimMatchValue
    Configuration block to define the value or values to match for and the relationship of the match. See authorizingClaimMatchValue below.
    inboundTokenClaimName String
    Name of the custom claim field to check.
    inboundTokenClaimValueType String
    Data type of the claim value to check for. Valid values are STRING and STRING_ARRAY.
    authorizingClaimMatchValue AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerCustomClaimAuthorizingClaimMatchValue
    Configuration block to define the value or values to match for and the relationship of the match. See authorizingClaimMatchValue below.
    inboundTokenClaimName string
    Name of the custom claim field to check.
    inboundTokenClaimValueType string
    Data type of the claim value to check for. Valid values are STRING and STRING_ARRAY.
    authorizing_claim_match_value AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerCustomClaimAuthorizingClaimMatchValue
    Configuration block to define the value or values to match for and the relationship of the match. See authorizingClaimMatchValue below.
    inbound_token_claim_name str
    Name of the custom claim field to check.
    inbound_token_claim_value_type str
    Data type of the claim value to check for. Valid values are STRING and STRING_ARRAY.
    authorizingClaimMatchValue Property Map
    Configuration block to define the value or values to match for and the relationship of the match. See authorizingClaimMatchValue below.
    inboundTokenClaimName String
    Name of the custom claim field to check.
    inboundTokenClaimValueType String
    Data type of the claim value to check for. Valid values are STRING and STRING_ARRAY.

    AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerCustomClaimAuthorizingClaimMatchValue, AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerCustomClaimAuthorizingClaimMatchValueArgs

    ClaimMatchOperator string
    Relationship between the claim field value and the value or values to match for. Valid values are EQUALS, CONTAINS, and CONTAINS_ANY. EQUALS can be used only when inboundTokenClaimValueType is STRING. CONTAINS or CONTAINS_ANY can be used only when inboundTokenClaimValueType is STRING_ARRAY.
    ClaimMatchValue AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerCustomClaimAuthorizingClaimMatchValueClaimMatchValue
    Value or values to match for. See claimMatchValue below.
    ClaimMatchOperator string
    Relationship between the claim field value and the value or values to match for. Valid values are EQUALS, CONTAINS, and CONTAINS_ANY. EQUALS can be used only when inboundTokenClaimValueType is STRING. CONTAINS or CONTAINS_ANY can be used only when inboundTokenClaimValueType is STRING_ARRAY.
    ClaimMatchValue AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerCustomClaimAuthorizingClaimMatchValueClaimMatchValue
    Value or values to match for. See claimMatchValue below.
    claim_match_operator string
    Relationship between the claim field value and the value or values to match for. Valid values are EQUALS, CONTAINS, and CONTAINS_ANY. EQUALS can be used only when inboundTokenClaimValueType is STRING. CONTAINS or CONTAINS_ANY can be used only when inboundTokenClaimValueType is STRING_ARRAY.
    claim_match_value object
    Value or values to match for. See claimMatchValue below.
    claimMatchOperator String
    Relationship between the claim field value and the value or values to match for. Valid values are EQUALS, CONTAINS, and CONTAINS_ANY. EQUALS can be used only when inboundTokenClaimValueType is STRING. CONTAINS or CONTAINS_ANY can be used only when inboundTokenClaimValueType is STRING_ARRAY.
    claimMatchValue AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerCustomClaimAuthorizingClaimMatchValueClaimMatchValue
    Value or values to match for. See claimMatchValue below.
    claimMatchOperator string
    Relationship between the claim field value and the value or values to match for. Valid values are EQUALS, CONTAINS, and CONTAINS_ANY. EQUALS can be used only when inboundTokenClaimValueType is STRING. CONTAINS or CONTAINS_ANY can be used only when inboundTokenClaimValueType is STRING_ARRAY.
    claimMatchValue AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerCustomClaimAuthorizingClaimMatchValueClaimMatchValue
    Value or values to match for. See claimMatchValue below.
    claim_match_operator str
    Relationship between the claim field value and the value or values to match for. Valid values are EQUALS, CONTAINS, and CONTAINS_ANY. EQUALS can be used only when inboundTokenClaimValueType is STRING. CONTAINS or CONTAINS_ANY can be used only when inboundTokenClaimValueType is STRING_ARRAY.
    claim_match_value AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerCustomClaimAuthorizingClaimMatchValueClaimMatchValue
    Value or values to match for. See claimMatchValue below.
    claimMatchOperator String
    Relationship between the claim field value and the value or values to match for. Valid values are EQUALS, CONTAINS, and CONTAINS_ANY. EQUALS can be used only when inboundTokenClaimValueType is STRING. CONTAINS or CONTAINS_ANY can be used only when inboundTokenClaimValueType is STRING_ARRAY.
    claimMatchValue Property Map
    Value or values to match for. See claimMatchValue below.

    AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerCustomClaimAuthorizingClaimMatchValueClaimMatchValue, AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerCustomClaimAuthorizingClaimMatchValueClaimMatchValueArgs

    MatchValueString string
    String value to match for. Must be specified when claimMatchOperator is EQUALS or CONTAINS. Exactly one of matchValueString or matchValueStringList must be specified.
    MatchValueStringLists List<string>
    List of strings to check for a match. Must be specified when claimMatchOperator is CONTAINS_ANY. Exactly one of matchValueString or matchValueStringList must be specified.
    MatchValueString string
    String value to match for. Must be specified when claimMatchOperator is EQUALS or CONTAINS. Exactly one of matchValueString or matchValueStringList must be specified.
    MatchValueStringLists []string
    List of strings to check for a match. Must be specified when claimMatchOperator is CONTAINS_ANY. Exactly one of matchValueString or matchValueStringList must be specified.
    match_value_string string
    String value to match for. Must be specified when claimMatchOperator is EQUALS or CONTAINS. Exactly one of matchValueString or matchValueStringList must be specified.
    match_value_string_lists list(string)
    List of strings to check for a match. Must be specified when claimMatchOperator is CONTAINS_ANY. Exactly one of matchValueString or matchValueStringList must be specified.
    matchValueString String
    String value to match for. Must be specified when claimMatchOperator is EQUALS or CONTAINS. Exactly one of matchValueString or matchValueStringList must be specified.
    matchValueStringLists List<String>
    List of strings to check for a match. Must be specified when claimMatchOperator is CONTAINS_ANY. Exactly one of matchValueString or matchValueStringList must be specified.
    matchValueString string
    String value to match for. Must be specified when claimMatchOperator is EQUALS or CONTAINS. Exactly one of matchValueString or matchValueStringList must be specified.
    matchValueStringLists string[]
    List of strings to check for a match. Must be specified when claimMatchOperator is CONTAINS_ANY. Exactly one of matchValueString or matchValueStringList must be specified.
    match_value_string str
    String value to match for. Must be specified when claimMatchOperator is EQUALS or CONTAINS. Exactly one of matchValueString or matchValueStringList must be specified.
    match_value_string_lists Sequence[str]
    List of strings to check for a match. Must be specified when claimMatchOperator is CONTAINS_ANY. Exactly one of matchValueString or matchValueStringList must be specified.
    matchValueString String
    String value to match for. Must be specified when claimMatchOperator is EQUALS or CONTAINS. Exactly one of matchValueString or matchValueStringList must be specified.
    matchValueStringLists List<String>
    List of strings to check for a match. Must be specified when claimMatchOperator is CONTAINS_ANY. Exactly one of matchValueString or matchValueStringList must be specified.

    AgentcoreHarnessEnvironment, AgentcoreHarnessEnvironmentArgs

    AgentcoreRuntimeEnvironments List<AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironment>
    AgentCore runtime environment configuration. See agentcoreRuntimeEnvironment below.
    AgentcoreRuntimeEnvironments []AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironment
    AgentCore runtime environment configuration. See agentcoreRuntimeEnvironment below.
    agentcore_runtime_environments list(object)
    AgentCore runtime environment configuration. See agentcoreRuntimeEnvironment below.
    agentcoreRuntimeEnvironments List<AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironment>
    AgentCore runtime environment configuration. See agentcoreRuntimeEnvironment below.
    agentcoreRuntimeEnvironments AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironment[]
    AgentCore runtime environment configuration. See agentcoreRuntimeEnvironment below.
    agentcore_runtime_environments Sequence[AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironment]
    AgentCore runtime environment configuration. See agentcoreRuntimeEnvironment below.
    agentcoreRuntimeEnvironments List<Property Map>
    AgentCore runtime environment configuration. See agentcoreRuntimeEnvironment below.

    AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironment, AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentArgs

    agent_runtime_arn string
    agent_runtime_id string
    agent_runtime_name string
    filesystem_configurations list(object)
    Filesystem configurations. See filesystemConfiguration below.
    lifecycle_configurations list(object)
    Lifecycle configuration. See lifecycleConfiguration below.
    network_configurations list(object)
    Network configuration. See networkConfiguration below.
    agentRuntimeArn String
    agentRuntimeId String
    agentRuntimeName String
    filesystemConfigurations List<Property Map>
    Filesystem configurations. See filesystemConfiguration below.
    lifecycleConfigurations List<Property Map>
    Lifecycle configuration. See lifecycleConfiguration below.
    networkConfigurations List<Property Map>
    Network configuration. See networkConfiguration below.

    AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentFilesystemConfiguration, AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentFilesystemConfigurationArgs

    EfsAccessPoints List<AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentFilesystemConfigurationEfsAccessPoint>
    Amazon EFS access point to mount as shared file storage. Exactly one of sessionStorage, s3FilesAccessPoint, or efsAccessPoint must be specified. See efsAccessPoint below.
    S3FilesAccessPoints List<AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentFilesystemConfigurationS3FilesAccessPoint>
    Amazon S3 Files access point to mount as shared file storage. Exactly one of sessionStorage, s3FilesAccessPoint, or efsAccessPoint must be specified. See s3FilesAccessPoint below.
    SessionStorages List<AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentFilesystemConfigurationSessionStorage>
    Session storage filesystem providing persistent storage across agent runtime session invocations. Exactly one of sessionStorage, s3FilesAccessPoint, or efsAccessPoint must be specified. See sessionStorage below.
    EfsAccessPoints []AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentFilesystemConfigurationEfsAccessPoint
    Amazon EFS access point to mount as shared file storage. Exactly one of sessionStorage, s3FilesAccessPoint, or efsAccessPoint must be specified. See efsAccessPoint below.
    S3FilesAccessPoints []AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentFilesystemConfigurationS3FilesAccessPoint
    Amazon S3 Files access point to mount as shared file storage. Exactly one of sessionStorage, s3FilesAccessPoint, or efsAccessPoint must be specified. See s3FilesAccessPoint below.
    SessionStorages []AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentFilesystemConfigurationSessionStorage
    Session storage filesystem providing persistent storage across agent runtime session invocations. Exactly one of sessionStorage, s3FilesAccessPoint, or efsAccessPoint must be specified. See sessionStorage below.
    efs_access_points list(object)
    Amazon EFS access point to mount as shared file storage. Exactly one of sessionStorage, s3FilesAccessPoint, or efsAccessPoint must be specified. See efsAccessPoint below.
    s3_files_access_points list(object)
    Amazon S3 Files access point to mount as shared file storage. Exactly one of sessionStorage, s3FilesAccessPoint, or efsAccessPoint must be specified. See s3FilesAccessPoint below.
    session_storages list(object)
    Session storage filesystem providing persistent storage across agent runtime session invocations. Exactly one of sessionStorage, s3FilesAccessPoint, or efsAccessPoint must be specified. See sessionStorage below.
    efsAccessPoints List<AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentFilesystemConfigurationEfsAccessPoint>
    Amazon EFS access point to mount as shared file storage. Exactly one of sessionStorage, s3FilesAccessPoint, or efsAccessPoint must be specified. See efsAccessPoint below.
    s3FilesAccessPoints List<AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentFilesystemConfigurationS3FilesAccessPoint>
    Amazon S3 Files access point to mount as shared file storage. Exactly one of sessionStorage, s3FilesAccessPoint, or efsAccessPoint must be specified. See s3FilesAccessPoint below.
    sessionStorages List<AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentFilesystemConfigurationSessionStorage>
    Session storage filesystem providing persistent storage across agent runtime session invocations. Exactly one of sessionStorage, s3FilesAccessPoint, or efsAccessPoint must be specified. See sessionStorage below.
    efsAccessPoints AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentFilesystemConfigurationEfsAccessPoint[]
    Amazon EFS access point to mount as shared file storage. Exactly one of sessionStorage, s3FilesAccessPoint, or efsAccessPoint must be specified. See efsAccessPoint below.
    s3FilesAccessPoints AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentFilesystemConfigurationS3FilesAccessPoint[]
    Amazon S3 Files access point to mount as shared file storage. Exactly one of sessionStorage, s3FilesAccessPoint, or efsAccessPoint must be specified. See s3FilesAccessPoint below.
    sessionStorages AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentFilesystemConfigurationSessionStorage[]
    Session storage filesystem providing persistent storage across agent runtime session invocations. Exactly one of sessionStorage, s3FilesAccessPoint, or efsAccessPoint must be specified. See sessionStorage below.
    efs_access_points Sequence[AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentFilesystemConfigurationEfsAccessPoint]
    Amazon EFS access point to mount as shared file storage. Exactly one of sessionStorage, s3FilesAccessPoint, or efsAccessPoint must be specified. See efsAccessPoint below.
    s3_files_access_points Sequence[AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentFilesystemConfigurationS3FilesAccessPoint]
    Amazon S3 Files access point to mount as shared file storage. Exactly one of sessionStorage, s3FilesAccessPoint, or efsAccessPoint must be specified. See s3FilesAccessPoint below.
    session_storages Sequence[AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentFilesystemConfigurationSessionStorage]
    Session storage filesystem providing persistent storage across agent runtime session invocations. Exactly one of sessionStorage, s3FilesAccessPoint, or efsAccessPoint must be specified. See sessionStorage below.
    efsAccessPoints List<Property Map>
    Amazon EFS access point to mount as shared file storage. Exactly one of sessionStorage, s3FilesAccessPoint, or efsAccessPoint must be specified. See efsAccessPoint below.
    s3FilesAccessPoints List<Property Map>
    Amazon S3 Files access point to mount as shared file storage. Exactly one of sessionStorage, s3FilesAccessPoint, or efsAccessPoint must be specified. See s3FilesAccessPoint below.
    sessionStorages List<Property Map>
    Session storage filesystem providing persistent storage across agent runtime session invocations. Exactly one of sessionStorage, s3FilesAccessPoint, or efsAccessPoint must be specified. See sessionStorage below.

    AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentFilesystemConfigurationEfsAccessPoint, AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentFilesystemConfigurationEfsAccessPointArgs

    AccessPointArn string
    ARN of the Amazon EFS access point to mount into the agent runtime.
    MountPath string
    Mount path for the EFS access point inside the agent runtime. Must be under /mnt with exactly one subdirectory level (for example, /mnt/data).
    AccessPointArn string
    ARN of the Amazon EFS access point to mount into the agent runtime.
    MountPath string
    Mount path for the EFS access point inside the agent runtime. Must be under /mnt with exactly one subdirectory level (for example, /mnt/data).
    access_point_arn string
    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 /mnt with exactly one subdirectory level (for example, /mnt/data).
    accessPointArn String
    ARN of the Amazon EFS access point to mount into the agent runtime.
    mountPath String
    Mount path for the EFS access point inside the agent runtime. Must be under /mnt with exactly one subdirectory level (for example, /mnt/data).
    accessPointArn string
    ARN of the Amazon EFS access point to mount into the agent runtime.
    mountPath string
    Mount path for the EFS access point inside the agent runtime. Must be under /mnt with exactly one subdirectory level (for example, /mnt/data).
    access_point_arn str
    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 /mnt with exactly one subdirectory level (for example, /mnt/data).
    accessPointArn String
    ARN of the Amazon EFS access point to mount into the agent runtime.
    mountPath String
    Mount path for the EFS access point inside the agent runtime. Must be under /mnt with exactly one subdirectory level (for example, /mnt/data).

    AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentFilesystemConfigurationS3FilesAccessPoint, AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentFilesystemConfigurationS3FilesAccessPointArgs

    AccessPointArn string
    ARN of the Amazon S3 Files access point to mount into the agent runtime.
    MountPath string
    Mount path for the S3 Files access point inside the agent runtime. Must be under /mnt with exactly one subdirectory level (for example, /mnt/data).
    AccessPointArn string
    ARN of the Amazon S3 Files access point to mount into the agent runtime.
    MountPath string
    Mount path for the S3 Files access point inside the agent runtime. Must be under /mnt with exactly one subdirectory level (for example, /mnt/data).
    access_point_arn string
    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 /mnt with exactly one subdirectory level (for example, /mnt/data).
    accessPointArn String
    ARN of the Amazon S3 Files access point to mount into the agent runtime.
    mountPath String
    Mount path for the S3 Files access point inside the agent runtime. Must be under /mnt with exactly one subdirectory level (for example, /mnt/data).
    accessPointArn string
    ARN of the Amazon S3 Files access point to mount into the agent runtime.
    mountPath string
    Mount path for the S3 Files access point inside the agent runtime. Must be under /mnt with exactly one subdirectory level (for example, /mnt/data).
    access_point_arn str
    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 /mnt with exactly one subdirectory level (for example, /mnt/data).
    accessPointArn String
    ARN of the Amazon S3 Files access point to mount into the agent runtime.
    mountPath String
    Mount path for the S3 Files access point inside the agent runtime. Must be under /mnt with exactly one subdirectory level (for example, /mnt/data).

    AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentFilesystemConfigurationSessionStorage, AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentFilesystemConfigurationSessionStorageArgs

    MountPath string
    Mount path for the session storage filesystem inside the agent runtime. Must be under /mnt with exactly one subdirectory level (for example, /mnt/data).
    MountPath string
    Mount path for the session storage filesystem inside the agent runtime. Must be under /mnt with 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 /mnt with exactly one subdirectory level (for example, /mnt/data).
    mountPath String
    Mount path for the session storage filesystem inside the agent runtime. Must be under /mnt with exactly one subdirectory level (for example, /mnt/data).
    mountPath string
    Mount path for the session storage filesystem inside the agent runtime. Must be under /mnt with 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 /mnt with exactly one subdirectory level (for example, /mnt/data).
    mountPath String
    Mount path for the session storage filesystem inside the agent runtime. Must be under /mnt with exactly one subdirectory level (for example, /mnt/data).

    AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentLifecycleConfiguration, AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentLifecycleConfigurationArgs

    IdleRuntimeSessionTimeout int
    Timeout in seconds for idle sessions.
    MaxLifetime int
    Maximum lifetime of the instance in seconds.
    IdleRuntimeSessionTimeout int
    Timeout in seconds for idle sessions.
    MaxLifetime int
    Maximum lifetime of the instance in seconds.
    idle_runtime_session_timeout number
    Timeout in seconds for idle sessions.
    max_lifetime number
    Maximum lifetime of the instance in seconds.
    idleRuntimeSessionTimeout Integer
    Timeout in seconds for idle sessions.
    maxLifetime Integer
    Maximum lifetime of the instance in seconds.
    idleRuntimeSessionTimeout number
    Timeout in seconds for idle sessions.
    maxLifetime number
    Maximum lifetime of the instance in seconds.
    idle_runtime_session_timeout int
    Timeout in seconds for idle sessions.
    max_lifetime int
    Maximum lifetime of the instance in seconds.
    idleRuntimeSessionTimeout Number
    Timeout in seconds for idle sessions.
    maxLifetime Number
    Maximum lifetime of the instance in seconds.

    AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentNetworkConfiguration, AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentNetworkConfigurationArgs

    NetworkMode string
    Network mode. Valid values: PUBLIC, VPC.
    NetworkModeConfigs List<AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentNetworkConfigurationNetworkModeConfig>
    VPC configuration. See networkModeConfig below.
    NetworkMode string
    Network mode. Valid values: PUBLIC, VPC.
    NetworkModeConfigs []AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentNetworkConfigurationNetworkModeConfig
    VPC configuration. See networkModeConfig below.
    network_mode string
    Network mode. Valid values: PUBLIC, VPC.
    network_mode_configs list(object)
    VPC configuration. See networkModeConfig below.
    networkMode String
    Network mode. Valid values: PUBLIC, VPC.
    networkModeConfigs List<AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentNetworkConfigurationNetworkModeConfig>
    VPC configuration. See networkModeConfig below.
    networkMode string
    Network mode. Valid values: PUBLIC, VPC.
    networkModeConfigs AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentNetworkConfigurationNetworkModeConfig[]
    VPC configuration. See networkModeConfig below.
    network_mode str
    Network mode. Valid values: PUBLIC, VPC.
    network_mode_configs Sequence[AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentNetworkConfigurationNetworkModeConfig]
    VPC configuration. See networkModeConfig below.
    networkMode String
    Network mode. Valid values: PUBLIC, VPC.
    networkModeConfigs List<Property Map>
    VPC configuration. See networkModeConfig below.

    AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentNetworkConfigurationNetworkModeConfig, AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentNetworkConfigurationNetworkModeConfigArgs

    SecurityGroups List<string>
    Security groups for the VPC.
    Subnets List<string>
    Subnets for the VPC.
    SecurityGroups []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.
    securityGroups List<String>
    Security groups for the VPC.
    subnets List<String>
    Subnets for the VPC.
    securityGroups 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.
    securityGroups List<String>
    Security groups for the VPC.
    subnets List<String>
    Subnets for the VPC.

    AgentcoreHarnessEnvironmentArtifact, AgentcoreHarnessEnvironmentArtifactArgs

    ContainerConfiguration AgentcoreHarnessEnvironmentArtifactContainerConfiguration
    Container configuration. See containerConfiguration below.
    ContainerConfiguration AgentcoreHarnessEnvironmentArtifactContainerConfiguration
    Container configuration. See containerConfiguration below.
    container_configuration object
    Container configuration. See containerConfiguration below.
    containerConfiguration AgentcoreHarnessEnvironmentArtifactContainerConfiguration
    Container configuration. See containerConfiguration below.
    containerConfiguration AgentcoreHarnessEnvironmentArtifactContainerConfiguration
    Container configuration. See containerConfiguration below.
    container_configuration AgentcoreHarnessEnvironmentArtifactContainerConfiguration
    Container configuration. See containerConfiguration below.
    containerConfiguration Property Map
    Container configuration. See containerConfiguration below.

    AgentcoreHarnessEnvironmentArtifactContainerConfiguration, AgentcoreHarnessEnvironmentArtifactContainerConfigurationArgs

    ContainerUri string
    URI of the container image.
    ContainerUri string
    URI of the container image.
    container_uri string
    URI of the container image.
    containerUri String
    URI of the container image.
    containerUri string
    URI of the container image.
    container_uri str
    URI of the container image.
    containerUri String
    URI of the container image.

    AgentcoreHarnessMemory, AgentcoreHarnessMemoryArgs

    AgentcoreMemoryConfiguration AgentcoreHarnessMemoryAgentcoreMemoryConfiguration
    AgentCore memory configuration. See agentcoreMemoryConfiguration below.
    AgentcoreMemoryConfiguration AgentcoreHarnessMemoryAgentcoreMemoryConfiguration
    AgentCore memory configuration. See agentcoreMemoryConfiguration below.
    agentcore_memory_configuration object
    AgentCore memory configuration. See agentcoreMemoryConfiguration below.
    agentcoreMemoryConfiguration AgentcoreHarnessMemoryAgentcoreMemoryConfiguration
    AgentCore memory configuration. See agentcoreMemoryConfiguration below.
    agentcoreMemoryConfiguration AgentcoreHarnessMemoryAgentcoreMemoryConfiguration
    AgentCore memory configuration. See agentcoreMemoryConfiguration below.
    agentcore_memory_configuration AgentcoreHarnessMemoryAgentcoreMemoryConfiguration
    AgentCore memory configuration. See agentcoreMemoryConfiguration below.
    agentcoreMemoryConfiguration Property Map
    AgentCore memory configuration. See agentcoreMemoryConfiguration below.

    AgentcoreHarnessMemoryAgentcoreMemoryConfiguration, AgentcoreHarnessMemoryAgentcoreMemoryConfigurationArgs

    Arn string
    ARN of the AgentCore memory resource.
    ActorId string
    Actor ID for memory sessions.
    MessagesCount int
    Number of messages to retrieve from memory.
    RetrievalConfig AgentcoreHarnessMemoryAgentcoreMemoryConfigurationRetrievalConfig
    Retrieval configuration parameters. See retrievalConfig below.
    Arn string
    ARN of the AgentCore memory resource.
    ActorId string
    Actor ID for memory sessions.
    MessagesCount int
    Number of messages to retrieve from memory.
    RetrievalConfig AgentcoreHarnessMemoryAgentcoreMemoryConfigurationRetrievalConfig
    Retrieval configuration parameters. See retrievalConfig below.
    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 retrievalConfig below.
    arn String
    ARN of the AgentCore memory resource.
    actorId String
    Actor ID for memory sessions.
    messagesCount Integer
    Number of messages to retrieve from memory.
    retrievalConfig AgentcoreHarnessMemoryAgentcoreMemoryConfigurationRetrievalConfig
    Retrieval configuration parameters. See retrievalConfig below.
    arn string
    ARN of the AgentCore memory resource.
    actorId string
    Actor ID for memory sessions.
    messagesCount number
    Number of messages to retrieve from memory.
    retrievalConfig AgentcoreHarnessMemoryAgentcoreMemoryConfigurationRetrievalConfig
    Retrieval configuration parameters. See retrievalConfig below.
    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 AgentcoreHarnessMemoryAgentcoreMemoryConfigurationRetrievalConfig
    Retrieval configuration parameters. See retrievalConfig below.
    arn String
    ARN of the AgentCore memory resource.
    actorId String
    Actor ID for memory sessions.
    messagesCount Number
    Number of messages to retrieve from memory.
    retrievalConfig Property Map
    Retrieval configuration parameters. See retrievalConfig below.

    AgentcoreHarnessMemoryAgentcoreMemoryConfigurationRetrievalConfig, AgentcoreHarnessMemoryAgentcoreMemoryConfigurationRetrievalConfigArgs

    MapBlockKey string
    Key for the retrieval configuration map block.
    RelevanceScore double
    Relevance score threshold. Valid value is between 0 and 1.
    StrategyId string
    ID of the memory strategy.
    TopK int
    Number of top results to retrieve.
    MapBlockKey string
    Key for the retrieval configuration map block.
    RelevanceScore float64
    Relevance score threshold. Valid value is between 0 and 1.
    StrategyId string
    ID of the memory strategy.
    TopK int
    Number of top results to retrieve.
    map_block_key string
    Key for the retrieval configuration map block.
    relevance_score number
    Relevance score threshold. Valid value is between 0 and 1.
    strategy_id string
    ID of the memory strategy.
    top_k number
    Number of top results to retrieve.
    mapBlockKey String
    Key for the retrieval configuration map block.
    relevanceScore Double
    Relevance score threshold. Valid value is between 0 and 1.
    strategyId String
    ID of the memory strategy.
    topK Integer
    Number of top results to retrieve.
    mapBlockKey string
    Key for the retrieval configuration map block.
    relevanceScore number
    Relevance score threshold. Valid value is between 0 and 1.
    strategyId string
    ID of the memory strategy.
    topK number
    Number of top results to retrieve.
    map_block_key str
    Key for the retrieval configuration map block.
    relevance_score float
    Relevance score threshold. Valid value is between 0 and 1.
    strategy_id str
    ID of the memory strategy.
    top_k int
    Number of top results to retrieve.
    mapBlockKey String
    Key for the retrieval configuration map block.
    relevanceScore Number
    Relevance score threshold. Valid value is between 0 and 1.
    strategyId String
    ID of the memory strategy.
    topK Number
    Number of top results to retrieve.

    AgentcoreHarnessModel, AgentcoreHarnessModelArgs

    BedrockModelConfig AgentcoreHarnessModelBedrockModelConfig
    Amazon Bedrock model configuration. See bedrockModelConfig below.
    GeminiModelConfig AgentcoreHarnessModelGeminiModelConfig
    Gemini model configuration. See geminiModelConfig below.
    OpenaiModelConfig AgentcoreHarnessModelOpenaiModelConfig
    OpenAI model configuration. See openaiModelConfig below.
    BedrockModelConfig AgentcoreHarnessModelBedrockModelConfig
    Amazon Bedrock model configuration. See bedrockModelConfig below.
    GeminiModelConfig AgentcoreHarnessModelGeminiModelConfig
    Gemini model configuration. See geminiModelConfig below.
    OpenaiModelConfig AgentcoreHarnessModelOpenaiModelConfig
    OpenAI model configuration. See openaiModelConfig below.
    bedrock_model_config object
    Amazon Bedrock model configuration. See bedrockModelConfig below.
    gemini_model_config object
    Gemini model configuration. See geminiModelConfig below.
    openai_model_config object
    OpenAI model configuration. See openaiModelConfig below.
    bedrockModelConfig AgentcoreHarnessModelBedrockModelConfig
    Amazon Bedrock model configuration. See bedrockModelConfig below.
    geminiModelConfig AgentcoreHarnessModelGeminiModelConfig
    Gemini model configuration. See geminiModelConfig below.
    openaiModelConfig AgentcoreHarnessModelOpenaiModelConfig
    OpenAI model configuration. See openaiModelConfig below.
    bedrockModelConfig AgentcoreHarnessModelBedrockModelConfig
    Amazon Bedrock model configuration. See bedrockModelConfig below.
    geminiModelConfig AgentcoreHarnessModelGeminiModelConfig
    Gemini model configuration. See geminiModelConfig below.
    openaiModelConfig AgentcoreHarnessModelOpenaiModelConfig
    OpenAI model configuration. See openaiModelConfig below.
    bedrock_model_config AgentcoreHarnessModelBedrockModelConfig
    Amazon Bedrock model configuration. See bedrockModelConfig below.
    gemini_model_config AgentcoreHarnessModelGeminiModelConfig
    Gemini model configuration. See geminiModelConfig below.
    openai_model_config AgentcoreHarnessModelOpenaiModelConfig
    OpenAI model configuration. See openaiModelConfig below.
    bedrockModelConfig Property Map
    Amazon Bedrock model configuration. See bedrockModelConfig below.
    geminiModelConfig Property Map
    Gemini model configuration. See geminiModelConfig below.
    openaiModelConfig Property Map
    OpenAI model configuration. See openaiModelConfig below.

    AgentcoreHarnessModelBedrockModelConfig, AgentcoreHarnessModelBedrockModelConfigArgs

    ModelId string
    Bedrock model ID (e.g., anthropic.claude-sonnet-4-20250514).
    MaxTokens int
    Maximum number of tokens to generate.
    Temperature double
    Temperature for sampling. Must be between 0 and 2.
    TopP double
    Top-p (nucleus) sampling parameter. Must be between 0 and 1.
    ModelId string
    Bedrock model ID (e.g., anthropic.claude-sonnet-4-20250514).
    MaxTokens int
    Maximum number of tokens to generate.
    Temperature float64
    Temperature for sampling. Must be between 0 and 2.
    TopP 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.
    modelId String
    Bedrock model ID (e.g., anthropic.claude-sonnet-4-20250514).
    maxTokens Integer
    Maximum number of tokens to generate.
    temperature Double
    Temperature for sampling. Must be between 0 and 2.
    topP Double
    Top-p (nucleus) sampling parameter. Must be between 0 and 1.
    modelId string
    Bedrock model ID (e.g., anthropic.claude-sonnet-4-20250514).
    maxTokens number
    Maximum number of tokens to generate.
    temperature number
    Temperature for sampling. Must be between 0 and 2.
    topP 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.
    modelId String
    Bedrock model ID (e.g., anthropic.claude-sonnet-4-20250514).
    maxTokens Number
    Maximum number of tokens to generate.
    temperature Number
    Temperature for sampling. Must be between 0 and 2.
    topP Number
    Top-p (nucleus) sampling parameter. Must be between 0 and 1.

    AgentcoreHarnessModelGeminiModelConfig, AgentcoreHarnessModelGeminiModelConfigArgs

    ApiKeyArn string
    ARN of the secret containing the API key.
    ModelId string
    Gemini model ID.
    MaxTokens int
    Maximum number of tokens to generate.
    Temperature double
    Temperature for sampling.
    TopK int
    Top-k sampling parameter.
    TopP double
    Top-p sampling parameter.
    ApiKeyArn string
    ARN of the secret containing the API key.
    ModelId string
    Gemini model ID.
    MaxTokens int
    Maximum number of tokens to generate.
    Temperature float64
    Temperature for sampling.
    TopK int
    Top-k sampling parameter.
    TopP float64
    Top-p sampling parameter.
    api_key_arn string
    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.
    apiKeyArn String
    ARN of the secret containing the API key.
    modelId String
    Gemini model ID.
    maxTokens Integer
    Maximum number of tokens to generate.
    temperature Double
    Temperature for sampling.
    topK Integer
    Top-k sampling parameter.
    topP Double
    Top-p sampling parameter.
    apiKeyArn string
    ARN of the secret containing the API key.
    modelId string
    Gemini model ID.
    maxTokens number
    Maximum number of tokens to generate.
    temperature number
    Temperature for sampling.
    topK number
    Top-k sampling parameter.
    topP number
    Top-p sampling parameter.
    api_key_arn str
    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.
    apiKeyArn String
    ARN of the secret containing the API key.
    modelId String
    Gemini model ID.
    maxTokens Number
    Maximum number of tokens to generate.
    temperature Number
    Temperature for sampling.
    topK Number
    Top-k sampling parameter.
    topP Number
    Top-p sampling parameter.

    AgentcoreHarnessModelOpenaiModelConfig, AgentcoreHarnessModelOpenaiModelConfigArgs

    ApiKeyArn string
    ARN of the secret containing the API key.
    ModelId string
    OpenAI model ID.
    MaxTokens int
    Maximum number of tokens to generate.
    Temperature double
    Temperature for sampling.
    TopP double
    Top-p sampling parameter.
    ApiKeyArn string
    ARN of the secret containing the API key.
    ModelId string
    OpenAI model ID.
    MaxTokens int
    Maximum number of tokens to generate.
    Temperature float64
    Temperature for sampling.
    TopP float64
    Top-p sampling parameter.
    api_key_arn string
    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.
    apiKeyArn String
    ARN of the secret containing the API key.
    modelId String
    OpenAI model ID.
    maxTokens Integer
    Maximum number of tokens to generate.
    temperature Double
    Temperature for sampling.
    topP Double
    Top-p sampling parameter.
    apiKeyArn string
    ARN of the secret containing the API key.
    modelId string
    OpenAI model ID.
    maxTokens number
    Maximum number of tokens to generate.
    temperature number
    Temperature for sampling.
    topP number
    Top-p sampling parameter.
    api_key_arn str
    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.
    apiKeyArn String
    ARN of the secret containing the API key.
    modelId String
    OpenAI model ID.
    maxTokens Number
    Maximum number of tokens to generate.
    temperature Number
    Temperature for sampling.
    topP 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 AgentcoreHarnessToolConfig
    Tool-specific configuration. See tool config below.
    Name string
    Name of the tool.
    Type string
    Type of tool. Valid values: remoteMcp, agentcoreBrowser, agentcoreGateway, inlineFunction, agentcoreCodeInterpreter.
    Config AgentcoreHarnessToolConfig
    Tool-specific configuration. See tool config below.
    Name string
    Name of the tool.
    type string
    Type of tool. Valid values: remoteMcp, agentcoreBrowser, agentcoreGateway, inlineFunction, agentcoreCodeInterpreter.
    config object
    Tool-specific configuration. See tool config below.
    name string
    Name of the tool.
    type String
    Type of tool. Valid values: remoteMcp, agentcoreBrowser, agentcoreGateway, inlineFunction, agentcoreCodeInterpreter.
    config AgentcoreHarnessToolConfig
    Tool-specific configuration. See tool config below.
    name String
    Name of the tool.
    type string
    Type of tool. Valid values: remoteMcp, agentcoreBrowser, agentcoreGateway, inlineFunction, agentcoreCodeInterpreter.
    config AgentcoreHarnessToolConfig
    Tool-specific configuration. See tool config below.
    name string
    Name of the tool.
    type str
    Type of tool. Valid values: remoteMcp, agentcoreBrowser, agentcoreGateway, inlineFunction, agentcoreCodeInterpreter.
    config AgentcoreHarnessToolConfig
    Tool-specific configuration. See tool config below.
    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 config below.
    name String
    Name of the tool.

    AgentcoreHarnessToolConfig, AgentcoreHarnessToolConfigArgs

    AgentcoreBrowser AgentcoreHarnessToolConfigAgentcoreBrowser
    AgentCore browser configuration. See agentcoreBrowser below.
    AgentcoreCodeInterpreter AgentcoreHarnessToolConfigAgentcoreCodeInterpreter
    AgentCore code interpreter configuration. See agentcoreCodeInterpreter below.
    AgentcoreGateway AgentcoreHarnessToolConfigAgentcoreGateway
    AgentCore gateway configuration. See agentcoreGateway below.
    InlineFunction AgentcoreHarnessToolConfigInlineFunction
    Inline function configuration. See inlineFunction below.
    RemoteMcp AgentcoreHarnessToolConfigRemoteMcp
    Remote MCP server configuration. See remoteMcp below.
    AgentcoreBrowser AgentcoreHarnessToolConfigAgentcoreBrowser
    AgentCore browser configuration. See agentcoreBrowser below.
    AgentcoreCodeInterpreter AgentcoreHarnessToolConfigAgentcoreCodeInterpreter
    AgentCore code interpreter configuration. See agentcoreCodeInterpreter below.
    AgentcoreGateway AgentcoreHarnessToolConfigAgentcoreGateway
    AgentCore gateway configuration. See agentcoreGateway below.
    InlineFunction AgentcoreHarnessToolConfigInlineFunction
    Inline function configuration. See inlineFunction below.
    RemoteMcp AgentcoreHarnessToolConfigRemoteMcp
    Remote MCP server configuration. See remoteMcp below.
    agentcore_browser object
    AgentCore browser configuration. See agentcoreBrowser below.
    agentcore_code_interpreter object
    AgentCore code interpreter configuration. See agentcoreCodeInterpreter below.
    agentcore_gateway object
    AgentCore gateway configuration. See agentcoreGateway below.
    inline_function object
    Inline function configuration. See inlineFunction below.
    remote_mcp object
    Remote MCP server configuration. See remoteMcp below.
    agentcoreBrowser AgentcoreHarnessToolConfigAgentcoreBrowser
    AgentCore browser configuration. See agentcoreBrowser below.
    agentcoreCodeInterpreter AgentcoreHarnessToolConfigAgentcoreCodeInterpreter
    AgentCore code interpreter configuration. See agentcoreCodeInterpreter below.
    agentcoreGateway AgentcoreHarnessToolConfigAgentcoreGateway
    AgentCore gateway configuration. See agentcoreGateway below.
    inlineFunction AgentcoreHarnessToolConfigInlineFunction
    Inline function configuration. See inlineFunction below.
    remoteMcp AgentcoreHarnessToolConfigRemoteMcp
    Remote MCP server configuration. See remoteMcp below.
    agentcoreBrowser AgentcoreHarnessToolConfigAgentcoreBrowser
    AgentCore browser configuration. See agentcoreBrowser below.
    agentcoreCodeInterpreter AgentcoreHarnessToolConfigAgentcoreCodeInterpreter
    AgentCore code interpreter configuration. See agentcoreCodeInterpreter below.
    agentcoreGateway AgentcoreHarnessToolConfigAgentcoreGateway
    AgentCore gateway configuration. See agentcoreGateway below.
    inlineFunction AgentcoreHarnessToolConfigInlineFunction
    Inline function configuration. See inlineFunction below.
    remoteMcp AgentcoreHarnessToolConfigRemoteMcp
    Remote MCP server configuration. See remoteMcp below.
    agentcore_browser AgentcoreHarnessToolConfigAgentcoreBrowser
    AgentCore browser configuration. See agentcoreBrowser below.
    agentcore_code_interpreter AgentcoreHarnessToolConfigAgentcoreCodeInterpreter
    AgentCore code interpreter configuration. See agentcoreCodeInterpreter below.
    agentcore_gateway AgentcoreHarnessToolConfigAgentcoreGateway
    AgentCore gateway configuration. See agentcoreGateway below.
    inline_function AgentcoreHarnessToolConfigInlineFunction
    Inline function configuration. See inlineFunction below.
    remote_mcp AgentcoreHarnessToolConfigRemoteMcp
    Remote MCP server configuration. See remoteMcp below.
    agentcoreBrowser Property Map
    AgentCore browser configuration. See agentcoreBrowser below.
    agentcoreCodeInterpreter Property Map
    AgentCore code interpreter configuration. See agentcoreCodeInterpreter below.
    agentcoreGateway Property Map
    AgentCore gateway configuration. See agentcoreGateway below.
    inlineFunction Property Map
    Inline function configuration. See inlineFunction below.
    remoteMcp Property Map
    Remote MCP server configuration. See remoteMcp below.

    AgentcoreHarnessToolConfigAgentcoreBrowser, AgentcoreHarnessToolConfigAgentcoreBrowserArgs

    BrowserArn string
    ARN of the AgentCore browser resource.
    BrowserArn string
    ARN of the AgentCore browser resource.
    browser_arn string
    ARN of the AgentCore browser resource.
    browserArn String
    ARN of the AgentCore browser resource.
    browserArn string
    ARN of the AgentCore browser resource.
    browser_arn str
    ARN of the AgentCore browser resource.
    browserArn String
    ARN of the AgentCore browser resource.

    AgentcoreHarnessToolConfigAgentcoreCodeInterpreter, AgentcoreHarnessToolConfigAgentcoreCodeInterpreterArgs

    CodeInterpreterArn string
    ARN of the AgentCore code interpreter resource.
    CodeInterpreterArn string
    ARN of the AgentCore code interpreter resource.
    code_interpreter_arn string
    ARN of the AgentCore code interpreter resource.
    codeInterpreterArn String
    ARN of the AgentCore code interpreter resource.
    codeInterpreterArn string
    ARN of the AgentCore code interpreter resource.
    code_interpreter_arn str
    ARN of the AgentCore code interpreter resource.
    codeInterpreterArn String
    ARN of the AgentCore code interpreter resource.

    AgentcoreHarnessToolConfigAgentcoreGateway, AgentcoreHarnessToolConfigAgentcoreGatewayArgs

    GatewayArn string
    ARN of the AgentCore gateway resource.
    OutboundAuth AgentcoreHarnessToolConfigAgentcoreGatewayOutboundAuth
    Outbound authentication configuration. See outboundAuth below.
    GatewayArn string
    ARN of the AgentCore gateway resource.
    OutboundAuth AgentcoreHarnessToolConfigAgentcoreGatewayOutboundAuth
    Outbound authentication configuration. See outboundAuth below.
    gateway_arn string
    ARN of the AgentCore gateway resource.
    outbound_auth object
    Outbound authentication configuration. See outboundAuth below.
    gatewayArn String
    ARN of the AgentCore gateway resource.
    outboundAuth AgentcoreHarnessToolConfigAgentcoreGatewayOutboundAuth
    Outbound authentication configuration. See outboundAuth below.
    gatewayArn string
    ARN of the AgentCore gateway resource.
    outboundAuth AgentcoreHarnessToolConfigAgentcoreGatewayOutboundAuth
    Outbound authentication configuration. See outboundAuth below.
    gateway_arn str
    ARN of the AgentCore gateway resource.
    outbound_auth AgentcoreHarnessToolConfigAgentcoreGatewayOutboundAuth
    Outbound authentication configuration. See outboundAuth below.
    gatewayArn String
    ARN of the AgentCore gateway resource.
    outboundAuth Property Map
    Outbound authentication configuration. See outboundAuth below.

    AgentcoreHarnessToolConfigAgentcoreGatewayOutboundAuth, AgentcoreHarnessToolConfigAgentcoreGatewayOutboundAuthArgs

    AwsIam bool
    Set to true to use AWS IAM authentication.
    None bool
    Set to true to disable authentication.
    Oauth AgentcoreHarnessToolConfigAgentcoreGatewayOutboundAuthOauth
    OAuth credential provider configuration. See oauth below.
    AwsIam bool
    Set to true to use AWS IAM authentication.
    None bool
    Set to true to disable authentication.
    Oauth AgentcoreHarnessToolConfigAgentcoreGatewayOutboundAuthOauth
    OAuth credential provider configuration. See oauth below.
    aws_iam bool
    Set to true to use AWS IAM authentication.
    none bool
    Set to true to disable authentication.
    oauth object
    OAuth credential provider configuration. See oauth below.
    awsIam Boolean
    Set to true to use AWS IAM authentication.
    none Boolean
    Set to true to disable authentication.
    oauth AgentcoreHarnessToolConfigAgentcoreGatewayOutboundAuthOauth
    OAuth credential provider configuration. See oauth below.
    awsIam boolean
    Set to true to use AWS IAM authentication.
    none boolean
    Set to true to disable authentication.
    oauth AgentcoreHarnessToolConfigAgentcoreGatewayOutboundAuthOauth
    OAuth credential provider configuration. See oauth below.
    aws_iam bool
    Set to true to use AWS IAM authentication.
    none bool
    Set to true to disable authentication.
    oauth AgentcoreHarnessToolConfigAgentcoreGatewayOutboundAuthOauth
    OAuth credential provider configuration. See oauth below.
    awsIam Boolean
    Set to true to use AWS IAM authentication.
    none Boolean
    Set to true to disable authentication.
    oauth Property Map
    OAuth credential provider configuration. See oauth below.

    AgentcoreHarnessToolConfigAgentcoreGatewayOutboundAuthOauth, AgentcoreHarnessToolConfigAgentcoreGatewayOutboundAuthOauthArgs

    ProviderArn string
    ARN of the OAuth credential provider.
    Scopes List<string>
    List of OAuth scopes.
    CustomParameters Dictionary<string, string>
    Map of custom parameters.
    DefaultReturnUrl string
    Default return URL for OAuth flow.
    GrantType string
    OAuth grant type.
    ProviderArn string
    ARN of the OAuth credential provider.
    Scopes []string
    List of OAuth scopes.
    CustomParameters map[string]string
    Map of custom parameters.
    DefaultReturnUrl string
    Default return URL for OAuth flow.
    GrantType 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_url string
    Default return URL for OAuth flow.
    grant_type string
    OAuth grant type.
    providerArn String
    ARN of the OAuth credential provider.
    scopes List<String>
    List of OAuth scopes.
    customParameters Map<String,String>
    Map of custom parameters.
    defaultReturnUrl String
    Default return URL for OAuth flow.
    grantType String
    OAuth grant type.
    providerArn string
    ARN of the OAuth credential provider.
    scopes string[]
    List of OAuth scopes.
    customParameters {[key: string]: string}
    Map of custom parameters.
    defaultReturnUrl string
    Default return URL for OAuth flow.
    grantType 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_url str
    Default return URL for OAuth flow.
    grant_type str
    OAuth grant type.
    providerArn String
    ARN of the OAuth credential provider.
    scopes List<String>
    List of OAuth scopes.
    customParameters Map<String>
    Map of custom parameters.
    defaultReturnUrl String
    Default return URL for OAuth flow.
    grantType String
    OAuth grant type.

    AgentcoreHarnessToolConfigInlineFunction, AgentcoreHarnessToolConfigInlineFunctionArgs

    Description string
    Description of the inline function.
    InputSchema string
    JSON string defining the input schema for the function.
    Description string
    Description of the inline function.
    InputSchema 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.
    inputSchema String
    JSON string defining the input schema for the function.
    description string
    Description of the inline function.
    inputSchema 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.
    inputSchema String
    JSON string defining the input schema for the function.

    AgentcoreHarnessToolConfigRemoteMcp, AgentcoreHarnessToolConfigRemoteMcpArgs

    Url string
    URL of the remote MCP server.
    Headers Dictionary<string, string>
    Map of HTTP headers to include in requests to the MCP server.
    Url string
    URL of the remote MCP server.
    Headers map[string]string
    Map of HTTP headers to include in requests to the MCP server.
    url string
    URL of the remote MCP server.
    headers map(string)
    Map of HTTP headers to include in requests to the MCP server.
    url String
    URL of the remote MCP server.
    headers Map<String,String>
    Map of HTTP headers to include in requests to the MCP server.
    url string
    URL of the remote MCP server.
    headers {[key: string]: string}
    Map of HTTP headers to include in requests to the MCP server.
    url str
    URL of the remote MCP server.
    headers Mapping[str, str]
    Map of HTTP headers to include in requests to the MCP server.
    url String
    URL of the remote MCP server.
    headers Map<String>
    Map of HTTP headers to include in requests to the MCP server.

    AgentcoreHarnessTruncation, AgentcoreHarnessTruncationArgs

    Configs List<AgentcoreHarnessTruncationConfig>
    Strategy-specific configuration. See truncation config below.
    Strategy string
    Truncation strategy. Valid values: slidingWindow, summarization, none.
    Configs []AgentcoreHarnessTruncationConfig
    Strategy-specific configuration. See truncation config below.
    Strategy string
    Truncation strategy. Valid values: slidingWindow, summarization, none.
    configs list(object)
    Strategy-specific configuration. See truncation config below.
    strategy string
    Truncation strategy. Valid values: slidingWindow, summarization, none.
    configs List<AgentcoreHarnessTruncationConfig>
    Strategy-specific configuration. See truncation config below.
    strategy String
    Truncation strategy. Valid values: slidingWindow, summarization, none.
    configs AgentcoreHarnessTruncationConfig[]
    Strategy-specific configuration. See truncation config below.
    strategy string
    Truncation strategy. Valid values: slidingWindow, summarization, none.
    configs Sequence[AgentcoreHarnessTruncationConfig]
    Strategy-specific configuration. See truncation config below.
    strategy str
    Truncation strategy. Valid values: slidingWindow, summarization, none.
    configs List<Property Map>
    Strategy-specific configuration. See truncation config below.
    strategy String
    Truncation strategy. Valid values: slidingWindow, summarization, none.

    AgentcoreHarnessTruncationConfig, AgentcoreHarnessTruncationConfigArgs

    SlidingWindows List<AgentcoreHarnessTruncationConfigSlidingWindow>
    Sliding window truncation configuration. See slidingWindow below.
    Summarizations List<AgentcoreHarnessTruncationConfigSummarization>
    Summarization truncation configuration. See summarization below.
    SlidingWindows []AgentcoreHarnessTruncationConfigSlidingWindow
    Sliding window truncation configuration. See slidingWindow below.
    Summarizations []AgentcoreHarnessTruncationConfigSummarization
    Summarization truncation configuration. See summarization below.
    sliding_windows list(object)
    Sliding window truncation configuration. See slidingWindow below.
    summarizations list(object)
    Summarization truncation configuration. See summarization below.
    slidingWindows List<AgentcoreHarnessTruncationConfigSlidingWindow>
    Sliding window truncation configuration. See slidingWindow below.
    summarizations List<AgentcoreHarnessTruncationConfigSummarization>
    Summarization truncation configuration. See summarization below.
    slidingWindows AgentcoreHarnessTruncationConfigSlidingWindow[]
    Sliding window truncation configuration. See slidingWindow below.
    summarizations AgentcoreHarnessTruncationConfigSummarization[]
    Summarization truncation configuration. See summarization below.
    sliding_windows Sequence[AgentcoreHarnessTruncationConfigSlidingWindow]
    Sliding window truncation configuration. See slidingWindow below.
    summarizations Sequence[AgentcoreHarnessTruncationConfigSummarization]
    Summarization truncation configuration. See summarization below.
    slidingWindows List<Property Map>
    Sliding window truncation configuration. See slidingWindow below.
    summarizations List<Property Map>
    Summarization truncation configuration. See summarization below.

    AgentcoreHarnessTruncationConfigSlidingWindow, AgentcoreHarnessTruncationConfigSlidingWindowArgs

    MessagesCount int
    Number of recent messages to keep in the conversation window.
    MessagesCount int
    Number of recent messages to keep in the conversation window.
    messages_count number
    Number of recent messages to keep in the conversation window.
    messagesCount Integer
    Number of recent messages to keep in the conversation window.
    messagesCount number
    Number of recent messages to keep in the conversation window.
    messages_count int
    Number of recent messages to keep in the conversation window.
    messagesCount Number
    Number of recent messages to keep in the conversation window.

    AgentcoreHarnessTruncationConfigSummarization, AgentcoreHarnessTruncationConfigSummarizationArgs

    PreserveRecentMessages int
    Number of recent messages to preserve without summarization.
    SummarizationSystemPrompt string
    Custom system prompt for the summarization model.
    SummaryRatio double
    Ratio of the conversation to summarize (0 to 1).
    PreserveRecentMessages int
    Number of recent messages to preserve without summarization.
    SummarizationSystemPrompt string
    Custom system prompt for the summarization model.
    SummaryRatio float64
    Ratio of the conversation to summarize (0 to 1).
    preserve_recent_messages number
    Number of recent messages to preserve without summarization.
    summarization_system_prompt string
    Custom system prompt for the summarization model.
    summary_ratio number
    Ratio of the conversation to summarize (0 to 1).
    preserveRecentMessages Integer
    Number of recent messages to preserve without summarization.
    summarizationSystemPrompt String
    Custom system prompt for the summarization model.
    summaryRatio Double
    Ratio of the conversation to summarize (0 to 1).
    preserveRecentMessages number
    Number of recent messages to preserve without summarization.
    summarizationSystemPrompt string
    Custom system prompt for the summarization model.
    summaryRatio number
    Ratio of the conversation to summarize (0 to 1).
    preserve_recent_messages int
    Number of recent messages to preserve without summarization.
    summarization_system_prompt str
    Custom system prompt for the summarization model.
    summary_ratio float
    Ratio of the conversation to summarize (0 to 1).
    preserveRecentMessages Number
    Number of recent messages to preserve without summarization.
    summarizationSystemPrompt String
    Custom system prompt for the summarization model.
    summaryRatio 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 aws Terraform Provider.
    aws logo
    Viewing docs for AWS v7.32.0
    published on Friday, May 29, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial