AgentcoreHarnessArgs class

The set of arguments for AgentcoreHarness. The set of arguments for AgentcoreHarness.

Constructors

AgentcoreHarnessArgs({Input<List<String>?>? allowedTools, Input<AgentcoreHarnessAuthorizerConfiguration?>? authorizerConfiguration, Input<AgentcoreHarnessEnvironmentArtifact?>? environmentArtifact, Input<Map<String, String>?>? environmentVariables, Input<List<AgentcoreHarnessEnvironment>?>? environments, required Input<String> executionRoleArn, required Input<String> harnessName, Input<int?>? maxIterations, Input<int?>? maxTokens, Input<AgentcoreHarnessMemory?>? memory, required Input<AgentcoreHarnessModel> model, Input<String?>? region, Input<List<AgentcoreHarnessSkill>?>? skills, Input<List<AgentcoreHarnessSystemPrompt>?>? systemPrompts, Input<Map<String, String>?>? tags, Input<int?>? timeoutSeconds, Input<AgentcoreHarnessTimeouts?>? timeouts, Input<List<AgentcoreHarnessTool>?>? tools, Input<List<AgentcoreHarnessTruncation>?>? truncations})
Creates a new AgentcoreHarnessArgs. allowedTools List of tool names allowed for the harness. Use ["*"] to allow all tools. authorizerConfiguration Authorization configuration for authenticating requests. See authorizerConfiguration Block below. environmentArtifact Environment artifact configuration. See environmentArtifact Block below. environmentVariables Map of environment variables. environments 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 ARN of the IAM role that the harness assumes to access AWS services. harnessName Name of the harness. Must be 1-40 characters, alphanumeric and underscores only. maxIterations Maximum number of iterations the agent loop can perform. maxTokens Maximum number of tokens in the model response. memory 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. model Model configuration for the harness. See model Block below. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. skills Skill configurations. See skill Block below. systemPrompts System prompt blocks for the harness. See systemPrompt Block below. tags 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 Timeout in seconds for the harness execution. timeouts Optional. tools Tool configurations. See tool Block below. truncations Truncation configuration for conversation history. See truncation Block below.
const
AgentcoreHarnessArgs.fromMap(Map<String, dynamic> map)
factory

Properties

allowedTools → Input<List<String>?>?
List of tool names allowed for the harness. Use ["*"] to allow all tools.
final
authorizerConfiguration → Input<AgentcoreHarnessAuthorizerConfiguration?>?
Authorization configuration for authenticating requests. See authorizerConfiguration Block below.
final
environmentArtifact → Input<AgentcoreHarnessEnvironmentArtifact?>?
Environment artifact configuration. See environmentArtifact Block below.
final
environments → Input<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.
final
environmentVariables → Input<Map<String, String>?>?
Map of environment variables.
final
executionRoleArn → Input<String>
ARN of the IAM role that the harness assumes to access AWS services.
final
harnessName → Input<String>
Name of the harness. Must be 1-40 characters, alphanumeric and underscores only.
final
hashCode → int
The hash code for this object.
no setterinherited
maxIterations → Input<int?>?
Maximum number of iterations the agent loop can perform.
final
maxTokens → Input<int?>?
Maximum number of tokens in the model response.
final
memory → Input<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.
final
model → Input<AgentcoreHarnessModel>
Model configuration for the harness. See model Block below.
final
region → Input<String?>?
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
skills → Input<List<AgentcoreHarnessSkill>?>?
Skill configurations. See skill Block below.
final
systemPrompts → Input<List<AgentcoreHarnessSystemPrompt>?>?
System prompt blocks for the harness. See systemPrompt Block below.
final
tags → Input<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.
final
timeouts → Input<AgentcoreHarnessTimeouts?>?
final
timeoutSeconds → Input<int?>?
Timeout in seconds for the harness execution.
final
tools → Input<List<AgentcoreHarnessTool>?>?
Tool configurations. See tool Block below.
final
truncations → Input<List<AgentcoreHarnessTruncation>?>?
Truncation configuration for conversation history. See truncation Block below.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited