AWS Tools for Windows PowerShell
Command Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Synopsis

Calls the Amazon Bedrock Agent Core Control Plane Fronting Layer CreateHarness API operation.

Syntax

New-BACCHarness
-Memory_AgentCoreMemoryConfiguration_ActorId <String>
-AuthorizerConfiguration_CustomJWTAuthorizer_AllowedAudience <String[]>
-AuthorizerConfiguration_CustomJWTAuthorizer_AllowedClient <String[]>
-AuthorizerConfiguration_CustomJWTAuthorizer_AllowedScope <String[]>
-AllowedTool <String[]>
-Model_GeminiModelConfig_ApiKeyArn <String>
-Model_OpenAiModelConfig_ApiKeyArn <String>
-Memory_AgentCoreMemoryConfiguration_Arn <String>
-EnvironmentArtifact_ContainerConfiguration_ContainerUri <String>
-AuthorizerConfiguration_CustomJWTAuthorizer_CustomClaim <CustomClaimValidationType[]>
-AuthorizerConfiguration_CustomJWTAuthorizer_DiscoveryUrl <String>
-AuthorizerConfiguration_CustomJWTAuthorizer_PrivateEndpoint_ManagedVpcResource_EndpointIpAddressType <EndpointIpAddressType>
-EnvironmentVariable <Hashtable>
-ExecutionRoleArn <String>
-Environment_AgentCoreRuntimeEnvironment_FilesystemConfiguration <FilesystemConfiguration[]>
-HarnessName <String>
-Environment_AgentCoreRuntimeEnvironment_LifecycleConfiguration_IdleRuntimeSessionTimeout <Int32>
-MaxIteration <Int32>
-Environment_AgentCoreRuntimeEnvironment_LifecycleConfiguration_MaxLifetime <Int32>
-MaxToken <Int32>
-Model_BedrockModelConfig_MaxToken <Int32>
-Model_GeminiModelConfig_MaxToken <Int32>
-Model_OpenAiModelConfig_MaxToken <Int32>
-Memory_AgentCoreMemoryConfiguration_MessagesCount <Int32>
-Truncation_Config_SlidingWindow_MessagesCount <Int32>
-Model_BedrockModelConfig_ModelId <String>
-Model_GeminiModelConfig_ModelId <String>
-Model_OpenAiModelConfig_ModelId <String>
-Environment_AgentCoreRuntimeEnvironment_NetworkConfiguration_NetworkMode <NetworkMode>
-Truncation_Config_Summarization_PreserveRecentMessage <Int32>
-AuthorizerConfiguration_CustomJWTAuthorizer_PrivateEndpointOverride <PrivateEndpointOverride[]>
-Environment_AgentCoreRuntimeEnvironment_NetworkConfiguration_NetworkModeConfig_RequireServiceS3Endpoint <Boolean>
-AuthorizerConfiguration_CustomJWTAuthorizer_PrivateEndpoint_SelfManagedLatticeResource_ResourceConfigurationIdentifier <String>
-Memory_AgentCoreMemoryConfiguration_RetrievalConfig <Hashtable>
-AuthorizerConfiguration_CustomJWTAuthorizer_PrivateEndpoint_ManagedVpcResource_RoutingDomain <String>
-AuthorizerConfiguration_CustomJWTAuthorizer_PrivateEndpoint_ManagedVpcResource_SecurityGroupId <String[]>
-Environment_AgentCoreRuntimeEnvironment_NetworkConfiguration_NetworkModeConfig_SecurityGroup <String[]>
-Skill <HarnessSkill[]>
-Truncation_Strategy <HarnessTruncationStrategy>
-AuthorizerConfiguration_CustomJWTAuthorizer_PrivateEndpoint_ManagedVpcResource_SubnetId <String[]>
-Environment_AgentCoreRuntimeEnvironment_NetworkConfiguration_NetworkModeConfig_Subnet <String[]>
-Truncation_Config_Summarization_SummarizationSystemPrompt <String>
-Truncation_Config_Summarization_SummaryRatio <Single>
-SystemPrompt <HarnessSystemContentBlock[]>
-AuthorizerConfiguration_CustomJWTAuthorizer_PrivateEndpoint_ManagedVpcResource_Tag <Hashtable>
-Tag <Hashtable>
-Model_BedrockModelConfig_Temperature <Single>
-Model_GeminiModelConfig_Temperature <Single>
-Model_OpenAiModelConfig_Temperature <Single>
-TimeoutSecond <Int32>
-Tool <HarnessTool[]>
-Model_GeminiModelConfig_TopK <Int32>
-Model_BedrockModelConfig_TopP <Single>
-Model_GeminiModelConfig_TopP <Single>
-Model_OpenAiModelConfig_TopP <Single>
-AuthorizerConfiguration_CustomJWTAuthorizer_PrivateEndpoint_ManagedVpcResource_VpcIdentifier <String>
-ClientToken <String>
-Select <String>
-Force <SwitchParameter>
-ClientConfig <AmazonBedrockAgentCoreControlConfig>

