@awboost/cfn-resource-types 0.1.265 → 0.1.267

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.
@@ -9,6 +9,14 @@ export type BedrockAgentProperties = {
9
9
  * List of ActionGroups
10
10
  */
11
11
  ActionGroups?: AgentActionGroup[];
12
+ /**
13
+ * Agent collaboration state
14
+ */
15
+ AgentCollaboration?: AgentCollaboration;
16
+ /**
17
+ * List of Agent Collaborators
18
+ */
19
+ AgentCollaborators?: AgentCollaborator[];
12
20
  /**
13
21
  * Name for a resource.
14
22
  * @pattern `^([0-9a-zA-Z][_-]?){1,100}$`
@@ -23,6 +31,10 @@ export type BedrockAgentProperties = {
23
31
  * Specifies whether to automatically prepare after creating or updating the agent.
24
32
  */
25
33
  AutoPrepare?: boolean;
34
+ /**
35
+ * Structure for custom orchestration
36
+ */
37
+ CustomOrchestration?: CustomOrchestration;
26
38
  /**
27
39
  * A KMS key ARN
28
40
  * @minLength `1`
@@ -62,6 +74,14 @@ export type BedrockAgentProperties = {
62
74
  * List of Agent Knowledge Bases
63
75
  */
64
76
  KnowledgeBases?: AgentKnowledgeBase[];
77
+ /**
78
+ * Configuration for memory storage
79
+ */
80
+ MemoryConfiguration?: MemoryConfiguration;
81
+ /**
82
+ * Types of orchestration strategy for agents
83
+ */
84
+ OrchestrationType?: OrchestrationType;
65
85
  /**
66
86
  * Configuration for prompt override.
67
87
  */
@@ -201,6 +221,41 @@ export type AgentActionGroup = {
201
221
  */
202
222
  SkipResourceInUseCheckOnDelete?: boolean;
203
223
  };
224
+ /**
225
+ * Type definition for `AWS::Bedrock::Agent.AgentCollaboration`.
226
+ * Agent collaboration state
227
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-agent-agentcollaboration.html}
228
+ */
229
+ export type AgentCollaboration = "DISABLED" | "SUPERVISOR" | "SUPERVISOR_ROUTER";
230
+ /**
231
+ * Type definition for `AWS::Bedrock::Agent.AgentCollaborator`.
232
+ * Agent Collaborator
233
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-agent-agentcollaborator.html}
234
+ */
235
+ export type AgentCollaborator = {
236
+ /**
237
+ * Agent descriptor for agent collaborator
238
+ */
239
+ AgentDescriptor: {
240
+ /**
241
+ * Alias ARN for agent descriptor
242
+ * @pattern `^arn:aws(|-cn|-us-gov):bedrock:[a-z0-9-]{1,20}:[0-9]{12}:agent-alias/[0-9a-zA-Z]{10}/[0-9a-zA-Z]{10}$`
243
+ */
244
+ AliasArn?: string;
245
+ };
246
+ /**
247
+ * Agent collaborator instruction
248
+ */
249
+ CollaborationInstruction: string;
250
+ /**
251
+ * Agent collaborator name
252
+ */
253
+ CollaboratorName: string;
254
+ /**
255
+ * Relay conversation history state
256
+ */
257
+ RelayConversationHistory?: RelayConversationHistory;
258
+ };
204
259
  /**
205
260
  * Type definition for `AWS::Bedrock::Agent.AgentKnowledgeBase`.
206
261
  * Agent Knowledge Base
@@ -257,6 +312,17 @@ export type CreationMode = "DEFAULT" | "OVERRIDDEN";
257
312
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-agent-customcontrolmethod.html}
258
313
  */
259
314
  export type CustomControlMethod = "RETURN_CONTROL";
315
+ /**
316
+ * Type definition for `AWS::Bedrock::Agent.CustomOrchestration`.
317
+ * Structure for custom orchestration
318
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-agent-customorchestration.html}
319
+ */
320
+ export type CustomOrchestration = {
321
+ /**
322
+ * Types of executors for custom orchestration strategy
323
+ */
324
+ Executor?: OrchestrationExecutor;
325
+ };
260
326
  /**
261
327
  * Type definition for `AWS::Bedrock::Agent.Function`.
262
328
  * Function definition
@@ -355,6 +421,50 @@ export type InferenceConfiguration = {
355
421
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-agent-knowledgebasestate.html}
356
422
  */
357
423
  export type KnowledgeBaseState = "ENABLED" | "DISABLED";
424
+ /**
425
+ * Type definition for `AWS::Bedrock::Agent.MemoryConfiguration`.
426
+ * Configuration for memory storage
427
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-agent-memoryconfiguration.html}
428
+ */
429
+ export type MemoryConfiguration = {
430
+ /**
431
+ * Types of session storage persisted in memory
432
+ */
433
+ EnabledMemoryTypes?: MemoryType[];
434
+ /**
435
+ * Configuration for Session Summarization
436
+ */
437
+ SessionSummaryConfiguration?: SessionSummaryConfiguration;
438
+ /**
439
+ * Maximum number of days to store session details
440
+ */
441
+ StorageDays?: number;
442
+ };
443
+ /**
444
+ * Type definition for `AWS::Bedrock::Agent.MemoryType`.
445
+ * Memory type
446
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-agent-memorytype.html}
447
+ */
448
+ export type MemoryType = "SESSION_SUMMARY";
449
+ /**
450
+ * Type definition for `AWS::Bedrock::Agent.OrchestrationExecutor`.
451
+ * Types of executors for custom orchestration strategy
452
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-agent-orchestrationexecutor.html}
453
+ */
454
+ export type OrchestrationExecutor = {
455
+ /**
456
+ * ARN of a Lambda.
457
+ * @maxLength `2048`
458
+ * @pattern `^arn:(aws[a-zA-Z-]*)?:lambda:[a-z]{2}(-gov)?-[a-z]+-\d{1}:\d{12}:function:[a-zA-Z0-9-_\.]+(:(\$LATEST|[a-zA-Z0-9-_]+))?$`
459
+ */
460
+ Lambda: string;
461
+ };
462
+ /**
463
+ * Type definition for `AWS::Bedrock::Agent.OrchestrationType`.
464
+ * Types of orchestration strategy for agents
465
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-agent-orchestrationtype.html}
466
+ */
467
+ export type OrchestrationType = "DEFAULT" | "CUSTOM_ORCHESTRATION";
358
468
  /**
359
469
  * Type definition for `AWS::Bedrock::Agent.ParameterDetail`.
360
470
  * Parameter detail
@@ -394,6 +504,13 @@ export type PromptConfiguration = {
394
504
  * @maxLength `100000`
395
505
  */
396
506
  BasePromptTemplate?: string;
507
+ /**
508
+ * ARN or name of a Bedrock model.
509
+ * @minLength `1`
510
+ * @maxLength `2048`
511
+ * @pattern `^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:(([0-9]{12}:custom-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}(([:][a-z0-9-]{1,63}){0,2})?/[a-z0-9]{12})|(:foundation-model/([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.]?[a-z0-9-]{1,63})([:][a-z0-9-]{1,63}){0,2}))|([0-9]{12}:(inference-profile|application-inference-profile)/[a-zA-Z0-9-:.]+))|(([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.]?[a-z0-9-]{1,63})([:][a-z0-9-]{1,63}){0,2}))|(([0-9a-zA-Z][_-]?)+)$`
512
+ */
513
+ FoundationModel?: string;
397
514
  /**
398
515
  * Configuration for inference in prompt configuration
399
516
  */
@@ -444,7 +561,13 @@ export type PromptState = "ENABLED" | "DISABLED";
444
561
  * Prompt Type.
445
562
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-agent-prompttype.html}
446
563
  */
