UNPKG

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

116 lines (115 loc) 4.03 kB
import * as pulumi from "@pulumi/pulumi"; 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 function getHarness(args: GetHarnessArgs, opts?: pulumi.InvokeOptions): Promise<GetHarnessResult>; export interface GetHarnessArgs { /** * The Amazon Resource Name (ARN) of the harness. */ arn: string; } export interface GetHarnessResult { /** * The tools that the agent is allowed to use. */ readonly allowedTools?: string[]; /** * The Amazon Resource Name (ARN) of the harness. */ readonly arn?: string; /** * The inbound authorization configuration for authenticating incoming requests. */ readonly authorizerConfiguration?: outputs.bedrockagentcore.HarnessAuthorizerConfiguration; /** * The timestamp when the harness was created. */ readonly createdAt?: string; /** * The compute environment configuration for the harness, including underlying runtime information. */ readonly environment?: outputs.bedrockagentcore.HarnessEnvironmentProvider; /** * The environment artifact for the harness, such as a custom container image. */ readonly environmentArtifact?: outputs.bedrockagentcore.HarnessEnvironmentArtifact; /** * Environment variables to set in the harness runtime environment. */ readonly environmentVariables?: { [key: string]: string; }; /** * The ARN of the IAM role that the harness assumes when running. */ readonly executionRoleArn?: string; /** * The unique identifier of the harness. */ readonly harnessId?: string; /** * The maximum number of iterations the agent loop can execute per invocation. */ readonly maxIterations?: number; /** * The maximum number of tokens the agent can generate per iteration. */ readonly maxTokens?: number; /** * The AgentCore Memory configuration for persisting conversation context. */ readonly memory?: outputs.bedrockagentcore.HarnessMemoryConfiguration; /** * The model configuration for the harness. */ readonly model?: outputs.bedrockagentcore.HarnessModelConfiguration; /** * The skills available to the agent. */ readonly skills?: outputs.bedrockagentcore.HarnessSkill[]; /** * The current status of the harness. */ readonly status?: enums.bedrockagentcore.HarnessStatus; /** * The system prompt that defines the agent's behavior. */ readonly systemPrompt?: outputs.bedrockagentcore.HarnessSystemContentBlock[]; /** * Tags to apply to the harness resource. */ readonly tags?: outputs.Tag[]; /** * The maximum duration in seconds for the agent loop execution per invocation. */ readonly timeoutSeconds?: number; /** * The tools available to the agent. */ readonly tools?: outputs.bedrockagentcore.HarnessTool[]; /** * The truncation configuration for managing conversation context. */ readonly truncation?: outputs.bedrockagentcore.HarnessTruncationConfiguration; /** * The timestamp when the harness was last updated. */ readonly updatedAt?: string; /** * The version of the harness. Incremented on every successful update. */ readonly version?: string; } /** * 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 function getHarnessOutput(args: GetHarnessOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetHarnessResult>; export interface GetHarnessOutputArgs { /** * The Amazon Resource Name (ARN) of the harness. */ arn: pulumi.Input<string>; }