Description

Operation to create a Harness.

Parameters

-AllowedTool <String[]>
The tools that the agent is allowed to use. Supports glob patterns such as * for all tools, @builtin for all built-in tools, or @serverName/toolName for specific MCP server tools. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAllowedTools
-AuthorizerConfiguration_CustomJWTAuthorizer_AllowedAudience <String[]>
Represents individual audience values that are validated in the incoming JWT token validation process. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-AuthorizerConfiguration_CustomJWTAuthorizer_AllowedClient <String[]>
Represents individual client IDs that are validated in the incoming JWT token validation process. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAuthorizerConfiguration_CustomJWTAuthorizer_AllowedClients
-AuthorizerConfiguration_CustomJWTAuthorizer_AllowedScope <String[]>
An array of scopes that are allowed to access the token. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAuthorizerConfiguration_CustomJWTAuthorizer_AllowedScopes
-AuthorizerConfiguration_CustomJWTAuthorizer_CustomClaim <CustomClaimValidationType[]>
An array of objects that define a custom claim validation name, value, and operation Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAuthorizerConfiguration_CustomJWTAuthorizer_CustomClaims
-AuthorizerConfiguration_CustomJWTAuthorizer_DiscoveryUrl <String>
This URL is used to fetch OpenID Connect configuration or authorization server metadata for validating incoming tokens.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-AuthorizerConfiguration_CustomJWTAuthorizer_PrivateEndpoint_ManagedVpcResource_EndpointIpAddressType <EndpointIpAddressType>
The IP address type for the resource configuration endpoint.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-AuthorizerConfiguration_CustomJWTAuthorizer_PrivateEndpoint_ManagedVpcResource_RoutingDomain <String>
An intermediate domain to use as the resource configuration endpoint instead of the actual target domain. Use this when you want to route traffic through an intermediate component such as a VPC endpoint or internal load balancer. For more information, see xref:lattice-vpc-egress-routing-domain[Route traffic through an intermediate domain].
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-AuthorizerConfiguration_CustomJWTAuthorizer_PrivateEndpoint_ManagedVpcResource_SecurityGroupId <String[]>
The security group IDs to associate with the VPC Lattice resource gateway. If not specified, the default security group for the VPC is used. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAuthorizerConfiguration_CustomJWTAuthorizer_PrivateEndpoint_ManagedVpcResource_SecurityGroupIds
-AuthorizerConfiguration_CustomJWTAuthorizer_PrivateEndpoint_ManagedVpcResource_SubnetId <String[]>
The subnet IDs within the VPC where the VPC Lattice resource gateway is placed. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAuthorizerConfiguration_CustomJWTAuthorizer_PrivateEndpoint_ManagedVpcResource_SubnetIds
-AuthorizerConfiguration_CustomJWTAuthorizer_PrivateEndpoint_ManagedVpcResource_Tag <Hashtable>
Tags to apply to the managed VPC Lattice resource gateway. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAuthorizerConfiguration_CustomJWTAuthorizer_PrivateEndpoint_ManagedVpcResource_Tags
-AuthorizerConfiguration_CustomJWTAuthorizer_PrivateEndpoint_ManagedVpcResource_VpcIdentifier <String>
The ID of the VPC that contains your private resource.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-AuthorizerConfiguration_CustomJWTAuthorizer_PrivateEndpoint_SelfManagedLatticeResource_ResourceConfigurationIdentifier <String>
The ARN or ID of the VPC Lattice resource configuration.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-AuthorizerConfiguration_CustomJWTAuthorizer_PrivateEndpointOverride <PrivateEndpointOverride[]>
The private endpoint overrides for the custom JWT authorizer configuration. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAuthorizerConfiguration_CustomJWTAuthorizer_PrivateEndpointOverrides
Amazon.PowerShell.Cmdlets.BACC.AmazonBedrockAgentCoreControlClientCmdlet.ClientConfig
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-ClientToken <String>
A unique, case-sensitive identifier to ensure idempotency of the request.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-Environment_AgentCoreRuntimeEnvironment_FilesystemConfiguration <FilesystemConfiguration[]>
The filesystem configurations for the runtime environment. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesEnvironment_AgentCoreRuntimeEnvironment_FilesystemConfigurations
-Environment_AgentCoreRuntimeEnvironment_LifecycleConfiguration_IdleRuntimeSessionTimeout <Int32>
Timeout in seconds for idle runtime sessions. When a session remains idle for this duration, it will be automatically terminated. Default: 900 seconds (15 minutes).
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-Environment_AgentCoreRuntimeEnvironment_LifecycleConfiguration_MaxLifetime <Int32>
Maximum lifetime for the instance in seconds. Once reached, instances will be automatically terminated and replaced. Default: 28800 seconds (8 hours).
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-Environment_AgentCoreRuntimeEnvironment_NetworkConfiguration_NetworkMode <NetworkMode>
The network mode for the AgentCore Runtime.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-Environment_AgentCoreRuntimeEnvironment_NetworkConfiguration_NetworkModeConfig_RequireServiceS3Endpoint <Boolean>
This field applies only to Agent Runtimes. It is not applicable to Browsers or Code Interpreters.Controls whether a service-managed Amazon S3 gateway endpoint is provisioned in the VPC network topology for the agent runtime. This gateway is used by Amazon Bedrock AgentCore Runtime to download code and container images during agent startup.Starting May 5, 2026, Amazon Bedrock AgentCore Runtime is gradually rolling out a change to how network isolation is configured for VPC mode agents. Agent runtimes created on or after this rollout will no longer include the service-managed Amazon S3 gateway. Instead, all network access, including to Amazon S3, is governed exclusively by your VPC configuration. This field cannot be set on agent runtimes created after the rollout. Passing this field in an UpdateAgentRuntime request for these agent runtimes returns a ValidationException.Agent runtimes created before the rollout are not affected and continue to operate with the service-managed Amazon S3 gateway. To enforce full VPC network isolation on these existing agent runtimes, set this field to false via the UpdateAgentRuntime API. Before opting out, ensure your VPC provides the Amazon S3 access required for agent startup. If this field is not specified or is set to true, the service-managed Amazon S3 gateway remains provisioned.This field is only supported in the UpdateAgentRuntime API for pre-rollout agent runtimes. Passing this field in a CreateAgentRuntime request returns a ValidationException.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-Environment_AgentCoreRuntimeEnvironment_NetworkConfiguration_NetworkModeConfig_SecurityGroup <String[]>
The security groups associated with the VPC configuration. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesEnvironment_AgentCoreRuntimeEnvironment_NetworkConfiguration_NetworkModeConfig_SecurityGroups
-Environment_AgentCoreRuntimeEnvironment_NetworkConfiguration_NetworkModeConfig_Subnet <String[]>
The subnets associated with the VPC configuration. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesEnvironment_AgentCoreRuntimeEnvironment_NetworkConfiguration_NetworkModeConfig_Subnets
-EnvironmentArtifact_ContainerConfiguration_ContainerUri <String>
The ECR URI of the container.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-EnvironmentVariable <Hashtable>
Environment variables to set in the harness runtime environment. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesEnvironmentVariables
-ExecutionRoleArn <String>
The ARN of the IAM role that the harness assumes when running. This role must have permissions for the services the agent needs to access, such as Amazon Bedrock for model invocation.
Required?True
Position?Named
Accept pipeline input?True (ByPropertyName)
This parameter overrides confirmation prompts to force the cmdlet to continue its operation. This parameter should always be used with caution.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-HarnessName <String>
The name of the harness. Must start with a letter and contain only alphanumeric characters and underscores.
Required?True
Position?Named
Accept pipeline input?True (ByPropertyName)
-MaxIteration <Int32>
The maximum number of iterations the agent loop can execute per invocation.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesMaxIterations
-MaxToken <Int32>
The maximum total number of output tokens the agent can generate across all model calls within a single invocation.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesMaxTokens
-Memory_AgentCoreMemoryConfiguration_ActorId <String>
The actor ID for memory operations.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-Memory_AgentCoreMemoryConfiguration_Arn <String>
The ARN of the AgentCore Memory resource.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-Memory_AgentCoreMemoryConfiguration_MessagesCount <Int32>
The number of messages to retrieve from memory.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-Memory_AgentCoreMemoryConfiguration_RetrievalConfig <Hashtable>
The retrieval configuration for long-term memory, mapping namespace path templates to retrieval settings. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-Model_BedrockModelConfig_MaxToken <Int32>
The maximum number of tokens to allow in the generated response per model call.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesModel_BedrockModelConfig_MaxTokens
-Model_BedrockModelConfig_ModelId <String>
The Bedrock model ID.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-Model_BedrockModelConfig_Temperature <Single>
The temperature to set when calling the model.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-Model_BedrockModelConfig_TopP <Single>
The topP set when calling the model.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-Model_GeminiModelConfig_ApiKeyArn <String>
The ARN of your Gemini API key on AgentCore Identity.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-Model_GeminiModelConfig_MaxToken <Int32>
The maximum number of tokens to allow in the generated response per model call.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesModel_GeminiModelConfig_MaxTokens
-Model_GeminiModelConfig_ModelId <String>
The Gemini model ID.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-Model_GeminiModelConfig_Temperature <Single>
The temperature to set when calling the model.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-Model_GeminiModelConfig_TopK <Int32>
The topK set when calling the model.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-Model_GeminiModelConfig_TopP <Single>
The topP set when calling the model.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-Model_OpenAiModelConfig_ApiKeyArn <String>
The ARN of your OpenAI API key on AgentCore Identity.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-Model_OpenAiModelConfig_MaxToken <Int32>
The maximum number of tokens to allow in the generated response per model call.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesModel_OpenAiModelConfig_MaxTokens
-Model_OpenAiModelConfig_ModelId <String>
The OpenAI model ID.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-Model_OpenAiModelConfig_Temperature <Single>
The temperature to set when calling the model.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-Model_OpenAiModelConfig_TopP <Single>
The topP set when calling the model.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-Select <String>
Use the -Select parameter to control the cmdlet output. The default value is 'Harness'. Specifying -Select '*' will result in the cmdlet returning the whole service response (Amazon.BedrockAgentCoreControl.Model.CreateHarnessResponse). Specifying the name of a property of type Amazon.BedrockAgentCoreControl.Model.CreateHarnessResponse will result in that property being returned. Specifying -Select '^ParameterName' will result in the cmdlet returning the selected cmdlet parameter value.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
The skills available to the agent. Skills are bundles of files that the agent can pull into its context on demand. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesSkills
The system prompt that defines the agent's behavior and instructions. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-Tag <Hashtable>
Tags to apply to the harness resource. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesTags
-TimeoutSecond <Int32>
The maximum duration in seconds for the agent loop execution per invocation.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesTimeoutSeconds
The tools available to the agent, such as remote MCP servers, AgentCore Gateway, AgentCore Browser, Code Interpreter, or inline functions. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesTools
-Truncation_Config_SlidingWindow_MessagesCount <Int32>
The number of recent messages to retain in the context window.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-Truncation_Config_Summarization_PreserveRecentMessage <Int32>
The number of recent messages to preserve without summarization.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesTruncation_Config_Summarization_PreserveRecentMessages
-Truncation_Config_Summarization_SummarizationSystemPrompt <String>
The system prompt used for generating summaries.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-Truncation_Config_Summarization_SummaryRatio <Single>
The ratio of content to summarize.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-Truncation_Strategy <HarnessTruncationStrategy>
The truncation strategy to use.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)