447
- export type PromptType = "PRE_PROCESSING" | "ORCHESTRATION" | "POST_PROCESSING" | "KNOWLEDGE_BASE_RESPONSE_GENERATION";
564
+ export type PromptType = "PRE_PROCESSING" | "ORCHESTRATION" | "POST_PROCESSING" | "ROUTING_CLASSIFIER" | "MEMORY_SUMMARIZATION" | "KNOWLEDGE_BASE_RESPONSE_GENERATION";
565
+ /**
566
+ * Type definition for `AWS::Bedrock::Agent.RelayConversationHistory`.
567
+ * Relay conversation history state
568
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-agent-relayconversationhistory.html}
569
+ */
570
+ export type RelayConversationHistory = "TO_COLLABORATOR" | "DISABLED";
448
571
  /**
449
572
  * Type definition for `AWS::Bedrock::Agent.RequireConfirmation`.
450
573
  * ENUM to check if action requires user confirmation
@@ -472,6 +595,17 @@ export type S3Identifier = {
472
595
  */
473
596
  S3ObjectKey?: string;
474
597
  };
598
+ /**
599
+ * Type definition for `AWS::Bedrock::Agent.SessionSummaryConfiguration`.
600
+ * Configuration for Session Summarization
601
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-agent-sessionsummaryconfiguration.html}
602
+ */
603
+ export type SessionSummaryConfiguration = {
604
+ /**
605
+ * Maximum number of Sessions to Summarize
606
+ */
607
+ MaxRecentSessions?: number;
608
+ };
475
609
  /**
476
610
  * Type definition for `AWS::Bedrock::Agent.TagsMap`.
477
611
  * A map of tag keys and values
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awboost/cfn-resource-types",
3
- "version": "0.1.265",
3
+ "version": "0.1.267",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },