AgentcoreHarnessArgs class
The set of arguments for AgentcoreHarness. The set of arguments for AgentcoreHarness.
Constructors
-
AgentcoreHarnessArgs({Input<
List< ? allowedTools, Input<String> ?>AgentcoreHarnessAuthorizerConfiguration?> ? authorizerConfiguration, Input<AgentcoreHarnessEnvironmentArtifact?> ? environmentArtifact, Input<Map< ? environmentVariables, Input<String, String> ?>List< ? environments, required Input<AgentcoreHarnessEnvironment> ?>String> executionRoleArn, required Input<String> harnessName, Input<int?> ? maxIterations, Input<int?> ? maxTokens, Input<AgentcoreHarnessMemory?> ? memory, required Input<AgentcoreHarnessModel> model, Input<String?> ? region, Input<List< ? skills, Input<AgentcoreHarnessSkill> ?>List< ? systemPrompts, Input<AgentcoreHarnessSystemPrompt> ?>Map< ? tags, Input<String, String> ?>int?> ? timeoutSeconds, Input<AgentcoreHarnessTimeouts?> ? timeouts, Input<List< ? tools, Input<AgentcoreHarnessTool> ?>List< ? truncations})AgentcoreHarnessTruncation> ?> -
Creates a new AgentcoreHarnessArgs.
allowedToolsList of tool names allowed for the harness. Use["*"]to allow all tools.authorizerConfigurationAuthorization configuration for authenticating requests. SeeauthorizerConfigurationBlock below.environmentArtifactEnvironment artifact configuration. SeeenvironmentArtifactBlock below.environmentVariablesMap of environment variables.environmentsCompute environment configuration. SeeenvironmentBlock below.If not specified, configured values can be found inenvironmentActual. Clearing this value will leave the environment configuration as is, but Terraform will not track changes.executionRoleArnARN of the IAM role that the harness assumes to access AWS services.harnessNameName of the harness. Must be 1-40 characters, alphanumeric and underscores only.maxIterationsMaximum number of iterations the agent loop can perform.maxTokensMaximum number of tokens in the model response.memoryMemory configuration. SeememoryBlock below. If not specified, configured values can be found inmemoryActual. Clearing this value will reset the memory configuration to default values.modelModel configuration for the harness. SeemodelBlock below.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.skillsSkill configurations. SeeskillBlock below.systemPromptsSystem prompt blocks for the harness. SeesystemPromptBlock below.tagsKey-value map of resource tags. If configured with a providerdefaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.timeoutSecondsTimeout in seconds for the harness execution.timeoutsOptional.toolsTool configurations. SeetoolBlock below.truncationsTruncation configuration for conversation history. SeetruncationBlock 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 -
Authorization configuration for authenticating requests. See
authorizerConfigurationBlock below.final -
environmentArtifact
→ Input<
AgentcoreHarnessEnvironmentArtifact?> ? -
Environment artifact configuration. See
environmentArtifactBlock below.final -
environments
→ Input<
List< ?AgentcoreHarnessEnvironment> ?> -
Compute environment configuration. See
environmentBlock below.If not specified, configured values can be found inenvironmentActual. 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
memoryBlock below. If not specified, configured values can be found inmemoryActual. Clearing this value will reset the memory configuration to default values.final -
model
→ Input<
AgentcoreHarnessModel> -
Model configuration for the harness. See
modelBlock 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
skillBlock below.final -
systemPrompts
→ Input<
List< ?AgentcoreHarnessSystemPrompt> ?> -
System prompt blocks for the harness. See
systemPromptBlock below.final -
Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.final -
timeouts
→ Input<
AgentcoreHarnessTimeouts?> ? -
final
-
timeoutSeconds
→ Input<
int?> ? -
Timeout in seconds for the harness execution.
final
-
tools
→ Input<
List< ?AgentcoreHarnessTool> ?> -
Tool configurations. See
toolBlock below.final -
truncations
→ Input<
List< ?AgentcoreHarnessTruncation> ?> -
Truncation configuration for conversation history. See
truncationBlock 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