@pulumi/aws-native
Version:
The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)
201 lines (200 loc) • 7.84 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
import * as enums from "../types/enums";
/**
* Resource Type definition for AWS::BedrockAgentCore::Harness - a managed agentic loop service that provides a turnkey solution for running stateful, tool-equipped AI agents.
*/
export declare class Harness extends pulumi.CustomResource {
/**
* Get an existing Harness resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Harness;
/**
* Returns true if the given object is an instance of Harness. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is Harness;
/**
* The tools that the agent is allowed to use.
*/
readonly allowedTools: pulumi.Output<string[] | undefined>;
/**
* The Amazon Resource Name (ARN) of the harness.
*/
readonly arn: pulumi.Output<string>;
/**
* The inbound authorization configuration for authenticating incoming requests.
*/
readonly authorizerConfiguration: pulumi.Output<outputs.bedrockagentcore.HarnessAuthorizerConfiguration | undefined>;
/**
* The timestamp when the harness was created.
*/
readonly createdAt: pulumi.Output<string>;
/**
* The compute environment configuration for the harness, including underlying runtime information.
*/
readonly environment: pulumi.Output<outputs.bedrockagentcore.HarnessEnvironmentProvider | undefined>;
/**
* The environment artifact for the harness, such as a custom container image.
*/
readonly environmentArtifact: pulumi.Output<outputs.bedrockagentcore.HarnessEnvironmentArtifact | undefined>;
/**
* Environment variables to set in the harness runtime environment.
*/
readonly environmentVariables: pulumi.Output<{
[key: string]: string;
} | undefined>;
/**
* The ARN of the IAM role that the harness assumes when running.
*/
readonly executionRoleArn: pulumi.Output<string>;
/**
* The unique identifier of the harness.
*/
readonly harnessId: pulumi.Output<string>;
/**
* The name of the harness.
*/
readonly harnessName: pulumi.Output<string>;
/**
* The maximum number of iterations the agent loop can execute per invocation.
*/
readonly maxIterations: pulumi.Output<number | undefined>;
/**
* The maximum number of tokens the agent can generate per iteration.
*/
readonly maxTokens: pulumi.Output<number | undefined>;
/**
* The AgentCore Memory configuration for persisting conversation context.
*/
readonly memory: pulumi.Output<outputs.bedrockagentcore.HarnessMemoryConfiguration | undefined>;
/**
* The model configuration for the harness.
*/
readonly model: pulumi.Output<outputs.bedrockagentcore.HarnessModelConfiguration>;
/**
* The skills available to the agent.
*/
readonly skills: pulumi.Output<outputs.bedrockagentcore.HarnessSkill[] | undefined>;
/**
* The current status of the harness.
*/
readonly status: pulumi.Output<enums.bedrockagentcore.HarnessStatus>;
/**
* The system prompt that defines the agent's behavior.
*/
readonly systemPrompt: pulumi.Output<outputs.bedrockagentcore.HarnessSystemContentBlock[] | undefined>;
/**
* Tags to apply to the harness resource.
*/
readonly tags: pulumi.Output<outputs.Tag[] | undefined>;
/**
* The maximum duration in seconds for the agent loop execution per invocation.
*/
readonly timeoutSeconds: pulumi.Output<number | undefined>;
/**
* The tools available to the agent.
*/
readonly tools: pulumi.Output<outputs.bedrockagentcore.HarnessTool[] | undefined>;
/**
* The truncation configuration for managing conversation context.
*/
readonly truncation: pulumi.Output<outputs.bedrockagentcore.HarnessTruncationConfiguration | undefined>;
/**
* The timestamp when the harness was last updated.
*/
readonly updatedAt: pulumi.Output<string>;
/**
* The version of the harness. Incremented on every successful update.
*/
readonly version: pulumi.Output<string>;
/**
* Create a Harness resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args: HarnessArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a Harness resource.
*/
export interface HarnessArgs {
/**
* The tools that the agent is allowed to use.
*/
allowedTools?: pulumi.Input<pulumi.Input<string>[]>;
/**
* The inbound authorization configuration for authenticating incoming requests.
*/
authorizerConfiguration?: pulumi.Input<inputs.bedrockagentcore.HarnessAuthorizerConfigurationArgs>;
/**
* The compute environment configuration for the harness, including underlying runtime information.
*/
environment?: pulumi.Input<inputs.bedrockagentcore.HarnessEnvironmentProviderArgs>;
/**
* The environment artifact for the harness, such as a custom container image.
*/
environmentArtifact?: pulumi.Input<inputs.bedrockagentcore.HarnessEnvironmentArtifactArgs>;
/**
* Environment variables to set in the harness runtime environment.
*/
environmentVariables?: pulumi.Input<{
[key: string]: pulumi.Input<string>;
}>;
/**
* The ARN of the IAM role that the harness assumes when running.
*/
executionRoleArn: pulumi.Input<string>;
/**
* The name of the harness.
*/
harnessName?: pulumi.Input<string>;
/**
* The maximum number of iterations the agent loop can execute per invocation.
*/
maxIterations?: pulumi.Input<number>;
/**
* The maximum number of tokens the agent can generate per iteration.
*/
maxTokens?: pulumi.Input<number>;
/**
* The AgentCore Memory configuration for persisting conversation context.
*/
memory?: pulumi.Input<inputs.bedrockagentcore.HarnessMemoryConfigurationArgs>;
/**
* The model configuration for the harness.
*/
model: pulumi.Input<inputs.bedrockagentcore.HarnessModelConfigurationArgs>;
/**
* The skills available to the agent.
*/
skills?: pulumi.Input<pulumi.Input<inputs.bedrockagentcore.HarnessSkillArgs>[]>;
/**
* The system prompt that defines the agent's behavior.
*/
systemPrompt?: pulumi.Input<pulumi.Input<inputs.bedrockagentcore.HarnessSystemContentBlockArgs>[]>;
/**
* Tags to apply to the harness resource.
*/
tags?: pulumi.Input<pulumi.Input<inputs.TagArgs>[]>;
/**
* The maximum duration in seconds for the agent loop execution per invocation.
*/
timeoutSeconds?: pulumi.Input<number>;
/**
* The tools available to the agent.
*/
tools?: pulumi.Input<pulumi.Input<inputs.bedrockagentcore.HarnessToolArgs>[]>;
/**
* The truncation configuration for managing conversation context.
*/
truncation?: pulumi.Input<inputs.bedrockagentcore.HarnessTruncationConfigurationArgs>;
}