Common Credential and Region Parameters

-AccessKey <String>
The AWS access key for the user account. This can be a temporary access key if the corresponding session token is supplied to the -SessionToken parameter.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAK
-Credential <AWSCredentials>
An AWSCredentials object instance containing access and secret key information, and optionally a token for session-based credentials.
Required?False
Position?Named
Accept pipeline input?True (ByValue, ByPropertyName)
-EndpointUrl <String>
The endpoint to make the call against.Note: This parameter is primarily for internal AWS use and is not required/should not be specified for normal usage. The cmdlets normally determine which endpoint to call based on the region specified to the -Region parameter or set as default in the shell (via Set-DefaultAWSRegion). Only specify this parameter if you must direct the call to a specific custom endpoint.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-NetworkCredential <PSCredential>
Used with SAML-based authentication when ProfileName references a SAML role profile. Contains the network credentials to be supplied during authentication with the configured identity provider's endpoint. This parameter is not required if the user's default network identity can or should be used during authentication.
Required?False
Position?Named
Accept pipeline input?True (ByValue, ByPropertyName)
-ProfileLocation <String>
Used to specify the name and location of the ini-format credential file (shared with the AWS CLI and other AWS SDKs)If this optional parameter is omitted this cmdlet will search the encrypted credential file used by the AWS SDK for .NET and AWS Toolkit for Visual Studio first. If the profile is not found then the cmdlet will search in the ini-format credential file at the default location: (user's home directory)\.aws\credentials.If this parameter is specified then this cmdlet will only search the ini-format credential file at the location given.As the current folder can vary in a shell or during script execution it is advised that you use specify a fully qualified path instead of a relative path.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAWSProfilesLocation, ProfilesLocation
-ProfileName <String>
The user-defined name of an AWS credentials or SAML-based role profile containing credential information. The profile is expected to be found in the secure credential file shared with the AWS SDK for .NET and AWS Toolkit for Visual Studio. You can also specify the name of a profile stored in the .ini-format credential file used with the AWS CLI and other AWS SDKs.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesStoredCredentials, AWSProfileName
-Region <Object>
The system name of an AWS region or an AWSRegion instance. This governs the endpoint that will be used when calling service operations. Note that the AWS resources referenced in a call are usually region-specific.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesRegionToCall
-SecretKey <String>
The AWS secret key for the user account. This can be a temporary secret key if the corresponding session token is supplied to the -SessionToken parameter.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesSK, SecretAccessKey
-SessionToken <String>
The session token if the access and secret keys are temporary session-based credentials.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesST

Outputs

This cmdlet returns an Amazon.BedrockAgentCoreControl.Model.Harness object. The service call response (type Amazon.BedrockAgentCoreControl.Model.CreateHarnessResponse) can be returned by specifying '-Select *'.

Supported Version

AWS Tools for PowerShell: 2.x.y.z