aws-cdk-lib 2.180.0__py3-none-any.whl → 2.181.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of aws-cdk-lib might be problematic. Click here for more details.

@@ -142,9 +142,25 @@ class CfnAgent(
142
142
  parent_action_group_signature="parentActionGroupSignature",
143
143
  skip_resource_in_use_check_on_delete=False
144
144
  )],
145
+ agent_collaboration="agentCollaboration",
146
+ agent_collaborators=[bedrock.CfnAgent.AgentCollaboratorProperty(
147
+ agent_descriptor=bedrock.CfnAgent.AgentDescriptorProperty(
148
+ alias_arn="aliasArn"
149
+ ),
150
+ collaboration_instruction="collaborationInstruction",
151
+ collaborator_name="collaboratorName",
152
+
153
+ # the properties below are optional
154
+ relay_conversation_history="relayConversationHistory"
155
+ )],
145
156
  agent_resource_role_arn="agentResourceRoleArn",
146
157
  auto_prepare=False,
147
158
  customer_encryption_key_arn="customerEncryptionKeyArn",
159
+ custom_orchestration=bedrock.CfnAgent.CustomOrchestrationProperty(
160
+ executor=bedrock.CfnAgent.OrchestrationExecutorProperty(
161
+ lambda_="lambda"
162
+ )
163
+ ),
148
164
  description="description",
149
165
  foundation_model="foundationModel",
150
166
  guardrail_configuration=bedrock.CfnAgent.GuardrailConfigurationProperty(
@@ -160,9 +176,18 @@ class CfnAgent(
160
176
  # the properties below are optional
161
177
  knowledge_base_state="knowledgeBaseState"
162
178
  )],
