CfnHarnessPropsMixin
- class aws_cdk.cfn_property_mixins.aws_bedrockagentcore.CfnHarnessPropsMixin(props, *, strategy=None)
Bases:
MixinResource Type definition for AWS::BedrockAgentCore::Harness - 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 # disabled: 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", private_endpoint=bedrockagentcore.CfnHarnessPropsMixin.PrivateEndpointProperty( managed_vpc_resource=bedrockagentcore.CfnHarnessPropsMixin.ManagedVpcResourceProperty( endpoint_ip_address_type="endpointIpAddressType", routing_domain="routingDomain", security_group_ids=["securityGroupIds"], subnet_ids=["subnetIds"], tags={ "tags_key": "tags" }, vpc_identifier="vpcIdentifier" ), self_managed_lattice_resource=bedrockagentcore.CfnHarnessPropsMixin.SelfManagedLatticeResourceProperty( resource_configuration_identifier="resourceConfigurationIdentifier" ) ), private_endpoint_overrides=[bedrockagentcore.CfnHarnessPropsMixin.PrivateEndpointOverrideProperty( domain="domain", private_endpoint=bedrockagentcore.CfnHarnessPropsMixin.PrivateEndpointProperty( managed_vpc_resource=bedrockagentcore.CfnHarnessPropsMixin.ManagedVpcResourceProperty( endpoint_ip_address_type="endpointIpAddressType", routing_domain="routingDomain", security_group_ids=["securityGroupIds"], subnet_ids=["subnetIds"], tags={ "tags_key": "tags" }, vpc_identifier="vpcIdentifier" ), self_managed_lattice_resource=bedrockagentcore.CfnHarnessPropsMixin.SelfManagedLatticeResourceProperty( resource_configuration_identifier="resourceConfigurationIdentifier" ) ) )] ) ), 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( efs_access_point=bedrockagentcore.CfnHarnessPropsMixin.EfsAccessPointConfigurationProperty( access_point_arn="accessPointArn", mount_path="mountPath" ), s3_files_access_point=bedrockagentcore.CfnHarnessPropsMixin.S3FilesAccessPointConfigurationProperty( access_point_arn="accessPointArn", mount_path="mountPath" ), 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="relevanceScore", strategy_id="strategyId", top_k="topK" ) } ), disabled=disabled, managed_memory_configuration=bedrockagentcore.CfnHarnessPropsMixin.HarnessManagedMemoryConfigurationProperty( arn="arn", encryption_key_arn="encryptionKeyArn", event_expiry_duration=123, strategies=["strategies"] ) ), model=bedrockagentcore.CfnHarnessPropsMixin.HarnessModelConfigurationProperty( bedrock_model_config=bedrockagentcore.CfnHarnessPropsMixin.HarnessBedrockModelConfigProperty( api_format="apiFormat", 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 ), lite_llm_model_config=bedrockagentcore.CfnHarnessPropsMixin.HarnessLiteLlmModelConfigProperty( api_base="apiBase", api_key_arn="apiKeyArn", max_tokens=123, model_id="modelId", temperature=123, top_p=123 ), open_ai_model_config=bedrockagentcore.CfnHarnessPropsMixin.HarnessOpenAiModelConfigProperty( api_format="apiFormat", api_key_arn="apiKeyArn", max_tokens=123, model_id="modelId", temperature=123, top_p=123 ) ), skills=[bedrockagentcore.CfnHarnessPropsMixin.HarnessSkillProperty( aws_skills=bedrockagentcore.CfnHarnessPropsMixin.HarnessSkillAwsSkillsSourceProperty( paths=["paths"] ), git=bedrockagentcore.CfnHarnessPropsMixin.HarnessSkillGitSourceProperty( auth=bedrockagentcore.CfnHarnessPropsMixin.HarnessSkillGitAuthProperty( credential_arn="credentialArn", username="username" ), path="path", url="url" ), path="path", s3=bedrockagentcore.CfnHarnessPropsMixin.HarnessSkillS3SourceProperty( uri="uri" ) )], 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
EfsAccessPointConfigurationProperty
- class CfnHarnessPropsMixin.EfsAccessPointConfigurationProperty(*, access_point_arn=None, mount_path=None)
Bases:
objectConfiguration for an Amazon EFS access point to mount into the AgentCore Runtime.
- Parameters:
access_point_arn (
Optional[str])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 efs_access_point_configuration_property = bedrockagentcore.CfnHarnessPropsMixin.EfsAccessPointConfigurationProperty( access_point_arn="accessPointArn", mount_path="mountPath" )
Attributes
- access_point_arn
-
- Type:
see
FilesystemConfigurationProperty
- class CfnHarnessPropsMixin.FilesystemConfigurationProperty(*, efs_access_point=None, s3_files_access_point=None, session_storage=None)
Bases:
object- Parameters:
efs_access_point (
Union[IResolvable,EfsAccessPointConfigurationProperty,Dict[str,Any],None]) – Configuration for an Amazon EFS access point to mount into the AgentCore Runtime.s3_files_access_point (
Union[IResolvable,S3FilesAccessPointConfigurationProperty,Dict[str,Any],None]) – Configuration for an Amazon S3 Files access point to mount into the AgentCore Runtime.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( efs_access_point=bedrockagentcore.CfnHarnessPropsMixin.EfsAccessPointConfigurationProperty( access_point_arn="accessPointArn", mount_path="mountPath" ), s3_files_access_point=bedrockagentcore.CfnHarnessPropsMixin.S3FilesAccessPointConfigurationProperty( access_point_arn="accessPointArn", mount_path="mountPath" ), session_storage=bedrockagentcore.CfnHarnessPropsMixin.SessionStorageConfigurationProperty( mount_path="mountPath" ) )
Attributes
- efs_access_point
Configuration for an Amazon EFS access point to mount into the AgentCore Runtime.
- s3_files_access_point
Configuration for an Amazon S3 Files access point to mount into the AgentCore Runtime.
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="relevanceScore", strategy_id="strategyId", top_k="topK" ) } )
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[str,int,float,IResolvable,None])strategy_id (
Optional[str])top_k (
Union[str,int,float,IResolvable,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="relevanceScore", strategy_id="strategyId", top_k="topK" )
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( efs_access_point=bedrockagentcore.CfnHarnessPropsMixin.EfsAccessPointConfigurationProperty( access_point_arn="accessPointArn", mount_path="mountPath" ), s3_files_access_point=bedrockagentcore.CfnHarnessPropsMixin.S3FilesAccessPointConfigurationProperty( access_point_arn="accessPointArn", mount_path="mountPath" ), 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(*, api_format=None, max_tokens=None, model_id=None, temperature=None, top_p=None)
Bases:
object- Parameters:
api_format (
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_bedrock_model_config_property = bedrockagentcore.CfnHarnessPropsMixin.HarnessBedrockModelConfigProperty( api_format="apiFormat", max_tokens=123, model_id="modelId", temperature=123, top_p=123 )
Attributes
- api_format
-
- Type:
see
- 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( efs_access_point=bedrockagentcore.CfnHarnessPropsMixin.EfsAccessPointConfigurationProperty( access_point_arn="accessPointArn", mount_path="mountPath" ), s3_files_access_point=bedrockagentcore.CfnHarnessPropsMixin.S3FilesAccessPointConfigurationProperty( access_point_arn="accessPointArn", mount_path="mountPath" ), 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.
HarnessLiteLlmModelConfigProperty
- class CfnHarnessPropsMixin.HarnessLiteLlmModelConfigProperty(*, api_base=None, api_key_arn=None, max_tokens=None, model_id=None, temperature=None, top_p=None)
Bases:
object- Parameters:
api_base (
Optional[str])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_lite_llm_model_config_property = bedrockagentcore.CfnHarnessPropsMixin.HarnessLiteLlmModelConfigProperty( api_base="apiBase", api_key_arn="apiKeyArn", max_tokens=123, model_id="modelId", temperature=123, top_p=123 )
Attributes
- api_base
-
- Type:
see
- api_key_arn
-
- Type:
see
- max_tokens
-
- Type:
see
- model_id
-
- Type:
see
- temperature
-
- Type:
see
HarnessManagedMemoryConfigurationProperty
- class CfnHarnessPropsMixin.HarnessManagedMemoryConfigurationProperty(*, arn=None, encryption_key_arn=None, event_expiry_duration=None, strategies=None)
Bases:
objectConfiguration for managed memory.
The harness creates and manages a memory resource in the customer’s account.
- Parameters:
arn (
Optional[str]) – The ARN of the managed memory resource. Read-only, populated by the service.encryption_key_arn (
Optional[str]) – Customer-managed KMS key ARN. Defaults to AWS-owned key. Not updatable after creation.event_expiry_duration (
Union[int,float,None]) – Event retention in days. Defaults to 30.strategies (
Optional[Sequence[str]]) – Strategy types to enable. Defaults to [SEMANTIC, SUMMARIZATION].
- 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_managed_memory_configuration_property = bedrockagentcore.CfnHarnessPropsMixin.HarnessManagedMemoryConfigurationProperty( arn="arn", encryption_key_arn="encryptionKeyArn", event_expiry_duration=123, strategies=["strategies"] )
Attributes
- arn
The ARN of the managed memory resource.
Read-only, populated by the service.
- encryption_key_arn
Customer-managed KMS key ARN.
Defaults to AWS-owned key. Not updatable after creation.
- event_expiry_duration
Event retention in days.
Defaults to 30.
- strategies
Strategy types to enable.
Defaults to [SEMANTIC, SUMMARIZATION].
HarnessMemoryConfigurationProperty
- class CfnHarnessPropsMixin.HarnessMemoryConfigurationProperty(*, agent_core_memory_configuration=None, disabled=None, managed_memory_configuration=None)
Bases:
object- Parameters:
agent_core_memory_configuration (
Union[IResolvable,HarnessAgentCoreMemoryConfigurationProperty,Dict[str,Any],None])disabled (
Any) – Explicitly opt out of memory.managed_memory_configuration (
Union[IResolvable,HarnessManagedMemoryConfigurationProperty,Dict[str,Any],None]) – Configuration for managed memory. The harness creates and manages a memory resource in the customer’s account.
- 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 # disabled: Any 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="relevanceScore", strategy_id="strategyId", top_k="topK" ) } ), disabled=disabled, managed_memory_configuration=bedrockagentcore.CfnHarnessPropsMixin.HarnessManagedMemoryConfigurationProperty( arn="arn", encryption_key_arn="encryptionKeyArn", event_expiry_duration=123, strategies=["strategies"] ) )
Attributes
- agent_core_memory_configuration
-
- Type:
see
- disabled
Explicitly opt out of memory.
- managed_memory_configuration
Configuration for managed memory.
The harness creates and manages a memory resource in the customer’s account.
HarnessModelConfigurationProperty
- class CfnHarnessPropsMixin.HarnessModelConfigurationProperty(*, bedrock_model_config=None, gemini_model_config=None, lite_llm_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])lite_llm_model_config (
Union[IResolvable,HarnessLiteLlmModelConfigProperty,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( api_format="apiFormat", 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 ), lite_llm_model_config=bedrockagentcore.CfnHarnessPropsMixin.HarnessLiteLlmModelConfigProperty( api_base="apiBase", api_key_arn="apiKeyArn", max_tokens=123, model_id="modelId", temperature=123, top_p=123 ), open_ai_model_config=bedrockagentcore.CfnHarnessPropsMixin.HarnessOpenAiModelConfigProperty( api_format="apiFormat", 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
- lite_llm_model_config
-
- Type:
see
HarnessOpenAiModelConfigProperty
- class CfnHarnessPropsMixin.HarnessOpenAiModelConfigProperty(*, api_format=None, api_key_arn=None, max_tokens=None, model_id=None, temperature=None, top_p=None)
Bases:
object- Parameters:
api_format (
Optional[str])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_format="apiFormat", api_key_arn="apiKeyArn", max_tokens=123, model_id="modelId", temperature=123, top_p=123 )
Attributes
- api_format
-
- Type:
see
- 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
HarnessSkillAwsSkillsSourceProperty
- class CfnHarnessPropsMixin.HarnessSkillAwsSkillsSourceProperty(*, paths=None)
Bases:
objectAWS Skills baked into the Harness’s underlying Runtime.
- Parameters:
paths (
Optional[Sequence[str]]) – Optionally filter allowed skills with glob syntax, e.g., [‘core-skills/*’].- 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_aws_skills_source_property = bedrockagentcore.CfnHarnessPropsMixin.HarnessSkillAwsSkillsSourceProperty( paths=["paths"] )
Attributes
HarnessSkillGitAuthProperty
- class CfnHarnessPropsMixin.HarnessSkillGitAuthProperty(*, credential_arn=None, username=None)
Bases:
objectAuthentication configuration for accessing a private git repository.
- Parameters:
credential_arn (
Optional[str]) – The ARN of the credential in AgentCore Identity containing the password or personal access token.username (
Optional[str]) – Username for authentication. Defaults to ‘oauth2’ if not specified.
- 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_git_auth_property = bedrockagentcore.CfnHarnessPropsMixin.HarnessSkillGitAuthProperty( credential_arn="credentialArn", username="username" )
Attributes
- credential_arn
The ARN of the credential in AgentCore Identity containing the password or personal access token.
- username
Username for authentication.
Defaults to ‘oauth2’ if not specified.
HarnessSkillGitSourceProperty
- class CfnHarnessPropsMixin.HarnessSkillGitSourceProperty(*, auth=None, path=None, url=None)
Bases:
objectA git repository containing the skill, cloned over HTTPS.
- Parameters:
auth (
Union[IResolvable,HarnessSkillGitAuthProperty,Dict[str,Any],None]) – Authentication configuration for accessing a private git repository.path (
Optional[str]) – Subdirectory within the repository containing the skill.url (
Optional[str]) – The HTTPS URL of the git repository.
- 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_git_source_property = bedrockagentcore.CfnHarnessPropsMixin.HarnessSkillGitSourceProperty( auth=bedrockagentcore.CfnHarnessPropsMixin.HarnessSkillGitAuthProperty( credential_arn="credentialArn", username="username" ), path="path", url="url" )
Attributes
- auth
Authentication configuration for accessing a private git repository.
- path
Subdirectory within the repository containing the skill.
- url
The HTTPS URL of the git repository.
HarnessSkillProperty
- class CfnHarnessPropsMixin.HarnessSkillProperty(*, aws_skills=None, git=None, path=None, s3=None)
Bases:
object- Parameters:
aws_skills (
Union[IResolvable,HarnessSkillAwsSkillsSourceProperty,Dict[str,Any],None]) – AWS Skills baked into the Harness’s underlying Runtime.git (
Union[IResolvable,HarnessSkillGitSourceProperty,Dict[str,Any],None]) – A git repository containing the skill, cloned over HTTPS.path (
Optional[str]) – The filesystem path to the skill definition.s3 (
Union[IResolvable,HarnessSkillS3SourceProperty,Dict[str,Any],None]) – An S3 source containing the skill.
- 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( aws_skills=bedrockagentcore.CfnHarnessPropsMixin.HarnessSkillAwsSkillsSourceProperty( paths=["paths"] ), git=bedrockagentcore.CfnHarnessPropsMixin.HarnessSkillGitSourceProperty( auth=bedrockagentcore.CfnHarnessPropsMixin.HarnessSkillGitAuthProperty( credential_arn="credentialArn", username="username" ), path="path", url="url" ), path="path", s3=bedrockagentcore.CfnHarnessPropsMixin.HarnessSkillS3SourceProperty( uri="uri" ) )
Attributes
- aws_skills
AWS Skills baked into the Harness’s underlying Runtime.
- git
A git repository containing the skill, cloned over HTTPS.
- path
The filesystem path to the skill definition.
- s3
An S3 source containing the skill.
HarnessSkillS3SourceProperty
- class CfnHarnessPropsMixin.HarnessSkillS3SourceProperty(*, uri=None)
Bases:
objectAn S3 source containing the skill.
- Parameters:
uri (
Optional[str]) – The S3 URI pointing to the skill directory (e.g., s3://bucket/skills/my-skill/).- 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_s3_source_property = bedrockagentcore.CfnHarnessPropsMixin.HarnessSkillS3SourceProperty( uri="uri" )
Attributes
- uri
//bucket/skills/my-skill/).
- See:
- Type:
The S3 URI pointing to the skill directory (e.g., s3
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
ManagedVpcResourceProperty
- class CfnHarnessPropsMixin.ManagedVpcResourceProperty(*, endpoint_ip_address_type=None, routing_domain=None, security_group_ids=None, subnet_ids=None, tags=None, vpc_identifier=None)
Bases:
objectConfiguration for a service-managed VPC endpoint.
- Parameters:
endpoint_ip_address_type (
Optional[str])routing_domain (
Optional[str])security_group_ids (
Optional[Sequence[str]])subnet_ids (
Optional[Sequence[str]])tags (
Optional[Mapping[str,str]])vpc_identifier (
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 managed_vpc_resource_property = bedrockagentcore.CfnHarnessPropsMixin.ManagedVpcResourceProperty( endpoint_ip_address_type="endpointIpAddressType", routing_domain="routingDomain", security_group_ids=["securityGroupIds"], subnet_ids=["subnetIds"], tags={ "tags_key": "tags" }, vpc_identifier="vpcIdentifier" )
Attributes
- endpoint_ip_address_type
-
- Type:
see
- routing_domain
-
- Type:
see
- security_group_ids
-
- Type:
see
- subnet_ids
-
- Type:
see
- tags
-
- 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
PrivateEndpointOverrideProperty
- class CfnHarnessPropsMixin.PrivateEndpointOverrideProperty(*, domain=None, private_endpoint=None)
Bases:
objectMaps a domain to a private endpoint for resolving that domain over a private network.
- Parameters:
domain (
Optional[str])private_endpoint (
Union[IResolvable,PrivateEndpointProperty,Dict[str,Any],None]) – Private endpoint configuration for connecting to the OpenID Connect discovery endpoint over a private network.
- 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 private_endpoint_override_property = bedrockagentcore.CfnHarnessPropsMixin.PrivateEndpointOverrideProperty( domain="domain", private_endpoint=bedrockagentcore.CfnHarnessPropsMixin.PrivateEndpointProperty( managed_vpc_resource=bedrockagentcore.CfnHarnessPropsMixin.ManagedVpcResourceProperty( endpoint_ip_address_type="endpointIpAddressType", routing_domain="routingDomain", security_group_ids=["securityGroupIds"], subnet_ids=["subnetIds"], tags={ "tags_key": "tags" }, vpc_identifier="vpcIdentifier" ), self_managed_lattice_resource=bedrockagentcore.CfnHarnessPropsMixin.SelfManagedLatticeResourceProperty( resource_configuration_identifier="resourceConfigurationIdentifier" ) ) )
Attributes
- domain
-
- Type:
see
- private_endpoint
Private endpoint configuration for connecting to the OpenID Connect discovery endpoint over a private network.
PrivateEndpointProperty
- class CfnHarnessPropsMixin.PrivateEndpointProperty(*, managed_vpc_resource=None, self_managed_lattice_resource=None)
Bases:
objectPrivate endpoint configuration for connecting to the OpenID Connect discovery endpoint over a private network.
- Parameters:
managed_vpc_resource (
Union[IResolvable,ManagedVpcResourceProperty,Dict[str,Any],None]) – Configuration for a service-managed VPC endpoint.self_managed_lattice_resource (
Union[IResolvable,SelfManagedLatticeResourceProperty,Dict[str,Any],None]) – Configuration for connecting to a private resource using a self-managed VPC Lattice resource configuration.
- 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 private_endpoint_property = bedrockagentcore.CfnHarnessPropsMixin.PrivateEndpointProperty( managed_vpc_resource=bedrockagentcore.CfnHarnessPropsMixin.ManagedVpcResourceProperty( endpoint_ip_address_type="endpointIpAddressType", routing_domain="routingDomain", security_group_ids=["securityGroupIds"], subnet_ids=["subnetIds"], tags={ "tags_key": "tags" }, vpc_identifier="vpcIdentifier" ), self_managed_lattice_resource=bedrockagentcore.CfnHarnessPropsMixin.SelfManagedLatticeResourceProperty( resource_configuration_identifier="resourceConfigurationIdentifier" ) )
Attributes
- managed_vpc_resource
Configuration for a service-managed VPC endpoint.
- self_managed_lattice_resource
Configuration for connecting to a private resource using a self-managed VPC Lattice resource configuration.
S3FilesAccessPointConfigurationProperty
- class CfnHarnessPropsMixin.S3FilesAccessPointConfigurationProperty(*, access_point_arn=None, mount_path=None)
Bases:
objectConfiguration for an Amazon S3 Files access point to mount into the AgentCore Runtime.
- Parameters:
access_point_arn (
Optional[str])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 s3_files_access_point_configuration_property = bedrockagentcore.CfnHarnessPropsMixin.S3FilesAccessPointConfigurationProperty( access_point_arn="accessPointArn", mount_path="mountPath" )
Attributes
- access_point_arn
-
- Type:
see
SelfManagedLatticeResourceProperty
- class CfnHarnessPropsMixin.SelfManagedLatticeResourceProperty(*, resource_configuration_identifier=None)
Bases:
objectConfiguration for connecting to a private resource using a self-managed VPC Lattice resource configuration.
- Parameters:
resource_configuration_identifier (
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 self_managed_lattice_resource_property = bedrockagentcore.CfnHarnessPropsMixin.SelfManagedLatticeResourceProperty( resource_configuration_identifier="resourceConfigurationIdentifier" )
Attributes
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