CfnHarnessPropsMixin
- class aws_cdk.cfn_property_mixins.aws_bedrockagentcore.CfnHarnessPropsMixin(props, *, strategy=None)
Bases:
MixinDefinition of AWS::BedrockAgentCore::Harness resource type - a managed agentic loop service that provides a turnkey solution for running stateful, tool-equipped AI agents.
- See:
- CloudformationResource:
AWS::BedrockAgentCore::Harness
- Mixin:
true
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_bedrockagentcore as bedrockagentcore import aws_cdk as cdk # aws_iam: Any # input_schema: Any # merge_strategy: cdk.IMergeStrategy # none: Any cfn_harness_props_mixin = bedrockagentcore.CfnHarnessPropsMixin(bedrockagentcore.CfnHarnessMixinProps( allowed_tools=["allowedTools"], authorizer_configuration=bedrockagentcore.CfnHarnessPropsMixin.AuthorizerConfigurationProperty( custom_jwt_authorizer=bedrockagentcore.CfnHarnessPropsMixin.CustomJWTAuthorizerConfigurationProperty( allowed_audience=["allowedAudience"], allowed_clients=["allowedClients"], allowed_scopes=["allowedScopes"], custom_claims=[bedrockagentcore.CfnHarnessPropsMixin.CustomClaimValidationTypeProperty( authorizing_claim_match_value=bedrockagentcore.CfnHarnessPropsMixin.AuthorizingClaimMatchValueTypeProperty( claim_match_operator="claimMatchOperator", claim_match_value=bedrockagentcore.CfnHarnessPropsMixin.ClaimMatchValueTypeProperty( match_value_string="matchValueString", match_value_string_list=["matchValueStringList"] ) ), inbound_token_claim_name="inboundTokenClaimName", inbound_token_claim_value_type="inboundTokenClaimValueType" )], discovery_url="discoveryUrl" ) ), environment=bedrockagentcore.CfnHarnessPropsMixin.HarnessEnvironmentProviderProperty( agent_core_runtime_environment=bedrockagentcore.CfnHarnessPropsMixin.HarnessAgentCoreRuntimeEnvironmentProperty( agent_runtime_arn="agentRuntimeArn", agent_runtime_id="agentRuntimeId", agent_runtime_name="agentRuntimeName", filesystem_configurations=[bedrockagentcore.CfnHarnessPropsMixin.FilesystemConfigurationProperty( session_storage=bedrockagentcore.CfnHarnessPropsMixin.SessionStorageConfigurationProperty( mount_path="mountPath" ) )], lifecycle_configuration=bedrockagentcore.CfnHarnessPropsMixin.LifecycleConfigurationProperty( idle_runtime_session_timeout=123, max_lifetime=123 ), network_configuration=bedrockagentcore.CfnHarnessPropsMixin.NetworkConfigurationProperty( network_mode="networkMode", network_mode_config=bedrockagentcore.CfnHarnessPropsMixin.VpcConfigProperty( security_groups=["securityGroups"], subnets=["subnets"] ) ) ) ), environment_artifact=bedrockagentcore.CfnHarnessPropsMixin.HarnessEnvironmentArtifactProperty( container_configuration=bedrockagentcore.CfnHarnessPropsMixin.ContainerConfigurationProperty( container_uri="containerUri" ) ), environment_variables={ "environment_variables_key": "environmentVariables" }, execution_role_arn="executionRoleArn", harness_name="harnessName", max_iterations=123, max_tokens=123, memory=bedrockagentcore.CfnHarnessPropsMixin.HarnessMemoryConfigurationProperty( agent_core_memory_configuration=bedrockagentcore.CfnHarnessPropsMixin.HarnessAgentCoreMemoryConfigurationProperty( actor_id="actorId", arn="arn", messages_count=123, retrieval_config={ "retrieval_config_key": bedrockagentcore.CfnHarnessPropsMixin.HarnessAgentCoreMemoryRetrievalConfigProperty( relevance_score=123, strategy_id="strategyId", top_k=123 ) } ) ), model=bedrockagentcore.CfnHarnessPropsMixin.HarnessModelConfigurationProperty( bedrock_model_config=bedrockagentcore.CfnHarnessPropsMixin.HarnessBedrockModelConfigProperty( max_tokens=123, model_id="modelId", temperature=123, top_p=123 ), gemini_model_config=bedrockagentcore.CfnHarnessPropsMixin.HarnessGeminiModelConfigProperty( api_key_arn="apiKeyArn", max_tokens=123, model_id="modelId", temperature=123, top_k=123, top_p=123 ), open_ai_model_config=bedrockagentcore.CfnHarnessPropsMixin.HarnessOpenAiModelConfigProperty( api_key_arn="apiKeyArn", max_tokens=123, model_id="modelId", temperature=123, top_p=123 ) ), skills=[bedrockagentcore.CfnHarnessPropsMixin.HarnessSkillProperty( path="path" )], system_prompt=[bedrockagentcore.CfnHarnessPropsMixin.HarnessSystemContentBlockProperty( text="text" )], tags=[cdk.CfnTag( key="key", value="value" )], timeout_seconds=123, tools=[bedrockagentcore.CfnHarnessPropsMixin.HarnessToolProperty( config=bedrockagentcore.CfnHarnessPropsMixin.HarnessToolConfigurationProperty( agent_core_browser=bedrockagentcore.CfnHarnessPropsMixin.HarnessAgentCoreBrowserConfigProperty( browser_arn="browserArn" ), agent_core_code_interpreter=bedrockagentcore.CfnHarnessPropsMixin.HarnessAgentCoreCodeInterpreterConfigProperty( code_interpreter_arn="codeInterpreterArn" ), agent_core_gateway=bedrockagentcore.CfnHarnessPropsMixin.HarnessAgentCoreGatewayConfigProperty( gateway_arn="gatewayArn", outbound_auth=bedrockagentcore.CfnHarnessPropsMixin.HarnessGatewayOutboundAuthProperty( aws_iam=aws_iam, none=none, oauth=bedrockagentcore.CfnHarnessPropsMixin.OAuthCredentialProviderProperty( custom_parameters={ "custom_parameters_key": "customParameters" }, default_return_url="defaultReturnUrl", grant_type="grantType", provider_arn="providerArn", scopes=["scopes"] ) ) ), inline_function=bedrockagentcore.CfnHarnessPropsMixin.HarnessInlineFunctionConfigProperty( description="description", input_schema=input_schema ), remote_mcp=bedrockagentcore.CfnHarnessPropsMixin.HarnessRemoteMcpConfigProperty( headers={ "headers_key": "headers" }, url="url" ) ), name="name", type="type" )], truncation=bedrockagentcore.CfnHarnessPropsMixin.HarnessTruncationConfigurationProperty( config=bedrockagentcore.CfnHarnessPropsMixin.HarnessTruncationStrategyConfigurationProperty( sliding_window=bedrockagentcore.CfnHarnessPropsMixin.HarnessSlidingWindowConfigurationProperty( messages_count=123 ), summarization=bedrockagentcore.CfnHarnessPropsMixin.HarnessSummarizationConfigurationProperty( preserve_recent_messages=123, summarization_system_prompt="summarizationSystemPrompt", summary_ratio=123 ) ), strategy="strategy" ) ), strategy=merge_strategy )
Create a mixin to apply properties to
AWS::BedrockAgentCore::Harness.- Parameters:
props (
Union[CfnHarnessMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[IMergeStrategy]) – Strategy for merging nested properties. Default: - PropertyMergeStrategy.combine()
Methods
- apply_to(construct)
Apply the mixin properties to the construct.
- Parameters:
construct (
IConstruct)- Return type:
None
- supports(construct)
Check if this mixin supports the given construct.
- Parameters:
construct (
IConstruct)- Return type:
bool
Attributes
- CFN_PROPERTY_KEYS = ['allowedTools', 'authorizerConfiguration', 'environment', 'environmentArtifact', 'environmentVariables', 'executionRoleArn', 'harnessName', 'maxIterations', 'maxTokens', 'memory', 'model', 'skills', 'systemPrompt', 'tags', 'timeoutSeconds', 'tools', 'truncation']
Static Methods
- classmethod is_mixin(x)
Checks if
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.
ClaimMatchValueTypeProperty
- class CfnHarnessPropsMixin.ClaimMatchValueTypeProperty(*, match_value_string=None, match_value_string_list=None)
Bases:
object- Parameters:
match_value_string (
Optional[str])match_value_string_list (
Optional[Sequence[str]])
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_bedrockagentcore as bedrockagentcore claim_match_value_type_property = bedrockagentcore.CfnHarnessPropsMixin.ClaimMatchValueTypeProperty( match_value_string="matchValueString", match_value_string_list=["matchValueStringList"] )
Attributes
- match_value_string
-
- Type:
see
ContainerConfigurationProperty
- class CfnHarnessPropsMixin.ContainerConfigurationProperty(*, container_uri=None)
Bases:
object- Parameters:
container_uri (
Optional[str]) – The ECR URI of the container.- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_bedrockagentcore as bedrockagentcore container_configuration_property = bedrockagentcore.CfnHarnessPropsMixin.ContainerConfigurationProperty( container_uri="containerUri" )
Attributes
- container_uri
The ECR URI of the container.
CustomClaimValidationTypeProperty
- class CfnHarnessPropsMixin.CustomClaimValidationTypeProperty(*, authorizing_claim_match_value=None, inbound_token_claim_name=None, inbound_token_claim_value_type=None)
Bases:
object- Parameters:
authorizing_claim_match_value (
Union[IResolvable,AuthorizingClaimMatchValueTypeProperty,Dict[str,Any],None])inbound_token_claim_name (
Optional[str])inbound_token_claim_value_type (
Optional[str])
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_bedrockagentcore as bedrockagentcore custom_claim_validation_type_property = bedrockagentcore.CfnHarnessPropsMixin.CustomClaimValidationTypeProperty( authorizing_claim_match_value=bedrockagentcore.CfnHarnessPropsMixin.AuthorizingClaimMatchValueTypeProperty( claim_match_operator="claimMatchOperator", claim_match_value=bedrockagentcore.CfnHarnessPropsMixin.ClaimMatchValueTypeProperty( match_value_string="matchValueString", match_value_string_list=["matchValueStringList"] ) ), inbound_token_claim_name="inboundTokenClaimName", inbound_token_claim_value_type="inboundTokenClaimValueType" )
Attributes
- authorizing_claim_match_value
-
- Type:
see
- inbound_token_claim_name
-
- Type:
see
FilesystemConfigurationProperty
- class CfnHarnessPropsMixin.FilesystemConfigurationProperty(*, session_storage=None)
Bases:
object- Parameters:
session_storage (
Union[IResolvable,SessionStorageConfigurationProperty,Dict[str,Any],None])- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_bedrockagentcore as bedrockagentcore filesystem_configuration_property = bedrockagentcore.CfnHarnessPropsMixin.FilesystemConfigurationProperty( session_storage=bedrockagentcore.CfnHarnessPropsMixin.SessionStorageConfigurationProperty( mount_path="mountPath" ) )
Attributes
HarnessAgentCoreBrowserConfigProperty
- class CfnHarnessPropsMixin.HarnessAgentCoreBrowserConfigProperty(*, browser_arn=None)
Bases:
object- Parameters:
browser_arn (
Optional[str])- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_bedrockagentcore as bedrockagentcore harness_agent_core_browser_config_property = bedrockagentcore.CfnHarnessPropsMixin.HarnessAgentCoreBrowserConfigProperty( browser_arn="browserArn" )
Attributes
HarnessAgentCoreCodeInterpreterConfigProperty
- class CfnHarnessPropsMixin.HarnessAgentCoreCodeInterpreterConfigProperty(*, code_interpreter_arn=None)
Bases:
object- Parameters:
code_interpreter_arn (
Optional[str])- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_bedrockagentcore as bedrockagentcore harness_agent_core_code_interpreter_config_property = bedrockagentcore.CfnHarnessPropsMixin.HarnessAgentCoreCodeInterpreterConfigProperty( code_interpreter_arn="codeInterpreterArn" )
Attributes
HarnessAgentCoreGatewayConfigProperty
- class CfnHarnessPropsMixin.HarnessAgentCoreGatewayConfigProperty(*, gateway_arn=None, outbound_auth=None)
Bases:
object- Parameters:
gateway_arn (
Optional[str])outbound_auth (
Union[IResolvable,HarnessGatewayOutboundAuthProperty,Dict[str,Any],None])
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_bedrockagentcore as bedrockagentcore # aws_iam: Any # none: Any harness_agent_core_gateway_config_property = bedrockagentcore.CfnHarnessPropsMixin.HarnessAgentCoreGatewayConfigProperty( gateway_arn="gatewayArn", outbound_auth=bedrockagentcore.CfnHarnessPropsMixin.HarnessGatewayOutboundAuthProperty( aws_iam=aws_iam, none=none, oauth=bedrockagentcore.CfnHarnessPropsMixin.OAuthCredentialProviderProperty( custom_parameters={ "custom_parameters_key": "customParameters" }, default_return_url="defaultReturnUrl", grant_type="grantType", provider_arn="providerArn", scopes=["scopes"] ) ) )
Attributes
- gateway_arn
-
- Type:
see
HarnessAgentCoreMemoryConfigurationProperty
- class CfnHarnessPropsMixin.HarnessAgentCoreMemoryConfigurationProperty(*, actor_id=None, arn=None, messages_count=None, retrieval_config=None)
Bases:
object- Parameters:
actor_id (
Optional[str])arn (
Optional[str])messages_count (
Union[int,float,None])retrieval_config (
Union[IResolvable,Mapping[str,Union[IResolvable,HarnessAgentCoreMemoryRetrievalConfigProperty,Dict[str,Any]]],None])
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_bedrockagentcore as bedrockagentcore harness_agent_core_memory_configuration_property = bedrockagentcore.CfnHarnessPropsMixin.HarnessAgentCoreMemoryConfigurationProperty( actor_id="actorId", arn="arn", messages_count=123, retrieval_config={ "retrieval_config_key": bedrockagentcore.CfnHarnessPropsMixin.HarnessAgentCoreMemoryRetrievalConfigProperty( relevance_score=123, strategy_id="strategyId", top_k=123 ) } )
Attributes
- actor_id
-
- Type:
see
- arn
-
- Type:
see
- messages_count
-
- Type:
see
HarnessAgentCoreMemoryRetrievalConfigProperty
- class CfnHarnessPropsMixin.HarnessAgentCoreMemoryRetrievalConfigProperty(*, relevance_score=None, strategy_id=None, top_k=None)
Bases:
object- Parameters:
relevance_score (
Union[int,float,None])strategy_id (
Optional[str])top_k (
Union[int,float,None])
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_bedrockagentcore as bedrockagentcore harness_agent_core_memory_retrieval_config_property = bedrockagentcore.CfnHarnessPropsMixin.HarnessAgentCoreMemoryRetrievalConfigProperty( relevance_score=123, strategy_id="strategyId", top_k=123 )
Attributes
- relevance_score
-
- Type:
see
- strategy_id
-
- Type:
see
HarnessAgentCoreRuntimeEnvironmentProperty
- class CfnHarnessPropsMixin.HarnessAgentCoreRuntimeEnvironmentProperty(*, agent_runtime_arn=None, agent_runtime_id=None, agent_runtime_name=None, filesystem_configurations=None, lifecycle_configuration=None, network_configuration=None)
Bases:
object- Parameters:
agent_runtime_arn (
Optional[str]) – The ARN of the underlying AgentCore Runtime.agent_runtime_id (
Optional[str]) – The ID of the underlying AgentCore Runtime.agent_runtime_name (
Optional[str]) – The name of the underlying AgentCore Runtime.filesystem_configurations (
Union[IResolvable,Sequence[Union[IResolvable,FilesystemConfigurationProperty,Dict[str,Any]]],None])lifecycle_configuration (
Union[IResolvable,LifecycleConfigurationProperty,Dict[str,Any],None])network_configuration (
Union[IResolvable,NetworkConfigurationProperty,Dict[str,Any],None])
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_bedrockagentcore as bedrockagentcore harness_agent_core_runtime_environment_property = bedrockagentcore.CfnHarnessPropsMixin.HarnessAgentCoreRuntimeEnvironmentProperty( agent_runtime_arn="agentRuntimeArn", agent_runtime_id="agentRuntimeId", agent_runtime_name="agentRuntimeName", filesystem_configurations=[bedrockagentcore.CfnHarnessPropsMixin.FilesystemConfigurationProperty( session_storage=bedrockagentcore.CfnHarnessPropsMixin.SessionStorageConfigurationProperty( mount_path="mountPath" ) )], lifecycle_configuration=bedrockagentcore.CfnHarnessPropsMixin.LifecycleConfigurationProperty( idle_runtime_session_timeout=123, max_lifetime=123 ), network_configuration=bedrockagentcore.CfnHarnessPropsMixin.NetworkConfigurationProperty( network_mode="networkMode", network_mode_config=bedrockagentcore.CfnHarnessPropsMixin.VpcConfigProperty( security_groups=["securityGroups"], subnets=["subnets"] ) ) )
Attributes
- agent_runtime_arn
The ARN of the underlying AgentCore Runtime.
- agent_runtime_id
The ID of the underlying AgentCore Runtime.
- agent_runtime_name
The name of the underlying AgentCore Runtime.
- filesystem_configurations
-
- Type:
see
- lifecycle_configuration
-
- Type:
see
HarnessBedrockModelConfigProperty
- class CfnHarnessPropsMixin.HarnessBedrockModelConfigProperty(*, max_tokens=None, model_id=None, temperature=None, top_p=None)
Bases:
object- Parameters:
max_tokens (
Union[int,float,None])model_id (
Optional[str])temperature (
Union[int,float,None])top_p (
Union[int,float,None])
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_bedrockagentcore as bedrockagentcore harness_bedrock_model_config_property = bedrockagentcore.CfnHarnessPropsMixin.HarnessBedrockModelConfigProperty( max_tokens=123, model_id="modelId", temperature=123, top_p=123 )
Attributes
- max_tokens
-
- Type:
see
- model_id
-
- Type:
see
- temperature
-
- Type:
see
HarnessEnvironmentArtifactProperty
- class CfnHarnessPropsMixin.HarnessEnvironmentArtifactProperty(*, container_configuration=None)
Bases:
object- Parameters:
container_configuration (
Union[IResolvable,ContainerConfigurationProperty,Dict[str,Any],None])- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_bedrockagentcore as bedrockagentcore harness_environment_artifact_property = bedrockagentcore.CfnHarnessPropsMixin.HarnessEnvironmentArtifactProperty( container_configuration=bedrockagentcore.CfnHarnessPropsMixin.ContainerConfigurationProperty( container_uri="containerUri" ) )
Attributes
HarnessEnvironmentProviderProperty
- class CfnHarnessPropsMixin.HarnessEnvironmentProviderProperty(*, agent_core_runtime_environment=None)
Bases:
object- Parameters:
agent_core_runtime_environment (
Union[IResolvable,HarnessAgentCoreRuntimeEnvironmentProperty,Dict[str,Any],None])- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_bedrockagentcore as bedrockagentcore harness_environment_provider_property = bedrockagentcore.CfnHarnessPropsMixin.HarnessEnvironmentProviderProperty( agent_core_runtime_environment=bedrockagentcore.CfnHarnessPropsMixin.HarnessAgentCoreRuntimeEnvironmentProperty( agent_runtime_arn="agentRuntimeArn", agent_runtime_id="agentRuntimeId", agent_runtime_name="agentRuntimeName", filesystem_configurations=[bedrockagentcore.CfnHarnessPropsMixin.FilesystemConfigurationProperty( session_storage=bedrockagentcore.CfnHarnessPropsMixin.SessionStorageConfigurationProperty( mount_path="mountPath" ) )], lifecycle_configuration=bedrockagentcore.CfnHarnessPropsMixin.LifecycleConfigurationProperty( idle_runtime_session_timeout=123, max_lifetime=123 ), network_configuration=bedrockagentcore.CfnHarnessPropsMixin.NetworkConfigurationProperty( network_mode="networkMode", network_mode_config=bedrockagentcore.CfnHarnessPropsMixin.VpcConfigProperty( security_groups=["securityGroups"], subnets=["subnets"] ) ) ) )
Attributes
HarnessGatewayOutboundAuthProperty
- class CfnHarnessPropsMixin.HarnessGatewayOutboundAuthProperty(*, aws_iam=None, none=None, oauth=None)
Bases:
object- Parameters:
aws_iam (
Any)none (
Any)oauth (
Union[IResolvable,OAuthCredentialProviderProperty,Dict[str,Any],None])
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_bedrockagentcore as bedrockagentcore # aws_iam: Any # none: Any harness_gateway_outbound_auth_property = bedrockagentcore.CfnHarnessPropsMixin.HarnessGatewayOutboundAuthProperty( aws_iam=aws_iam, none=none, oauth=bedrockagentcore.CfnHarnessPropsMixin.OAuthCredentialProviderProperty( custom_parameters={ "custom_parameters_key": "customParameters" }, default_return_url="defaultReturnUrl", grant_type="grantType", provider_arn="providerArn", scopes=["scopes"] ) )
Attributes
- aws_iam
-
- Type:
see
- none
-
- Type:
see
HarnessGeminiModelConfigProperty
- class CfnHarnessPropsMixin.HarnessGeminiModelConfigProperty(*, api_key_arn=None, max_tokens=None, model_id=None, temperature=None, top_k=None, top_p=None)
Bases:
object- Parameters:
api_key_arn (
Optional[str])max_tokens (
Union[int,float,None])model_id (
Optional[str])temperature (
Union[int,float,None])top_k (
Union[int,float,None])top_p (
Union[int,float,None])
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_bedrockagentcore as bedrockagentcore harness_gemini_model_config_property = bedrockagentcore.CfnHarnessPropsMixin.HarnessGeminiModelConfigProperty( api_key_arn="apiKeyArn", max_tokens=123, model_id="modelId", temperature=123, top_k=123, top_p=123 )
Attributes
- api_key_arn
-
- Type:
see
- max_tokens
-
- Type:
see
- model_id
-
- Type:
see
- temperature
-
- Type:
see
- top_k
-
- Type:
see
HarnessInlineFunctionConfigProperty
- class CfnHarnessPropsMixin.HarnessInlineFunctionConfigProperty(*, description=None, input_schema=None)
Bases:
object- Parameters:
description (
Optional[str])input_schema (
Any) – JSON Schema describing the tool’s input parameters.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_bedrockagentcore as bedrockagentcore # input_schema: Any harness_inline_function_config_property = bedrockagentcore.CfnHarnessPropsMixin.HarnessInlineFunctionConfigProperty( description="description", input_schema=input_schema )
Attributes
- description
-
- Type:
see
- input_schema
JSON Schema describing the tool’s input parameters.
HarnessMemoryConfigurationProperty
- class CfnHarnessPropsMixin.HarnessMemoryConfigurationProperty(*, agent_core_memory_configuration=None)
Bases:
object- Parameters:
agent_core_memory_configuration (
Union[IResolvable,HarnessAgentCoreMemoryConfigurationProperty,Dict[str,Any],None])- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_bedrockagentcore as bedrockagentcore harness_memory_configuration_property = bedrockagentcore.CfnHarnessPropsMixin.HarnessMemoryConfigurationProperty( agent_core_memory_configuration=bedrockagentcore.CfnHarnessPropsMixin.HarnessAgentCoreMemoryConfigurationProperty( actor_id="actorId", arn="arn", messages_count=123, retrieval_config={ "retrieval_config_key": bedrockagentcore.CfnHarnessPropsMixin.HarnessAgentCoreMemoryRetrievalConfigProperty( relevance_score=123, strategy_id="strategyId", top_k=123 ) } ) )
Attributes
HarnessModelConfigurationProperty
- class CfnHarnessPropsMixin.HarnessModelConfigurationProperty(*, bedrock_model_config=None, gemini_model_config=None, open_ai_model_config=None)
Bases:
object- Parameters:
bedrock_model_config (
Union[IResolvable,HarnessBedrockModelConfigProperty,Dict[str,Any],None])gemini_model_config (
Union[IResolvable,HarnessGeminiModelConfigProperty,Dict[str,Any],None])open_ai_model_config (
Union[IResolvable,HarnessOpenAiModelConfigProperty,Dict[str,Any],None])
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_bedrockagentcore as bedrockagentcore harness_model_configuration_property = bedrockagentcore.CfnHarnessPropsMixin.HarnessModelConfigurationProperty( bedrock_model_config=bedrockagentcore.CfnHarnessPropsMixin.HarnessBedrockModelConfigProperty( max_tokens=123, model_id="modelId", temperature=123, top_p=123 ), gemini_model_config=bedrockagentcore.CfnHarnessPropsMixin.HarnessGeminiModelConfigProperty( api_key_arn="apiKeyArn", max_tokens=123, model_id="modelId", temperature=123, top_k=123, top_p=123 ), open_ai_model_config=bedrockagentcore.CfnHarnessPropsMixin.HarnessOpenAiModelConfigProperty( api_key_arn="apiKeyArn", max_tokens=123, model_id="modelId", temperature=123, top_p=123 ) )
Attributes
- bedrock_model_config
-
- Type:
see
- gemini_model_config
-
- Type:
see
HarnessOpenAiModelConfigProperty
- class CfnHarnessPropsMixin.HarnessOpenAiModelConfigProperty(*, api_key_arn=None, max_tokens=None, model_id=None, temperature=None, top_p=None)
Bases:
object- Parameters:
api_key_arn (
Optional[str])max_tokens (
Union[int,float,None])model_id (
Optional[str])temperature (
Union[int,float,None])top_p (
Union[int,float,None])
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_bedrockagentcore as bedrockagentcore harness_open_ai_model_config_property = bedrockagentcore.CfnHarnessPropsMixin.HarnessOpenAiModelConfigProperty( api_key_arn="apiKeyArn", max_tokens=123, model_id="modelId", temperature=123, top_p=123 )
Attributes
- api_key_arn
-
- Type:
see
- max_tokens
-
- Type:
see
- model_id
-
- Type:
see
- temperature
-
- Type:
see
HarnessRemoteMcpConfigProperty
- class CfnHarnessPropsMixin.HarnessRemoteMcpConfigProperty(*, headers=None, url=None)
Bases:
object- Parameters:
headers (
Union[IResolvable,Mapping[str,str],None])url (
Optional[str])
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_bedrockagentcore as bedrockagentcore harness_remote_mcp_config_property = bedrockagentcore.CfnHarnessPropsMixin.HarnessRemoteMcpConfigProperty( headers={ "headers_key": "headers" }, url="url" )
Attributes
- headers
-
- Type:
see
HarnessSkillProperty
- class CfnHarnessPropsMixin.HarnessSkillProperty(*, path=None)
Bases:
object- Parameters:
path (
Optional[str]) – The filesystem path to the skill definition.- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_bedrockagentcore as bedrockagentcore harness_skill_property = bedrockagentcore.CfnHarnessPropsMixin.HarnessSkillProperty( path="path" )
Attributes
- path
The filesystem path to the skill definition.
HarnessSlidingWindowConfigurationProperty
- class CfnHarnessPropsMixin.HarnessSlidingWindowConfigurationProperty(*, messages_count=None)
Bases:
object- Parameters:
messages_count (
Union[int,float,None])- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_bedrockagentcore as bedrockagentcore harness_sliding_window_configuration_property = bedrockagentcore.CfnHarnessPropsMixin.HarnessSlidingWindowConfigurationProperty( messages_count=123 )
Attributes
HarnessSummarizationConfigurationProperty
- class CfnHarnessPropsMixin.HarnessSummarizationConfigurationProperty(*, preserve_recent_messages=None, summarization_system_prompt=None, summary_ratio=None)
Bases:
object- Parameters:
preserve_recent_messages (
Union[int,float,None])summarization_system_prompt (
Optional[str])summary_ratio (
Union[int,float,None])
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_bedrockagentcore as bedrockagentcore harness_summarization_configuration_property = bedrockagentcore.CfnHarnessPropsMixin.HarnessSummarizationConfigurationProperty( preserve_recent_messages=123, summarization_system_prompt="summarizationSystemPrompt", summary_ratio=123 )
Attributes
- preserve_recent_messages
-
- Type:
see
- summarization_system_prompt
-
- Type:
see
HarnessSystemContentBlockProperty
- class CfnHarnessPropsMixin.HarnessSystemContentBlockProperty(*, text=None)
Bases:
object- Parameters:
text (
Optional[str]) – The text content of the system prompt block.- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_bedrockagentcore as bedrockagentcore harness_system_content_block_property = bedrockagentcore.CfnHarnessPropsMixin.HarnessSystemContentBlockProperty( text="text" )
Attributes
- text
The text content of the system prompt block.
HarnessToolConfigurationProperty
- class CfnHarnessPropsMixin.HarnessToolConfigurationProperty(*, agent_core_browser=None, agent_core_code_interpreter=None, agent_core_gateway=None, inline_function=None, remote_mcp=None)
Bases:
object- Parameters:
agent_core_browser (
Union[IResolvable,HarnessAgentCoreBrowserConfigProperty,Dict[str,Any],None])agent_core_code_interpreter (
Union[IResolvable,HarnessAgentCoreCodeInterpreterConfigProperty,Dict[str,Any],None])agent_core_gateway (
Union[IResolvable,HarnessAgentCoreGatewayConfigProperty,Dict[str,Any],None])inline_function (
Union[IResolvable,HarnessInlineFunctionConfigProperty,Dict[str,Any],None])remote_mcp (
Union[IResolvable,HarnessRemoteMcpConfigProperty,Dict[str,Any],None])
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_bedrockagentcore as bedrockagentcore # aws_iam: Any # input_schema: Any # none: Any harness_tool_configuration_property = bedrockagentcore.CfnHarnessPropsMixin.HarnessToolConfigurationProperty( agent_core_browser=bedrockagentcore.CfnHarnessPropsMixin.HarnessAgentCoreBrowserConfigProperty( browser_arn="browserArn" ), agent_core_code_interpreter=bedrockagentcore.CfnHarnessPropsMixin.HarnessAgentCoreCodeInterpreterConfigProperty( code_interpreter_arn="codeInterpreterArn" ), agent_core_gateway=bedrockagentcore.CfnHarnessPropsMixin.HarnessAgentCoreGatewayConfigProperty( gateway_arn="gatewayArn", outbound_auth=bedrockagentcore.CfnHarnessPropsMixin.HarnessGatewayOutboundAuthProperty( aws_iam=aws_iam, none=none, oauth=bedrockagentcore.CfnHarnessPropsMixin.OAuthCredentialProviderProperty( custom_parameters={ "custom_parameters_key": "customParameters" }, default_return_url="defaultReturnUrl", grant_type="grantType", provider_arn="providerArn", scopes=["scopes"] ) ) ), inline_function=bedrockagentcore.CfnHarnessPropsMixin.HarnessInlineFunctionConfigProperty( description="description", input_schema=input_schema ), remote_mcp=bedrockagentcore.CfnHarnessPropsMixin.HarnessRemoteMcpConfigProperty( headers={ "headers_key": "headers" }, url="url" ) )
Attributes
- agent_core_browser
-
- Type:
see
- agent_core_code_interpreter
-
- Type:
see
- agent_core_gateway
-
- Type:
see
- inline_function
-
- Type:
see
HarnessToolProperty
- class CfnHarnessPropsMixin.HarnessToolProperty(*, config=None, name=None, type=None)
Bases:
object- Parameters:
config (
Union[IResolvable,HarnessToolConfigurationProperty,Dict[str,Any],None])name (
Optional[str])type (
Optional[str])
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_bedrockagentcore as bedrockagentcore # aws_iam: Any # input_schema: Any # none: Any harness_tool_property = bedrockagentcore.CfnHarnessPropsMixin.HarnessToolProperty( config=bedrockagentcore.CfnHarnessPropsMixin.HarnessToolConfigurationProperty( agent_core_browser=bedrockagentcore.CfnHarnessPropsMixin.HarnessAgentCoreBrowserConfigProperty( browser_arn="browserArn" ), agent_core_code_interpreter=bedrockagentcore.CfnHarnessPropsMixin.HarnessAgentCoreCodeInterpreterConfigProperty( code_interpreter_arn="codeInterpreterArn" ), agent_core_gateway=bedrockagentcore.CfnHarnessPropsMixin.HarnessAgentCoreGatewayConfigProperty( gateway_arn="gatewayArn", outbound_auth=bedrockagentcore.CfnHarnessPropsMixin.HarnessGatewayOutboundAuthProperty( aws_iam=aws_iam, none=none, oauth=bedrockagentcore.CfnHarnessPropsMixin.OAuthCredentialProviderProperty( custom_parameters={ "custom_parameters_key": "customParameters" }, default_return_url="defaultReturnUrl", grant_type="grantType", provider_arn="providerArn", scopes=["scopes"] ) ) ), inline_function=bedrockagentcore.CfnHarnessPropsMixin.HarnessInlineFunctionConfigProperty( description="description", input_schema=input_schema ), remote_mcp=bedrockagentcore.CfnHarnessPropsMixin.HarnessRemoteMcpConfigProperty( headers={ "headers_key": "headers" }, url="url" ) ), name="name", type="type" )
Attributes
- config
-
- Type:
see
- name
-
- Type:
see
HarnessTruncationConfigurationProperty
- class CfnHarnessPropsMixin.HarnessTruncationConfigurationProperty(*, config=None, strategy=None)
Bases:
object- Parameters:
config (
Union[IResolvable,HarnessTruncationStrategyConfigurationProperty,Dict[str,Any],None])strategy (
Optional[str])
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_bedrockagentcore as bedrockagentcore harness_truncation_configuration_property = bedrockagentcore.CfnHarnessPropsMixin.HarnessTruncationConfigurationProperty( config=bedrockagentcore.CfnHarnessPropsMixin.HarnessTruncationStrategyConfigurationProperty( sliding_window=bedrockagentcore.CfnHarnessPropsMixin.HarnessSlidingWindowConfigurationProperty( messages_count=123 ), summarization=bedrockagentcore.CfnHarnessPropsMixin.HarnessSummarizationConfigurationProperty( preserve_recent_messages=123, summarization_system_prompt="summarizationSystemPrompt", summary_ratio=123 ) ), strategy="strategy" )
Attributes
- config
-
- Type:
see
HarnessTruncationStrategyConfigurationProperty
- class CfnHarnessPropsMixin.HarnessTruncationStrategyConfigurationProperty(*, sliding_window=None, summarization=None)
Bases:
object- Parameters:
sliding_window (
Union[IResolvable,HarnessSlidingWindowConfigurationProperty,Dict[str,Any],None])summarization (
Union[IResolvable,HarnessSummarizationConfigurationProperty,Dict[str,Any],None])
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_bedrockagentcore as bedrockagentcore harness_truncation_strategy_configuration_property = bedrockagentcore.CfnHarnessPropsMixin.HarnessTruncationStrategyConfigurationProperty( sliding_window=bedrockagentcore.CfnHarnessPropsMixin.HarnessSlidingWindowConfigurationProperty( messages_count=123 ), summarization=bedrockagentcore.CfnHarnessPropsMixin.HarnessSummarizationConfigurationProperty( preserve_recent_messages=123, summarization_system_prompt="summarizationSystemPrompt", summary_ratio=123 ) )
Attributes
- sliding_window
-
- Type:
see
LifecycleConfigurationProperty
- class CfnHarnessPropsMixin.LifecycleConfigurationProperty(*, idle_runtime_session_timeout=None, max_lifetime=None)
Bases:
object- Parameters:
idle_runtime_session_timeout (
Union[int,float,None])max_lifetime (
Union[int,float,None])
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_bedrockagentcore as bedrockagentcore lifecycle_configuration_property = bedrockagentcore.CfnHarnessPropsMixin.LifecycleConfigurationProperty( idle_runtime_session_timeout=123, max_lifetime=123 )
Attributes
- idle_runtime_session_timeout
-
- Type:
see
NetworkConfigurationProperty
- class CfnHarnessPropsMixin.NetworkConfigurationProperty(*, network_mode=None, network_mode_config=None)
Bases:
object- Parameters:
network_mode (
Optional[str])network_mode_config (
Union[IResolvable,VpcConfigProperty,Dict[str,Any],None])
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_bedrockagentcore as bedrockagentcore network_configuration_property = bedrockagentcore.CfnHarnessPropsMixin.NetworkConfigurationProperty( network_mode="networkMode", network_mode_config=bedrockagentcore.CfnHarnessPropsMixin.VpcConfigProperty( security_groups=["securityGroups"], subnets=["subnets"] ) )
Attributes
- network_mode
-
- Type:
see
OAuthCredentialProviderProperty
- class CfnHarnessPropsMixin.OAuthCredentialProviderProperty(*, custom_parameters=None, default_return_url=None, grant_type=None, provider_arn=None, scopes=None)
Bases:
object- Parameters:
custom_parameters (
Union[IResolvable,Mapping[str,str],None])default_return_url (
Optional[str])grant_type (
Optional[str])provider_arn (
Optional[str])scopes (
Optional[Sequence[str]])
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_bedrockagentcore as bedrockagentcore o_auth_credential_provider_property = bedrockagentcore.CfnHarnessPropsMixin.OAuthCredentialProviderProperty( custom_parameters={ "custom_parameters_key": "customParameters" }, default_return_url="defaultReturnUrl", grant_type="grantType", provider_arn="providerArn", scopes=["scopes"] )
Attributes
- custom_parameters
-
- Type:
see
- default_return_url
-
- Type:
see
- grant_type
-
- Type:
see
- provider_arn
-
- Type:
see
SessionStorageConfigurationProperty
- class CfnHarnessPropsMixin.SessionStorageConfigurationProperty(*, mount_path=None)
Bases:
object- Parameters:
mount_path (
Optional[str])- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_bedrockagentcore as bedrockagentcore session_storage_configuration_property = bedrockagentcore.CfnHarnessPropsMixin.SessionStorageConfigurationProperty( mount_path="mountPath" )
Attributes
VpcConfigProperty
- class CfnHarnessPropsMixin.VpcConfigProperty(*, security_groups=None, subnets=None)
Bases:
object- Parameters:
security_groups (
Optional[Sequence[str]])subnets (
Optional[Sequence[str]])
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_bedrockagentcore as bedrockagentcore vpc_config_property = bedrockagentcore.CfnHarnessPropsMixin.VpcConfigProperty( security_groups=["securityGroups"], subnets=["subnets"] )
Attributes
- security_groups
-
- Type:
see