179
+ memory_configuration=bedrock.CfnAgent.MemoryConfigurationProperty(
180
+ enabled_memory_types=["enabledMemoryTypes"],
181
+ session_summary_configuration=bedrock.CfnAgent.SessionSummaryConfigurationProperty(
182
+ max_recent_sessions=123
183
+ ),
184
+ storage_days=123
185
+ ),
186
+ orchestration_type="orchestrationType",
163
187
  prompt_override_configuration=bedrock.CfnAgent.PromptOverrideConfigurationProperty(
164
188
  prompt_configurations=[bedrock.CfnAgent.PromptConfigurationProperty(
165
189
  base_prompt_template="basePromptTemplate",
190
+ foundation_model="foundationModel",
166
191
  inference_configuration=bedrock.CfnAgent.InferenceConfigurationProperty(
167
192
  maximum_length=123,
168
193
  stop_sequences=["stopSequences"],
@@ -196,15 +221,20 @@ class CfnAgent(
196
221
  *,
197
222
  agent_name: builtins.str,
198
223
  action_groups: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnAgent.AgentActionGroupProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
224
+ agent_collaboration: typing.Optional[builtins.str] = None,
225
+ agent_collaborators: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnAgent.AgentCollaboratorProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
199
226
  agent_resource_role_arn: typing.Optional[builtins.str] = None,
200
227
  auto_prepare: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
201
228
  customer_encryption_key_arn: typing.Optional[builtins.str] = None,
229
+ custom_orchestration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnAgent.CustomOrchestrationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
202
230
  description: typing.Optional[builtins.str] = None,
203
231
  foundation_model: typing.Optional[builtins.str] = None,
204
232
  guardrail_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnAgent.GuardrailConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
205
233
  idle_session_ttl_in_seconds: typing.Optional[jsii.Number] = None,
206
234
  instruction: typing.Optional[builtins.str] = None,
207
235
  knowledge_bases: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnAgent.AgentKnowledgeBaseProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
236
+ memory_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnAgent.MemoryConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
237
+ orchestration_type: typing.Optional[builtins.str] = None,
208
238
  prompt_override_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnAgent.PromptOverrideConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
209
239
  skip_resource_in_use_check_on_delete: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
210
240
  tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
@@ -215,15 +245,20 @@ class CfnAgent(
215
245
  :param id: Construct identifier for this resource (unique in its scope).
216
246
  :param agent_name: The name of the agent.
217
247
  :param action_groups: The action groups that belong to an agent.
248
+ :param agent_collaboration: The agent's collaboration settings.
249
+ :param agent_collaborators: List of Agent Collaborators.
218
250
  :param agent_resource_role_arn: The Amazon Resource Name (ARN) of the IAM role with permissions to invoke API operations on the agent.
219
251
  :param auto_prepare: Specifies whether to automatically update the ``DRAFT`` version of the agent after making changes to the agent. The ``DRAFT`` version can be continually iterated upon during internal development. By default, this value is ``false`` . Default: - false
220
252
  :param customer_encryption_key_arn: The Amazon Resource Name (ARN) of the AWS KMS key that encrypts the agent.
253
+ :param custom_orchestration: Contains custom orchestration configurations for the agent.
221
254
  :param description: The description of the agent.
222
255
  :param foundation_model: The foundation model used for orchestration by the agent.
223
256
  :param guardrail_configuration: Details about the guardrail associated with the agent.
224
257
  :param idle_session_ttl_in_seconds: The number of seconds for which Amazon Bedrock keeps information about a user's conversation with the agent. A user interaction remains active for the amount of time specified. If no conversation occurs during this time, the session expires and Amazon Bedrock deletes any data provided before the timeout.
225
258
  :param instruction: Instructions that tell the agent what it should do and how it should interact with users.
226
259
  :param knowledge_bases: The knowledge bases associated with the agent.
260
+ :param memory_configuration: Contains memory configuration for the agent.
261
+ :param orchestration_type: Specifies the orchestration strategy for the agent.
227
262
  :param prompt_override_configuration: Contains configurations to override prompt templates in different parts of an agent sequence. For more information, see `Advanced prompts <https://docs.aws.amazon.com/bedrock/latest/userguide/advanced-prompts.html>`_ .
228
263
  :param skip_resource_in_use_check_on_delete: Specifies whether to delete the resource even if it's in use. By default, this value is ``false`` . Default: - false
229
264
  :param tags: Metadata that you can assign to a resource as key-value pairs. For more information, see the following resources:. - `Tag naming limits and requirements <https://docs.aws.amazon.com/tag-editor/latest/userguide/tagging.html#tag-conventions>`_ - `Tagging best practices <https://docs.aws.amazon.com/tag-editor/latest/userguide/tagging.html#tag-best-practices>`_
@@ -236,15 +271,20 @@ class CfnAgent(
236
271
  props = CfnAgentProps(
237
272
  agent_name=agent_name,
238
273
  action_groups=action_groups,
274
+ agent_collaboration=agent_collaboration,
275
+ agent_collaborators=agent_collaborators,
239
276
  agent_resource_role_arn=agent_resource_role_arn,
240
277
  auto_prepare=auto_prepare,
241
278
  customer_encryption_key_arn=customer_encryption_key_arn,
279
+ custom_orchestration=custom_orchestration,
242
280
  description=description,
243
281
  foundation_model=foundation_model,
244
282
  guardrail_configuration=guardrail_configuration,
245
283
  idle_session_ttl_in_seconds=idle_session_ttl_in_seconds,
246
284
  instruction=instruction,
247
285
  knowledge_bases=knowledge_bases,
286
+ memory_configuration=memory_configuration,
287
+ orchestration_type=orchestration_type,
248
288
  prompt_override_configuration=prompt_override_configuration,
249
289
  skip_resource_in_use_check_on_delete=skip_resource_in_use_check_on_delete,
250
290
  tags=tags,
@@ -414,6 +454,37 @@ class CfnAgent(
414
454
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
415
455
  jsii.set(self, "actionGroups", value) # pyright: ignore[reportArgumentType]
416
456
 
457
+ @builtins.property
458
+ @jsii.member(jsii_name="agentCollaboration")
459
+ def agent_collaboration(self) -> typing.Optional[builtins.str]:
460
+ '''The agent's collaboration settings.'''
461
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "agentCollaboration"))
462
+
463
+ @agent_collaboration.setter
464
+ def agent_collaboration(self, value: typing.Optional[builtins.str]) -> None:
465
+ if __debug__:
466
+ type_hints = typing.get_type_hints(_typecheckingstub__f72731f646fedd7539af4983fabc50f2c79adcf5dcc355889ab876a9fd11ec84)
467
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
468
+ jsii.set(self, "agentCollaboration", value) # pyright: ignore[reportArgumentType]
469
+
470
+ @builtins.property
471
+ @jsii.member(jsii_name="agentCollaborators")
472
+ def agent_collaborators(
473
+ self,
474
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnAgent.AgentCollaboratorProperty"]]]]:
475
+ '''List of Agent Collaborators.'''
476
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnAgent.AgentCollaboratorProperty"]]]], jsii.get(self, "agentCollaborators"))
477
+
478
+ @agent_collaborators.setter
479
+ def agent_collaborators(
480
+ self,
481
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnAgent.AgentCollaboratorProperty"]]]],
482
+ ) -> None:
483
+ if __debug__:
484
+ type_hints = typing.get_type_hints(_typecheckingstub__beaf0ac8c454f4f172dbcf09f365797fb7a54df60711cb70b40118abac7f58e6)
485
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
486
+ jsii.set(self, "agentCollaborators", value) # pyright: ignore[reportArgumentType]
487
+
417
488
  @builtins.property
418
489
  @jsii.member(jsii_name="agentResourceRoleArn")
419
490
  def agent_resource_role_arn(self) -> typing.Optional[builtins.str]:
@@ -458,6 +529,24 @@ class CfnAgent(
458
529
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
459
530
  jsii.set(self, "customerEncryptionKeyArn", value) # pyright: ignore[reportArgumentType]
460
531
 
532
+ @builtins.property
533
+ @jsii.member(jsii_name="customOrchestration")
534
+ def custom_orchestration(
535
+ self,
536
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnAgent.CustomOrchestrationProperty"]]:
537
+ '''Contains custom orchestration configurations for the agent.'''
538
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnAgent.CustomOrchestrationProperty"]], jsii.get(self, "customOrchestration"))
539
+
540
+ @custom_orchestration.setter
541
+ def custom_orchestration(
542
+ self,
543
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnAgent.CustomOrchestrationProperty"]],
544
+ ) -> None:
545
+ if __debug__:
546
+ type_hints = typing.get_type_hints(_typecheckingstub__7bb692aac81267c6a096be6d5432d60a3b62015a610ff438f037460627f13be6)
547
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
548
+ jsii.set(self, "customOrchestration", value) # pyright: ignore[reportArgumentType]
549
+
461
550
  @builtins.property
462
551
  @jsii.member(jsii_name="description")
463
552
  def description(self) -> typing.Optional[builtins.str]:
@@ -546,6 +635,37 @@ class CfnAgent(
546
635
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
547
636
  jsii.set(self, "knowledgeBases", value) # pyright: ignore[reportArgumentType]
548
637
 
638
+ @builtins.property
639
+ @jsii.member(jsii_name="memoryConfiguration")
640
+ def memory_configuration(
641
+ self,
642
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnAgent.MemoryConfigurationProperty"]]:
643
+ '''Contains memory configuration for the agent.'''
644
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnAgent.MemoryConfigurationProperty"]], jsii.get(self, "memoryConfiguration"))
645
+
646
+ @memory_configuration.setter
647
+ def memory_configuration(
648
+ self,
649
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnAgent.MemoryConfigurationProperty"]],
650
+ ) -> None:
651
+ if __debug__:
652
+ type_hints = typing.get_type_hints(_typecheckingstub__9dcb39dfb48769eecfe69ce4ba13939ca98bab37df34c9552a9c60b22b526b0e)
653
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
654
+ jsii.set(self, "memoryConfiguration", value) # pyright: ignore[reportArgumentType]
655
+
656
+ @builtins.property
657
+ @jsii.member(jsii_name="orchestrationType")
658
+ def orchestration_type(self) -> typing.Optional[builtins.str]:
659
+ '''Specifies the orchestration strategy for the agent.'''
660
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "orchestrationType"))
661
+
662
+ @orchestration_type.setter
663
+ def orchestration_type(self, value: typing.Optional[builtins.str]) -> None:
664
+ if __debug__:
665
+ type_hints = typing.get_type_hints(_typecheckingstub__b83053d356c226028b8355aa1c0c7019f211c5e848e3b71a72e98d30697ffe6a)
666
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
667
+ jsii.set(self, "orchestrationType", value) # pyright: ignore[reportArgumentType]
668
+
549
669
  @builtins.property
550
670
  @jsii.member(jsii_name="promptOverrideConfiguration")
551
671
  def prompt_override_configuration(
@@ -983,6 +1103,169 @@ class CfnAgent(
983
1103
  k + "=" + repr(v) for k, v in self._values.items()
984
1104
  )
985
1105
 
1106
+ @jsii.data_type(
1107
+ jsii_type="aws-cdk-lib.aws_bedrock.CfnAgent.AgentCollaboratorProperty",
1108
+ jsii_struct_bases=[],
1109
+ name_mapping={
1110
+ "agent_descriptor": "agentDescriptor",
1111
+ "collaboration_instruction": "collaborationInstruction",
1112
+ "collaborator_name": "collaboratorName",
1113
+ "relay_conversation_history": "relayConversationHistory",
1114
+ },
1115
+ )
1116
+ class AgentCollaboratorProperty:
1117
+ def __init__(
1118
+ self,
1119
+ *,
1120
+ agent_descriptor: typing.Union[_IResolvable_da3f097b, typing.Union["CfnAgent.AgentDescriptorProperty", typing.Dict[builtins.str, typing.Any]]],
1121
+ collaboration_instruction: builtins.str,
1122
+ collaborator_name: builtins.str,
1123
+ relay_conversation_history: typing.Optional[builtins.str] = None,
1124
+ ) -> None:
1125
+ '''An agent collaborator.
1126
+
1127
+ :param agent_descriptor: The collaborator's agent descriptor.
1128
+ :param collaboration_instruction: The collaborator's instructions.
1129
+ :param collaborator_name: The collaborator's collaborator name.
1130
+ :param relay_conversation_history: The collaborator's relay conversation history.
1131
+
1132
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-agent-agentcollaborator.html
1133
+ :exampleMetadata: fixture=_generated
1134
+
1135
+ Example::
1136
+
1137
+ # The code below shows an example of how to instantiate this type.
1138
+ # The values are placeholders you should change.
1139
+ from aws_cdk import aws_bedrock as bedrock
1140
+
1141
+ agent_collaborator_property = bedrock.CfnAgent.AgentCollaboratorProperty(
1142
+ agent_descriptor=bedrock.CfnAgent.AgentDescriptorProperty(
1143
+ alias_arn="aliasArn"
1144
+ ),
1145
+ collaboration_instruction="collaborationInstruction",
1146
+ collaborator_name="collaboratorName",
1147
+
1148
+ # the properties below are optional
1149
+ relay_conversation_history="relayConversationHistory"
1150
+ )
1151
+ '''
1152
+ if __debug__:
1153
+ type_hints = typing.get_type_hints(_typecheckingstub__5b97ab11870f9ef63341839508203eb703dc88dada2d1e54dee2d5aea5d7c15e)
1154
+ check_type(argname="argument agent_descriptor", value=agent_descriptor, expected_type=type_hints["agent_descriptor"])
1155
+ check_type(argname="argument collaboration_instruction", value=collaboration_instruction, expected_type=type_hints["collaboration_instruction"])
1156
+ check_type(argname="argument collaborator_name", value=collaborator_name, expected_type=type_hints["collaborator_name"])
1157
+ check_type(argname="argument relay_conversation_history", value=relay_conversation_history, expected_type=type_hints["relay_conversation_history"])
1158
+ self._values: typing.Dict[builtins.str, typing.Any] = {
1159
+ "agent_descriptor": agent_descriptor,
1160
+ "collaboration_instruction": collaboration_instruction,
1161
+ "collaborator_name": collaborator_name,
1162
+ }
1163
+ if relay_conversation_history is not None:
1164
+ self._values["relay_conversation_history"] = relay_conversation_history
1165
+
1166
+ @builtins.property
1167
+ def agent_descriptor(
1168
+ self,
1169
+ ) -> typing.Union[_IResolvable_da3f097b, "CfnAgent.AgentDescriptorProperty"]:
1170
+ '''The collaborator's agent descriptor.
1171
+
1172
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-agent-agentcollaborator.html#cfn-bedrock-agent-agentcollaborator-agentdescriptor
1173
+ '''
1174
+ result = self._values.get("agent_descriptor")
1175
+ assert result is not None, "Required property 'agent_descriptor' is missing"
1176
+ return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnAgent.AgentDescriptorProperty"], result)
1177
+
1178
+ @builtins.property
1179
+ def collaboration_instruction(self) -> builtins.str:
1180
+ '''The collaborator's instructions.
1181
+
1182
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-agent-agentcollaborator.html#cfn-bedrock-agent-agentcollaborator-collaborationinstruction
1183
+ '''
1184
+ result = self._values.get("collaboration_instruction")
1185
+ assert result is not None, "Required property 'collaboration_instruction' is missing"
1186
+ return typing.cast(builtins.str, result)
1187
+
1188
+ @builtins.property
1189
+ def collaborator_name(self) -> builtins.str:
1190
+ '''The collaborator's collaborator name.
1191
+
1192
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-agent-agentcollaborator.html#cfn-bedrock-agent-agentcollaborator-collaboratorname
1193
+ '''
1194
+ result = self._values.get("collaborator_name")
1195
+ assert result is not None, "Required property 'collaborator_name' is missing"
1196
+ return typing.cast(builtins.str, result)
1197
+
1198
+ @builtins.property
1199
+ def relay_conversation_history(self) -> typing.Optional[builtins.str]:
1200
+ '''The collaborator's relay conversation history.
1201
+
1202
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-agent-agentcollaborator.html#cfn-bedrock-agent-agentcollaborator-relayconversationhistory
1203
+ '''
1204
+ result = self._values.get("relay_conversation_history")
1205
+ return typing.cast(typing.Optional[builtins.str], result)
1206
+
1207
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
1208
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
1209
+
1210
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
1211
+ return not (rhs == self)
1212
+
1213
+ def __repr__(self) -> str:
1214
+ return "AgentCollaboratorProperty(%s)" % ", ".join(
1215
+ k + "=" + repr(v) for k, v in self._values.items()
1216
+ )
1217
+
1218
+ @jsii.data_type(
1219
+ jsii_type="aws-cdk-lib.aws_bedrock.CfnAgent.AgentDescriptorProperty",
1220
+ jsii_struct_bases=[],
1221
+ name_mapping={"alias_arn": "aliasArn"},
1222
+ )
1223
+ class AgentDescriptorProperty:
1224
+ def __init__(self, *, alias_arn: typing.Optional[builtins.str] = None) -> None:
1225
+ '''An agent descriptor.
1226
+
1227
+ :param alias_arn: The agent's alias ARN.
1228
+
1229
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-agent-agentdescriptor.html
1230
+ :exampleMetadata: fixture=_generated
1231
+
1232
+ Example::
1233
+
1234
+ # The code below shows an example of how to instantiate this type.
1235
+ # The values are placeholders you should change.
1236
+ from aws_cdk import aws_bedrock as bedrock
1237
+
1238
+ agent_descriptor_property = bedrock.CfnAgent.AgentDescriptorProperty(
1239
+ alias_arn="aliasArn"
1240
+ )
1241
+ '''
1242
+ if __debug__:
1243
+ type_hints = typing.get_type_hints(_typecheckingstub__de3d75bfeea411f0afb63f871615ea4feea519d794973992b49e0847c868c558)
1244
+ check_type(argname="argument alias_arn", value=alias_arn, expected_type=type_hints["alias_arn"])
1245
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
1246
+ if alias_arn is not None:
1247
+ self._values["alias_arn"] = alias_arn
1248
+
1249
+ @builtins.property
1250
+ def alias_arn(self) -> typing.Optional[builtins.str]:
1251
+ '''The agent's alias ARN.
1252
+
1253
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-agent-agentdescriptor.html#cfn-bedrock-agent-agentdescriptor-aliasarn
1254
+ '''
1255
+ result = self._values.get("alias_arn")
1256
+ return typing.cast(typing.Optional[builtins.str], result)
1257
+
1258
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
1259
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
1260
+
1261
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
1262
+ return not (rhs == self)
1263
+
1264
+ def __repr__(self) -> str:
1265
+ return "AgentDescriptorProperty(%s)" % ", ".join(
1266
+ k + "=" + repr(v) for k, v in self._values.items()
1267
+ )
1268
+
986
1269
  @jsii.data_type(
987
1270
  jsii_type="aws-cdk-lib.aws_bedrock.CfnAgent.AgentKnowledgeBaseProperty",
988
1271
  jsii_struct_bases=[],
@@ -1075,6 +1358,65 @@ class CfnAgent(
1075
1358
  k + "=" + repr(v) for k, v in self._values.items()
1076
1359
  )
1077
1360
 
1361
+ @jsii.data_type(
1362
+ jsii_type="aws-cdk-lib.aws_bedrock.CfnAgent.CustomOrchestrationProperty",
1363
+ jsii_struct_bases=[],
1364
+ name_mapping={"executor": "executor"},
1365
+ )
1366
+ class CustomOrchestrationProperty:
1367
+ def __init__(
1368
+ self,
1369
+ *,
1370
+ executor: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnAgent.OrchestrationExecutorProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
1371
+ ) -> None:
1372
+ '''Details of custom orchestration.
1373
+
1374
+ :param executor: The structure of the executor invoking the actions in custom orchestration.
1375
+
1376
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-agent-customorchestration.html
1377
+ :exampleMetadata: fixture=_generated
1378
+
1379
+ Example::
1380
+
1381
+ # The code below shows an example of how to instantiate this type.
1382
+ # The values are placeholders you should change.
1383
+ from aws_cdk import aws_bedrock as bedrock
1384
+
1385
+ custom_orchestration_property = bedrock.CfnAgent.CustomOrchestrationProperty(
1386
+ executor=bedrock.CfnAgent.OrchestrationExecutorProperty(
1387
+ lambda_="lambda"
1388
+ )
1389
+ )
1390
+ '''
1391
+ if __debug__:
1392
+ type_hints = typing.get_type_hints(_typecheckingstub__e4ae7734d910a065f88411f3aa364ce4517ea8bee41915539d6dffda73fd47dc)
1393
+ check_type(argname="argument executor", value=executor, expected_type=type_hints["executor"])
1394
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
1395
+ if executor is not None:
1396
+ self._values["executor"] = executor
1397
+
1398
+ @builtins.property
1399
+ def executor(
1400
+ self,
1401
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnAgent.OrchestrationExecutorProperty"]]:
1402
+ '''The structure of the executor invoking the actions in custom orchestration.
1403
+
1404
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-agent-customorchestration.html#cfn-bedrock-agent-customorchestration-executor
1405
+ '''
1406
+ result = self._values.get("executor")
1407
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnAgent.OrchestrationExecutorProperty"]], result)
1408
+
1409
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
1410
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
1411
+
1412
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
1413
+ return not (rhs == self)
1414
+
1415
+ def __repr__(self) -> str:
1416
+ return "CustomOrchestrationProperty(%s)" % ", ".join(
1417
+ k + "=" + repr(v) for k, v in self._values.items()
1418
+ )
1419
+
1078
1420
  @jsii.data_type(
1079
1421
  jsii_type="aws-cdk-lib.aws_bedrock.CfnAgent.FunctionProperty",
1080
1422
  jsii_struct_bases=[],
@@ -1484,6 +1826,151 @@ class CfnAgent(
1484
1826
  k + "=" + repr(v) for k, v in self._values.items()
1485
1827
  )
1486
1828
 
1829
+ @jsii.data_type(
1830
+ jsii_type="aws-cdk-lib.aws_bedrock.CfnAgent.MemoryConfigurationProperty",
1831
+ jsii_struct_bases=[],
1832
+ name_mapping={
1833
+ "enabled_memory_types": "enabledMemoryTypes",
1834
+ "session_summary_configuration": "sessionSummaryConfiguration",
1835
+ "storage_days": "storageDays",
1836
+ },
1837
+ )
1838
+ class MemoryConfigurationProperty:
1839
+ def __init__(
1840
+ self,
1841
+ *,
1842
+ enabled_memory_types: typing.Optional[typing.Sequence[builtins.str]] = None,
1843
+ session_summary_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnAgent.SessionSummaryConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
1844
+ storage_days: typing.Optional[jsii.Number] = None,
1845
+ ) -> None:
1846
+ '''Details of the memory configuration.
1847
+
1848
+ :param enabled_memory_types: The type of memory that is stored.
1849
+ :param session_summary_configuration: Contains the configuration for SESSION_SUMMARY memory type enabled for the agent.
1850
+ :param storage_days: The number of days the agent is configured to retain the conversational context.
1851
+
1852
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-agent-memoryconfiguration.html
1853
+ :exampleMetadata: fixture=_generated
1854
+
1855
+ Example::
1856
+
1857
+ # The code below shows an example of how to instantiate this type.
1858
+ # The values are placeholders you should change.
1859
+ from aws_cdk import aws_bedrock as bedrock
1860
+
1861
+ memory_configuration_property = bedrock.CfnAgent.MemoryConfigurationProperty(
1862
+ enabled_memory_types=["enabledMemoryTypes"],
1863
+ session_summary_configuration=bedrock.CfnAgent.SessionSummaryConfigurationProperty(
1864
+ max_recent_sessions=123
1865
+ ),
1866
+ storage_days=123
1867
+ )
1868
+ '''
1869
+ if __debug__:
1870
+ type_hints = typing.get_type_hints(_typecheckingstub__7d96229de78435013ea720d3fc5416b1a58de73df8a7fd00fc563b8fe5255a40)
1871
+ check_type(argname="argument enabled_memory_types", value=enabled_memory_types, expected_type=type_hints["enabled_memory_types"])
1872
+ check_type(argname="argument session_summary_configuration", value=session_summary_configuration, expected_type=type_hints["session_summary_configuration"])
1873
+ check_type(argname="argument storage_days", value=storage_days, expected_type=type_hints["storage_days"])
1874
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
1875
+ if enabled_memory_types is not None:
1876
+ self._values["enabled_memory_types"] = enabled_memory_types
1877
+ if session_summary_configuration is not None:
1878
+ self._values["session_summary_configuration"] = session_summary_configuration
1879
+ if storage_days is not None:
1880
+ self._values["storage_days"] = storage_days
1881
+
1882
+ @builtins.property
1883
+ def enabled_memory_types(self) -> typing.Optional[typing.List[builtins.str]]:
1884
+ '''The type of memory that is stored.
1885
+
1886
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-agent-memoryconfiguration.html#cfn-bedrock-agent-memoryconfiguration-enabledmemorytypes
1887
+ '''
1888
+ result = self._values.get("enabled_memory_types")
1889
+ return typing.cast(typing.Optional[typing.List[builtins.str]], result)
1890
+
1891
+ @builtins.property
1892
+ def session_summary_configuration(
1893
+ self,
1894
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnAgent.SessionSummaryConfigurationProperty"]]:
1895
+ '''Contains the configuration for SESSION_SUMMARY memory type enabled for the agent.
1896
+
1897
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-agent-memoryconfiguration.html#cfn-bedrock-agent-memoryconfiguration-sessionsummaryconfiguration
1898
+ '''
1899
+ result = self._values.get("session_summary_configuration")
1900
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnAgent.SessionSummaryConfigurationProperty"]], result)
1901
+
1902
+ @builtins.property
1903
+ def storage_days(self) -> typing.Optional[jsii.Number]:
1904
+ '''The number of days the agent is configured to retain the conversational context.
1905
+
1906
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-agent-memoryconfiguration.html#cfn-bedrock-agent-memoryconfiguration-storagedays
1907
+ '''
1908
+ result = self._values.get("storage_days")
1909
+ return typing.cast(typing.Optional[jsii.Number], result)
1910
+
1911
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
1912
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
1913
+
1914
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
1915
+ return not (rhs == self)
1916
+
1917
+ def __repr__(self) -> str:
1918
+ return "MemoryConfigurationProperty(%s)" % ", ".join(
1919
+ k + "=" + repr(v) for k, v in self._values.items()
1920
+ )
1921
+
1922
+ @jsii.data_type(
1923
+ jsii_type="aws-cdk-lib.aws_bedrock.CfnAgent.OrchestrationExecutorProperty",
1924
+ jsii_struct_bases=[],
1925
+ name_mapping={"lambda_": "lambda"},
1926
+ )
1927
+ class OrchestrationExecutorProperty:
1928
+ def __init__(self, *, lambda_: builtins.str) -> None:
1929
+ '''Contains details about the Lambda function containing the orchestration logic carried out upon invoking the custom orchestration.
1930
+
1931
+ :param lambda_: The Amazon Resource Name (ARN) of the Lambda function containing the business logic that is carried out upon invoking the action.
1932
+
1933
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-agent-orchestrationexecutor.html
1934
+ :exampleMetadata: fixture=_generated
1935
+
1936
+ Example::
1937
+
1938
+ # The code below shows an example of how to instantiate this type.
1939
+ # The values are placeholders you should change.
1940
+ from aws_cdk import aws_bedrock as bedrock
1941
+
1942
+ orchestration_executor_property = bedrock.CfnAgent.OrchestrationExecutorProperty(
1943
+ lambda_="lambda"
1944
+ )
1945
+ '''
1946
+ if __debug__:
1947
+ type_hints = typing.get_type_hints(_typecheckingstub__9bcfed5f99644abac9695b68367aa4ad30c588f8cc060125d511ce6cd7b85deb)
1948
+ check_type(argname="argument lambda_", value=lambda_, expected_type=type_hints["lambda_"])
1949
+ self._values: typing.Dict[builtins.str, typing.Any] = {
1950
+ "lambda_": lambda_,
1951
+ }
1952
+
1953
+ @builtins.property
1954
+ def lambda_(self) -> builtins.str:
1955
+ '''The Amazon Resource Name (ARN) of the Lambda function containing the business logic that is carried out upon invoking the action.
1956
+
1957
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-agent-orchestrationexecutor.html#cfn-bedrock-agent-orchestrationexecutor-lambda
1958
+ '''
1959
+ result = self._values.get("lambda_")
1960
+ assert result is not None, "Required property 'lambda_' is missing"
1961
+ return typing.cast(builtins.str, result)
1962
+
1963
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
1964
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
1965
+
1966
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
1967
+ return not (rhs == self)
1968
+
1969
+ def __repr__(self) -> str:
1970
+ return "OrchestrationExecutorProperty(%s)" % ", ".join(
1971
+ k + "=" + repr(v) for k, v in self._values.items()
1972
+ )
1973
+
1487
1974
  @jsii.data_type(
1488
1975
  jsii_type="aws-cdk-lib.aws_bedrock.CfnAgent.ParameterDetailProperty",
1489
1976
  jsii_struct_bases=[],
@@ -1585,6 +2072,7 @@ class CfnAgent(
1585
2072
  jsii_struct_bases=[],
1586
2073
  name_mapping={
1587
2074
  "base_prompt_template": "basePromptTemplate",
2075
+ "foundation_model": "foundationModel",
1588
2076
  "inference_configuration": "inferenceConfiguration",
1589
2077
  "parser_mode": "parserMode",
1590
2078
  "prompt_creation_mode": "promptCreationMode",
@@ -1597,6 +2085,7 @@ class CfnAgent(
1597
2085
  self,
1598
2086
  *,
1599
2087
  base_prompt_template: typing.Optional[builtins.str] = None,
2088
+ foundation_model: typing.Optional[builtins.str] = None,
1600
2089
  inference_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnAgent.InferenceConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
1601
2090
  parser_mode: typing.Optional[builtins.str] = None,
1602
2091
  prompt_creation_mode: typing.Optional[builtins.str] = None,
@@ -1608,6 +2097,7 @@ class CfnAgent(
1608
2097
  For more information, see `Advanced prompts <https://docs.aws.amazon.com/bedrock/latest/userguide/advanced-prompts.html>`_ .
1609
2098
 
1610
2099
  :param base_prompt_template: Defines the prompt template with which to replace the default prompt template. You can use placeholder variables in the base prompt template to customize the prompt. For more information, see `Prompt template placeholder variables <https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-placeholders.html>`_ . For more information, see `Configure the prompt templates <https://docs.aws.amazon.com/bedrock/latest/userguide/advanced-prompts-configure.html>`_ .
2100
+ :param foundation_model: The agent's foundation model.
1611
2101
  :param inference_configuration: Contains inference parameters to use when the agent invokes a foundation model in the part of the agent sequence defined by the ``promptType`` . For more information, see `Inference parameters for foundation models <https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html>`_ .
1612
2102
  :param parser_mode: Specifies whether to override the default parser Lambda function when parsing the raw foundation model output in the part of the agent sequence defined by the ``promptType`` . If you set the field as ``OVERRIDDEN`` , the ``overrideLambda`` field in the `PromptOverrideConfiguration <https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_PromptOverrideConfiguration.html>`_ must be specified with the ARN of a Lambda function.
1613
2103
  :param prompt_creation_mode: Specifies whether to override the default prompt template for this ``promptType`` . Set this value to ``OVERRIDDEN`` to use the prompt that you provide in the ``basePromptTemplate`` . If you leave it as ``DEFAULT`` , the agent uses a default prompt template.
@@ -1625,6 +2115,7 @@ class CfnAgent(
1625
2115
 
1626
2116
  prompt_configuration_property = bedrock.CfnAgent.PromptConfigurationProperty(
1627
2117
  base_prompt_template="basePromptTemplate",
2118
+ foundation_model="foundationModel",
1628
2119
  inference_configuration=bedrock.CfnAgent.InferenceConfigurationProperty(
1629
2120
  maximum_length=123,
1630
2121
  stop_sequences=["stopSequences"],
@@ -1641,6 +2132,7 @@ class CfnAgent(
1641
2132
  if __debug__:
1642
2133
  type_hints = typing.get_type_hints(_typecheckingstub__072678823f2b5bb708860fe2f54d37c6a24153ba05ec6c798f1cbb1222e7cd7b)
1643
2134
  check_type(argname="argument base_prompt_template", value=base_prompt_template, expected_type=type_hints["base_prompt_template"])
2135
+ check_type(argname="argument foundation_model", value=foundation_model, expected_type=type_hints["foundation_model"])
1644
2136
  check_type(argname="argument inference_configuration", value=inference_configuration, expected_type=type_hints["inference_configuration"])
1645
2137
  check_type(argname="argument parser_mode", value=parser_mode, expected_type=type_hints["parser_mode"])
1646
2138
  check_type(argname="argument prompt_creation_mode", value=prompt_creation_mode, expected_type=type_hints["prompt_creation_mode"])
@@ -1649,6 +2141,8 @@ class CfnAgent(
1649
2141
  self._values: typing.Dict[builtins.str, typing.Any] = {}
1650
2142
  if base_prompt_template is not None:
1651
2143
  self._values["base_prompt_template"] = base_prompt_template
2144
+ if foundation_model is not None:
2145
+ self._values["foundation_model"] = foundation_model
1652
2146
  if inference_configuration is not None:
1653
2147
  self._values["inference_configuration"] = inference_configuration
1654
2148
  if parser_mode is not None:
@@ -1671,6 +2165,15 @@ class CfnAgent(
1671
2165
  result = self._values.get("base_prompt_template")
1672
2166
  return typing.cast(typing.Optional[builtins.str], result)
1673
2167
 
2168
+ @builtins.property
2169
+ def foundation_model(self) -> typing.Optional[builtins.str]:
2170
+ '''The agent's foundation model.
2171
+
2172
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-agent-promptconfiguration.html#cfn-bedrock-agent-promptconfiguration-foundationmodel
2173
+ '''
2174
+ result = self._values.get("foundation_model")
2175
+ return typing.cast(typing.Optional[builtins.str], result)
2176
+
1674
2177
  @builtins.property
1675
2178
  def inference_configuration(
1676
2179
  self,
@@ -1776,6 +2279,7 @@ class CfnAgent(
1776
2279
  prompt_override_configuration_property = bedrock.CfnAgent.PromptOverrideConfigurationProperty(
1777
2280
  prompt_configurations=[bedrock.CfnAgent.PromptConfigurationProperty(
1778
2281
  base_prompt_template="basePromptTemplate",
2282
+ foundation_model="foundationModel",
1779
2283
  inference_configuration=bedrock.CfnAgent.InferenceConfigurationProperty(
1780
2284
  maximum_length=123,
1781
2285
  stop_sequences=["stopSequences"],
@@ -1912,6 +2416,61 @@ class CfnAgent(
1912
2416
  k + "=" + repr(v) for k, v in self._values.items()
1913
2417
  )
1914
2418
 
2419
+ @jsii.data_type(
2420
+ jsii_type="aws-cdk-lib.aws_bedrock.CfnAgent.SessionSummaryConfigurationProperty",
2421
+ jsii_struct_bases=[],
2422
+ name_mapping={"max_recent_sessions": "maxRecentSessions"},
2423
+ )
2424
+ class SessionSummaryConfigurationProperty:
2425
+ def __init__(
2426
+ self,
2427
+ *,
2428
+ max_recent_sessions: typing.Optional[jsii.Number] = None,
2429
+ ) -> None:
2430
+ '''Configuration for SESSION_SUMMARY memory type enabled for the agent.
2431
+
2432
+ :param max_recent_sessions: Maximum number of recent session summaries to include in the agent's prompt context.
2433
+
2434
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-agent-sessionsummaryconfiguration.html
2435
+ :exampleMetadata: fixture=_generated
2436
+
2437
+ Example::
2438
+
2439
+ # The code below shows an example of how to instantiate this type.
2440
+ # The values are placeholders you should change.
2441
+ from aws_cdk import aws_bedrock as bedrock
2442
+
2443
+ session_summary_configuration_property = bedrock.CfnAgent.SessionSummaryConfigurationProperty(
2444
+ max_recent_sessions=123
2445
+ )
2446
+ '''
2447
+ if __debug__:
2448
+ type_hints = typing.get_type_hints(_typecheckingstub__72ecccaf4321d6b2cc729d5095c1fa5192a7db52f5293b6536bc7d335964a1d8)
2449
+ check_type(argname="argument max_recent_sessions", value=max_recent_sessions, expected_type=type_hints["max_recent_sessions"])
2450
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
2451
+ if max_recent_sessions is not None:
2452
+ self._values["max_recent_sessions"] = max_recent_sessions
2453
+
2454
+ @builtins.property
2455
+ def max_recent_sessions(self) -> typing.Optional[jsii.Number]:
2456
+ '''Maximum number of recent session summaries to include in the agent's prompt context.
2457
+
2458
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-agent-sessionsummaryconfiguration.html#cfn-bedrock-agent-sessionsummaryconfiguration-maxrecentsessions
2459
+ '''
2460
+ result = self._values.get("max_recent_sessions")
2461
+ return typing.cast(typing.Optional[jsii.Number], result)
2462
+
2463
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
2464
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
2465
+
2466
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
2467
+ return not (rhs == self)
2468
+
2469
+ def __repr__(self) -> str:
2470
+ return "SessionSummaryConfigurationProperty(%s)" % ", ".join(
2471
+ k + "=" + repr(v) for k, v in self._values.items()
2472
+ )
2473
+
1915
2474
 
1916
2475
  @jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
1917
2476
  class CfnAgentAlias(
@@ -2452,15 +3011,20 @@ class CfnAgentAliasProps:
2452
3011
  name_mapping={
2453
3012
  "agent_name": "agentName",
2454
3013
  "action_groups": "actionGroups",
3014
+ "agent_collaboration": "agentCollaboration",
3015
+ "agent_collaborators": "agentCollaborators",
2455
3016
  "agent_resource_role_arn": "agentResourceRoleArn",
2456
3017
  "auto_prepare": "autoPrepare",
2457
3018
  "customer_encryption_key_arn": "customerEncryptionKeyArn",
3019
+ "custom_orchestration": "customOrchestration",
2458
3020
  "description": "description",
2459
3021
  "foundation_model": "foundationModel",
2460
3022
  "guardrail_configuration": "guardrailConfiguration",
2461
3023
  "idle_session_ttl_in_seconds": "idleSessionTtlInSeconds",
2462
3024
  "instruction": "instruction",
2463
3025
  "knowledge_bases": "knowledgeBases",
3026
+ "memory_configuration": "memoryConfiguration",
3027
+ "orchestration_type": "orchestrationType",
2464
3028
  "prompt_override_configuration": "promptOverrideConfiguration",
2465
3029
  "skip_resource_in_use_check_on_delete": "skipResourceInUseCheckOnDelete",
2466
3030
  "tags": "tags",
@@ -2473,15 +3037,20 @@ class CfnAgentProps:
2473
3037
  *,
2474
3038
  agent_name: builtins.str,
2475
3039
  action_groups: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAgent.AgentActionGroupProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
3040
+ agent_collaboration: typing.Optional[builtins.str] = None,
3041
+ agent_collaborators: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAgent.AgentCollaboratorProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
2476
3042
  agent_resource_role_arn: typing.Optional[builtins.str] = None,
2477
3043
  auto_prepare: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
2478
3044
  customer_encryption_key_arn: typing.Optional[builtins.str] = None,
3045
+ custom_orchestration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAgent.CustomOrchestrationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
2479
3046
  description: typing.Optional[builtins.str] = None,
2480
3047
  foundation_model: typing.Optional[builtins.str] = None,
2481
3048
  guardrail_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAgent.GuardrailConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
2482
3049
  idle_session_ttl_in_seconds: typing.Optional[jsii.Number] = None,
2483
3050
  instruction: typing.Optional[builtins.str] = None,
2484
3051
  knowledge_bases: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAgent.AgentKnowledgeBaseProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
3052
+ memory_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAgent.MemoryConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
3053
+ orchestration_type: typing.Optional[builtins.str] = None,
2485
3054
  prompt_override_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAgent.PromptOverrideConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
2486
3055
  skip_resource_in_use_check_on_delete: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
2487
3056
  tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
@@ -2491,15 +3060,20 @@ class CfnAgentProps:
2491
3060
 
2492
3061
  :param agent_name: The name of the agent.
2493
3062
  :param action_groups: The action groups that belong to an agent.
3063
+ :param agent_collaboration: The agent's collaboration settings.
3064
+ :param agent_collaborators: List of Agent Collaborators.
2494
3065
  :param agent_resource_role_arn: The Amazon Resource Name (ARN) of the IAM role with permissions to invoke API operations on the agent.
2495
3066
  :param auto_prepare: Specifies whether to automatically update the ``DRAFT`` version of the agent after making changes to the agent. The ``DRAFT`` version can be continually iterated upon during internal development. By default, this value is ``false`` . Default: - false
2496
3067
  :param customer_encryption_key_arn: The Amazon Resource Name (ARN) of the AWS KMS key that encrypts the agent.
3068
+ :param custom_orchestration: Contains custom orchestration configurations for the agent.
2497
3069
  :param description: The description of the agent.
2498
3070
  :param foundation_model: The foundation model used for orchestration by the agent.
2499
3071
  :param guardrail_configuration: Details about the guardrail associated with the agent.
2500
3072
  :param idle_session_ttl_in_seconds: The number of seconds for which Amazon Bedrock keeps information about a user's conversation with the agent. A user interaction remains active for the amount of time specified. If no conversation occurs during this time, the session expires and Amazon Bedrock deletes any data provided before the timeout.
2501
3073
  :param instruction: Instructions that tell the agent what it should do and how it should interact with users.
2502
3074
  :param knowledge_bases: The knowledge bases associated with the agent.
3075
+ :param memory_configuration: Contains memory configuration for the agent.
3076
+ :param orchestration_type: Specifies the orchestration strategy for the agent.
2503
3077
  :param prompt_override_configuration: Contains configurations to override prompt templates in different parts of an agent sequence. For more information, see `Advanced prompts <https://docs.aws.amazon.com/bedrock/latest/userguide/advanced-prompts.html>`_ .
2504
3078
  :param skip_resource_in_use_check_on_delete: Specifies whether to delete the resource even if it's in use. By default, this value is ``false`` . Default: - false
2505
3079
  :param tags: Metadata that you can assign to a resource as key-value pairs. For more information, see the following resources:. - `Tag naming limits and requirements <https://docs.aws.amazon.com/tag-editor/latest/userguide/tagging.html#tag-conventions>`_ - `Tagging best practices <https://docs.aws.amazon.com/tag-editor/latest/userguide/tagging.html#tag-best-practices>`_
@@ -2556,9 +3130,25 @@ class CfnAgentProps:
2556
3130
  parent_action_group_signature="parentActionGroupSignature",
2557
3131
  skip_resource_in_use_check_on_delete=False
2558
3132
  )],
3133
+ agent_collaboration="agentCollaboration",
3134
+ agent_collaborators=[bedrock.CfnAgent.AgentCollaboratorProperty(
3135
+ agent_descriptor=bedrock.CfnAgent.AgentDescriptorProperty(
3136
+ alias_arn="aliasArn"
3137
+ ),
3138
+ collaboration_instruction="collaborationInstruction",
3139
+ collaborator_name="collaboratorName",
3140
+
3141
+ # the properties below are optional
3142
+ relay_conversation_history="relayConversationHistory"
3143
+ )],
2559
3144
  agent_resource_role_arn="agentResourceRoleArn",
2560
3145
  auto_prepare=False,
2561
3146
  customer_encryption_key_arn="customerEncryptionKeyArn",
3147
+ custom_orchestration=bedrock.CfnAgent.CustomOrchestrationProperty(
3148
+ executor=bedrock.CfnAgent.OrchestrationExecutorProperty(
3149
+ lambda_="lambda"
3150
+ )
3151
+ ),
2562
3152
  description="description",
2563
3153
  foundation_model="foundationModel",
2564
3154
  guardrail_configuration=bedrock.CfnAgent.GuardrailConfigurationProperty(
@@ -2574,9 +3164,18 @@ class CfnAgentProps:
2574
3164
  # the properties below are optional
2575
3165
  knowledge_base_state="knowledgeBaseState"
2576
3166
  )],
3167
+ memory_configuration=bedrock.CfnAgent.MemoryConfigurationProperty(
3168
+ enabled_memory_types=["enabledMemoryTypes"],
3169
+ session_summary_configuration=bedrock.CfnAgent.SessionSummaryConfigurationProperty(
3170
+ max_recent_sessions=123
3171
+ ),
3172
+ storage_days=123
3173
+ ),
3174
+ orchestration_type="orchestrationType",
2577
3175
  prompt_override_configuration=bedrock.CfnAgent.PromptOverrideConfigurationProperty(
2578
3176
  prompt_configurations=[bedrock.CfnAgent.PromptConfigurationProperty(
2579
3177
  base_prompt_template="basePromptTemplate",
3178
+ foundation_model="foundationModel",
2580
3179
  inference_configuration=bedrock.CfnAgent.InferenceConfigurationProperty(
2581
3180
  maximum_length=123,
2582
3181
  stop_sequences=["stopSequences"],
@@ -2606,15 +3205,20 @@ class CfnAgentProps:
2606
3205
  type_hints = typing.get_type_hints(_typecheckingstub__b4f714080f6d4f9b0a3fe85a8425a8ba69698695e35d6fbd9d710ca5d99ba6e8)
2607
3206
  check_type(argname="argument agent_name", value=agent_name, expected_type=type_hints["agent_name"])
2608
3207
  check_type(argname="argument action_groups", value=action_groups, expected_type=type_hints["action_groups"])
3208
+ check_type(argname="argument agent_collaboration", value=agent_collaboration, expected_type=type_hints["agent_collaboration"])
3209
+ check_type(argname="argument agent_collaborators", value=agent_collaborators, expected_type=type_hints["agent_collaborators"])
2609
3210
  check_type(argname="argument agent_resource_role_arn", value=agent_resource_role_arn, expected_type=type_hints["agent_resource_role_arn"])
2610
3211
  check_type(argname="argument auto_prepare", value=auto_prepare, expected_type=type_hints["auto_prepare"])
2611
3212
  check_type(argname="argument customer_encryption_key_arn", value=customer_encryption_key_arn, expected_type=type_hints["customer_encryption_key_arn"])
3213
+ check_type(argname="argument custom_orchestration", value=custom_orchestration, expected_type=type_hints["custom_orchestration"])
2612
3214
  check_type(argname="argument description", value=description, expected_type=type_hints["description"])
2613
3215
  check_type(argname="argument foundation_model", value=foundation_model, expected_type=type_hints["foundation_model"])
2614
3216
  check_type(argname="argument guardrail_configuration", value=guardrail_configuration, expected_type=type_hints["guardrail_configuration"])
2615
3217
  check_type(argname="argument idle_session_ttl_in_seconds", value=idle_session_ttl_in_seconds, expected_type=type_hints["idle_session_ttl_in_seconds"])
2616
3218
  check_type(argname="argument instruction", value=instruction, expected_type=type_hints["instruction"])
2617
3219
  check_type(argname="argument knowledge_bases", value=knowledge_bases, expected_type=type_hints["knowledge_bases"])
3220
+ check_type(argname="argument memory_configuration", value=memory_configuration, expected_type=type_hints["memory_configuration"])
3221
+ check_type(argname="argument orchestration_type", value=orchestration_type, expected_type=type_hints["orchestration_type"])
2618
3222
  check_type(argname="argument prompt_override_configuration", value=prompt_override_configuration, expected_type=type_hints["prompt_override_configuration"])
2619
3223
  check_type(argname="argument skip_resource_in_use_check_on_delete", value=skip_resource_in_use_check_on_delete, expected_type=type_hints["skip_resource_in_use_check_on_delete"])
2620
3224
  check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
@@ -2624,12 +3228,18 @@ class CfnAgentProps:
2624
3228
  }
2625
3229
  if action_groups is not None:
2626
3230
  self._values["action_groups"] = action_groups
3231
+ if agent_collaboration is not None:
3232
+ self._values["agent_collaboration"] = agent_collaboration
3233
+ if agent_collaborators is not None:
3234
+ self._values["agent_collaborators"] = agent_collaborators
2627
3235
  if agent_resource_role_arn is not None:
2628
3236
  self._values["agent_resource_role_arn"] = agent_resource_role_arn
2629
3237
  if auto_prepare is not None:
2630
3238
  self._values["auto_prepare"] = auto_prepare
2631
3239
  if customer_encryption_key_arn is not None:
2632
3240
  self._values["customer_encryption_key_arn"] = customer_encryption_key_arn
3241
+ if custom_orchestration is not None:
3242
+ self._values["custom_orchestration"] = custom_orchestration
2633
3243
  if description is not None:
2634
3244
  self._values["description"] = description
2635
3245
  if foundation_model is not None:
@@ -2642,6 +3252,10 @@ class CfnAgentProps:
2642
3252
  self._values["instruction"] = instruction
2643
3253
  if knowledge_bases is not None:
2644
3254
  self._values["knowledge_bases"] = knowledge_bases
3255
+ if memory_configuration is not None:
3256
+ self._values["memory_configuration"] = memory_configuration
3257
+ if orchestration_type is not None:
3258
+ self._values["orchestration_type"] = orchestration_type
2645
3259
  if prompt_override_configuration is not None:
2646
3260
  self._values["prompt_override_configuration"] = prompt_override_configuration
2647
3261
  if skip_resource_in_use_check_on_delete is not None:
@@ -2672,6 +3286,26 @@ class CfnAgentProps:
2672
3286
  result = self._values.get("action_groups")
2673
3287
  return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnAgent.AgentActionGroupProperty]]]], result)
2674
3288
 
3289
+ @builtins.property
3290
+ def agent_collaboration(self) -> typing.Optional[builtins.str]:
3291
+ '''The agent's collaboration settings.
3292
+
3293
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-agent.html#cfn-bedrock-agent-agentcollaboration
3294
+ '''
3295
+ result = self._values.get("agent_collaboration")
3296
+ return typing.cast(typing.Optional[builtins.str], result)
3297
+
3298
+ @builtins.property
3299
+ def agent_collaborators(
3300
+ self,
3301
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnAgent.AgentCollaboratorProperty]]]]:
3302
+ '''List of Agent Collaborators.
3303
+
3304
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-agent.html#cfn-bedrock-agent-agentcollaborators
3305
+ '''
3306
+ result = self._values.get("agent_collaborators")
3307
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnAgent.AgentCollaboratorProperty]]]], result)
3308
+
2675
3309
  @builtins.property
2676
3310
  def agent_resource_role_arn(self) -> typing.Optional[builtins.str]:
2677
3311
  '''The Amazon Resource Name (ARN) of the IAM role with permissions to invoke API operations on the agent.
@@ -2705,6 +3339,17 @@ class CfnAgentProps:
2705
3339
  result = self._values.get("customer_encryption_key_arn")
2706
3340
  return typing.cast(typing.Optional[builtins.str], result)
2707
3341
 
3342
+ @builtins.property
3343
+ def custom_orchestration(
3344
+ self,
3345
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnAgent.CustomOrchestrationProperty]]:
3346
+ '''Contains custom orchestration configurations for the agent.
3347
+
3348
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-agent.html#cfn-bedrock-agent-customorchestration
3349
+ '''
3350
+ result = self._values.get("custom_orchestration")
3351
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnAgent.CustomOrchestrationProperty]], result)
3352
+
2708
3353
  @builtins.property
2709
3354
  def description(self) -> typing.Optional[builtins.str]:
2710
3355
  '''The description of the agent.
@@ -2765,6 +3410,26 @@ class CfnAgentProps:
2765
3410
  result = self._values.get("knowledge_bases")
2766
3411
  return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnAgent.AgentKnowledgeBaseProperty]]]], result)
2767
3412
 
3413
+ @builtins.property
3414
+ def memory_configuration(
3415
+ self,
3416
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnAgent.MemoryConfigurationProperty]]:
3417
+ '''Contains memory configuration for the agent.
3418
+
3419
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-agent.html#cfn-bedrock-agent-memoryconfiguration
3420
+ '''
3421
+ result = self._values.get("memory_configuration")
3422
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnAgent.MemoryConfigurationProperty]], result)
3423
+
3424
+ @builtins.property
3425
+ def orchestration_type(self) -> typing.Optional[builtins.str]:
3426
+ '''Specifies the orchestration strategy for the agent.
3427
+
3428
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-agent.html#cfn-bedrock-agent-orchestrationtype
3429
+ '''
3430
+ result = self._values.get("orchestration_type")
3431
+ return typing.cast(typing.Optional[builtins.str], result)
3432
+
2768
3433
  @builtins.property
2769
3434
  def prompt_override_configuration(
2770
3435
  self,
@@ -25222,6 +25887,12 @@ class FoundationModelIdentifier(
25222
25887
  '''Base model "anthropic.claude-3-5-sonnet-20241022-v2:0:51k".'''
25223
25888
  return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "ANTHROPIC_CLAUDE_3_5_SONNET_20241022_V2_0_51K"))
25224
25889
 
25890
+ @jsii.python.classproperty
25891
+ @jsii.member(jsii_name="ANTHROPIC_CLAUDE_3_7_SONNET_20250219_V1_0")
25892
+ def ANTHROPIC_CLAUDE_3_7_SONNET_20250219_V1_0(cls) -> "FoundationModelIdentifier":
25893
+ '''Base model "anthropic.claude-3-7-sonnet-20250219-v1:0".'''
25894
+ return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "ANTHROPIC_CLAUDE_3_7_SONNET_20250219_V1_0"))
25895
+
25225
25896
  @jsii.python.classproperty
25226
25897
  @jsii.member(jsii_name="ANTHROPIC_CLAUDE_3_HAIKU_20240307_V1_0")
25227
25898
  def ANTHROPIC_CLAUDE_3_HAIKU_20240307_V1_0(cls) -> "FoundationModelIdentifier":
@@ -25931,15 +26602,20 @@ def _typecheckingstub__facaad57ffe16da42f099d2b7997f3e6fd3b9eba46fd226d8fb5afe28
25931
26602
  *,
25932
26603
  agent_name: builtins.str,
25933
26604
  action_groups: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAgent.AgentActionGroupProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
26605
+ agent_collaboration: typing.Optional[builtins.str] = None,
26606
+ agent_collaborators: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAgent.AgentCollaboratorProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
25934
26607
  agent_resource_role_arn: typing.Optional[builtins.str] = None,
25935
26608
  auto_prepare: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
25936
26609
  customer_encryption_key_arn: typing.Optional[builtins.str] = None,
26610
+ custom_orchestration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAgent.CustomOrchestrationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
25937
26611
  description: typing.Optional[builtins.str] = None,
25938
26612
  foundation_model: typing.Optional[builtins.str] = None,
25939
26613
  guardrail_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAgent.GuardrailConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
25940
26614
  idle_session_ttl_in_seconds: typing.Optional[jsii.Number] = None,
25941
26615
  instruction: typing.Optional[builtins.str] = None,
25942
26616
  knowledge_bases: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAgent.AgentKnowledgeBaseProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
26617
+ memory_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAgent.MemoryConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
26618
+ orchestration_type: typing.Optional[builtins.str] = None,
25943
26619
  prompt_override_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAgent.PromptOverrideConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
25944
26620
  skip_resource_in_use_check_on_delete: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
25945
26621
  tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
@@ -25972,6 +26648,18 @@ def _typecheckingstub__f670733e4a574d57292a648f4a8ad68ef64492d8f6667729aee160997
25972
26648
  """Type checking stubs"""
25973
26649
  pass
25974
26650
 
26651
+ def _typecheckingstub__f72731f646fedd7539af4983fabc50f2c79adcf5dcc355889ab876a9fd11ec84(
26652
+ value: typing.Optional[builtins.str],
26653
+ ) -> None:
26654
+ """Type checking stubs"""
26655
+ pass
26656
+
26657
+ def _typecheckingstub__beaf0ac8c454f4f172dbcf09f365797fb7a54df60711cb70b40118abac7f58e6(
26658
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnAgent.AgentCollaboratorProperty]]]],
26659
+ ) -> None:
26660
+ """Type checking stubs"""
26661
+ pass
26662
+
25975
26663
  def _typecheckingstub__36b021046f759c8bbfbfb02bceb7d337926c83d3e866d3dcd420bb7819e254ca(
25976
26664
  value: typing.Optional[builtins.str],
25977
26665
  ) -> None:
@@ -25990,6 +26678,12 @@ def _typecheckingstub__ea763219d3fed10a3841f0a137399ddf8f575abf9b1691273415e66f4
25990
26678
  """Type checking stubs"""
25991
26679
  pass
25992
26680
 
26681
+ def _typecheckingstub__7bb692aac81267c6a096be6d5432d60a3b62015a610ff438f037460627f13be6(
26682
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnAgent.CustomOrchestrationProperty]],
26683
+ ) -> None:
26684
+ """Type checking stubs"""
26685
+ pass
26686
+
25993
26687
  def _typecheckingstub__0bd6874957339badfe5e02e7733947f3ba0b1fdc8c597003bfe10fc7ff96c537(
25994
26688
  value: typing.Optional[builtins.str],
25995
26689
  ) -> None:
@@ -26026,6 +26720,18 @@ def _typecheckingstub__8842d93181ada69f14f22e8ff6855e528b858dd0baf705a1ae228b3d9
26026
26720
  """Type checking stubs"""
26027
26721
  pass
26028
26722
 
26723
+ def _typecheckingstub__9dcb39dfb48769eecfe69ce4ba13939ca98bab37df34c9552a9c60b22b526b0e(
26724
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnAgent.MemoryConfigurationProperty]],
26725
+ ) -> None:
26726
+ """Type checking stubs"""
26727
+ pass
26728
+
26729
+ def _typecheckingstub__b83053d356c226028b8355aa1c0c7019f211c5e848e3b71a72e98d30697ffe6a(
26730
+ value: typing.Optional[builtins.str],
26731
+ ) -> None:
26732
+ """Type checking stubs"""
26733
+ pass
26734
+
26029
26735
  def _typecheckingstub__0d115c78c31e0cc4b4828b953c3afd44f4b9271c4e3aaad46777846216d6e9b8(
26030
26736
  value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnAgent.PromptOverrideConfigurationProperty]],
26031
26737
  ) -> None:
@@ -26080,6 +26786,23 @@ def _typecheckingstub__adb9c2568194cbbe9c081f2a8339eaee9966d82b8c5c5ffbc732275ef
26080
26786
  """Type checking stubs"""
26081
26787
  pass
26082
26788
 
26789
+ def _typecheckingstub__5b97ab11870f9ef63341839508203eb703dc88dada2d1e54dee2d5aea5d7c15e(
26790
+ *,
26791
+ agent_descriptor: typing.Union[_IResolvable_da3f097b, typing.Union[CfnAgent.AgentDescriptorProperty, typing.Dict[builtins.str, typing.Any]]],
26792
+ collaboration_instruction: builtins.str,
26793
+ collaborator_name: builtins.str,
26794
+ relay_conversation_history: typing.Optional[builtins.str] = None,
26795
+ ) -> None:
26796
+ """Type checking stubs"""
26797
+ pass
26798
+
26799
+ def _typecheckingstub__de3d75bfeea411f0afb63f871615ea4feea519d794973992b49e0847c868c558(
26800
+ *,
26801
+ alias_arn: typing.Optional[builtins.str] = None,
26802
+ ) -> None:
26803
+ """Type checking stubs"""
26804
+ pass
26805
+
26083
26806
  def _typecheckingstub__45f582a007ade3e95453c6c5cd09673a7089ab2673014cc97bc0c1eee1d85391(
26084
26807
  *,
26085
26808
  description: builtins.str,
@@ -26089,6 +26812,13 @@ def _typecheckingstub__45f582a007ade3e95453c6c5cd09673a7089ab2673014cc97bc0c1eee
26089
26812
  """Type checking stubs"""
26090
26813
  pass
26091
26814
 
26815
+ def _typecheckingstub__e4ae7734d910a065f88411f3aa364ce4517ea8bee41915539d6dffda73fd47dc(
26816
+ *,
26817
+ executor: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAgent.OrchestrationExecutorProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
26818
+ ) -> None:
26819
+ """Type checking stubs"""
26820
+ pass
26821
+
26092
26822
  def _typecheckingstub__19341a6c1d4ad6e6ceea8110fa1f82a06ec1a28df35e4ccc6cdb16f028b12747(
26093
26823
  *,
26094
26824
  name: builtins.str,
@@ -26125,6 +26855,22 @@ def _typecheckingstub__0b8b0e306d1a46c4fdcedd77b9e6caf3ca221fe8133fe3ce29c1e5e77
26125
26855
  """Type checking stubs"""
26126
26856
  pass
26127
26857
 
26858
+ def _typecheckingstub__7d96229de78435013ea720d3fc5416b1a58de73df8a7fd00fc563b8fe5255a40(
26859
+ *,
26860
+ enabled_memory_types: typing.Optional[typing.Sequence[builtins.str]] = None,
26861
+ session_summary_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAgent.SessionSummaryConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
26862
+ storage_days: typing.Optional[jsii.Number] = None,
26863
+ ) -> None:
26864
+ """Type checking stubs"""
26865
+ pass
26866
+
26867
+ def _typecheckingstub__9bcfed5f99644abac9695b68367aa4ad30c588f8cc060125d511ce6cd7b85deb(
26868
+ *,
26869
+ lambda_: builtins.str,
26870
+ ) -> None:
26871
+ """Type checking stubs"""
26872
+ pass
26873
+
26128
26874
  def _typecheckingstub__ed93c304b05f6a676428d620999acc5f22bf1cc1920ab4160039feccf941e790(
26129
26875
  *,
26130
26876
  type: builtins.str,
@@ -26137,6 +26883,7 @@ def _typecheckingstub__ed93c304b05f6a676428d620999acc5f22bf1cc1920ab4160039feccf
26137
26883
  def _typecheckingstub__072678823f2b5bb708860fe2f54d37c6a24153ba05ec6c798f1cbb1222e7cd7b(
26138
26884
  *,
26139
26885
  base_prompt_template: typing.Optional[builtins.str] = None,
26886
+ foundation_model: typing.Optional[builtins.str] = None,
26140
26887
  inference_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAgent.InferenceConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
26141
26888
  parser_mode: typing.Optional[builtins.str] = None,
26142
26889
  prompt_creation_mode: typing.Optional[builtins.str] = None,
@@ -26162,6 +26909,13 @@ def _typecheckingstub__1e9a91ab9025dd36217ed95088c50220259ce51156203914457377004
26162
26909
  """Type checking stubs"""
26163
26910
  pass
26164
26911
 
26912
+ def _typecheckingstub__72ecccaf4321d6b2cc729d5095c1fa5192a7db52f5293b6536bc7d335964a1d8(
26913
+ *,
26914
+ max_recent_sessions: typing.Optional[jsii.Number] = None,
26915
+ ) -> None:
26916
+ """Type checking stubs"""
26917
+ pass
26918
+
26165
26919
  def _typecheckingstub__9a8230a990c5fac91dc09e3de4211aa6f82fce95537f199a7987ca92f4722ee0(
26166
26920
  scope: _constructs_77d1e7e8.Construct,
26167
26921
  id: builtins.str,
@@ -26248,15 +27002,20 @@ def _typecheckingstub__b4f714080f6d4f9b0a3fe85a8425a8ba69698695e35d6fbd9d710ca5d
26248
27002
  *,
26249
27003
  agent_name: builtins.str,
26250
27004
  action_groups: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAgent.AgentActionGroupProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
27005
+ agent_collaboration: typing.Optional[builtins.str] = None,
27006
+ agent_collaborators: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAgent.AgentCollaboratorProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
26251
27007
  agent_resource_role_arn: typing.Optional[builtins.str] = None,
26252
27008
  auto_prepare: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
26253
27009
  customer_encryption_key_arn: typing.Optional[builtins.str] = None,
27010
+ custom_orchestration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAgent.CustomOrchestrationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
26254
27011
  description: typing.Optional[builtins.str] = None,
26255
27012
  foundation_model: typing.Optional[builtins.str] = None,
26256
27013
  guardrail_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAgent.GuardrailConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
26257
27014
  idle_session_ttl_in_seconds: typing.Optional[jsii.Number] = None,
26258
27015
  instruction: typing.Optional[builtins.str] = None,
26259
27016
  knowledge_bases: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAgent.AgentKnowledgeBaseProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
27017
+ memory_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAgent.MemoryConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
27018
+ orchestration_type: typing.Optional[builtins.str] = None,
26260
27019
  prompt_override_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAgent.PromptOverrideConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
26261
27020
  skip_resource_in_use_check_on_delete: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
26262
27021
  tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,