1. Registry
  2. Packages
  3. AWS
  4. API Docs
  5. bedrock
  6. AgentcoreHarness
Viewing docs for AWS v7.55.0
published on Friday, Nov 13, 2026 by Pulumi
aws logo aws logo
Viewing docs for AWS v7.55.0
published on Friday, Nov 13, 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: [{
            principals: [{
                type: "Service",
                identifiers: ["bedrock-agentcore.amazonaws.com"],
            }],
            effect: "Allow",
            actions: ["sts:AssumeRole"],
        }],
    });
    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", {
        model: {
            bedrockModelConfig: {
                modelId: "anthropic.claude-sonnet-4-20250514",
            },
        },
        systemPrompts: [{
            text: "You are a helpful assistant.",
        }],
        harnessName: "example_harness",
        executionRoleArn: example.arn,
    });
    
    import pulumi
    import json
    import pulumi_aws as aws
    
    assume_role = aws.iam.get_policy_document(statements=[{
        "principals": [{
            "type": "Service",
            "identifiers": ["bedrock-agentcore.amazonaws.com"],
        }],
        "effect": "Allow",
        "actions": ["sts:AssumeRole"],
    }])
    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",
        model={
            "bedrock_model_config": {
                "model_id": "anthropic.claude-sonnet-4-20250514",
            },
        },
        system_prompts=[{
            "text": "You are a helpful assistant.",
        }],
        harness_name="example_harness",
        execution_role_arn=example.arn)
    
    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{
    				{
    					Principals: []iam.GetPolicyDocumentStatementPrincipal{
    						{
    							Type: "Service",
    							Identifiers: []string{
    								"bedrock-agentcore.amazonaws.com",
    							},
    						},
    					},
    					Effect: pulumi.StringRef("Allow"),
    					Actions: []string{
    						"sts:AssumeRole",
    					},
    				},
    			},
    		}, nil)
    		if err != nil {
    			return err
    		}
    		example, err := iam.NewRole(ctx, "example", &iam.RoleArgs{
    			Name:             pulumi.String("bedrock-agentcore-harness-role"),
    			AssumeRolePolicy: 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(json0),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = bedrock.NewAgentcoreHarness(ctx, "example", &bedrock.AgentcoreHarnessArgs{
    			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."),
    				},
    			},
    			HarnessName:      pulumi.String("example_harness"),
    			ExecutionRoleArn: example.Arn,
    		})
    		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
                {
                    Principals = new[]
                    {
                        new Aws.Iam.Inputs.GetPolicyDocumentStatementPrincipalInputArgs
                        {
                            Type = "Service",
                            Identifiers = new[]
                            {
                                "bedrock-agentcore.amazonaws.com",
                            },
                        },
                    },
                    Effect = "Allow",
                    Actions = new[]
                    {
                        "sts:AssumeRole",
                    },
                },
            },
        });
    
        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()
        {
            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.",
                },
            },
            HarnessName = "example_harness",
            ExecutionRoleArn = example.Arn,
        });
    
    });
    
    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.inputs.GetPolicyDocumentStatementArgs;
    import com.pulumi.aws.iam.inputs.GetPolicyDocumentStatementPrincipalArgs;
    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()
                    .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
                        .type("Service")
                        .identifiers("bedrock-agentcore.amazonaws.com")
                        .build())
                    .effect("Allow")
                    .actions("sts:AssumeRole")
                    .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()
                .model(AgentcoreHarnessModelArgs.builder()
                    .bedrockModelConfig(AgentcoreHarnessModelBedrockModelConfigArgs.builder()
                        .modelId("anthropic.claude-sonnet-4-20250514")
                        .build())
                    .build())
                .systemPrompts(AgentcoreHarnessSystemPromptArgs.builder()
                    .text("You are a helpful assistant.")
                    .build())
                .harnessName("example_harness")
                .executionRoleArn(example.arn())
                .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:
          model:
            bedrockModelConfig:
              modelId: anthropic.claude-sonnet-4-20250514
          systemPrompts:
            - text: You are a helpful assistant.
          harnessName: example_harness
          executionRoleArn: ${example.arn}
    variables:
      assumeRole:
        fn::invoke:
          function: aws:iam:getPolicyDocument
          arguments:
            statements:
              - principals:
                  - type: Service
                    identifiers:
                      - bedrock-agentcore.amazonaws.com
                effect: Allow
                actions:
                  - sts:AssumeRole
    
    terraform {
      required_providers {
        aws = {
          source = "pulumi/aws"
        }
      }
    }
    
    data "aws_iam_policy_document" "assumeRole" {
      statement {
        principals {
          type        = "Service"
          identifiers = ["bedrock-agentcore.amazonaws.com"]
        }
        effect  = "Allow"
        actions = ["sts:AssumeRole"]
      }
    }
    
    resource "aws_iam_role" "example" {
      lifecycle {
        create_before_destroy = true
      }
      name               = "bedrock-agentcore-harness-role"
      assume_role_policy = data.aws_iam_policy_document.assumeRole.json
    }
    resource "aws_iam_role_policy" "example" {
      lifecycle {
        create_before_destroy = true
      }
      role = aws_iam_role.example.name
      policy = jsonencode({
        "Version" = "2012-10-17"
        "Statement" = [{
          "Effect"   = "Allow"
          "Action"   = ["bedrock:InvokeModel", "bedrock:InvokeModelWithResponseStream"]
          "Resource" = "*"
        }]
      })
    }
    resource "aws_bedrock_agentcore_harness" "example" {
      lifecycle {
        create_before_destroy = true
      }
      model = {
        bedrock_model_config = {
          model_id = "anthropic.claude-sonnet-4-20250514"
        }
      }
      system_prompts {
        text = "You are a helpful assistant."
      }
      harness_name       = "example_harness"
      execution_role_arn = aws_iam_role.example.arn
    }
    

    With Tools and Truncation

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = new aws.bedrock.AgentcoreHarness("example", {
        model: {
            bedrockModelConfig: {
                modelId: "anthropic.claude-sonnet-4-20250514",
                temperature: 0.7,
                topP: 0.9,
            },
        },
        systemPrompts: [{
            text: "You are a coding assistant.",
        }],
        tools: [{
            config: {
                inlineFunction: {
                    description: "Get the current weather for a location",
                    inputSchema: JSON.stringify({
                        type: "object",
                        properties: {
                            location: {
                                type: "string",
                                description: "City name",
                            },
                        },
                        required: ["location"],
                    }),
                },
            },
            type: "inline_function",
            name: "get_weather",
        }],
        truncations: [{
            config: [{
                slidingWindow: [{
                    messagesCount: 50,
                }],
            }],
            strategy: "sliding_window",
        }],
        harnessName: "example_with_tools",
        executionRoleArn: exampleAwsIamRole.arn,
        allowedTools: ["*"],
        maxIterations: 10,
        maxTokens: 4096,
        timeoutSeconds: 300,
    });
    
    import pulumi
    import json
    import pulumi_aws as aws
    
    example = aws.bedrock.AgentcoreHarness("example",
        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.",
        }],
        tools=[{
            "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"],
                    }),
                },
            },
            "type": "inline_function",
            "name": "get_weather",
        }],
        truncations=[{
            "config": [{
                "slidingWindow": [{
                    "messagesCount": 50,
                }],
            }],
            "strategy": "sliding_window",
        }],
        harness_name="example_with_tools",
        execution_role_arn=example_aws_iam_role["arn"],
        allowed_tools=["*"],
        max_iterations=10,
        max_tokens=4096,
        timeout_seconds=300)
    
    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]map[string]string{
    				"location": map[string]string{
    					"type":        "string",
    					"description": "City name",
    				},
    			},
    			"required": []string{
    				"location",
    			},
    		})
    		if err != nil {
    			return err
    		}
    		json0 := string(tmpJSON0)
    		_, err = bedrock.NewAgentcoreHarness(ctx, "example", &bedrock.AgentcoreHarnessArgs{
    			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."),
    				},
    			},
    			Tools: bedrock.AgentcoreHarnessToolArray{
    				&bedrock.AgentcoreHarnessToolArgs{
    					Config: &bedrock.AgentcoreHarnessToolConfigArgs{
    						InlineFunction: &bedrock.AgentcoreHarnessToolConfigInlineFunctionArgs{
    							Description: pulumi.String("Get the current weather for a location"),
    							InputSchema: pulumi.String(json0),
    						},
    					},
    					Type: pulumi.String("inline_function"),
    					Name: pulumi.String("get_weather"),
    				},
    			},
    			Truncations: bedrock.AgentcoreHarnessTruncationArray{
    				&bedrock.AgentcoreHarnessTruncationArgs{
    					Config: []map[string][]map[string]int{
    						{
    							"slidingWindow": []map[string]int{
    								{
    									"messagesCount": 50,
    								},
    							},
    						},
    					},
    					Strategy: pulumi.String("sliding_window"),
    				},
    			},
    			HarnessName:      pulumi.String("example_with_tools"),
    			ExecutionRoleArn: pulumi.Any(exampleAwsIamRole.Arn),
    			AllowedTools: pulumi.StringArray{
    				pulumi.String("*"),
    			},
    			MaxIterations:  pulumi.Int(10),
    			MaxTokens:      pulumi.Int(4096),
    			TimeoutSeconds: pulumi.Int(300),
    		})
    		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()
        {
            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.",
                },
            },
            Tools = new[]
            {
                new Aws.Bedrock.Inputs.AgentcoreHarnessToolArgs
                {
                    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",
                                },
                            }),
                        },
                    },
                    Type = "inline_function",
                    Name = "get_weather",
                },
            },
            Truncations = new[]
            {
                new Aws.Bedrock.Inputs.AgentcoreHarnessTruncationArgs
                {
                    Config = new[]
                    {
                        
                        {
                            { "slidingWindow", new[]
                            {
                                
                                {
                                    { "messagesCount", 50 },
                                },
                            } },
                        },
                    },
                    Strategy = "sliding_window",
                },
            },
            HarnessName = "example_with_tools",
            ExecutionRoleArn = exampleAwsIamRole.Arn,
            AllowedTools = new[]
            {
                "*",
            },
            MaxIterations = 10,
            MaxTokens = 4096,
            TimeoutSeconds = 300,
        });
    
    });
    
    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()
                .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())
                .tools(AgentcoreHarnessToolArgs.builder()
                    .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())
                    .type("inline_function")
                    .name("get_weather")
                    .build())
                .truncations(AgentcoreHarnessTruncationArgs.builder()
                    .config(Arrays.asList(Map.of("slidingWindow", Arrays.asList(Map.of("messagesCount", 50)))))
                    .strategy("sliding_window")
                    .build())
                .harnessName("example_with_tools")
                .executionRoleArn(exampleAwsIamRole.get("arn"))
                .allowedTools("*")
                .maxIterations(10)
                .maxTokens(4096)
                .timeoutSeconds(300)
                .build());
    
        }
    }
    
    resources:
      example:
        type: aws:bedrock:AgentcoreHarness
        properties:
          model:
            bedrockModelConfig:
              modelId: anthropic.claude-sonnet-4-20250514
              temperature: 0.7
              topP: 0.9
          systemPrompts:
            - text: You are a coding assistant.
          tools:
            - config:
                inlineFunction:
                  description: Get the current weather for a location
                  inputSchema:
                    fn::toJSON:
                      type: object
                      properties:
                        location:
                          type: string
                          description: City name
                      required:
                        - location
              type: inline_function
              name: get_weather
          truncations:
            - config:
                - slidingWindow:
                    - messagesCount: 50
              strategy: sliding_window
          harnessName: example_with_tools
          executionRoleArn: ${exampleAwsIamRole.arn}
          allowedTools:
            - '*'
          maxIterations: 10
          maxTokens: 4096
          timeoutSeconds: 300
    
    terraform {
      required_providers {
        aws = {
          source = "pulumi/aws"
        }
      }
    }
    
    resource "aws_bedrock_agentcore_harness" "example" {
      lifecycle {
        create_before_destroy = true
      }
      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."
      }
      tools {
        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"]
            })
          }
        }
        type = "inline_function"
        name = "get_weather"
      }
      truncations {
        config = [{
          "slidingWindow" = [{
            "messagesCount" = 50
          }]
        }]
        strategy = "sliding_window"
      }
      harness_name       = "example_with_tools"
      execution_role_arn = exampleAwsIamRole.arn
      allowed_tools      = ["*"]
      max_iterations     = 10
      max_tokens         = 4096
      timeout_seconds    = 300
    }
    

    With Managed Memory

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = new aws.bedrock.AgentcoreHarness("example", {
        model: {
            bedrockModelConfig: {
                modelId: "anthropic.claude-sonnet-4-20250514",
            },
        },
        memory: {
            managedMemoryConfiguration: {
                eventExpiryDuration: 14,
                strategies: [
                    "SEMANTIC",
                    "SUMMARIZATION",
                ],
            },
        },
        systemPrompts: [{
            text: "You are a helpful assistant.",
        }],
        harnessName: "my_harness",
        executionRoleArn: exampleAwsIamRole.arn,
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.bedrock.AgentcoreHarness("example",
        model={
            "bedrock_model_config": {
                "model_id": "anthropic.claude-sonnet-4-20250514",
            },
        },
        memory={
            "managed_memory_configuration": {
                "event_expiry_duration": 14,
                "strategies": [
                    "SEMANTIC",
                    "SUMMARIZATION",
                ],
            },
        },
        system_prompts=[{
            "text": "You are a helpful assistant.",
        }],
        harness_name="my_harness",
        execution_role_arn=example_aws_iam_role["arn"])
    
    package main
    
    import (
    	"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 {
    		_, err := bedrock.NewAgentcoreHarness(ctx, "example", &bedrock.AgentcoreHarnessArgs{
    			Model: &bedrock.AgentcoreHarnessModelArgs{
    				BedrockModelConfig: &bedrock.AgentcoreHarnessModelBedrockModelConfigArgs{
    					ModelId: pulumi.String("anthropic.claude-sonnet-4-20250514"),
    				},
    			},
    			Memory: &bedrock.AgentcoreHarnessMemoryArgs{
    				ManagedMemoryConfiguration: &bedrock.AgentcoreHarnessMemoryManagedMemoryConfigurationArgs{
    					EventExpiryDuration: pulumi.Int(14),
    					Strategies: pulumi.StringArray{
    						pulumi.String("SEMANTIC"),
    						pulumi.String("SUMMARIZATION"),
    					},
    				},
    			},
    			SystemPrompts: bedrock.AgentcoreHarnessSystemPromptArray{
    				&bedrock.AgentcoreHarnessSystemPromptArgs{
    					Text: pulumi.String("You are a helpful assistant."),
    				},
    			},
    			HarnessName:      pulumi.String("my_harness"),
    			ExecutionRoleArn: pulumi.Any(exampleAwsIamRole.Arn),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Aws.Bedrock.AgentcoreHarness("example", new()
        {
            Model = new Aws.Bedrock.Inputs.AgentcoreHarnessModelArgs
            {
                BedrockModelConfig = new Aws.Bedrock.Inputs.AgentcoreHarnessModelBedrockModelConfigArgs
                {
                    ModelId = "anthropic.claude-sonnet-4-20250514",
                },
            },
            Memory = new Aws.Bedrock.Inputs.AgentcoreHarnessMemoryArgs
            {
                ManagedMemoryConfiguration = new Aws.Bedrock.Inputs.AgentcoreHarnessMemoryManagedMemoryConfigurationArgs
                {
                    EventExpiryDuration = 14,
                    Strategies = new[]
                    {
                        "SEMANTIC",
                        "SUMMARIZATION",
                    },
                },
            },
            SystemPrompts = new[]
            {
                new Aws.Bedrock.Inputs.AgentcoreHarnessSystemPromptArgs
                {
                    Text = "You are a helpful assistant.",
                },
            },
            HarnessName = "my_harness",
            ExecutionRoleArn = exampleAwsIamRole.Arn,
        });
    
    });
    
    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.AgentcoreHarnessMemoryArgs;
    import com.pulumi.aws.bedrock.inputs.AgentcoreHarnessMemoryManagedMemoryConfigurationArgs;
    import com.pulumi.aws.bedrock.inputs.AgentcoreHarnessSystemPromptArgs;
    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()
                .model(AgentcoreHarnessModelArgs.builder()
                    .bedrockModelConfig(AgentcoreHarnessModelBedrockModelConfigArgs.builder()
                        .modelId("anthropic.claude-sonnet-4-20250514")
                        .build())
                    .build())
                .memory(AgentcoreHarnessMemoryArgs.builder()
                    .managedMemoryConfiguration(AgentcoreHarnessMemoryManagedMemoryConfigurationArgs.builder()
                        .eventExpiryDuration(14)
                        .strategies(                    
                            "SEMANTIC",
                            "SUMMARIZATION")
                        .build())
                    .build())
                .systemPrompts(AgentcoreHarnessSystemPromptArgs.builder()
                    .text("You are a helpful assistant.")
                    .build())
                .harnessName("my_harness")
                .executionRoleArn(exampleAwsIamRole.get("arn"))
                .build());
    
        }
    }
    
    resources:
      example:
        type: aws:bedrock:AgentcoreHarness
        properties:
          model:
            bedrockModelConfig:
              modelId: anthropic.claude-sonnet-4-20250514
          memory:
            managedMemoryConfiguration:
              eventExpiryDuration: 14
              strategies:
                - SEMANTIC
                - SUMMARIZATION
          systemPrompts:
            - text: You are a helpful assistant.
          harnessName: my_harness
          executionRoleArn: ${exampleAwsIamRole.arn}
    
    terraform {
      required_providers {
        aws = {
          source = "pulumi/aws"
        }
      }
    }
    
    resource "aws_bedrock_agentcore_harness" "example" {
      lifecycle {
        create_before_destroy = true
      }
      model = {
        bedrock_model_config = {
          model_id = "anthropic.claude-sonnet-4-20250514"
        }
      }
      memory = {
        managed_memory_configuration = {
          event_expiry_duration = 14
          strategies            = ["SEMANTIC", "SUMMARIZATION"]
        }
      }
      system_prompts {
        text = "You are a helpful assistant."
      }
      harness_name       = "my_harness"
      execution_role_arn = exampleAwsIamRole.arn
    }
    

    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,
                         system_prompts: Optional[Sequence[AgentcoreHarnessSystemPromptArgs]] = None,
                         model: Optional[AgentcoreHarnessModelArgs] = None,
                         harness_name: Optional[str] = None,
                         max_tokens: Optional[int] = None,
                         region: Optional[str] = None,
                         environment_variables: Optional[Mapping[str, str]] = None,
                         max_iterations: Optional[int] = None,
                         allowed_tools: Optional[Sequence[str]] = None,
                         memory: Optional[AgentcoreHarnessMemoryArgs] = None,
                         environment_artifact: Optional[AgentcoreHarnessEnvironmentArtifactArgs] = None,
                         environments: Optional[Sequence[AgentcoreHarnessEnvironmentArgs]] = None,
                         skills: Optional[Sequence[AgentcoreHarnessSkillArgs]] = None,
                         authorizer_configuration: Optional[AgentcoreHarnessAuthorizerConfigurationArgs] = 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_agentcore_harness" "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",
        SystemPrompts = new[]
        {
            new Aws.Bedrock.Inputs.AgentcoreHarnessSystemPromptArgs
            {
                Text = "string",
            },
        },
        Model = new Aws.Bedrock.Inputs.AgentcoreHarnessModelArgs
        {
            BedrockModelConfig = new Aws.Bedrock.Inputs.AgentcoreHarnessModelBedrockModelConfigArgs
            {
                ModelId = "string",
                AdditionalParams = "string",
                ApiFormat = "string",
                MaxTokens = 0,
                Temperature = 0.0,
                TopP = 0.0,
            },
            GeminiModelConfig = new Aws.Bedrock.Inputs.AgentcoreHarnessModelGeminiModelConfigArgs
            {
                ApiKeyArn = "string",
                ModelId = "string",
                AdditionalParams = "string",
                MaxTokens = 0,
                Temperature = 0.0,
                TopK = 0,
                TopP = 0.0,
            },
            LitellmModelConfig = new Aws.Bedrock.Inputs.AgentcoreHarnessModelLitellmModelConfigArgs
            {
                ModelId = "string",
                AdditionalParams = "string",
                ApiBase = "string",
                ApiKeyArn = "string",
                MaxTokens = 0,
                Temperature = 0.0,
                TopP = 0.0,
            },
            OpenaiModelConfig = new Aws.Bedrock.Inputs.AgentcoreHarnessModelOpenaiModelConfigArgs
            {
                ApiKeyArn = "string",
                ModelId = "string",
                AdditionalParams = "string",
                ApiFormat = "string",
                MaxTokens = 0,
                Temperature = 0.0,
                TopP = 0.0,
            },
        },
        HarnessName = "string",
        MaxTokens = 0,
        Region = "string",
        EnvironmentVariables = 
        {
            { "string", "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.0,
                    StrategyId = "string",
                    TopK = 0,
                },
            },
            Disabled = null,
            ManagedMemoryConfiguration = new Aws.Bedrock.Inputs.AgentcoreHarnessMemoryManagedMemoryConfigurationArgs
            {
                Arn = "string",
                EncryptionKeyArn = "string",
                EventExpiryDuration = 0,
                Strategies = new[]
                {
                    "string",
                },
            },
        },
        EnvironmentArtifact = new Aws.Bedrock.Inputs.AgentcoreHarnessEnvironmentArtifactArgs
        {
            ContainerConfiguration = new Aws.Bedrock.Inputs.AgentcoreHarnessEnvironmentArtifactContainerConfigurationArgs
            {
                ContainerUri = "string",
            },
        },
        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",
                                        },
                                        RequireServiceS3Endpoint = false,
                                    },
                                },
                            },
                        },
                    },
                },
            },
        },
        Skills = new[]
        {
            new Aws.Bedrock.Inputs.AgentcoreHarnessSkillArgs
            {
                AwsSkills = new Aws.Bedrock.Inputs.AgentcoreHarnessSkillAwsSkillsArgs
                {
                    Paths = new[]
                    {
                        "string",
                    },
                },
                Git = new Aws.Bedrock.Inputs.AgentcoreHarnessSkillGitArgs
                {
                    Url = "string",
                    Auth = new Aws.Bedrock.Inputs.AgentcoreHarnessSkillGitAuthArgs
                    {
                        CredentialArn = "string",
                        Username = "string",
                    },
                    Path = "string",
                },
                Path = "string",
                S3 = new Aws.Bedrock.Inputs.AgentcoreHarnessSkillS3Args
                {
                    Uri = "string",
                },
            },
        },
        AuthorizerConfiguration = new Aws.Bedrock.Inputs.AgentcoreHarnessAuthorizerConfigurationArgs
        {
            CustomJwtAuthorizer = new Aws.Bedrock.Inputs.AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerArgs
            {
                DiscoveryUrl = "string",
                AllowedAudiences = new[]
                {
                    "string",
                },
                AllowedClients = new[]
                {
                    "string",
                },
                AllowedScopes = new[]
                {
                    "string",
                },
                AllowedWorkloadConfiguration = new Aws.Bedrock.Inputs.AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerAllowedWorkloadConfigurationArgs
                {
                    HostingEnvironments = new[]
                    {
                        new Aws.Bedrock.Inputs.AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerAllowedWorkloadConfigurationHostingEnvironmentArgs
                        {
                            Arn = "string",
                        },
                    },
                    WorkloadIdentities = 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",
                    },
                },
                PrivateEndpoint = new Aws.Bedrock.Inputs.AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointArgs
                {
                    ManagedVpcResource = new Aws.Bedrock.Inputs.AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointManagedVpcResourceArgs
                    {
                        EndpointIpAddressType = "string",
                        SubnetIds = new[]
                        {
                            "string",
                        },
                        VpcIdentifier = "string",
                        RoutingDomain = "string",
                        SecurityGroupIds = new[]
                        {
                            "string",
                        },
                        Tags = 
                        {
                            { "string", "string" },
                        },
                    },
                    SelfManagedLatticeResource = new Aws.Bedrock.Inputs.AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceArgs
                    {
                        ResourceConfigurationIdentifier = "string",
                    },
                },
                PrivateEndpointOverrides = new[]
                {
                    new Aws.Bedrock.Inputs.AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverrideArgs
                    {
                        Domain = "string",
                        PrivateEndpoint = new Aws.Bedrock.Inputs.AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridePrivateEndpointArgs
                        {
                            ManagedVpcResource = new Aws.Bedrock.Inputs.AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridePrivateEndpointManagedVpcResourceArgs
                            {
                                EndpointIpAddressType = "string",
                                SubnetIds = new[]
                                {
                                    "string",
                                },
                                VpcIdentifier = "string",
                                RoutingDomain = "string",
                                SecurityGroupIds = new[]
                                {
                                    "string",
                                },
                                Tags = 
                                {
                                    { "string", "string" },
                                },
                            },
                            SelfManagedLatticeResource = new Aws.Bedrock.Inputs.AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridePrivateEndpointSelfManagedLatticeResourceArgs
                            {
                                ResourceConfigurationIdentifier = "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.0,
                            },
                        },
                    },
                },
                Strategy = "string",
            },
        },
    });
    
    example, err := bedrock.NewAgentcoreHarness(ctx, "agentcoreHarnessResource", &bedrock.AgentcoreHarnessArgs{
    	ExecutionRoleArn: pulumi.String("string"),
    	SystemPrompts: bedrock.AgentcoreHarnessSystemPromptArray{
    		&bedrock.AgentcoreHarnessSystemPromptArgs{
    			Text: pulumi.String("string"),
    		},
    	},
    	Model: &bedrock.AgentcoreHarnessModelArgs{
    		BedrockModelConfig: &bedrock.AgentcoreHarnessModelBedrockModelConfigArgs{
    			ModelId:          pulumi.String("string"),
    			AdditionalParams: pulumi.String("string"),
    			ApiFormat:        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"),
    			AdditionalParams: pulumi.String("string"),
    			MaxTokens:        pulumi.Int(0),
    			Temperature:      pulumi.Float64(0),
    			TopK:             pulumi.Int(0),
    			TopP:             pulumi.Float64(0),
    		},
    		LitellmModelConfig: &bedrock.AgentcoreHarnessModelLitellmModelConfigArgs{
    			ModelId:          pulumi.String("string"),
    			AdditionalParams: pulumi.String("string"),
    			ApiBase:          pulumi.String("string"),
    			ApiKeyArn:        pulumi.String("string"),
    			MaxTokens:        pulumi.Int(0),
    			Temperature:      pulumi.Float64(0),
    			TopP:             pulumi.Float64(0),
    		},
    		OpenaiModelConfig: &bedrock.AgentcoreHarnessModelOpenaiModelConfigArgs{
    			ApiKeyArn:        pulumi.String("string"),
    			ModelId:          pulumi.String("string"),
    			AdditionalParams: pulumi.String("string"),
    			ApiFormat:        pulumi.String("string"),
    			MaxTokens:        pulumi.Int(0),
    			Temperature:      pulumi.Float64(0),
    			TopP:             pulumi.Float64(0),
    		},
    	},
    	HarnessName: pulumi.String("string"),
    	MaxTokens:   pulumi.Int(0),
    	Region:      pulumi.String("string"),
    	EnvironmentVariables: pulumi.StringMap{
    		"string": 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),
    			},
    		},
    		Disabled: &bedrock.AgentcoreHarnessMemoryDisabledArgs{},
    		ManagedMemoryConfiguration: &bedrock.AgentcoreHarnessMemoryManagedMemoryConfigurationArgs{
    			Arn:                 pulumi.String("string"),
    			EncryptionKeyArn:    pulumi.String("string"),
    			EventExpiryDuration: pulumi.Int(0),
    			Strategies: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    		},
    	},
    	EnvironmentArtifact: &bedrock.AgentcoreHarnessEnvironmentArtifactArgs{
    		ContainerConfiguration: &bedrock.AgentcoreHarnessEnvironmentArtifactContainerConfigurationArgs{
    			ContainerUri: pulumi.String("string"),
    		},
    	},
    	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"),
    									},
    									RequireServiceS3Endpoint: pulumi.Bool(false),
    								},
    							},
    						},
    					},
    				},
    			},
    		},
    	},
    	Skills: bedrock.AgentcoreHarnessSkillArray{
    		&bedrock.AgentcoreHarnessSkillArgs{
    			AwsSkills: &bedrock.AgentcoreHarnessSkillAwsSkillsArgs{
    				Paths: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    			},
    			Git: &bedrock.AgentcoreHarnessSkillGitArgs{
    				Url: pulumi.String("string"),
    				Auth: &bedrock.AgentcoreHarnessSkillGitAuthArgs{
    					CredentialArn: pulumi.String("string"),
    					Username:      pulumi.String("string"),
    				},
    				Path: pulumi.String("string"),
    			},
    			Path: pulumi.String("string"),
    			S3: &bedrock.AgentcoreHarnessSkillS3Args{
    				Uri: pulumi.String("string"),
    			},
    		},
    	},
    	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"),
    			},
    			AllowedWorkloadConfiguration: &bedrock.AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerAllowedWorkloadConfigurationArgs{
    				HostingEnvironments: bedrock.AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerAllowedWorkloadConfigurationHostingEnvironmentArray{
    					&bedrock.AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerAllowedWorkloadConfigurationHostingEnvironmentArgs{
    						Arn: pulumi.String("string"),
    					},
    				},
    				WorkloadIdentities: 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"),
    				},
    			},
    			PrivateEndpoint: &bedrock.AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointArgs{
    				ManagedVpcResource: &bedrock.AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointManagedVpcResourceArgs{
    					EndpointIpAddressType: pulumi.String("string"),
    					SubnetIds: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    					VpcIdentifier: pulumi.String("string"),
    					RoutingDomain: pulumi.String("string"),
    					SecurityGroupIds: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    					Tags: pulumi.StringMap{
    						"string": pulumi.String("string"),
    					},
    				},
    				SelfManagedLatticeResource: &bedrock.AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceArgs{
    					ResourceConfigurationIdentifier: pulumi.String("string"),
    				},
    			},
    			PrivateEndpointOverrides: bedrock.AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverrideArray{
    				&bedrock.AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverrideArgs{
    					Domain: pulumi.String("string"),
    					PrivateEndpoint: &bedrock.AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridePrivateEndpointArgs{
    						ManagedVpcResource: &bedrock.AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridePrivateEndpointManagedVpcResourceArgs{
    							EndpointIpAddressType: pulumi.String("string"),
    							SubnetIds: pulumi.StringArray{
    								pulumi.String("string"),
    							},
    							VpcIdentifier: pulumi.String("string"),
    							RoutingDomain: pulumi.String("string"),
    							SecurityGroupIds: pulumi.StringArray{
    								pulumi.String("string"),
    							},
    							Tags: pulumi.StringMap{
    								"string": pulumi.String("string"),
    							},
    						},
    						SelfManagedLatticeResource: &bedrock.AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridePrivateEndpointSelfManagedLatticeResourceArgs{
    							ResourceConfigurationIdentifier: 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_agentcore_harness" "agentcoreHarnessResource" {
      lifecycle {
        create_before_destroy = true
      }
      execution_role_arn = "string"
      system_prompts {
        text = "string"
      }
      model = {
        bedrock_model_config = {
          model_id          = "string"
          additional_params = "string"
          api_format        = "string"
          max_tokens        = 0
          temperature       = 0
          top_p             = 0
        }
        gemini_model_config = {
          api_key_arn       = "string"
          model_id          = "string"
          additional_params = "string"
          max_tokens        = 0
          temperature       = 0
          top_k             = 0
          top_p             = 0
        }
        litellm_model_config = {
          model_id          = "string"
          additional_params = "string"
          api_base          = "string"
          api_key_arn       = "string"
          max_tokens        = 0
          temperature       = 0
          top_p             = 0
        }
        openai_model_config = {
          api_key_arn       = "string"
          model_id          = "string"
          additional_params = "string"
          api_format        = "string"
          max_tokens        = 0
          temperature       = 0
          top_p             = 0
        }
      }
      harness_name = "string"
      max_tokens   = 0
      region       = "string"
      environment_variables = {
        "string" = "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
          }
        }
        disabled = {}
        managed_memory_configuration = {
          arn                   = "string"
          encryption_key_arn    = "string"
          event_expiry_duration = 0
          strategies            = ["string"]
        }
      }
      environment_artifact = {
        container_configuration = {
          container_uri = "string"
        }
      }
      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"]
              require_service_s3_endpoint = false
            }
          }
        }
      }
      skills {
        aws_skills = {
          paths = ["string"]
        }
        git = {
          url = "string"
          auth = {
            credential_arn = "string"
            username       = "string"
          }
          path = "string"
        }
        path = "string"
        s3 = {
          uri = "string"
        }
      }
      authorizer_configuration = {
        custom_jwt_authorizer = {
          discovery_url     = "string"
          allowed_audiences = ["string"]
          allowed_clients   = ["string"]
          allowed_scopes    = ["string"]
          allowed_workload_configuration = {
            hosting_environments = [{
              arn = "string"
            }]
            workload_identities = ["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"
          }]
          private_endpoint = {
            managed_vpc_resource = {
              endpoint_ip_address_type = "string"
              subnet_ids               = ["string"]
              vpc_identifier           = "string"
              routing_domain           = "string"
              security_group_ids       = ["string"]
              tags = {
                "string" = "string"
              }
            }
            self_managed_lattice_resource = {
              resource_configuration_identifier = "string"
            }
          }
          private_endpoint_overrides = [{
            domain = "string"
            private_endpoint = {
              managed_vpc_resource = {
                endpoint_ip_address_type = "string"
                subnet_ids               = ["string"]
                vpc_identifier           = "string"
                routing_domain           = "string"
                security_group_ids       = ["string"]
                tags = {
                  "string" = "string"
                }
              }
              self_managed_lattice_resource = {
                resource_configuration_identifier = "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")
        .systemPrompts(AgentcoreHarnessSystemPromptArgs.builder()
            .text("string")
            .build())
        .model(AgentcoreHarnessModelArgs.builder()
            .bedrockModelConfig(AgentcoreHarnessModelBedrockModelConfigArgs.builder()
                .modelId("string")
                .additionalParams("string")
                .apiFormat("string")
                .maxTokens(0)
                .temperature(0.0)
                .topP(0.0)
                .build())
            .geminiModelConfig(AgentcoreHarnessModelGeminiModelConfigArgs.builder()
                .apiKeyArn("string")
                .modelId("string")
                .additionalParams("string")
                .maxTokens(0)
                .temperature(0.0)
                .topK(0)
                .topP(0.0)
                .build())
            .litellmModelConfig(AgentcoreHarnessModelLitellmModelConfigArgs.builder()
                .modelId("string")
                .additionalParams("string")
                .apiBase("string")
                .apiKeyArn("string")
                .maxTokens(0)
                .temperature(0.0)
                .topP(0.0)
                .build())
            .openaiModelConfig(AgentcoreHarnessModelOpenaiModelConfigArgs.builder()
                .apiKeyArn("string")
                .modelId("string")
                .additionalParams("string")
                .apiFormat("string")
                .maxTokens(0)
                .temperature(0.0)
                .topP(0.0)
                .build())
            .build())
        .harnessName("string")
        .maxTokens(0)
        .region("string")
        .environmentVariables(Map.of("string", "string"))
        .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())
            .disabled(AgentcoreHarnessMemoryDisabledArgs.builder()
                .build())
            .managedMemoryConfiguration(AgentcoreHarnessMemoryManagedMemoryConfigurationArgs.builder()
                .arn("string")
                .encryptionKeyArn("string")
                .eventExpiryDuration(0)
                .strategies("string")
                .build())
            .build())
        .environmentArtifact(AgentcoreHarnessEnvironmentArtifactArgs.builder()
            .containerConfiguration(AgentcoreHarnessEnvironmentArtifactContainerConfigurationArgs.builder()
                .containerUri("string")
                .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")
                        .requireServiceS3Endpoint(false)
                        .build())
                    .build())
                .build())
            .build())
        .skills(AgentcoreHarnessSkillArgs.builder()
            .awsSkills(AgentcoreHarnessSkillAwsSkillsArgs.builder()
                .paths("string")
                .build())
            .git(AgentcoreHarnessSkillGitArgs.builder()
                .url("string")
                .auth(AgentcoreHarnessSkillGitAuthArgs.builder()
                    .credentialArn("string")
                    .username("string")
                    .build())
                .path("string")
                .build())
            .path("string")
            .s3(AgentcoreHarnessSkillS3Args.builder()
                .uri("string")
                .build())
            .build())
        .authorizerConfiguration(AgentcoreHarnessAuthorizerConfigurationArgs.builder()
            .customJwtAuthorizer(AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerArgs.builder()
                .discoveryUrl("string")
                .allowedAudiences("string")
                .allowedClients("string")
                .allowedScopes("string")
                .allowedWorkloadConfiguration(AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerAllowedWorkloadConfigurationArgs.builder()
                    .hostingEnvironments(AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerAllowedWorkloadConfigurationHostingEnvironmentArgs.builder()
                        .arn("string")
                        .build())
                    .workloadIdentities("string")
                    .build())
                .customClaims(AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerCustomClaimArgs.builder()
                    .authorizingClaimMatchValue(AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerCustomClaimAuthorizingClaimMatchValueArgs.builder()
                        .claimMatchOperator("string")
                        .claimMatchValue(AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerCustomClaimAuthorizingClaimMatchValueClaimMatchValueArgs.builder()
                            .matchValueString("string")
                            .matchValueStringLists("string")
                            .build())
                        .build())
                    .inboundTokenClaimName("string")
                    .inboundTokenClaimValueType("string")
                    .build())
                .privateEndpoint(AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointArgs.builder()
                    .managedVpcResource(AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointManagedVpcResourceArgs.builder()
                        .endpointIpAddressType("string")
                        .subnetIds("string")
                        .vpcIdentifier("string")
                        .routingDomain("string")
                        .securityGroupIds("string")
                        .tags(Map.of("string", "string"))
                        .build())
                    .selfManagedLatticeResource(AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceArgs.builder()
                        .resourceConfigurationIdentifier("string")
                        .build())
                    .build())
                .privateEndpointOverrides(AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverrideArgs.builder()
                    .domain("string")
                    .privateEndpoint(AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridePrivateEndpointArgs.builder()
                        .managedVpcResource(AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridePrivateEndpointManagedVpcResourceArgs.builder()
                            .endpointIpAddressType("string")
                            .subnetIds("string")
                            .vpcIdentifier("string")
                            .routingDomain("string")
                            .securityGroupIds("string")
                            .tags(Map.of("string", "string"))
                            .build())
                        .selfManagedLatticeResource(AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridePrivateEndpointSelfManagedLatticeResourceArgs.builder()
                            .resourceConfigurationIdentifier("string")
                            .build())
                        .build())
                    .build())
                .build())
            .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",
        system_prompts=[{
            "text": "string",
        }],
        model={
            "bedrock_model_config": {
                "model_id": "string",
                "additional_params": "string",
                "api_format": "string",
                "max_tokens": 0,
                "temperature": float(0),
                "top_p": float(0),
            },
            "gemini_model_config": {
                "api_key_arn": "string",
                "model_id": "string",
                "additional_params": "string",
                "max_tokens": 0,
                "temperature": float(0),
                "top_k": 0,
                "top_p": float(0),
            },
            "litellm_model_config": {
                "model_id": "string",
                "additional_params": "string",
                "api_base": "string",
                "api_key_arn": "string",
                "max_tokens": 0,
                "temperature": float(0),
                "top_p": float(0),
            },
            "openai_model_config": {
                "api_key_arn": "string",
                "model_id": "string",
                "additional_params": "string",
                "api_format": "string",
                "max_tokens": 0,
                "temperature": float(0),
                "top_p": float(0),
            },
        },
        harness_name="string",
        max_tokens=0,
        region="string",
        environment_variables={
            "string": "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,
                },
            },
            "disabled": {},
            "managed_memory_configuration": {
                "arn": "string",
                "encryption_key_arn": "string",
                "event_expiry_duration": 0,
                "strategies": ["string"],
            },
        },
        environment_artifact={
            "container_configuration": {
                "container_uri": "string",
            },
        },
        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"],
                        "require_service_s3_endpoint": False,
                    }],
                }],
            }],
        }],
        skills=[{
            "aws_skills": {
                "paths": ["string"],
            },
            "git": {
                "url": "string",
                "auth": {
                    "credential_arn": "string",
                    "username": "string",
                },
                "path": "string",
            },
            "path": "string",
            "s3": {
                "uri": "string",
            },
        }],
        authorizer_configuration={
            "custom_jwt_authorizer": {
                "discovery_url": "string",
                "allowed_audiences": ["string"],
                "allowed_clients": ["string"],
                "allowed_scopes": ["string"],
                "allowed_workload_configuration": {
                    "hosting_environments": [{
                        "arn": "string",
                    }],
                    "workload_identities": ["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",
                }],
                "private_endpoint": {
                    "managed_vpc_resource": {
                        "endpoint_ip_address_type": "string",
                        "subnet_ids": ["string"],
                        "vpc_identifier": "string",
                        "routing_domain": "string",
                        "security_group_ids": ["string"],
                        "tags": {
                            "string": "string",
                        },
                    },
                    "self_managed_lattice_resource": {
                        "resource_configuration_identifier": "string",
                    },
                },
                "private_endpoint_overrides": [{
                    "domain": "string",
                    "private_endpoint": {
                        "managed_vpc_resource": {
                            "endpoint_ip_address_type": "string",
                            "subnet_ids": ["string"],
                            "vpc_identifier": "string",
                            "routing_domain": "string",
                            "security_group_ids": ["string"],
                            "tags": {
                                "string": "string",
                            },
                        },
                        "self_managed_lattice_resource": {
                            "resource_configuration_identifier": "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",
        systemPrompts: [{
            text: "string",
        }],
        model: {
            bedrockModelConfig: {
                modelId: "string",
                additionalParams: "string",
                apiFormat: "string",
                maxTokens: 0,
                temperature: 0,
                topP: 0,
            },
            geminiModelConfig: {
                apiKeyArn: "string",
                modelId: "string",
                additionalParams: "string",
                maxTokens: 0,
                temperature: 0,
                topK: 0,
                topP: 0,
            },
            litellmModelConfig: {
                modelId: "string",
                additionalParams: "string",
                apiBase: "string",
                apiKeyArn: "string",
                maxTokens: 0,
                temperature: 0,
                topP: 0,
            },
            openaiModelConfig: {
                apiKeyArn: "string",
                modelId: "string",
                additionalParams: "string",
                apiFormat: "string",
                maxTokens: 0,
                temperature: 0,
                topP: 0,
            },
        },
        harnessName: "string",
        maxTokens: 0,
        region: "string",
        environmentVariables: {
            string: "string",
        },
        maxIterations: 0,
        allowedTools: ["string"],
        memory: {
            agentcoreMemoryConfiguration: {
                arn: "string",
                actorId: "string",
                messagesCount: 0,
                retrievalConfig: {
                    mapBlockKey: "string",
                    relevanceScore: 0,
                    strategyId: "string",
                    topK: 0,
                },
            },
            disabled: {},
            managedMemoryConfiguration: {
                arn: "string",
                encryptionKeyArn: "string",
                eventExpiryDuration: 0,
                strategies: ["string"],
            },
        },
        environmentArtifact: {
            containerConfiguration: {
                containerUri: "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"],
                        requireServiceS3Endpoint: false,
                    }],
                }],
            }],
        }],
        skills: [{
            awsSkills: {
                paths: ["string"],
            },
            git: {
                url: "string",
                auth: {
                    credentialArn: "string",
                    username: "string",
                },
                path: "string",
            },
            path: "string",
            s3: {
                uri: "string",
            },
        }],
        authorizerConfiguration: {
            customJwtAuthorizer: {
                discoveryUrl: "string",
                allowedAudiences: ["string"],
                allowedClients: ["string"],
                allowedScopes: ["string"],
                allowedWorkloadConfiguration: {
                    hostingEnvironments: [{
                        arn: "string",
                    }],
                    workloadIdentities: ["string"],
                },
                customClaims: [{
                    authorizingClaimMatchValue: {
                        claimMatchOperator: "string",
                        claimMatchValue: {
                            matchValueString: "string",
                            matchValueStringLists: ["string"],
                        },
                    },
                    inboundTokenClaimName: "string",
                    inboundTokenClaimValueType: "string",
                }],
                privateEndpoint: {
                    managedVpcResource: {
                        endpointIpAddressType: "string",
                        subnetIds: ["string"],
                        vpcIdentifier: "string",
                        routingDomain: "string",
                        securityGroupIds: ["string"],
                        tags: {
                            string: "string",
                        },
                    },
                    selfManagedLatticeResource: {
                        resourceConfigurationIdentifier: "string",
                    },
                },
                privateEndpointOverrides: [{
                    domain: "string",
                    privateEndpoint: {
                        managedVpcResource: {
                            endpointIpAddressType: "string",
                            subnetIds: ["string"],
                            vpcIdentifier: "string",
                            routingDomain: "string",
                            securityGroupIds: ["string"],
                            tags: {
                                string: "string",
                            },
                        },
                        selfManagedLatticeResource: {
                            resourceConfigurationIdentifier: "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
                allowedWorkloadConfiguration:
                    hostingEnvironments:
                        - arn: string
                    workloadIdentities:
                        - string
                customClaims:
                    - authorizingClaimMatchValue:
                        claimMatchOperator: string
                        claimMatchValue:
                            matchValueString: string
                            matchValueStringLists:
                                - string
                      inboundTokenClaimName: string
                      inboundTokenClaimValueType: string
                discoveryUrl: string
                privateEndpoint:
                    managedVpcResource:
                        endpointIpAddressType: string
                        routingDomain: string
                        securityGroupIds:
                            - string
                        subnetIds:
                            - string
                        tags:
                            string: string
                        vpcIdentifier: string
                    selfManagedLatticeResource:
                        resourceConfigurationIdentifier: string
                privateEndpointOverrides:
                    - domain: string
                      privateEndpoint:
                        managedVpcResource:
                            endpointIpAddressType: string
                            routingDomain: string
                            securityGroupIds:
                                - string
                            subnetIds:
                                - string
                            tags:
                                string: string
                            vpcIdentifier: string
                        selfManagedLatticeResource:
                            resourceConfigurationIdentifier: 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:
                        - requireServiceS3Endpoint: false
                          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
            disabled: {}
            managedMemoryConfiguration:
                arn: string
                encryptionKeyArn: string
                eventExpiryDuration: 0
                strategies:
                    - string
        model:
            bedrockModelConfig:
                additionalParams: string
                apiFormat: string
                maxTokens: 0
                modelId: string
                temperature: 0
                topP: 0
            geminiModelConfig:
                additionalParams: string
                apiKeyArn: string
                maxTokens: 0
                modelId: string
                temperature: 0
                topK: 0
                topP: 0
            litellmModelConfig:
                additionalParams: string
                apiBase: string
                apiKeyArn: string
                maxTokens: 0
                modelId: string
                temperature: 0
                topP: 0
            openaiModelConfig:
                additionalParams: string
                apiFormat: string
                apiKeyArn: string
                maxTokens: 0
                modelId: string
                temperature: 0
                topP: 0
        region: string
        skills:
            - awsSkills:
                paths:
                    - string
              git:
                auth:
                    credentialArn: string
                    username: string
                path: string
                url: string
              path: string
              s3:
                uri: 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, start with a letter, and contain only alphanumeric characters and underscores.
    Model AgentcoreHarnessModel
    Model configuration for the harness. See model Block below.
    SystemPrompts List<AgentcoreHarnessSystemPrompt>

    System prompt blocks for the harness. See systemPrompt Block 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 Block below.
    EnvironmentArtifact AgentcoreHarnessEnvironmentArtifact
    Environment artifact configuration. See environmentArtifact Block below.
    EnvironmentVariables Dictionary<string, string>
    Map of environment variables. Set to an empty map ({}) to remove all environment variables.
    Environments List<AgentcoreHarnessEnvironment>
    Compute environment configuration. See environment Block below. If not specified, configured values can be found in environmentActual. Clearing this value will leave the environment configuration as is, but Terraform will not track changes.
    MaxIterations int
    Maximum number of iterations the agent loop can perform.
    MaxTokens int
    Maximum total number of output tokens the agent can generate across all model calls within a single invocation.
    Memory AgentcoreHarnessMemory
    Memory configuration. See memory Block below. If not specified, configured values can be found in memoryActual. Clearing this value will reset the memory configuration to default values.
    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 Block 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 Block below.
    Truncations List<AgentcoreHarnessTruncation>
    Truncation configuration for conversation history. See truncation Block 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, start with a letter, and contain only alphanumeric characters and underscores.
    Model AgentcoreHarnessModelArgs
    Model configuration for the harness. See model Block below.
    SystemPrompts []AgentcoreHarnessSystemPromptArgs

    System prompt blocks for the harness. See systemPrompt Block 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 Block below.
    EnvironmentArtifact AgentcoreHarnessEnvironmentArtifactArgs
    Environment artifact configuration. See environmentArtifact Block below.
    EnvironmentVariables map[string]string
    Map of environment variables. Set to an empty map ({}) to remove all environment variables.
    Environments []AgentcoreHarnessEnvironmentArgs
    Compute environment configuration. See environment Block below. If not specified, configured values can be found in environmentActual. Clearing this value will leave the environment configuration as is, but Terraform will not track changes.
    MaxIterations int
    Maximum number of iterations the agent loop can perform.
    MaxTokens int
    Maximum total number of output tokens the agent can generate across all model calls within a single invocation.
    Memory AgentcoreHarnessMemoryArgs
    Memory configuration. See memory Block below. If not specified, configured values can be found in memoryActual. Clearing this value will reset the memory configuration to default values.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    Skills []AgentcoreHarnessSkillArgs
    Skill configurations. See skill Block 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 Block below.
    Truncations []AgentcoreHarnessTruncationArgs
    Truncation configuration for conversation history. See truncation Block 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, start with a letter, and contain only alphanumeric characters and underscores.
    model object
    Model configuration for the harness. See model Block below.
    system_prompts list(object)

    System prompt blocks for the harness. See systemPrompt Block 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 Block below.
    environment_artifact object
    Environment artifact configuration. See environmentArtifact Block below.
    environment_variables map(string)
    Map of environment variables. Set to an empty map ({}) to remove all environment variables.
    environments list(object)
    Compute environment configuration. See environment Block below. If not specified, configured values can be found in environmentActual. Clearing this value will leave the environment configuration as is, but Terraform will not track changes.
    max_iterations number
    Maximum number of iterations the agent loop can perform.
    max_tokens number
    Maximum total number of output tokens the agent can generate across all model calls within a single invocation.
    memory object
    Memory configuration. See memory Block below. If not specified, configured values can be found in memoryActual. Clearing this value will reset the memory configuration to default values.
    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 Block 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 Block below.
    truncations list(object)
    Truncation configuration for conversation history. See truncation Block 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, start with a letter, and contain only alphanumeric characters and underscores.
    model AgentcoreHarnessModel
    Model configuration for the harness. See model Block below.
    systemPrompts List<AgentcoreHarnessSystemPrompt>

    System prompt blocks for the harness. See systemPrompt Block 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 Block below.
    environmentArtifact AgentcoreHarnessEnvironmentArtifact
    Environment artifact configuration. See environmentArtifact Block below.
    environmentVariables Map<String,String>
    Map of environment variables. Set to an empty map ({}) to remove all environment variables.
    environments List<AgentcoreHarnessEnvironment>
    Compute environment configuration. See environment Block below. If not specified, configured values can be found in environmentActual. Clearing this value will leave the environment configuration as is, but Terraform will not track changes.
    maxIterations Integer
    Maximum number of iterations the agent loop can perform.
    maxTokens Integer
    Maximum total number of output tokens the agent can generate across all model calls within a single invocation.
    memory AgentcoreHarnessMemory
    Memory configuration. See memory Block below. If not specified, configured values can be found in memoryActual. Clearing this value will reset the memory configuration to default values.
    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 Block 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 Block below.
    truncations List<AgentcoreHarnessTruncation>
    Truncation configuration for conversation history. See truncation Block 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, start with a letter, and contain only alphanumeric characters and underscores.
    model AgentcoreHarnessModel
    Model configuration for the harness. See model Block below.
    systemPrompts AgentcoreHarnessSystemPrompt[]

    System prompt blocks for the harness. See systemPrompt Block 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 Block below.
    environmentArtifact AgentcoreHarnessEnvironmentArtifact
    Environment artifact configuration. See environmentArtifact Block below.
    environmentVariables {[key: string]: string}
    Map of environment variables. Set to an empty map ({}) to remove all environment variables.
    environments AgentcoreHarnessEnvironment[]
    Compute environment configuration. See environment Block below. If not specified, configured values can be found in environmentActual. Clearing this value will leave the environment configuration as is, but Terraform will not track changes.
    maxIterations number
    Maximum number of iterations the agent loop can perform.
    maxTokens number
    Maximum total number of output tokens the agent can generate across all model calls within a single invocation.
    memory AgentcoreHarnessMemory
    Memory configuration. See memory Block below. If not specified, configured values can be found in memoryActual. Clearing this value will reset the memory configuration to default values.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    skills AgentcoreHarnessSkill[]
    Skill configurations. See skill Block 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 Block below.
    truncations AgentcoreHarnessTruncation[]
    Truncation configuration for conversation history. See truncation Block 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, start with a letter, and contain only alphanumeric characters and underscores.
    model AgentcoreHarnessModelArgs
    Model configuration for the harness. See model Block below.
    system_prompts Sequence[AgentcoreHarnessSystemPromptArgs]

    System prompt blocks for the harness. See systemPrompt Block 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 Block below.
    environment_artifact AgentcoreHarnessEnvironmentArtifactArgs
    Environment artifact configuration. See environmentArtifact Block below.
    environment_variables Mapping[str, str]
    Map of environment variables. Set to an empty map ({}) to remove all environment variables.
    environments Sequence[AgentcoreHarnessEnvironmentArgs]
    Compute environment configuration. See environment Block below. If not specified, configured values can be found in environmentActual. Clearing this value will leave the environment configuration as is, but Terraform will not track changes.
    max_iterations int
    Maximum number of iterations the agent loop can perform.
    max_tokens int
    Maximum total number of output tokens the agent can generate across all model calls within a single invocation.
    memory AgentcoreHarnessMemoryArgs
    Memory configuration. See memory Block below. If not specified, configured values can be found in memoryActual. Clearing this value will reset the memory configuration to default values.
    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 Block 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 Block below.
    truncations Sequence[AgentcoreHarnessTruncationArgs]
    Truncation configuration for conversation history. See truncation Block 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, start with a letter, and contain only alphanumeric characters and underscores.
    model Property Map
    Model configuration for the harness. See model Block below.
    systemPrompts List<Property Map>

    System prompt blocks for the harness. See systemPrompt Block 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 Block below.
    environmentArtifact Property Map
    Environment artifact configuration. See environmentArtifact Block below.
    environmentVariables Map<String>
    Map of environment variables. Set to an empty map ({}) to remove all environment variables.
    environments List<Property Map>
    Compute environment configuration. See environment Block below. If not specified, configured values can be found in environmentActual. Clearing this value will leave the environment configuration as is, but Terraform will not track changes.
    maxIterations Number
    Maximum number of iterations the agent loop can perform.
    maxTokens Number
    Maximum total number of output tokens the agent can generate across all model calls within a single invocation.
    memory Property Map
    Memory configuration. See memory Block below. If not specified, configured values can be found in memoryActual. Clearing this value will reset the memory configuration to default values.
    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 Block 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 Block below.
    truncations List<Property Map>
    Truncation configuration for conversation history. See truncation Block 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 managed memory resource.
    EnvironmentActuals List<AgentcoreHarnessEnvironmentActual>
    Actual deployed environment configuration. See environmentActual Block below.
    HarnessId string
    Unique identifier of the Harness.
    Id string
    The provider-assigned unique ID for this managed resource.
    MemoryActuals List<AgentcoreHarnessMemoryActual>
    Actual deployed memory configuration. See memoryActual Block below.
    TagsAll Dictionary<string, string>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    Arn string
    ARN of the managed memory resource.
    EnvironmentActuals []AgentcoreHarnessEnvironmentActual
    Actual deployed environment configuration. See environmentActual Block below.
    HarnessId string
    Unique identifier of the Harness.
    Id string
    The provider-assigned unique ID for this managed resource.
    MemoryActuals []AgentcoreHarnessMemoryActual
    Actual deployed memory configuration. See memoryActual Block below.
    TagsAll map[string]string
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    arn string
    ARN of the managed memory resource.
    environment_actuals list(object)
    Actual deployed environment configuration. See environmentActual Block below.
    harness_id string
    Unique identifier of the Harness.
    id string
    The provider-assigned unique ID for this managed resource.
    memory_actuals list(object)
    Actual deployed memory configuration. See memoryActual Block below.
    tags_all map(string)
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    arn String
    ARN of the managed memory resource.
    environmentActuals List<AgentcoreHarnessEnvironmentActual>
    Actual deployed environment configuration. See environmentActual Block below.
    harnessId String
    Unique identifier of the Harness.
    id String
    The provider-assigned unique ID for this managed resource.
    memoryActuals List<AgentcoreHarnessMemoryActual>
    Actual deployed memory configuration. See memoryActual Block below.
    tagsAll Map<String,String>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    arn string
    ARN of the managed memory resource.
    environmentActuals AgentcoreHarnessEnvironmentActual[]
    Actual deployed environment configuration. See environmentActual Block below.
    harnessId string
    Unique identifier of the Harness.
    id string
    The provider-assigned unique ID for this managed resource.
    memoryActuals AgentcoreHarnessMemoryActual[]
    Actual deployed memory configuration. See memoryActual Block below.
    tagsAll {[key: string]: string}
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    arn str
    ARN of the managed memory resource.
    environment_actuals Sequence[AgentcoreHarnessEnvironmentActual]
    Actual deployed environment configuration. See environmentActual Block below.
    harness_id str
    Unique identifier of the Harness.
    id str
    The provider-assigned unique ID for this managed resource.
    memory_actuals Sequence[AgentcoreHarnessMemoryActual]
    Actual deployed memory configuration. See memoryActual Block below.
    tags_all Mapping[str, str]
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    arn String
    ARN of the managed memory resource.
    environmentActuals List<Property Map>
    Actual deployed environment configuration. See environmentActual Block below.
    harnessId String
    Unique identifier of the Harness.
    id String
    The provider-assigned unique ID for this managed resource.
    memoryActuals List<Property Map>
    Actual deployed memory configuration. See memoryActual Block below.
    tagsAll Map<String>
    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_actuals: Optional[Sequence[AgentcoreHarnessEnvironmentActualArgs]] = 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,
            memory_actuals: Optional[Sequence[AgentcoreHarnessMemoryActualArgs]] = 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:  existingAgentcoreHarness:    type: aws:bedrock:AgentcoreHarness    get:      id: ${id}
    import {
      to = aws_bedrock_agentcore_harness.example
      id = "${id}"
    }
    
    name string
    The unique name of the resulting resource.
    id Input<ID>
    The unique provider ID of the resource to look up.
    state AgentcoreHarnessState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resulting resource.
    id str
    The unique provider ID of the resource to look up.
    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 resulting resource.
    id IDInput
    The unique provider ID of the resource to look up.
    state AgentcoreHarnessState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resulting resource.
    id Input<string>
    The unique provider ID of the resource to look up.
    state AgentcoreHarnessState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resulting resource.
    id Output<String>
    The unique provider ID of the resource to look up.
    state AgentcoreHarnessState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    options CustomResourceOptions
    Bag of options to control 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 managed memory resource.
    AuthorizerConfiguration AgentcoreHarnessAuthorizerConfiguration
    Authorization configuration for authenticating requests. See authorizerConfiguration Block below.
    EnvironmentActuals List<AgentcoreHarnessEnvironmentActual>
    Actual deployed environment configuration. See environmentActual Block below.
    EnvironmentArtifact AgentcoreHarnessEnvironmentArtifact
    Environment artifact configuration. See environmentArtifact Block below.
    EnvironmentVariables Dictionary<string, string>
    Map of environment variables. Set to an empty map ({}) to remove all environment variables.
    Environments List<AgentcoreHarnessEnvironment>
    Compute environment configuration. See environment Block below. If not specified, configured values can be found in environmentActual. Clearing this value will leave the environment configuration as is, but Terraform will not track changes.
    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, start with a letter, and contain only alphanumeric characters and underscores.
    MaxIterations int
    Maximum number of iterations the agent loop can perform.
    MaxTokens int
    Maximum total number of output tokens the agent can generate across all model calls within a single invocation.
    Memory AgentcoreHarnessMemory
    Memory configuration. See memory Block below. If not specified, configured values can be found in memoryActual. Clearing this value will reset the memory configuration to default values.
    MemoryActuals List<AgentcoreHarnessMemoryActual>
    Actual deployed memory configuration. See memoryActual Block below.
    Model AgentcoreHarnessModel
    Model configuration for the harness. See model Block 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 Block below.
    SystemPrompts List<AgentcoreHarnessSystemPrompt>

    System prompt blocks for the harness. See systemPrompt Block below.

    The following arguments are optional:

    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>
    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 Block below.
    Truncations List<AgentcoreHarnessTruncation>
    Truncation configuration for conversation history. See truncation Block below.
    AllowedTools []string
    List of tool names allowed for the harness. Use ["*"] to allow all tools.
    Arn string
    ARN of the managed memory resource.
    AuthorizerConfiguration AgentcoreHarnessAuthorizerConfigurationArgs
    Authorization configuration for authenticating requests. See authorizerConfiguration Block below.
    EnvironmentActuals []AgentcoreHarnessEnvironmentActualArgs
    Actual deployed environment configuration. See environmentActual Block below.
    EnvironmentArtifact AgentcoreHarnessEnvironmentArtifactArgs
    Environment artifact configuration. See environmentArtifact Block below.
    EnvironmentVariables map[string]string
    Map of environment variables. Set to an empty map ({}) to remove all environment variables.
    Environments []AgentcoreHarnessEnvironmentArgs
    Compute environment configuration. See environment Block below. If not specified, configured values can be found in environmentActual. Clearing this value will leave the environment configuration as is, but Terraform will not track changes.
    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, start with a letter, and contain only alphanumeric characters and underscores.
    MaxIterations int
    Maximum number of iterations the agent loop can perform.
    MaxTokens int
    Maximum total number of output tokens the agent can generate across all model calls within a single invocation.
    Memory AgentcoreHarnessMemoryArgs
    Memory configuration. See memory Block below. If not specified, configured values can be found in memoryActual. Clearing this value will reset the memory configuration to default values.
    MemoryActuals []AgentcoreHarnessMemoryActualArgs
    Actual deployed memory configuration. See memoryActual Block below.
    Model AgentcoreHarnessModelArgs
    Model configuration for the harness. See model Block 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 Block below.
    SystemPrompts []AgentcoreHarnessSystemPromptArgs

    System prompt blocks for the harness. See systemPrompt Block below.

    The following arguments are optional:

    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
    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 Block below.
    Truncations []AgentcoreHarnessTruncationArgs
    Truncation configuration for conversation history. See truncation Block below.
    allowed_tools list(string)
    List of tool names allowed for the harness. Use ["*"] to allow all tools.
    arn string
    ARN of the managed memory resource.
    authorizer_configuration object
    Authorization configuration for authenticating requests. See authorizerConfiguration Block below.
    environment_actuals list(object)
    Actual deployed environment configuration. See environmentActual Block below.
    environment_artifact object
    Environment artifact configuration. See environmentArtifact Block below.
    environment_variables map(string)
    Map of environment variables. Set to an empty map ({}) to remove all environment variables.
    environments list(object)
    Compute environment configuration. See environment Block below. If not specified, configured values can be found in environmentActual. Clearing this value will leave the environment configuration as is, but Terraform will not track changes.
    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, start with a letter, and contain only alphanumeric characters and underscores.
    max_iterations number
    Maximum number of iterations the agent loop can perform.
    max_tokens number
    Maximum total number of output tokens the agent can generate across all model calls within a single invocation.
    memory object
    Memory configuration. See memory Block below. If not specified, configured values can be found in memoryActual. Clearing this value will reset the memory configuration to default values.
    memory_actuals list(object)
    Actual deployed memory configuration. See memoryActual Block below.
    model object
    Model configuration for the harness. See model Block 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 Block below.
    system_prompts list(object)

    System prompt blocks for the harness. See systemPrompt Block below.

    The following arguments are optional:

    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)
    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 Block below.
    truncations list(object)
    Truncation configuration for conversation history. See truncation Block below.
    allowedTools List<String>
    List of tool names allowed for the harness. Use ["*"] to allow all tools.
    arn String
    ARN of the managed memory resource.
    authorizerConfiguration AgentcoreHarnessAuthorizerConfiguration
    Authorization configuration for authenticating requests. See authorizerConfiguration Block below.
    environmentActuals List<AgentcoreHarnessEnvironmentActual>
    Actual deployed environment configuration. See environmentActual Block below.
    environmentArtifact AgentcoreHarnessEnvironmentArtifact
    Environment artifact configuration. See environmentArtifact Block below.
    environmentVariables Map<String,String>
    Map of environment variables. Set to an empty map ({}) to remove all environment variables.
    environments List<AgentcoreHarnessEnvironment>
    Compute environment configuration. See environment Block below. If not specified, configured values can be found in environmentActual. Clearing this value will leave the environment configuration as is, but Terraform will not track changes.
    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, start with a letter, and contain only alphanumeric characters and underscores.
    maxIterations Integer
    Maximum number of iterations the agent loop can perform.
    maxTokens Integer
    Maximum total number of output tokens the agent can generate across all model calls within a single invocation.
    memory AgentcoreHarnessMemory
    Memory configuration. See memory Block below. If not specified, configured values can be found in memoryActual. Clearing this value will reset the memory configuration to default values.
    memoryActuals List<AgentcoreHarnessMemoryActual>
    Actual deployed memory configuration. See memoryActual Block below.
    model AgentcoreHarnessModel
    Model configuration for the harness. See model Block 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 Block below.
    systemPrompts List<AgentcoreHarnessSystemPrompt>

    System prompt blocks for the harness. See systemPrompt Block below.

    The following arguments are optional:

    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>
    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 Block below.
    truncations List<AgentcoreHarnessTruncation>
    Truncation configuration for conversation history. See truncation Block below.
    allowedTools string[]
    List of tool names allowed for the harness. Use ["*"] to allow all tools.
    arn string
    ARN of the managed memory resource.
    authorizerConfiguration AgentcoreHarnessAuthorizerConfiguration
    Authorization configuration for authenticating requests. See authorizerConfiguration Block below.
    environmentActuals AgentcoreHarnessEnvironmentActual[]
    Actual deployed environment configuration. See environmentActual Block below.
    environmentArtifact AgentcoreHarnessEnvironmentArtifact
    Environment artifact configuration. See environmentArtifact Block below.
    environmentVariables {[key: string]: string}
    Map of environment variables. Set to an empty map ({}) to remove all environment variables.
    environments AgentcoreHarnessEnvironment[]
    Compute environment configuration. See environment Block below. If not specified, configured values can be found in environmentActual. Clearing this value will leave the environment configuration as is, but Terraform will not track changes.
    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, start with a letter, and contain only alphanumeric characters and underscores.
    maxIterations number
    Maximum number of iterations the agent loop can perform.
    maxTokens number
    Maximum total number of output tokens the agent can generate across all model calls within a single invocation.
    memory AgentcoreHarnessMemory
    Memory configuration. See memory Block below. If not specified, configured values can be found in memoryActual. Clearing this value will reset the memory configuration to default values.
    memoryActuals AgentcoreHarnessMemoryActual[]
    Actual deployed memory configuration. See memoryActual Block below.
    model AgentcoreHarnessModel
    Model configuration for the harness. See model Block 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 Block below.
    systemPrompts AgentcoreHarnessSystemPrompt[]

    System prompt blocks for the harness. See systemPrompt Block below.

    The following arguments are optional:

    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}
    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 Block below.
    truncations AgentcoreHarnessTruncation[]
    Truncation configuration for conversation history. See truncation Block below.
    allowed_tools Sequence[str]
    List of tool names allowed for the harness. Use ["*"] to allow all tools.
    arn str
    ARN of the managed memory resource.
    authorizer_configuration AgentcoreHarnessAuthorizerConfigurationArgs
    Authorization configuration for authenticating requests. See authorizerConfiguration Block below.
    environment_actuals Sequence[AgentcoreHarnessEnvironmentActualArgs]
    Actual deployed environment configuration. See environmentActual Block below.
    environment_artifact AgentcoreHarnessEnvironmentArtifactArgs
    Environment artifact configuration. See environmentArtifact Block below.
    environment_variables Mapping[str, str]
    Map of environment variables. Set to an empty map ({}) to remove all environment variables.
    environments Sequence[AgentcoreHarnessEnvironmentArgs]
    Compute environment configuration. See environment Block below. If not specified, configured values can be found in environmentActual. Clearing this value will leave the environment configuration as is, but Terraform will not track changes.
    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, start with a letter, and contain only alphanumeric characters and underscores.
    max_iterations int
    Maximum number of iterations the agent loop can perform.
    max_tokens int
    Maximum total number of output tokens the agent can generate across all model calls within a single invocation.
    memory AgentcoreHarnessMemoryArgs
    Memory configuration. See memory Block below. If not specified, configured values can be found in memoryActual. Clearing this value will reset the memory configuration to default values.
    memory_actuals Sequence[AgentcoreHarnessMemoryActualArgs]
    Actual deployed memory configuration. See memoryActual Block below.
    model AgentcoreHarnessModelArgs
    Model configuration for the harness. See model Block 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 Block below.
    system_prompts Sequence[AgentcoreHarnessSystemPromptArgs]

    System prompt blocks for the harness. See systemPrompt Block below.

    The following arguments are optional:

    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]
    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 Block below.
    truncations Sequence[AgentcoreHarnessTruncationArgs]
    Truncation configuration for conversation history. See truncation Block below.
    allowedTools List<String>
    List of tool names allowed for the harness. Use ["*"] to allow all tools.
    arn String
    ARN of the managed memory resource.
    authorizerConfiguration Property Map
    Authorization configuration for authenticating requests. See authorizerConfiguration Block below.
    environmentActuals List<Property Map>
    Actual deployed environment configuration. See environmentActual Block below.
    environmentArtifact Property Map
    Environment artifact configuration. See environmentArtifact Block below.
    environmentVariables Map<String>
    Map of environment variables. Set to an empty map ({}) to remove all environment variables.
    environments List<Property Map>
    Compute environment configuration. See environment Block below. If not specified, configured values can be found in environmentActual. Clearing this value will leave the environment configuration as is, but Terraform will not track changes.
    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, start with a letter, and contain only alphanumeric characters and underscores.
    maxIterations Number
    Maximum number of iterations the agent loop can perform.
    maxTokens Number
    Maximum total number of output tokens the agent can generate across all model calls within a single invocation.
    memory Property Map
    Memory configuration. See memory Block below. If not specified, configured values can be found in memoryActual. Clearing this value will reset the memory configuration to default values.
    memoryActuals List<Property Map>
    Actual deployed memory configuration. See memoryActual Block below.
    model Property Map
    Model configuration for the harness. See model Block 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 Block below.
    systemPrompts List<Property Map>

    System prompt blocks for the harness. See systemPrompt Block below.

    The following arguments are optional:

    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>
    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 Block below.
    truncations List<Property Map>
    Truncation configuration for conversation history. See truncation Block below.

    Supporting Types

    AgentcoreHarnessAuthorizerConfiguration, AgentcoreHarnessAuthorizerConfigurationArgs

    CustomJwtAuthorizer AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizer
    JWT-based authorization configuration block. See customJwtAuthorizer Block below.
    CustomJwtAuthorizer AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizer
    JWT-based authorization configuration block. See customJwtAuthorizer Block below.
    custom_jwt_authorizer object
    JWT-based authorization configuration block. See customJwtAuthorizer Block below.
    customJwtAuthorizer AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizer
    JWT-based authorization configuration block. See customJwtAuthorizer Block below.
    customJwtAuthorizer AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizer
    JWT-based authorization configuration block. See customJwtAuthorizer Block below.
    custom_jwt_authorizer AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizer
    JWT-based authorization configuration block. See customJwtAuthorizer Block below.
    customJwtAuthorizer Property Map
    JWT-based authorization configuration block. See customJwtAuthorizer Block 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.
    AllowedWorkloadConfiguration AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerAllowedWorkloadConfiguration
    Configuration restricting which workloads may use this authorizer. See allowedWorkloadConfiguration Block below.
    CustomClaims List<AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerCustomClaim>
    Repeatable block to define a custom claim validation name, value, and operation. See customClaim Block below.
    PrivateEndpoint AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerPrivateEndpoint
    Private endpoint used to reach the authorization server. See privateEndpoint Block below.
    PrivateEndpointOverrides List<AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverride>
    Overrides for the private endpoints used to reach the authorization server. See privateEndpointOverrides Block 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.
    AllowedWorkloadConfiguration AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerAllowedWorkloadConfiguration
    Configuration restricting which workloads may use this authorizer. See allowedWorkloadConfiguration Block below.
    CustomClaims []AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerCustomClaim
    Repeatable block to define a custom claim validation name, value, and operation. See customClaim Block below.
    PrivateEndpoint AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerPrivateEndpoint
    Private endpoint used to reach the authorization server. See privateEndpoint Block below.
    PrivateEndpointOverrides []AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverride
    Overrides for the private endpoints used to reach the authorization server. See privateEndpointOverrides Block 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.
    allowed_workload_configuration object
    Configuration restricting which workloads may use this authorizer. See allowedWorkloadConfiguration Block below.
    custom_claims list(object)
    Repeatable block to define a custom claim validation name, value, and operation. See customClaim Block below.
    private_endpoint object
    Private endpoint used to reach the authorization server. See privateEndpoint Block below.
    private_endpoint_overrides list(object)
    Overrides for the private endpoints used to reach the authorization server. See privateEndpointOverrides Block 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.
    allowedWorkloadConfiguration AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerAllowedWorkloadConfiguration
    Configuration restricting which workloads may use this authorizer. See allowedWorkloadConfiguration Block below.
    customClaims List<AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerCustomClaim>
    Repeatable block to define a custom claim validation name, value, and operation. See customClaim Block below.
    privateEndpoint AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerPrivateEndpoint
    Private endpoint used to reach the authorization server. See privateEndpoint Block below.
    privateEndpointOverrides List<AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverride>
    Overrides for the private endpoints used to reach the authorization server. See privateEndpointOverrides Block 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.
    allowedWorkloadConfiguration AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerAllowedWorkloadConfiguration
    Configuration restricting which workloads may use this authorizer. See allowedWorkloadConfiguration Block below.
    customClaims AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerCustomClaim[]
    Repeatable block to define a custom claim validation name, value, and operation. See customClaim Block below.
    privateEndpoint AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerPrivateEndpoint
    Private endpoint used to reach the authorization server. See privateEndpoint Block below.
    privateEndpointOverrides AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverride[]
    Overrides for the private endpoints used to reach the authorization server. See privateEndpointOverrides Block 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.
    allowed_workload_configuration AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerAllowedWorkloadConfiguration
    Configuration restricting which workloads may use this authorizer. See allowedWorkloadConfiguration Block below.
    custom_claims Sequence[AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerCustomClaim]
    Repeatable block to define a custom claim validation name, value, and operation. See customClaim Block below.
    private_endpoint AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerPrivateEndpoint
    Private endpoint used to reach the authorization server. See privateEndpoint Block below.
    private_endpoint_overrides Sequence[AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverride]
    Overrides for the private endpoints used to reach the authorization server. See privateEndpointOverrides Block 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.
    allowedWorkloadConfiguration Property Map
    Configuration restricting which workloads may use this authorizer. See allowedWorkloadConfiguration Block below.
    customClaims List<Property Map>
    Repeatable block to define a custom claim validation name, value, and operation. See customClaim Block below.
    privateEndpoint Property Map
    Private endpoint used to reach the authorization server. See privateEndpoint Block below.
    privateEndpointOverrides List<Property Map>
    Overrides for the private endpoints used to reach the authorization server. See privateEndpointOverrides Block below.

    AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerAllowedWorkloadConfiguration, AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerAllowedWorkloadConfigurationArgs

    HostingEnvironments List<AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerAllowedWorkloadConfigurationHostingEnvironment>
    Hosting environments allowed to use the authorizer. Between 1 and 10 entries. See hostingEnvironment Block below.
    WorkloadIdentities List<string>
    List of workload identity names allowed to use the authorizer. Between 1 and 10 entries.
    HostingEnvironments []AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerAllowedWorkloadConfigurationHostingEnvironment
    Hosting environments allowed to use the authorizer. Between 1 and 10 entries. See hostingEnvironment Block below.
    WorkloadIdentities []string
    List of workload identity names allowed to use the authorizer. Between 1 and 10 entries.
    hosting_environments list(object)
    Hosting environments allowed to use the authorizer. Between 1 and 10 entries. See hostingEnvironment Block below.
    workload_identities list(string)
    List of workload identity names allowed to use the authorizer. Between 1 and 10 entries.
    hostingEnvironments List<AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerAllowedWorkloadConfigurationHostingEnvironment>
    Hosting environments allowed to use the authorizer. Between 1 and 10 entries. See hostingEnvironment Block below.
    workloadIdentities List<String>
    List of workload identity names allowed to use the authorizer. Between 1 and 10 entries.
    hostingEnvironments AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerAllowedWorkloadConfigurationHostingEnvironment[]
    Hosting environments allowed to use the authorizer. Between 1 and 10 entries. See hostingEnvironment Block below.
    workloadIdentities string[]
    List of workload identity names allowed to use the authorizer. Between 1 and 10 entries.
    hosting_environments Sequence[AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerAllowedWorkloadConfigurationHostingEnvironment]
    Hosting environments allowed to use the authorizer. Between 1 and 10 entries. See hostingEnvironment Block below.
    workload_identities Sequence[str]
    List of workload identity names allowed to use the authorizer. Between 1 and 10 entries.
    hostingEnvironments List<Property Map>
    Hosting environments allowed to use the authorizer. Between 1 and 10 entries. See hostingEnvironment Block below.
    workloadIdentities List<String>
    List of workload identity names allowed to use the authorizer. Between 1 and 10 entries.

    AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerAllowedWorkloadConfigurationHostingEnvironment, AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerAllowedWorkloadConfigurationHostingEnvironmentArgs

    Arn string
    ARN of the hosting environment.
    Arn string
    ARN of the hosting environment.
    arn string
    ARN of the hosting environment.
    arn String
    ARN of the hosting environment.
    arn string
    ARN of the hosting environment.
    arn str
    ARN of the hosting environment.
    arn String
    ARN of the hosting environment.

    AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerCustomClaim, AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerCustomClaimArgs

    AuthorizingClaimMatchValue AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerCustomClaimAuthorizingClaimMatchValue
    Configuration block to define the value or values to match for and the relationship of the match. See authorizingClaimMatchValue Block 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 Block 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 Block 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 Block 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 Block 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 Block 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 Block 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 Block 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 Block 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 Block 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 Block 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 Block 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 Block 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 Block 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.

    AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerPrivateEndpoint, AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointArgs

    ManagedVpcResource AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointManagedVpcResource
    Managed VPC resource configuration. See managedVpcResource Block below.
    SelfManagedLatticeResource AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResource
    Self-managed VPC Lattice resource configuration. See selfManagedLatticeResource Block below.
    ManagedVpcResource AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointManagedVpcResource
    Managed VPC resource configuration. See managedVpcResource Block below.
    SelfManagedLatticeResource AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResource
    Self-managed VPC Lattice resource configuration. See selfManagedLatticeResource Block below.
    managed_vpc_resource object
    Managed VPC resource configuration. See managedVpcResource Block below.
    self_managed_lattice_resource object
    Self-managed VPC Lattice resource configuration. See selfManagedLatticeResource Block below.
    managedVpcResource AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointManagedVpcResource
    Managed VPC resource configuration. See managedVpcResource Block below.
    selfManagedLatticeResource AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResource
    Self-managed VPC Lattice resource configuration. See selfManagedLatticeResource Block below.
    managedVpcResource AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointManagedVpcResource
    Managed VPC resource configuration. See managedVpcResource Block below.
    selfManagedLatticeResource AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResource
    Self-managed VPC Lattice resource configuration. See selfManagedLatticeResource Block below.
    managed_vpc_resource AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointManagedVpcResource
    Managed VPC resource configuration. See managedVpcResource Block below.
    self_managed_lattice_resource AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResource
    Self-managed VPC Lattice resource configuration. See selfManagedLatticeResource Block below.
    managedVpcResource Property Map
    Managed VPC resource configuration. See managedVpcResource Block below.
    selfManagedLatticeResource Property Map
    Self-managed VPC Lattice resource configuration. See selfManagedLatticeResource Block below.

    AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointManagedVpcResource, AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointManagedVpcResourceArgs

    EndpointIpAddressType string
    IP address type for the endpoint. Valid values are IPV4 and IPV6.
    SubnetIds List<string>
    IDs of the subnets for the endpoint.
    VpcIdentifier string
    Identifier of the VPC for the endpoint.
    RoutingDomain string
    Routing domain for the endpoint.
    SecurityGroupIds List<string>
    IDs of the security groups for the endpoint.
    Tags Dictionary<string, string>
    Tags to assign to the managed VPC resource.
    EndpointIpAddressType string
    IP address type for the endpoint. Valid values are IPV4 and IPV6.
    SubnetIds []string
    IDs of the subnets for the endpoint.
    VpcIdentifier string
    Identifier of the VPC for the endpoint.
    RoutingDomain string
    Routing domain for the endpoint.
    SecurityGroupIds []string
    IDs of the security groups for the endpoint.
    Tags map[string]string
    Tags to assign to the managed VPC resource.
    endpoint_ip_address_type string
    IP address type for the endpoint. Valid values are IPV4 and IPV6.
    subnet_ids list(string)
    IDs of the subnets for the endpoint.
    vpc_identifier string
    Identifier of the VPC for the endpoint.
    routing_domain string
    Routing domain for the endpoint.
    security_group_ids list(string)
    IDs of the security groups for the endpoint.
    tags map(string)
    Tags to assign to the managed VPC resource.
    endpointIpAddressType String
    IP address type for the endpoint. Valid values are IPV4 and IPV6.
    subnetIds List<String>
    IDs of the subnets for the endpoint.
    vpcIdentifier String
    Identifier of the VPC for the endpoint.
    routingDomain String
    Routing domain for the endpoint.
    securityGroupIds List<String>
    IDs of the security groups for the endpoint.
    tags Map<String,String>
    Tags to assign to the managed VPC resource.
    endpointIpAddressType string
    IP address type for the endpoint. Valid values are IPV4 and IPV6.
    subnetIds string[]
    IDs of the subnets for the endpoint.
    vpcIdentifier string
    Identifier of the VPC for the endpoint.
    routingDomain string
    Routing domain for the endpoint.
    securityGroupIds string[]
    IDs of the security groups for the endpoint.
    tags {[key: string]: string}
    Tags to assign to the managed VPC resource.
    endpoint_ip_address_type str
    IP address type for the endpoint. Valid values are IPV4 and IPV6.
    subnet_ids Sequence[str]
    IDs of the subnets for the endpoint.
    vpc_identifier str
    Identifier of the VPC for the endpoint.
    routing_domain str
    Routing domain for the endpoint.
    security_group_ids Sequence[str]
    IDs of the security groups for the endpoint.
    tags Mapping[str, str]
    Tags to assign to the managed VPC resource.
    endpointIpAddressType String
    IP address type for the endpoint. Valid values are IPV4 and IPV6.
    subnetIds List<String>
    IDs of the subnets for the endpoint.
    vpcIdentifier String
    Identifier of the VPC for the endpoint.
    routingDomain String
    Routing domain for the endpoint.
    securityGroupIds List<String>
    IDs of the security groups for the endpoint.
    tags Map<String>
    Tags to assign to the managed VPC resource.

    AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverride, AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverrideArgs

    Domain string
    Domain the override applies to.
    PrivateEndpoint AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridePrivateEndpoint
    Private endpoint configuration. See privateEndpoint Block below.
    Domain string
    Domain the override applies to.
    PrivateEndpoint AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridePrivateEndpoint
    Private endpoint configuration. See privateEndpoint Block below.
    domain string
    Domain the override applies to.
    private_endpoint object
    Private endpoint configuration. See privateEndpoint Block below.
    domain String
    Domain the override applies to.
    privateEndpoint AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridePrivateEndpoint
    Private endpoint configuration. See privateEndpoint Block below.
    domain string
    Domain the override applies to.
    privateEndpoint AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridePrivateEndpoint
    Private endpoint configuration. See privateEndpoint Block below.
    domain str
    Domain the override applies to.
    private_endpoint AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridePrivateEndpoint
    Private endpoint configuration. See privateEndpoint Block below.
    domain String
    Domain the override applies to.
    privateEndpoint Property Map
    Private endpoint configuration. See privateEndpoint Block below.

    AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridePrivateEndpoint, AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridePrivateEndpointArgs

    managed_vpc_resource object
    Managed VPC resource configuration. See managedVpcResource Block below.
    self_managed_lattice_resource object
    Self-managed VPC Lattice resource configuration. See selfManagedLatticeResource Block below.
    managedVpcResource Property Map
    Managed VPC resource configuration. See managedVpcResource Block below.
    selfManagedLatticeResource Property Map
    Self-managed VPC Lattice resource configuration. See selfManagedLatticeResource Block below.

    AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridePrivateEndpointManagedVpcResource, AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridePrivateEndpointManagedVpcResourceArgs

    EndpointIpAddressType string
    IP address type for the endpoint. Valid values are IPV4 and IPV6.
    SubnetIds List<string>
    IDs of the subnets for the endpoint.
    VpcIdentifier string
    Identifier of the VPC for the endpoint.
    RoutingDomain string
    Routing domain for the endpoint.
    SecurityGroupIds List<string>
    IDs of the security groups for the endpoint.
    Tags Dictionary<string, string>
    Tags to assign to the managed VPC resource.
    EndpointIpAddressType string
    IP address type for the endpoint. Valid values are IPV4 and IPV6.
    SubnetIds []string
    IDs of the subnets for the endpoint.
    VpcIdentifier string
    Identifier of the VPC for the endpoint.
    RoutingDomain string
    Routing domain for the endpoint.
    SecurityGroupIds []string
    IDs of the security groups for the endpoint.
    Tags map[string]string
    Tags to assign to the managed VPC resource.
    endpoint_ip_address_type string
    IP address type for the endpoint. Valid values are IPV4 and IPV6.
    subnet_ids list(string)
    IDs of the subnets for the endpoint.
    vpc_identifier string
    Identifier of the VPC for the endpoint.
    routing_domain string
    Routing domain for the endpoint.
    security_group_ids list(string)
    IDs of the security groups for the endpoint.
    tags map(string)
    Tags to assign to the managed VPC resource.
    endpointIpAddressType String
    IP address type for the endpoint. Valid values are IPV4 and IPV6.
    subnetIds List<String>
    IDs of the subnets for the endpoint.
    vpcIdentifier String
    Identifier of the VPC for the endpoint.
    routingDomain String
    Routing domain for the endpoint.
    securityGroupIds List<String>
    IDs of the security groups for the endpoint.
    tags Map<String,String>
    Tags to assign to the managed VPC resource.
    endpointIpAddressType string
    IP address type for the endpoint. Valid values are IPV4 and IPV6.
    subnetIds string[]
    IDs of the subnets for the endpoint.
    vpcIdentifier string
    Identifier of the VPC for the endpoint.
    routingDomain string
    Routing domain for the endpoint.
    securityGroupIds string[]
    IDs of the security groups for the endpoint.
    tags {[key: string]: string}
    Tags to assign to the managed VPC resource.
    endpoint_ip_address_type str
    IP address type for the endpoint. Valid values are IPV4 and IPV6.
    subnet_ids Sequence[str]
    IDs of the subnets for the endpoint.
    vpc_identifier str
    Identifier of the VPC for the endpoint.
    routing_domain str
    Routing domain for the endpoint.
    security_group_ids Sequence[str]
    IDs of the security groups for the endpoint.
    tags Mapping[str, str]
    Tags to assign to the managed VPC resource.
    endpointIpAddressType String
    IP address type for the endpoint. Valid values are IPV4 and IPV6.
    subnetIds List<String>
    IDs of the subnets for the endpoint.
    vpcIdentifier String
    Identifier of the VPC for the endpoint.
    routingDomain String
    Routing domain for the endpoint.
    securityGroupIds List<String>
    IDs of the security groups for the endpoint.
    tags Map<String>
    Tags to assign to the managed VPC resource.

    AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridePrivateEndpointSelfManagedLatticeResource, AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridePrivateEndpointSelfManagedLatticeResourceArgs

    ResourceConfigurationIdentifier string
    Identifier of the VPC Lattice resource configuration.
    ResourceConfigurationIdentifier string
    Identifier of the VPC Lattice resource configuration.
    resource_configuration_identifier string
    Identifier of the VPC Lattice resource configuration.
    resourceConfigurationIdentifier String
    Identifier of the VPC Lattice resource configuration.
    resourceConfigurationIdentifier string
    Identifier of the VPC Lattice resource configuration.
    resource_configuration_identifier str
    Identifier of the VPC Lattice resource configuration.
    resourceConfigurationIdentifier String
    Identifier of the VPC Lattice resource configuration.

    AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResource, AgentcoreHarnessAuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceArgs

    ResourceConfigurationIdentifier string
    Identifier of the VPC Lattice resource configuration.
    ResourceConfigurationIdentifier string
    Identifier of the VPC Lattice resource configuration.
    resource_configuration_identifier string
    Identifier of the VPC Lattice resource configuration.
    resourceConfigurationIdentifier String
    Identifier of the VPC Lattice resource configuration.
    resourceConfigurationIdentifier string
    Identifier of the VPC Lattice resource configuration.
    resource_configuration_identifier str
    Identifier of the VPC Lattice resource configuration.
    resourceConfigurationIdentifier String
    Identifier of the VPC Lattice resource configuration.

    AgentcoreHarnessEnvironment, AgentcoreHarnessEnvironmentArgs

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

    AgentcoreHarnessEnvironmentActual, AgentcoreHarnessEnvironmentActualArgs

    AgentcoreRuntimeEnvironments List<AgentcoreHarnessEnvironmentActualAgentcoreRuntimeEnvironment>
    AgentCore runtime environment configuration. See environment_actual.agentcore_runtime_environment Block below.
    AgentcoreRuntimeEnvironments []AgentcoreHarnessEnvironmentActualAgentcoreRuntimeEnvironment
    AgentCore runtime environment configuration. See environment_actual.agentcore_runtime_environment Block below.
    agentcore_runtime_environments list(object)
    AgentCore runtime environment configuration. See environment_actual.agentcore_runtime_environment Block below.
    agentcoreRuntimeEnvironments List<AgentcoreHarnessEnvironmentActualAgentcoreRuntimeEnvironment>
    AgentCore runtime environment configuration. See environment_actual.agentcore_runtime_environment Block below.
    agentcoreRuntimeEnvironments AgentcoreHarnessEnvironmentActualAgentcoreRuntimeEnvironment[]
    AgentCore runtime environment configuration. See environment_actual.agentcore_runtime_environment Block below.
    agentcore_runtime_environments Sequence[AgentcoreHarnessEnvironmentActualAgentcoreRuntimeEnvironment]
    AgentCore runtime environment configuration. See environment_actual.agentcore_runtime_environment Block below.
    agentcoreRuntimeEnvironments List<Property Map>
    AgentCore runtime environment configuration. See environment_actual.agentcore_runtime_environment Block below.

    AgentcoreHarnessEnvironmentActualAgentcoreRuntimeEnvironment, AgentcoreHarnessEnvironmentActualAgentcoreRuntimeEnvironmentArgs

    AgentRuntimeArn string
    ARN of the agent runtime the service provisions for the harness.
    AgentRuntimeId string
    ID of the agent runtime the service provisions for the harness.
    AgentRuntimeName string
    Name of the agent runtime the service derives for the harness.
    FilesystemConfigurations List<AgentcoreHarnessEnvironmentActualAgentcoreRuntimeEnvironmentFilesystemConfiguration>
    Filesystem configurations. See environment_actual.agentcore_runtime_environment.filesystem_configuration Block below.
    LifecycleConfigurations List<AgentcoreHarnessEnvironmentActualAgentcoreRuntimeEnvironmentLifecycleConfiguration>
    Lifecycle configuration. See environment_actual.agentcore_runtime_environment.lifecycle_configuration Block below.
    NetworkConfigurations List<AgentcoreHarnessEnvironmentActualAgentcoreRuntimeEnvironmentNetworkConfiguration>
    Network configuration. See environment_actual.agentcore_runtime_environment.network_configuration Block below.
    AgentRuntimeArn string
    ARN of the agent runtime the service provisions for the harness.
    AgentRuntimeId string
    ID of the agent runtime the service provisions for the harness.
    AgentRuntimeName string
    Name of the agent runtime the service derives for the harness.
    FilesystemConfigurations []AgentcoreHarnessEnvironmentActualAgentcoreRuntimeEnvironmentFilesystemConfiguration
    Filesystem configurations. See environment_actual.agentcore_runtime_environment.filesystem_configuration Block below.
    LifecycleConfigurations []AgentcoreHarnessEnvironmentActualAgentcoreRuntimeEnvironmentLifecycleConfiguration
    Lifecycle configuration. See environment_actual.agentcore_runtime_environment.lifecycle_configuration Block below.
    NetworkConfigurations []AgentcoreHarnessEnvironmentActualAgentcoreRuntimeEnvironmentNetworkConfiguration
    Network configuration. See environment_actual.agentcore_runtime_environment.network_configuration Block below.
    agent_runtime_arn string
    ARN of the agent runtime the service provisions for the harness.
    agent_runtime_id string
    ID of the agent runtime the service provisions for the harness.
    agent_runtime_name string
    Name of the agent runtime the service derives for the harness.
    filesystem_configurations list(object)
    Filesystem configurations. See environment_actual.agentcore_runtime_environment.filesystem_configuration Block below.
    lifecycle_configurations list(object)
    Lifecycle configuration. See environment_actual.agentcore_runtime_environment.lifecycle_configuration Block below.
    network_configurations list(object)
    Network configuration. See environment_actual.agentcore_runtime_environment.network_configuration Block below.
    agentRuntimeArn String
    ARN of the agent runtime the service provisions for the harness.
    agentRuntimeId String
    ID of the agent runtime the service provisions for the harness.
    agentRuntimeName String
    Name of the agent runtime the service derives for the harness.
    filesystemConfigurations List<AgentcoreHarnessEnvironmentActualAgentcoreRuntimeEnvironmentFilesystemConfiguration>
    Filesystem configurations. See environment_actual.agentcore_runtime_environment.filesystem_configuration Block below.
    lifecycleConfigurations List<AgentcoreHarnessEnvironmentActualAgentcoreRuntimeEnvironmentLifecycleConfiguration>
    Lifecycle configuration. See environment_actual.agentcore_runtime_environment.lifecycle_configuration Block below.
    networkConfigurations List<AgentcoreHarnessEnvironmentActualAgentcoreRuntimeEnvironmentNetworkConfiguration>
    Network configuration. See environment_actual.agentcore_runtime_environment.network_configuration Block below.
    agentRuntimeArn string
    ARN of the agent runtime the service provisions for the harness.
    agentRuntimeId string
    ID of the agent runtime the service provisions for the harness.
    agentRuntimeName string
    Name of the agent runtime the service derives for the harness.
    filesystemConfigurations AgentcoreHarnessEnvironmentActualAgentcoreRuntimeEnvironmentFilesystemConfiguration[]
    Filesystem configurations. See environment_actual.agentcore_runtime_environment.filesystem_configuration Block below.
    lifecycleConfigurations AgentcoreHarnessEnvironmentActualAgentcoreRuntimeEnvironmentLifecycleConfiguration[]
    Lifecycle configuration. See environment_actual.agentcore_runtime_environment.lifecycle_configuration Block below.
    networkConfigurations AgentcoreHarnessEnvironmentActualAgentcoreRuntimeEnvironmentNetworkConfiguration[]
    Network configuration. See environment_actual.agentcore_runtime_environment.network_configuration Block below.
    agent_runtime_arn str
    ARN of the agent runtime the service provisions for the harness.
    agent_runtime_id str
    ID of the agent runtime the service provisions for the harness.
    agent_runtime_name str
    Name of the agent runtime the service derives for the harness.
    filesystem_configurations Sequence[AgentcoreHarnessEnvironmentActualAgentcoreRuntimeEnvironmentFilesystemConfiguration]
    Filesystem configurations. See environment_actual.agentcore_runtime_environment.filesystem_configuration Block below.
    lifecycle_configurations Sequence[AgentcoreHarnessEnvironmentActualAgentcoreRuntimeEnvironmentLifecycleConfiguration]
    Lifecycle configuration. See environment_actual.agentcore_runtime_environment.lifecycle_configuration Block below.
    network_configurations Sequence[AgentcoreHarnessEnvironmentActualAgentcoreRuntimeEnvironmentNetworkConfiguration]
    Network configuration. See environment_actual.agentcore_runtime_environment.network_configuration Block below.
    agentRuntimeArn String
    ARN of the agent runtime the service provisions for the harness.
    agentRuntimeId String
    ID of the agent runtime the service provisions for the harness.
    agentRuntimeName String
    Name of the agent runtime the service derives for the harness.
    filesystemConfigurations List<Property Map>
    Filesystem configurations. See environment_actual.agentcore_runtime_environment.filesystem_configuration Block below.
    lifecycleConfigurations List<Property Map>
    Lifecycle configuration. See environment_actual.agentcore_runtime_environment.lifecycle_configuration Block below.
    networkConfigurations List<Property Map>
    Network configuration. See environment_actual.agentcore_runtime_environment.network_configuration Block below.

    AgentcoreHarnessEnvironmentActualAgentcoreRuntimeEnvironmentFilesystemConfiguration, AgentcoreHarnessEnvironmentActualAgentcoreRuntimeEnvironmentFilesystemConfigurationArgs

    EfsAccessPoints List<AgentcoreHarnessEnvironmentActualAgentcoreRuntimeEnvironmentFilesystemConfigurationEfsAccessPoint>
    Amazon EFS access point mounted as shared file storage. See environment_actual.agentcore_runtime_environment.filesystem_configuration.efs_access_point Block below.
    S3FilesAccessPoints List<AgentcoreHarnessEnvironmentActualAgentcoreRuntimeEnvironmentFilesystemConfigurationS3FilesAccessPoint>
    Amazon S3 Files access point mounted as shared file storage. See environment_actual.agentcore_runtime_environment.filesystem_configuration.s3_files_access_point Block below.
    SessionStorages List<AgentcoreHarnessEnvironmentActualAgentcoreRuntimeEnvironmentFilesystemConfigurationSessionStorage>
    Session storage filesystem. See environment_actual.agentcore_runtime_environment.filesystem_configuration.session_storage Block below.
    EfsAccessPoints []AgentcoreHarnessEnvironmentActualAgentcoreRuntimeEnvironmentFilesystemConfigurationEfsAccessPoint
    Amazon EFS access point mounted as shared file storage. See environment_actual.agentcore_runtime_environment.filesystem_configuration.efs_access_point Block below.
    S3FilesAccessPoints []AgentcoreHarnessEnvironmentActualAgentcoreRuntimeEnvironmentFilesystemConfigurationS3FilesAccessPoint
    Amazon S3 Files access point mounted as shared file storage. See environment_actual.agentcore_runtime_environment.filesystem_configuration.s3_files_access_point Block below.
    SessionStorages []AgentcoreHarnessEnvironmentActualAgentcoreRuntimeEnvironmentFilesystemConfigurationSessionStorage
    Session storage filesystem. See environment_actual.agentcore_runtime_environment.filesystem_configuration.session_storage Block below.
    efs_access_points list(object)
    Amazon EFS access point mounted as shared file storage. See environment_actual.agentcore_runtime_environment.filesystem_configuration.efs_access_point Block below.
    s3_files_access_points list(object)
    Amazon S3 Files access point mounted as shared file storage. See environment_actual.agentcore_runtime_environment.filesystem_configuration.s3_files_access_point Block below.
    session_storages list(object)
    Session storage filesystem. See environment_actual.agentcore_runtime_environment.filesystem_configuration.session_storage Block below.
    efsAccessPoints List<AgentcoreHarnessEnvironmentActualAgentcoreRuntimeEnvironmentFilesystemConfigurationEfsAccessPoint>
    Amazon EFS access point mounted as shared file storage. See environment_actual.agentcore_runtime_environment.filesystem_configuration.efs_access_point Block below.
    s3FilesAccessPoints List<AgentcoreHarnessEnvironmentActualAgentcoreRuntimeEnvironmentFilesystemConfigurationS3FilesAccessPoint>
    Amazon S3 Files access point mounted as shared file storage. See environment_actual.agentcore_runtime_environment.filesystem_configuration.s3_files_access_point Block below.
    sessionStorages List<AgentcoreHarnessEnvironmentActualAgentcoreRuntimeEnvironmentFilesystemConfigurationSessionStorage>
    Session storage filesystem. See environment_actual.agentcore_runtime_environment.filesystem_configuration.session_storage Block below.
    efsAccessPoints AgentcoreHarnessEnvironmentActualAgentcoreRuntimeEnvironmentFilesystemConfigurationEfsAccessPoint[]
    Amazon EFS access point mounted as shared file storage. See environment_actual.agentcore_runtime_environment.filesystem_configuration.efs_access_point Block below.
    s3FilesAccessPoints AgentcoreHarnessEnvironmentActualAgentcoreRuntimeEnvironmentFilesystemConfigurationS3FilesAccessPoint[]
    Amazon S3 Files access point mounted as shared file storage. See environment_actual.agentcore_runtime_environment.filesystem_configuration.s3_files_access_point Block below.
    sessionStorages AgentcoreHarnessEnvironmentActualAgentcoreRuntimeEnvironmentFilesystemConfigurationSessionStorage[]
    Session storage filesystem. See environment_actual.agentcore_runtime_environment.filesystem_configuration.session_storage Block below.
    efs_access_points Sequence[AgentcoreHarnessEnvironmentActualAgentcoreRuntimeEnvironmentFilesystemConfigurationEfsAccessPoint]
    Amazon EFS access point mounted as shared file storage. See environment_actual.agentcore_runtime_environment.filesystem_configuration.efs_access_point Block below.
    s3_files_access_points Sequence[AgentcoreHarnessEnvironmentActualAgentcoreRuntimeEnvironmentFilesystemConfigurationS3FilesAccessPoint]
    Amazon S3 Files access point mounted as shared file storage. See environment_actual.agentcore_runtime_environment.filesystem_configuration.s3_files_access_point Block below.
    session_storages Sequence[AgentcoreHarnessEnvironmentActualAgentcoreRuntimeEnvironmentFilesystemConfigurationSessionStorage]
    Session storage filesystem. See environment_actual.agentcore_runtime_environment.filesystem_configuration.session_storage Block below.
    efsAccessPoints List<Property Map>
    Amazon EFS access point mounted as shared file storage. See environment_actual.agentcore_runtime_environment.filesystem_configuration.efs_access_point Block below.
    s3FilesAccessPoints List<Property Map>
    Amazon S3 Files access point mounted as shared file storage. See environment_actual.agentcore_runtime_environment.filesystem_configuration.s3_files_access_point Block below.
    sessionStorages List<Property Map>
    Session storage filesystem. See environment_actual.agentcore_runtime_environment.filesystem_configuration.session_storage Block below.

    AgentcoreHarnessEnvironmentActualAgentcoreRuntimeEnvironmentFilesystemConfigurationEfsAccessPoint, AgentcoreHarnessEnvironmentActualAgentcoreRuntimeEnvironmentFilesystemConfigurationEfsAccessPointArgs

    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).

    AgentcoreHarnessEnvironmentActualAgentcoreRuntimeEnvironmentFilesystemConfigurationS3FilesAccessPoint, AgentcoreHarnessEnvironmentActualAgentcoreRuntimeEnvironmentFilesystemConfigurationS3FilesAccessPointArgs

    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).

    AgentcoreHarnessEnvironmentActualAgentcoreRuntimeEnvironmentFilesystemConfigurationSessionStorage, AgentcoreHarnessEnvironmentActualAgentcoreRuntimeEnvironmentFilesystemConfigurationSessionStorageArgs

    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).

    AgentcoreHarnessEnvironmentActualAgentcoreRuntimeEnvironmentLifecycleConfiguration, AgentcoreHarnessEnvironmentActualAgentcoreRuntimeEnvironmentLifecycleConfigurationArgs

    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.

    AgentcoreHarnessEnvironmentActualAgentcoreRuntimeEnvironmentNetworkConfiguration, AgentcoreHarnessEnvironmentActualAgentcoreRuntimeEnvironmentNetworkConfigurationArgs

    NetworkMode string
    Network mode.
    NetworkModeConfigs List<AgentcoreHarnessEnvironmentActualAgentcoreRuntimeEnvironmentNetworkConfigurationNetworkModeConfig>
    VPC configuration. See environment_actual.agentcore_runtime_environment.network_configuration.network_mode_config Block below.
    NetworkMode string
    Network mode.
    NetworkModeConfigs []AgentcoreHarnessEnvironmentActualAgentcoreRuntimeEnvironmentNetworkConfigurationNetworkModeConfig
    VPC configuration. See environment_actual.agentcore_runtime_environment.network_configuration.network_mode_config Block below.
    network_mode string
    Network mode.
    network_mode_configs list(object)
    VPC configuration. See environment_actual.agentcore_runtime_environment.network_configuration.network_mode_config Block below.
    networkMode String
    Network mode.
    networkModeConfigs List<AgentcoreHarnessEnvironmentActualAgentcoreRuntimeEnvironmentNetworkConfigurationNetworkModeConfig>
    VPC configuration. See environment_actual.agentcore_runtime_environment.network_configuration.network_mode_config Block below.
    networkMode string
    Network mode.
    networkModeConfigs AgentcoreHarnessEnvironmentActualAgentcoreRuntimeEnvironmentNetworkConfigurationNetworkModeConfig[]
    VPC configuration. See environment_actual.agentcore_runtime_environment.network_configuration.network_mode_config Block below.
    network_mode str
    Network mode.
    network_mode_configs Sequence[AgentcoreHarnessEnvironmentActualAgentcoreRuntimeEnvironmentNetworkConfigurationNetworkModeConfig]
    VPC configuration. See environment_actual.agentcore_runtime_environment.network_configuration.network_mode_config Block below.
    networkMode String
    Network mode.
    networkModeConfigs List<Property Map>
    VPC configuration. See environment_actual.agentcore_runtime_environment.network_configuration.network_mode_config Block below.

    AgentcoreHarnessEnvironmentActualAgentcoreRuntimeEnvironmentNetworkConfigurationNetworkModeConfig, AgentcoreHarnessEnvironmentActualAgentcoreRuntimeEnvironmentNetworkConfigurationNetworkModeConfigArgs

    RequireServiceS3Endpoint bool
    Whether an S3 endpoint is required for the service in the VPC.
    SecurityGroups List<string>
    Security groups for the VPC.
    Subnets List<string>
    Subnets for the VPC.
    RequireServiceS3Endpoint bool
    Whether an S3 endpoint is required for the service in the VPC.
    SecurityGroups []string
    Security groups for the VPC.
    Subnets []string
    Subnets for the VPC.
    require_service_s3_endpoint bool
    Whether an S3 endpoint is required for the service in the VPC.
    security_groups list(string)
    Security groups for the VPC.
    subnets list(string)
    Subnets for the VPC.
    requireServiceS3Endpoint Boolean
    Whether an S3 endpoint is required for the service in the VPC.
    securityGroups List<String>
    Security groups for the VPC.
    subnets List<String>
    Subnets for the VPC.
    requireServiceS3Endpoint boolean
    Whether an S3 endpoint is required for the service in the VPC.
    securityGroups string[]
    Security groups for the VPC.
    subnets string[]
    Subnets for the VPC.
    require_service_s3_endpoint bool
    Whether an S3 endpoint is required for the service in the VPC.
    security_groups Sequence[str]
    Security groups for the VPC.
    subnets Sequence[str]
    Subnets for the VPC.
    requireServiceS3Endpoint Boolean
    Whether an S3 endpoint is required for the service in the VPC.
    securityGroups List<String>
    Security groups for the VPC.
    subnets List<String>
    Subnets for the VPC.

    AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironment, AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentArgs

    AgentRuntimeArn string
    ARN of the agent runtime the service provisions for the harness.
    AgentRuntimeId string
    ID of the agent runtime the service provisions for the harness.
    AgentRuntimeName string
    Name of the agent runtime the service derives for the harness.
    FilesystemConfigurations List<AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentFilesystemConfiguration>
    Filesystem configurations. See environment_actual.agentcore_runtime_environment.filesystem_configuration Block below.
    LifecycleConfigurations List<AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentLifecycleConfiguration>
    Lifecycle configuration. See environment_actual.agentcore_runtime_environment.lifecycle_configuration Block below.
    NetworkConfigurations List<AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentNetworkConfiguration>
    Network configuration. See environment_actual.agentcore_runtime_environment.network_configuration Block below.
    AgentRuntimeArn string
    ARN of the agent runtime the service provisions for the harness.
    AgentRuntimeId string
    ID of the agent runtime the service provisions for the harness.
    AgentRuntimeName string
    Name of the agent runtime the service derives for the harness.
    FilesystemConfigurations []AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentFilesystemConfiguration
    Filesystem configurations. See environment_actual.agentcore_runtime_environment.filesystem_configuration Block below.
    LifecycleConfigurations []AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentLifecycleConfiguration
    Lifecycle configuration. See environment_actual.agentcore_runtime_environment.lifecycle_configuration Block below.
    NetworkConfigurations []AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentNetworkConfiguration
    Network configuration. See environment_actual.agentcore_runtime_environment.network_configuration Block below.
    agent_runtime_arn string
    ARN of the agent runtime the service provisions for the harness.
    agent_runtime_id string
    ID of the agent runtime the service provisions for the harness.
    agent_runtime_name string
    Name of the agent runtime the service derives for the harness.
    filesystem_configurations list(object)
    Filesystem configurations. See environment_actual.agentcore_runtime_environment.filesystem_configuration Block below.
    lifecycle_configurations list(object)
    Lifecycle configuration. See environment_actual.agentcore_runtime_environment.lifecycle_configuration Block below.
    network_configurations list(object)
    Network configuration. See environment_actual.agentcore_runtime_environment.network_configuration Block below.
    agentRuntimeArn String
    ARN of the agent runtime the service provisions for the harness.
    agentRuntimeId String
    ID of the agent runtime the service provisions for the harness.
    agentRuntimeName String
    Name of the agent runtime the service derives for the harness.
    filesystemConfigurations List<AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentFilesystemConfiguration>
    Filesystem configurations. See environment_actual.agentcore_runtime_environment.filesystem_configuration Block below.
    lifecycleConfigurations List<AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentLifecycleConfiguration>
    Lifecycle configuration. See environment_actual.agentcore_runtime_environment.lifecycle_configuration Block below.
    networkConfigurations List<AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentNetworkConfiguration>
    Network configuration. See environment_actual.agentcore_runtime_environment.network_configuration Block below.
    agentRuntimeArn string
    ARN of the agent runtime the service provisions for the harness.
    agentRuntimeId string
    ID of the agent runtime the service provisions for the harness.
    agentRuntimeName string
    Name of the agent runtime the service derives for the harness.
    filesystemConfigurations AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentFilesystemConfiguration[]
    Filesystem configurations. See environment_actual.agentcore_runtime_environment.filesystem_configuration Block below.
    lifecycleConfigurations AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentLifecycleConfiguration[]
    Lifecycle configuration. See environment_actual.agentcore_runtime_environment.lifecycle_configuration Block below.
    networkConfigurations AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentNetworkConfiguration[]
    Network configuration. See environment_actual.agentcore_runtime_environment.network_configuration Block below.
    agent_runtime_arn str
    ARN of the agent runtime the service provisions for the harness.
    agent_runtime_id str
    ID of the agent runtime the service provisions for the harness.
    agent_runtime_name str
    Name of the agent runtime the service derives for the harness.
    filesystem_configurations Sequence[AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentFilesystemConfiguration]
    Filesystem configurations. See environment_actual.agentcore_runtime_environment.filesystem_configuration Block below.
    lifecycle_configurations Sequence[AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentLifecycleConfiguration]
    Lifecycle configuration. See environment_actual.agentcore_runtime_environment.lifecycle_configuration Block below.
    network_configurations Sequence[AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentNetworkConfiguration]
    Network configuration. See environment_actual.agentcore_runtime_environment.network_configuration Block below.
    agentRuntimeArn String
    ARN of the agent runtime the service provisions for the harness.
    agentRuntimeId String
    ID of the agent runtime the service provisions for the harness.
    agentRuntimeName String
    Name of the agent runtime the service derives for the harness.
    filesystemConfigurations List<Property Map>
    Filesystem configurations. See environment_actual.agentcore_runtime_environment.filesystem_configuration Block below.
    lifecycleConfigurations List<Property Map>
    Lifecycle configuration. See environment_actual.agentcore_runtime_environment.lifecycle_configuration Block below.
    networkConfigurations List<Property Map>
    Network configuration. See environment_actual.agentcore_runtime_environment.network_configuration Block below.

    AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentFilesystemConfiguration, AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentFilesystemConfigurationArgs

    EfsAccessPoints List<AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentFilesystemConfigurationEfsAccessPoint>
    Amazon EFS access point mounted as shared file storage. See environment_actual.agentcore_runtime_environment.filesystem_configuration.efs_access_point Block below.
    S3FilesAccessPoints List<AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentFilesystemConfigurationS3FilesAccessPoint>
    Amazon S3 Files access point mounted as shared file storage. See environment_actual.agentcore_runtime_environment.filesystem_configuration.s3_files_access_point Block below.
    SessionStorages List<AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentFilesystemConfigurationSessionStorage>
    Session storage filesystem. See environment_actual.agentcore_runtime_environment.filesystem_configuration.session_storage Block below.
    EfsAccessPoints []AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentFilesystemConfigurationEfsAccessPoint
    Amazon EFS access point mounted as shared file storage. See environment_actual.agentcore_runtime_environment.filesystem_configuration.efs_access_point Block below.
    S3FilesAccessPoints []AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentFilesystemConfigurationS3FilesAccessPoint
    Amazon S3 Files access point mounted as shared file storage. See environment_actual.agentcore_runtime_environment.filesystem_configuration.s3_files_access_point Block below.
    SessionStorages []AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentFilesystemConfigurationSessionStorage
    Session storage filesystem. See environment_actual.agentcore_runtime_environment.filesystem_configuration.session_storage Block below.
    efs_access_points list(object)
    Amazon EFS access point mounted as shared file storage. See environment_actual.agentcore_runtime_environment.filesystem_configuration.efs_access_point Block below.
    s3_files_access_points list(object)
    Amazon S3 Files access point mounted as shared file storage. See environment_actual.agentcore_runtime_environment.filesystem_configuration.s3_files_access_point Block below.
    session_storages list(object)
    Session storage filesystem. See environment_actual.agentcore_runtime_environment.filesystem_configuration.session_storage Block below.
    efsAccessPoints List<AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentFilesystemConfigurationEfsAccessPoint>
    Amazon EFS access point mounted as shared file storage. See environment_actual.agentcore_runtime_environment.filesystem_configuration.efs_access_point Block below.
    s3FilesAccessPoints List<AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentFilesystemConfigurationS3FilesAccessPoint>
    Amazon S3 Files access point mounted as shared file storage. See environment_actual.agentcore_runtime_environment.filesystem_configuration.s3_files_access_point Block below.
    sessionStorages List<AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentFilesystemConfigurationSessionStorage>
    Session storage filesystem. See environment_actual.agentcore_runtime_environment.filesystem_configuration.session_storage Block below.
    efsAccessPoints AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentFilesystemConfigurationEfsAccessPoint[]
    Amazon EFS access point mounted as shared file storage. See environment_actual.agentcore_runtime_environment.filesystem_configuration.efs_access_point Block below.
    s3FilesAccessPoints AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentFilesystemConfigurationS3FilesAccessPoint[]
    Amazon S3 Files access point mounted as shared file storage. See environment_actual.agentcore_runtime_environment.filesystem_configuration.s3_files_access_point Block below.
    sessionStorages AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentFilesystemConfigurationSessionStorage[]
    Session storage filesystem. See environment_actual.agentcore_runtime_environment.filesystem_configuration.session_storage Block below.
    efs_access_points Sequence[AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentFilesystemConfigurationEfsAccessPoint]
    Amazon EFS access point mounted as shared file storage. See environment_actual.agentcore_runtime_environment.filesystem_configuration.efs_access_point Block below.
    s3_files_access_points Sequence[AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentFilesystemConfigurationS3FilesAccessPoint]
    Amazon S3 Files access point mounted as shared file storage. See environment_actual.agentcore_runtime_environment.filesystem_configuration.s3_files_access_point Block below.
    session_storages Sequence[AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentFilesystemConfigurationSessionStorage]
    Session storage filesystem. See environment_actual.agentcore_runtime_environment.filesystem_configuration.session_storage Block below.
    efsAccessPoints List<Property Map>
    Amazon EFS access point mounted as shared file storage. See environment_actual.agentcore_runtime_environment.filesystem_configuration.efs_access_point Block below.
    s3FilesAccessPoints List<Property Map>
    Amazon S3 Files access point mounted as shared file storage. See environment_actual.agentcore_runtime_environment.filesystem_configuration.s3_files_access_point Block below.
    sessionStorages List<Property Map>
    Session storage filesystem. See environment_actual.agentcore_runtime_environment.filesystem_configuration.session_storage Block 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.
    NetworkModeConfigs List<AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentNetworkConfigurationNetworkModeConfig>
    VPC configuration. See environment_actual.agentcore_runtime_environment.network_configuration.network_mode_config Block below.
    NetworkMode string
    Network mode.
    NetworkModeConfigs []AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentNetworkConfigurationNetworkModeConfig
    VPC configuration. See environment_actual.agentcore_runtime_environment.network_configuration.network_mode_config Block below.
    network_mode string
    Network mode.
    network_mode_configs list(object)
    VPC configuration. See environment_actual.agentcore_runtime_environment.network_configuration.network_mode_config Block below.
    networkMode String
    Network mode.
    networkModeConfigs List<AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentNetworkConfigurationNetworkModeConfig>
    VPC configuration. See environment_actual.agentcore_runtime_environment.network_configuration.network_mode_config Block below.
    networkMode string
    Network mode.
    networkModeConfigs AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentNetworkConfigurationNetworkModeConfig[]
    VPC configuration. See environment_actual.agentcore_runtime_environment.network_configuration.network_mode_config Block below.
    network_mode str
    Network mode.
    network_mode_configs Sequence[AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentNetworkConfigurationNetworkModeConfig]
    VPC configuration. See environment_actual.agentcore_runtime_environment.network_configuration.network_mode_config Block below.
    networkMode String
    Network mode.
    networkModeConfigs List<Property Map>
    VPC configuration. See environment_actual.agentcore_runtime_environment.network_configuration.network_mode_config Block below.

    AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentNetworkConfigurationNetworkModeConfig, AgentcoreHarnessEnvironmentAgentcoreRuntimeEnvironmentNetworkConfigurationNetworkModeConfigArgs

    SecurityGroups List<string>
    Security groups for the VPC.
    Subnets List<string>
    Subnets for the VPC.
    RequireServiceS3Endpoint bool
    Whether an S3 endpoint is required for the service in the VPC.
    SecurityGroups []string
    Security groups for the VPC.
    Subnets []string
    Subnets for the VPC.
    RequireServiceS3Endpoint bool
    Whether an S3 endpoint is required for the service in the VPC.
    security_groups list(string)
    Security groups for the VPC.
    subnets list(string)
    Subnets for the VPC.
    require_service_s3_endpoint bool
    Whether an S3 endpoint is required for the service in the VPC.
    securityGroups List<String>
    Security groups for the VPC.
    subnets List<String>
    Subnets for the VPC.
    requireServiceS3Endpoint Boolean
    Whether an S3 endpoint is required for the service in the VPC.
    securityGroups string[]
    Security groups for the VPC.
    subnets string[]
    Subnets for the VPC.
    requireServiceS3Endpoint boolean
    Whether an S3 endpoint is required for the service in the VPC.
    security_groups Sequence[str]
    Security groups for the VPC.
    subnets Sequence[str]
    Subnets for the VPC.
    require_service_s3_endpoint bool
    Whether an S3 endpoint is required for the service in the VPC.
    securityGroups List<String>
    Security groups for the VPC.
    subnets List<String>
    Subnets for the VPC.
    requireServiceS3Endpoint Boolean
    Whether an S3 endpoint is required for the service in the VPC.

    AgentcoreHarnessEnvironmentArtifact, AgentcoreHarnessEnvironmentArtifactArgs

    ContainerConfiguration AgentcoreHarnessEnvironmentArtifactContainerConfiguration
    Container configuration. See containerConfiguration Block below.
    ContainerConfiguration AgentcoreHarnessEnvironmentArtifactContainerConfiguration
    Container configuration. See containerConfiguration Block below.
    container_configuration object
    Container configuration. See containerConfiguration Block below.
    containerConfiguration AgentcoreHarnessEnvironmentArtifactContainerConfiguration
    Container configuration. See containerConfiguration Block below.
    containerConfiguration AgentcoreHarnessEnvironmentArtifactContainerConfiguration
    Container configuration. See containerConfiguration Block below.
    container_configuration AgentcoreHarnessEnvironmentArtifactContainerConfiguration
    Container configuration. See containerConfiguration Block below.
    containerConfiguration Property Map
    Container configuration. See containerConfiguration Block 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. Use this to connect to an existing AgentCore memory resource. See memory.agentcore_memory_configuration Block below.
    Disabled AgentcoreHarnessMemoryDisabled
    Explicitly disable memory for this harness. See memory.disabled Block below.
    ManagedMemoryConfiguration AgentcoreHarnessMemoryManagedMemoryConfiguration
    Managed memory configuration. Creates and manages a memory resource automatically. See memory.managed_memory_configuration Block below.
    AgentcoreMemoryConfiguration AgentcoreHarnessMemoryAgentcoreMemoryConfiguration
    AgentCore memory configuration. Use this to connect to an existing AgentCore memory resource. See memory.agentcore_memory_configuration Block below.
    Disabled AgentcoreHarnessMemoryDisabled
    Explicitly disable memory for this harness. See memory.disabled Block below.
    ManagedMemoryConfiguration AgentcoreHarnessMemoryManagedMemoryConfiguration
    Managed memory configuration. Creates and manages a memory resource automatically. See memory.managed_memory_configuration Block below.
    agentcore_memory_configuration object
    AgentCore memory configuration. Use this to connect to an existing AgentCore memory resource. See memory.agentcore_memory_configuration Block below.
    disabled object
    Explicitly disable memory for this harness. See memory.disabled Block below.
    managed_memory_configuration object
    Managed memory configuration. Creates and manages a memory resource automatically. See memory.managed_memory_configuration Block below.
    agentcoreMemoryConfiguration AgentcoreHarnessMemoryAgentcoreMemoryConfiguration
    AgentCore memory configuration. Use this to connect to an existing AgentCore memory resource. See memory.agentcore_memory_configuration Block below.
    disabled AgentcoreHarnessMemoryDisabled
    Explicitly disable memory for this harness. See memory.disabled Block below.
    managedMemoryConfiguration AgentcoreHarnessMemoryManagedMemoryConfiguration
    Managed memory configuration. Creates and manages a memory resource automatically. See memory.managed_memory_configuration Block below.
    agentcoreMemoryConfiguration AgentcoreHarnessMemoryAgentcoreMemoryConfiguration
    AgentCore memory configuration. Use this to connect to an existing AgentCore memory resource. See memory.agentcore_memory_configuration Block below.
    disabled AgentcoreHarnessMemoryDisabled
    Explicitly disable memory for this harness. See memory.disabled Block below.
    managedMemoryConfiguration AgentcoreHarnessMemoryManagedMemoryConfiguration
    Managed memory configuration. Creates and manages a memory resource automatically. See memory.managed_memory_configuration Block below.
    agentcore_memory_configuration AgentcoreHarnessMemoryAgentcoreMemoryConfiguration
    AgentCore memory configuration. Use this to connect to an existing AgentCore memory resource. See memory.agentcore_memory_configuration Block below.
    disabled AgentcoreHarnessMemoryDisabled
    Explicitly disable memory for this harness. See memory.disabled Block below.
    managed_memory_configuration AgentcoreHarnessMemoryManagedMemoryConfiguration
    Managed memory configuration. Creates and manages a memory resource automatically. See memory.managed_memory_configuration Block below.
    agentcoreMemoryConfiguration Property Map
    AgentCore memory configuration. Use this to connect to an existing AgentCore memory resource. See memory.agentcore_memory_configuration Block below.
    disabled Property Map
    Explicitly disable memory for this harness. See memory.disabled Block below.
    managedMemoryConfiguration Property Map
    Managed memory configuration. Creates and manages a memory resource automatically. See memory.managed_memory_configuration Block below.

    AgentcoreHarnessMemoryActual, AgentcoreHarnessMemoryActualArgs

    AgentcoreMemoryConfigurations List<AgentcoreHarnessMemoryActualAgentcoreMemoryConfiguration>
    AgentCore memory configuration. See memory_actual.agentcore_memory_configuration Block below.
    Disableds List<AgentcoreHarnessMemoryActualDisabled>
    Present when memory is explicitly disabled. See memory_actual.disabled Block below.
    ManagedMemoryConfigurations List<AgentcoreHarnessMemoryActualManagedMemoryConfiguration>
    Managed memory configuration. See memory_actual.managed_memory_configuration Block below.
    AgentcoreMemoryConfigurations []AgentcoreHarnessMemoryActualAgentcoreMemoryConfiguration
    AgentCore memory configuration. See memory_actual.agentcore_memory_configuration Block below.
    Disableds []AgentcoreHarnessMemoryActualDisabled
    Present when memory is explicitly disabled. See memory_actual.disabled Block below.
    ManagedMemoryConfigurations []AgentcoreHarnessMemoryActualManagedMemoryConfiguration
    Managed memory configuration. See memory_actual.managed_memory_configuration Block below.
    agentcore_memory_configurations list(object)
    AgentCore memory configuration. See memory_actual.agentcore_memory_configuration Block below.
    disableds list(object)
    Present when memory is explicitly disabled. See memory_actual.disabled Block below.
    managed_memory_configurations list(object)
    Managed memory configuration. See memory_actual.managed_memory_configuration Block below.
    agentcoreMemoryConfigurations List<AgentcoreHarnessMemoryActualAgentcoreMemoryConfiguration>
    AgentCore memory configuration. See memory_actual.agentcore_memory_configuration Block below.
    disableds List<AgentcoreHarnessMemoryActualDisabled>
    Present when memory is explicitly disabled. See memory_actual.disabled Block below.
    managedMemoryConfigurations List<AgentcoreHarnessMemoryActualManagedMemoryConfiguration>
    Managed memory configuration. See memory_actual.managed_memory_configuration Block below.
    agentcoreMemoryConfigurations AgentcoreHarnessMemoryActualAgentcoreMemoryConfiguration[]
    AgentCore memory configuration. See memory_actual.agentcore_memory_configuration Block below.
    disableds AgentcoreHarnessMemoryActualDisabled[]
    Present when memory is explicitly disabled. See memory_actual.disabled Block below.
    managedMemoryConfigurations AgentcoreHarnessMemoryActualManagedMemoryConfiguration[]
    Managed memory configuration. See memory_actual.managed_memory_configuration Block below.
    agentcore_memory_configurations Sequence[AgentcoreHarnessMemoryActualAgentcoreMemoryConfiguration]
    AgentCore memory configuration. See memory_actual.agentcore_memory_configuration Block below.
    disableds Sequence[AgentcoreHarnessMemoryActualDisabled]
    Present when memory is explicitly disabled. See memory_actual.disabled Block below.
    managed_memory_configurations Sequence[AgentcoreHarnessMemoryActualManagedMemoryConfiguration]
    Managed memory configuration. See memory_actual.managed_memory_configuration Block below.
    agentcoreMemoryConfigurations List<Property Map>
    AgentCore memory configuration. See memory_actual.agentcore_memory_configuration Block below.
    disableds List<Property Map>
    Present when memory is explicitly disabled. See memory_actual.disabled Block below.
    managedMemoryConfigurations List<Property Map>
    Managed memory configuration. See memory_actual.managed_memory_configuration Block below.

    AgentcoreHarnessMemoryActualAgentcoreMemoryConfiguration, AgentcoreHarnessMemoryActualAgentcoreMemoryConfigurationArgs

    ActorId string
    Actor ID for memory sessions.
    Arn string
    ARN of the managed memory resource.
    MessagesCount int
    Number of messages to retrieve from memory.
    RetrievalConfigs List<AgentcoreHarnessMemoryActualAgentcoreMemoryConfigurationRetrievalConfig>
    Retrieval configuration parameters. See memory_actual.agentcore_memory_configuration.retrieval_config Block below.
    ActorId string
    Actor ID for memory sessions.
    Arn string
    ARN of the managed memory resource.
    MessagesCount int
    Number of messages to retrieve from memory.
    RetrievalConfigs []AgentcoreHarnessMemoryActualAgentcoreMemoryConfigurationRetrievalConfig
    Retrieval configuration parameters. See memory_actual.agentcore_memory_configuration.retrieval_config Block below.
    actor_id string
    Actor ID for memory sessions.
    arn string
    ARN of the managed memory resource.
    messages_count number
    Number of messages to retrieve from memory.
    retrieval_configs list(object)
    Retrieval configuration parameters. See memory_actual.agentcore_memory_configuration.retrieval_config Block below.
    actorId String
    Actor ID for memory sessions.
    arn String
    ARN of the managed memory resource.
    messagesCount Integer
    Number of messages to retrieve from memory.
    retrievalConfigs List<AgentcoreHarnessMemoryActualAgentcoreMemoryConfigurationRetrievalConfig>
    Retrieval configuration parameters. See memory_actual.agentcore_memory_configuration.retrieval_config Block below.
    actorId string
    Actor ID for memory sessions.
    arn string
    ARN of the managed memory resource.
    messagesCount number
    Number of messages to retrieve from memory.
    retrievalConfigs AgentcoreHarnessMemoryActualAgentcoreMemoryConfigurationRetrievalConfig[]
    Retrieval configuration parameters. See memory_actual.agentcore_memory_configuration.retrieval_config Block below.
    actor_id str
    Actor ID for memory sessions.
    arn str
    ARN of the managed memory resource.
    messages_count int
    Number of messages to retrieve from memory.
    retrieval_configs Sequence[AgentcoreHarnessMemoryActualAgentcoreMemoryConfigurationRetrievalConfig]
    Retrieval configuration parameters. See memory_actual.agentcore_memory_configuration.retrieval_config Block below.
    actorId String
    Actor ID for memory sessions.
    arn String
    ARN of the managed memory resource.
    messagesCount Number
    Number of messages to retrieve from memory.
    retrievalConfigs List<Property Map>
    Retrieval configuration parameters. See memory_actual.agentcore_memory_configuration.retrieval_config Block below.

    AgentcoreHarnessMemoryActualAgentcoreMemoryConfigurationRetrievalConfig, AgentcoreHarnessMemoryActualAgentcoreMemoryConfigurationRetrievalConfigArgs

    MapBlockKey string
    Namespace path template for retrieval settings.
    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
    Namespace path template for retrieval settings.
    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
    Namespace path template for retrieval settings.
    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
    Namespace path template for retrieval settings.
    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
    Namespace path template for retrieval settings.
    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
    Namespace path template for retrieval settings.
    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
    Namespace path template for retrieval settings.
    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.

    AgentcoreHarnessMemoryActualManagedMemoryConfiguration, AgentcoreHarnessMemoryActualManagedMemoryConfigurationArgs

    Arn string
    ARN of the managed memory resource.
    EncryptionKeyArn string
    ARN of the customer-managed KMS key used to encrypt the memory.
    EventExpiryDuration int
    Event retention in days.
    Strategies List<string>
    Set of strategy types enabled.
    Arn string
    ARN of the managed memory resource.
    EncryptionKeyArn string
    ARN of the customer-managed KMS key used to encrypt the memory.
    EventExpiryDuration int
    Event retention in days.
    Strategies []string
    Set of strategy types enabled.
    arn string
    ARN of the managed memory resource.
    encryption_key_arn string
    ARN of the customer-managed KMS key used to encrypt the memory.
    event_expiry_duration number
    Event retention in days.
    strategies list(string)
    Set of strategy types enabled.
    arn String
    ARN of the managed memory resource.
    encryptionKeyArn String
    ARN of the customer-managed KMS key used to encrypt the memory.
    eventExpiryDuration Integer
    Event retention in days.
    strategies List<String>
    Set of strategy types enabled.
    arn string
    ARN of the managed memory resource.
    encryptionKeyArn string
    ARN of the customer-managed KMS key used to encrypt the memory.
    eventExpiryDuration number
    Event retention in days.
    strategies string[]
    Set of strategy types enabled.
    arn str
    ARN of the managed memory resource.
    encryption_key_arn str
    ARN of the customer-managed KMS key used to encrypt the memory.
    event_expiry_duration int
    Event retention in days.
    strategies Sequence[str]
    Set of strategy types enabled.
    arn String
    ARN of the managed memory resource.
    encryptionKeyArn String
    ARN of the customer-managed KMS key used to encrypt the memory.
    eventExpiryDuration Number
    Event retention in days.
    strategies List<String>
    Set of strategy types enabled.

    AgentcoreHarnessMemoryAgentcoreMemoryConfiguration, AgentcoreHarnessMemoryAgentcoreMemoryConfigurationArgs

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

    AgentcoreHarnessMemoryAgentcoreMemoryConfigurationRetrievalConfig, AgentcoreHarnessMemoryAgentcoreMemoryConfigurationRetrievalConfigArgs

    MapBlockKey string
    Namespace path template for retrieval settings.
    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
    Namespace path template for retrieval settings.
    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
    Namespace path template for retrieval settings.
    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
    Namespace path template for retrieval settings.
    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
    Namespace path template for retrieval settings.
    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
    Namespace path template for retrieval settings.
    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
    Namespace path template for retrieval settings.
    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.

    AgentcoreHarnessMemoryManagedMemoryConfiguration, AgentcoreHarnessMemoryManagedMemoryConfigurationArgs

    Arn string
    ARN of the managed memory resource.
    EncryptionKeyArn string
    ARN of the customer-managed KMS key used to encrypt the memory.
    EventExpiryDuration int
    Event retention in days.
    Strategies List<string>
    Set of strategy types enabled.
    Arn string
    ARN of the managed memory resource.
    EncryptionKeyArn string
    ARN of the customer-managed KMS key used to encrypt the memory.
    EventExpiryDuration int
    Event retention in days.
    Strategies []string
    Set of strategy types enabled.
    arn string
    ARN of the managed memory resource.
    encryption_key_arn string
    ARN of the customer-managed KMS key used to encrypt the memory.
    event_expiry_duration number
    Event retention in days.
    strategies list(string)
    Set of strategy types enabled.
    arn String
    ARN of the managed memory resource.
    encryptionKeyArn String
    ARN of the customer-managed KMS key used to encrypt the memory.
    eventExpiryDuration Integer
    Event retention in days.
    strategies List<String>
    Set of strategy types enabled.
    arn string
    ARN of the managed memory resource.
    encryptionKeyArn string
    ARN of the customer-managed KMS key used to encrypt the memory.
    eventExpiryDuration number
    Event retention in days.
    strategies string[]
    Set of strategy types enabled.
    arn str
    ARN of the managed memory resource.
    encryption_key_arn str
    ARN of the customer-managed KMS key used to encrypt the memory.
    event_expiry_duration int
    Event retention in days.
    strategies Sequence[str]
    Set of strategy types enabled.
    arn String
    ARN of the managed memory resource.
    encryptionKeyArn String
    ARN of the customer-managed KMS key used to encrypt the memory.
    eventExpiryDuration Number
    Event retention in days.
    strategies List<String>
    Set of strategy types enabled.

    AgentcoreHarnessModel, AgentcoreHarnessModelArgs

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

    AgentcoreHarnessModelBedrockModelConfig, AgentcoreHarnessModelBedrockModelConfigArgs

    ModelId string
    Bedrock model ID (e.g., anthropic.claude-sonnet-4-20250514).
    AdditionalParams string
    JSON string containing provider-specific parameters to pass through to the Bedrock model provider unchanged.
    ApiFormat string
    API format for the model. Valid values are converseStream, responses, and chatCompletions.
    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).
    AdditionalParams string
    JSON string containing provider-specific parameters to pass through to the Bedrock model provider unchanged.
    ApiFormat string
    API format for the model. Valid values are converseStream, responses, and chatCompletions.
    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).
    additional_params string
    JSON string containing provider-specific parameters to pass through to the Bedrock model provider unchanged.
    api_format string
    API format for the model. Valid values are converseStream, responses, and chatCompletions.
    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).
    additionalParams String
    JSON string containing provider-specific parameters to pass through to the Bedrock model provider unchanged.
    apiFormat String
    API format for the model. Valid values are converseStream, responses, and chatCompletions.
    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).
    additionalParams string
    JSON string containing provider-specific parameters to pass through to the Bedrock model provider unchanged.
    apiFormat string
    API format for the model. Valid values are converseStream, responses, and chatCompletions.
    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).
    additional_params str
    JSON string containing provider-specific parameters to pass through to the Bedrock model provider unchanged.
    api_format str
    API format for the model. Valid values are converseStream, responses, and chatCompletions.
    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).
    additionalParams String
    JSON string containing provider-specific parameters to pass through to the Bedrock model provider unchanged.
    apiFormat String
    API format for the model. Valid values are converseStream, responses, and chatCompletions.
    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.
    AdditionalParams string
    JSON string containing provider-specific parameters to pass through to the Gemini model provider unchanged.
    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.
    AdditionalParams string
    JSON string containing provider-specific parameters to pass through to the Gemini model provider unchanged.
    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.
    additional_params string
    JSON string containing provider-specific parameters to pass through to the Gemini model provider unchanged.
    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.
    additionalParams String
    JSON string containing provider-specific parameters to pass through to the Gemini model provider unchanged.
    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.
    additionalParams string
    JSON string containing provider-specific parameters to pass through to the Gemini model provider unchanged.
    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.
    additional_params str
    JSON string containing provider-specific parameters to pass through to the Gemini model provider unchanged.
    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.
    additionalParams String
    JSON string containing provider-specific parameters to pass through to the Gemini model provider unchanged.
    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.

    AgentcoreHarnessModelLitellmModelConfig, AgentcoreHarnessModelLitellmModelConfigArgs

    ModelId string
    LiteLLM model ID.
    AdditionalParams string
    JSON string containing provider-specific parameters to pass through to the LiteLLM model provider unchanged.
    ApiBase string
    Base URL of the LiteLLM-compatible API endpoint.
    ApiKeyArn string
    ARN of the secret containing the API key.
    MaxTokens int
    Maximum number of tokens to generate.
    Temperature double
    Temperature for sampling. Must be between 0 and 2.
    TopP double
    Top-p sampling parameter. Must be between 0 and 1.
    ModelId string
    LiteLLM model ID.
    AdditionalParams string
    JSON string containing provider-specific parameters to pass through to the LiteLLM model provider unchanged.
    ApiBase string
    Base URL of the LiteLLM-compatible API endpoint.
    ApiKeyArn string
    ARN of the secret containing the API key.
    MaxTokens int
    Maximum number of tokens to generate.
    Temperature float64
    Temperature for sampling. Must be between 0 and 2.
    TopP float64
    Top-p sampling parameter. Must be between 0 and 1.
    model_id string
    LiteLLM model ID.
    additional_params string
    JSON string containing provider-specific parameters to pass through to the LiteLLM model provider unchanged.
    api_base string
    Base URL of the LiteLLM-compatible API endpoint.
    api_key_arn string
    ARN of the secret containing the API key.
    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 sampling parameter. Must be between 0 and 1.
    modelId String
    LiteLLM model ID.
    additionalParams String
    JSON string containing provider-specific parameters to pass through to the LiteLLM model provider unchanged.
    apiBase String
    Base URL of the LiteLLM-compatible API endpoint.
    apiKeyArn String
    ARN of the secret containing the API key.
    maxTokens Integer
    Maximum number of tokens to generate.
    temperature Double
    Temperature for sampling. Must be between 0 and 2.
    topP Double
    Top-p sampling parameter. Must be between 0 and 1.
    modelId string
    LiteLLM model ID.
    additionalParams string
    JSON string containing provider-specific parameters to pass through to the LiteLLM model provider unchanged.
    apiBase string
    Base URL of the LiteLLM-compatible API endpoint.
    apiKeyArn string
    ARN of the secret containing the API key.
    maxTokens number
    Maximum number of tokens to generate.
    temperature number
    Temperature for sampling. Must be between 0 and 2.
    topP number
    Top-p sampling parameter. Must be between 0 and 1.
    model_id str
    LiteLLM model ID.
    additional_params str
    JSON string containing provider-specific parameters to pass through to the LiteLLM model provider unchanged.
    api_base str
    Base URL of the LiteLLM-compatible API endpoint.
    api_key_arn str
    ARN of the secret containing the API key.
    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 sampling parameter. Must be between 0 and 1.
    modelId String
    LiteLLM model ID.
    additionalParams String
    JSON string containing provider-specific parameters to pass through to the LiteLLM model provider unchanged.
    apiBase String
    Base URL of the LiteLLM-compatible API endpoint.
    apiKeyArn String
    ARN of the secret containing the API key.
    maxTokens Number
    Maximum number of tokens to generate.
    temperature Number
    Temperature for sampling. Must be between 0 and 2.
    topP Number
    Top-p sampling parameter. Must be between 0 and 1.

    AgentcoreHarnessModelOpenaiModelConfig, AgentcoreHarnessModelOpenaiModelConfigArgs

    ApiKeyArn string
    ARN of the secret containing the API key.
    ModelId string
    OpenAI model ID.
    AdditionalParams string
    JSON string containing provider-specific parameters to pass through to the OpenAI model provider unchanged.
    ApiFormat string
    API format for the model. Valid values are responses and chatCompletions.
    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.
    AdditionalParams string
    JSON string containing provider-specific parameters to pass through to the OpenAI model provider unchanged.
    ApiFormat string
    API format for the model. Valid values are responses and chatCompletions.
    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.
    additional_params string
    JSON string containing provider-specific parameters to pass through to the OpenAI model provider unchanged.
    api_format string
    API format for the model. Valid values are responses and chatCompletions.
    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.
    additionalParams String
    JSON string containing provider-specific parameters to pass through to the OpenAI model provider unchanged.
    apiFormat String
    API format for the model. Valid values are responses and chatCompletions.
    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.
    additionalParams string
    JSON string containing provider-specific parameters to pass through to the OpenAI model provider unchanged.
    apiFormat string
    API format for the model. Valid values are responses and chatCompletions.
    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.
    additional_params str
    JSON string containing provider-specific parameters to pass through to the OpenAI model provider unchanged.
    api_format str
    API format for the model. Valid values are responses and chatCompletions.
    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.
    additionalParams String
    JSON string containing provider-specific parameters to pass through to the OpenAI model provider unchanged.
    apiFormat String
    API format for the model. Valid values are responses and chatCompletions.
    maxTokens Number
    Maximum number of tokens to generate.
    temperature Number
    Temperature for sampling.
    topP Number
    Top-p sampling parameter.

    AgentcoreHarnessSkill, AgentcoreHarnessSkillArgs

    AwsSkills AgentcoreHarnessSkillAwsSkills
    AWS Skills baked into the harness's underlying runtime. See awsSkills Block below.
    Git AgentcoreHarnessSkillGit
    Git repository source for the skill. See git Block below.
    Path string
    Path to the skill.
    S3 AgentcoreHarnessSkillS3
    S3 source for the skill. See s3 Block below.
    AwsSkills AgentcoreHarnessSkillAwsSkills
    AWS Skills baked into the harness's underlying runtime. See awsSkills Block below.
    Git AgentcoreHarnessSkillGit
    Git repository source for the skill. See git Block below.
    Path string
    Path to the skill.
    S3 AgentcoreHarnessSkillS3
    S3 source for the skill. See s3 Block below.
    aws_skills object
    AWS Skills baked into the harness's underlying runtime. See awsSkills Block below.
    git object
    Git repository source for the skill. See git Block below.
    path string
    Path to the skill.
    s3 object
    S3 source for the skill. See s3 Block below.
    awsSkills AgentcoreHarnessSkillAwsSkills
    AWS Skills baked into the harness's underlying runtime. See awsSkills Block below.
    git AgentcoreHarnessSkillGit
    Git repository source for the skill. See git Block below.
    path String
    Path to the skill.
    s3 AgentcoreHarnessSkillS3
    S3 source for the skill. See s3 Block below.
    awsSkills AgentcoreHarnessSkillAwsSkills
    AWS Skills baked into the harness's underlying runtime. See awsSkills Block below.
    git AgentcoreHarnessSkillGit
    Git repository source for the skill. See git Block below.
    path string
    Path to the skill.
    s3 AgentcoreHarnessSkillS3
    S3 source for the skill. See s3 Block below.
    aws_skills AgentcoreHarnessSkillAwsSkills
    AWS Skills baked into the harness's underlying runtime. See awsSkills Block below.
    git AgentcoreHarnessSkillGit
    Git repository source for the skill. See git Block below.
    path str
    Path to the skill.
    s3 AgentcoreHarnessSkillS3
    S3 source for the skill. See s3 Block below.
    awsSkills Property Map
    AWS Skills baked into the harness's underlying runtime. See awsSkills Block below.
    git Property Map
    Git repository source for the skill. See git Block below.
    path String
    Path to the skill.
    s3 Property Map
    S3 source for the skill. See s3 Block below.

    AgentcoreHarnessSkillAwsSkills, AgentcoreHarnessSkillAwsSkillsArgs

    Paths List<string>
    List of glob patterns to filter allowed skills (e.g., ["core-skills/*"]).
    Paths []string
    List of glob patterns to filter allowed skills (e.g., ["core-skills/*"]).
    paths list(string)
    List of glob patterns to filter allowed skills (e.g., ["core-skills/*"]).
    paths List<String>
    List of glob patterns to filter allowed skills (e.g., ["core-skills/*"]).
    paths string[]
    List of glob patterns to filter allowed skills (e.g., ["core-skills/*"]).
    paths Sequence[str]
    List of glob patterns to filter allowed skills (e.g., ["core-skills/*"]).
    paths List<String>
    List of glob patterns to filter allowed skills (e.g., ["core-skills/*"]).

    AgentcoreHarnessSkillGit, AgentcoreHarnessSkillGitArgs

    Url string
    HTTPS URL of the git repository.
    Auth AgentcoreHarnessSkillGitAuth
    Authentication configuration for private repositories. See auth Block below.
    Path string
    Subdirectory within the repository containing the skill.
    Url string
    HTTPS URL of the git repository.
    Auth AgentcoreHarnessSkillGitAuth
    Authentication configuration for private repositories. See auth Block below.
    Path string
    Subdirectory within the repository containing the skill.
    url string
    HTTPS URL of the git repository.
    auth object
    Authentication configuration for private repositories. See auth Block below.
    path string
    Subdirectory within the repository containing the skill.
    url String
    HTTPS URL of the git repository.
    auth AgentcoreHarnessSkillGitAuth
    Authentication configuration for private repositories. See auth Block below.
    path String
    Subdirectory within the repository containing the skill.
    url string
    HTTPS URL of the git repository.
    auth AgentcoreHarnessSkillGitAuth
    Authentication configuration for private repositories. See auth Block below.
    path string
    Subdirectory within the repository containing the skill.
    url str
    HTTPS URL of the git repository.
    auth AgentcoreHarnessSkillGitAuth
    Authentication configuration for private repositories. See auth Block below.
    path str
    Subdirectory within the repository containing the skill.
    url String
    HTTPS URL of the git repository.
    auth Property Map
    Authentication configuration for private repositories. See auth Block below.
    path String
    Subdirectory within the repository containing the skill.

    AgentcoreHarnessSkillGitAuth, AgentcoreHarnessSkillGitAuthArgs

    CredentialArn string
    ARN of the credential in AgentCore Identity containing the password or personal access token.
    Username string
    Username for authentication. Defaults to oauth2 if not specified.
    CredentialArn string
    ARN of the credential in AgentCore Identity containing the password or personal access token.
    Username string
    Username for authentication. Defaults to oauth2 if not specified.
    credential_arn string
    ARN of the credential in AgentCore Identity containing the password or personal access token.
    username string
    Username for authentication. Defaults to oauth2 if not specified.
    credentialArn String
    ARN of the credential in AgentCore Identity containing the password or personal access token.
    username String
    Username for authentication. Defaults to oauth2 if not specified.
    credentialArn string
    ARN of the credential in AgentCore Identity containing the password or personal access token.
    username string
    Username for authentication. Defaults to oauth2 if not specified.
    credential_arn str
    ARN of the credential in AgentCore Identity containing the password or personal access token.
    username str
    Username for authentication. Defaults to oauth2 if not specified.
    credentialArn String
    ARN of the credential in AgentCore Identity containing the password or personal access token.
    username String
    Username for authentication. Defaults to oauth2 if not specified.

    AgentcoreHarnessSkillS3, AgentcoreHarnessSkillS3Args

    Uri string
    S3 URI of the skill source. Must begin with s3://.
    Uri string
    S3 URI of the skill source. Must begin with s3://.
    uri string
    S3 URI of the skill source. Must begin with s3://.
    uri String
    S3 URI of the skill source. Must begin with s3://.
    uri string
    S3 URI of the skill source. Must begin with s3://.
    uri str
    S3 URI of the skill source. Must begin with s3://.
    uri String
    S3 URI of the skill source. Must begin with s3://.

    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 Block 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 Block 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 Block 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 Block 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 Block 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 Block 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 Block below.
    name String
    Name of the tool.

    AgentcoreHarnessToolConfig, AgentcoreHarnessToolConfigArgs

    AgentcoreBrowser AgentcoreHarnessToolConfigAgentcoreBrowser
    AgentCore browser configuration. See agentcoreBrowser Block below.
    AgentcoreCodeInterpreter AgentcoreHarnessToolConfigAgentcoreCodeInterpreter
    AgentCore code interpreter configuration. See agentcoreCodeInterpreter Block below.
    AgentcoreGateway AgentcoreHarnessToolConfigAgentcoreGateway
    AgentCore gateway configuration. See agentcoreGateway Block below.
    InlineFunction AgentcoreHarnessToolConfigInlineFunction
    Inline function configuration. See inlineFunction Block below.
    RemoteMcp AgentcoreHarnessToolConfigRemoteMcp
    Remote MCP server configuration. See remoteMcp Block below.
    AgentcoreBrowser AgentcoreHarnessToolConfigAgentcoreBrowser
    AgentCore browser configuration. See agentcoreBrowser Block below.
    AgentcoreCodeInterpreter AgentcoreHarnessToolConfigAgentcoreCodeInterpreter
    AgentCore code interpreter configuration. See agentcoreCodeInterpreter Block below.
    AgentcoreGateway AgentcoreHarnessToolConfigAgentcoreGateway
    AgentCore gateway configuration. See agentcoreGateway Block below.
    InlineFunction AgentcoreHarnessToolConfigInlineFunction
    Inline function configuration. See inlineFunction Block below.
    RemoteMcp AgentcoreHarnessToolConfigRemoteMcp
    Remote MCP server configuration. See remoteMcp Block below.
    agentcore_browser object
    AgentCore browser configuration. See agentcoreBrowser Block below.
    agentcore_code_interpreter object
    AgentCore code interpreter configuration. See agentcoreCodeInterpreter Block below.
    agentcore_gateway object
    AgentCore gateway configuration. See agentcoreGateway Block below.
    inline_function object
    Inline function configuration. See inlineFunction Block below.
    remote_mcp object
    Remote MCP server configuration. See remoteMcp Block below.
    agentcoreBrowser AgentcoreHarnessToolConfigAgentcoreBrowser
    AgentCore browser configuration. See agentcoreBrowser Block below.
    agentcoreCodeInterpreter AgentcoreHarnessToolConfigAgentcoreCodeInterpreter
    AgentCore code interpreter configuration. See agentcoreCodeInterpreter Block below.
    agentcoreGateway AgentcoreHarnessToolConfigAgentcoreGateway
    AgentCore gateway configuration. See agentcoreGateway Block below.
    inlineFunction AgentcoreHarnessToolConfigInlineFunction
    Inline function configuration. See inlineFunction Block below.
    remoteMcp AgentcoreHarnessToolConfigRemoteMcp
    Remote MCP server configuration. See remoteMcp Block below.
    agentcoreBrowser AgentcoreHarnessToolConfigAgentcoreBrowser
    AgentCore browser configuration. See agentcoreBrowser Block below.
    agentcoreCodeInterpreter AgentcoreHarnessToolConfigAgentcoreCodeInterpreter
    AgentCore code interpreter configuration. See agentcoreCodeInterpreter Block below.
    agentcoreGateway AgentcoreHarnessToolConfigAgentcoreGateway
    AgentCore gateway configuration. See agentcoreGateway Block below.
    inlineFunction AgentcoreHarnessToolConfigInlineFunction
    Inline function configuration. See inlineFunction Block below.
    remoteMcp AgentcoreHarnessToolConfigRemoteMcp
    Remote MCP server configuration. See remoteMcp Block below.
    agentcore_browser AgentcoreHarnessToolConfigAgentcoreBrowser
    AgentCore browser configuration. See agentcoreBrowser Block below.
    agentcore_code_interpreter AgentcoreHarnessToolConfigAgentcoreCodeInterpreter
    AgentCore code interpreter configuration. See agentcoreCodeInterpreter Block below.
    agentcore_gateway AgentcoreHarnessToolConfigAgentcoreGateway
    AgentCore gateway configuration. See agentcoreGateway Block below.
    inline_function AgentcoreHarnessToolConfigInlineFunction
    Inline function configuration. See inlineFunction Block below.
    remote_mcp AgentcoreHarnessToolConfigRemoteMcp
    Remote MCP server configuration. See remoteMcp Block below.
    agentcoreBrowser Property Map
    AgentCore browser configuration. See agentcoreBrowser Block below.
    agentcoreCodeInterpreter Property Map
    AgentCore code interpreter configuration. See agentcoreCodeInterpreter Block below.
    agentcoreGateway Property Map
    AgentCore gateway configuration. See agentcoreGateway Block below.
    inlineFunction Property Map
    Inline function configuration. See inlineFunction Block below.
    remoteMcp Property Map
    Remote MCP server configuration. See remoteMcp Block 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 Block below.
    GatewayArn string
    ARN of the AgentCore gateway resource.
    OutboundAuth AgentcoreHarnessToolConfigAgentcoreGatewayOutboundAuth
    Outbound authentication configuration. See outboundAuth Block below.
    gateway_arn string
    ARN of the AgentCore gateway resource.
    outbound_auth object
    Outbound authentication configuration. See outboundAuth Block below.
    gatewayArn String
    ARN of the AgentCore gateway resource.
    outboundAuth AgentcoreHarnessToolConfigAgentcoreGatewayOutboundAuth
    Outbound authentication configuration. See outboundAuth Block below.
    gatewayArn string
    ARN of the AgentCore gateway resource.
    outboundAuth AgentcoreHarnessToolConfigAgentcoreGatewayOutboundAuth
    Outbound authentication configuration. See outboundAuth Block below.
    gateway_arn str
    ARN of the AgentCore gateway resource.
    outbound_auth AgentcoreHarnessToolConfigAgentcoreGatewayOutboundAuth
    Outbound authentication configuration. See outboundAuth Block below.
    gatewayArn String
    ARN of the AgentCore gateway resource.
    outboundAuth Property Map
    Outbound authentication configuration. See outboundAuth Block below.

    AgentcoreHarnessToolConfigAgentcoreGatewayOutboundAuth, AgentcoreHarnessToolConfigAgentcoreGatewayOutboundAuthArgs

    AwsIam bool
    Whether to use AWS IAM authentication. Must be true if set.
    None bool
    Whether to disable authentication. Must be true if set.
    Oauth AgentcoreHarnessToolConfigAgentcoreGatewayOutboundAuthOauth
    OAuth credential provider configuration. See oauth Block below.
    AwsIam bool
    Whether to use AWS IAM authentication. Must be true if set.
    None bool
    Whether to disable authentication. Must be true if set.
    Oauth AgentcoreHarnessToolConfigAgentcoreGatewayOutboundAuthOauth
    OAuth credential provider configuration. See oauth Block below.
    aws_iam bool
    Whether to use AWS IAM authentication. Must be true if set.
    none bool
    Whether to disable authentication. Must be true if set.
    oauth object
    OAuth credential provider configuration. See oauth Block below.
    awsIam Boolean
    Whether to use AWS IAM authentication. Must be true if set.
    none Boolean
    Whether to disable authentication. Must be true if set.
    oauth AgentcoreHarnessToolConfigAgentcoreGatewayOutboundAuthOauth
    OAuth credential provider configuration. See oauth Block below.
    awsIam boolean
    Whether to use AWS IAM authentication. Must be true if set.
    none boolean
    Whether to disable authentication. Must be true if set.
    oauth AgentcoreHarnessToolConfigAgentcoreGatewayOutboundAuthOauth
    OAuth credential provider configuration. See oauth Block below.
    aws_iam bool
    Whether to use AWS IAM authentication. Must be true if set.
    none bool
    Whether to disable authentication. Must be true if set.
    oauth AgentcoreHarnessToolConfigAgentcoreGatewayOutboundAuthOauth
    OAuth credential provider configuration. See oauth Block below.
    awsIam Boolean
    Whether to use AWS IAM authentication. Must be true if set.
    none Boolean
    Whether to disable authentication. Must be true if set.
    oauth Property Map
    OAuth credential provider configuration. See oauth Block 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 Block below.
    Strategy string
    Truncation strategy. Valid values: slidingWindow, summarization, none.
    Configs []AgentcoreHarnessTruncationConfig
    Strategy-specific configuration. See truncation.config Block below.
    Strategy string
    Truncation strategy. Valid values: slidingWindow, summarization, none.
    configs list(object)
    Strategy-specific configuration. See truncation.config Block below.
    strategy string
    Truncation strategy. Valid values: slidingWindow, summarization, none.
    configs List<AgentcoreHarnessTruncationConfig>
    Strategy-specific configuration. See truncation.config Block below.
    strategy String
    Truncation strategy. Valid values: slidingWindow, summarization, none.
    configs AgentcoreHarnessTruncationConfig[]
    Strategy-specific configuration. See truncation.config Block below.
    strategy string
    Truncation strategy. Valid values: slidingWindow, summarization, none.
    configs Sequence[AgentcoreHarnessTruncationConfig]
    Strategy-specific configuration. See truncation.config Block below.
    strategy str
    Truncation strategy. Valid values: slidingWindow, summarization, none.
    configs List<Property Map>
    Strategy-specific configuration. See truncation.config Block below.
    strategy String
    Truncation strategy. Valid values: slidingWindow, summarization, none.

    AgentcoreHarnessTruncationConfig, AgentcoreHarnessTruncationConfigArgs

    SlidingWindows List<AgentcoreHarnessTruncationConfigSlidingWindow>
    Sliding window truncation configuration. See slidingWindow Block below.
    Summarizations List<AgentcoreHarnessTruncationConfigSummarization>
    Summarization truncation configuration. See summarization Block below.
    SlidingWindows []AgentcoreHarnessTruncationConfigSlidingWindow
    Sliding window truncation configuration. See slidingWindow Block below.
    Summarizations []AgentcoreHarnessTruncationConfigSummarization
    Summarization truncation configuration. See summarization Block below.
    sliding_windows list(object)
    Sliding window truncation configuration. See slidingWindow Block below.
    summarizations list(object)
    Summarization truncation configuration. See summarization Block below.
    slidingWindows List<AgentcoreHarnessTruncationConfigSlidingWindow>
    Sliding window truncation configuration. See slidingWindow Block below.
    summarizations List<AgentcoreHarnessTruncationConfigSummarization>
    Summarization truncation configuration. See summarization Block below.
    slidingWindows AgentcoreHarnessTruncationConfigSlidingWindow[]
    Sliding window truncation configuration. See slidingWindow Block below.
    summarizations AgentcoreHarnessTruncationConfigSummarization[]
    Summarization truncation configuration. See summarization Block below.
    sliding_windows Sequence[AgentcoreHarnessTruncationConfigSlidingWindow]
    Sliding window truncation configuration. See slidingWindow Block below.
    summarizations Sequence[AgentcoreHarnessTruncationConfigSummarization]
    Summarization truncation configuration. See summarization Block below.
    slidingWindows List<Property Map>
    Sliding window truncation configuration. See slidingWindow Block below.
    summarizations List<Property Map>
    Summarization truncation configuration. See summarization Block 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 aws logo
    Viewing docs for AWS v7.55.0
    published on Friday, Nov 13, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial