@awboost/cfn-resource-types 0.1.266 → 0.1.268

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
@@ -24,7 +24,15 @@ export type MediaPackageV2ChannelProperties = {
24
24
  * @maxLength `1024`
25
25
  */
26
26
  Description?: string;
27
+ /**
28
+ * <p>The configuration for input switching based on the media quality confidence score (MQCS) as provided from AWS Elemental MediaLive.</p>
29
+ */
30
+ InputSwitchConfiguration?: InputSwitchConfiguration;
27
31
  InputType?: InputType;
32
+ /**
33
+ * <p>The settings for what common media server data (CMSD) headers AWS Elemental MediaPackage includes in responses to the CDN.</p>
34
+ */
35
+ OutputHeaderConfiguration?: OutputHeaderConfiguration;
28
36
  Tags?: Tag[];
29
37
  };
30
38
  /**
@@ -74,11 +82,33 @@ export type IngestEndpoint = {
74
82
  */
75
83
  Url?: string;
76
84
  };
85
+ /**
86
+ * Type definition for `AWS::MediaPackageV2::Channel.InputSwitchConfiguration`.
87
+ * <p>The configuration for input switching based on the media quality confidence score (MQCS) as provided from AWS Elemental MediaLive.</p>
88
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-channel-inputswitchconfiguration.html}
89
+ */
90
+ export type InputSwitchConfiguration = {
91
+ /**
92
+ * <p>When true, AWS Elemental MediaPackage performs input switching based on the MQCS. Default is true. This setting is valid only when <code>InputType</code> is <code>CMAF</code>.</p>
93
+ */
94
+ MQCSInputSwitching?: boolean;
95
+ };
77
96
  /**
78
97
  * Type definition for `AWS::MediaPackageV2::Channel.InputType`.
79
98
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-channel-inputtype.html}
80
99
  */
81
100
  export type InputType = "HLS" | "CMAF";
101
+ /**
102
+ * Type definition for `AWS::MediaPackageV2::Channel.OutputHeaderConfiguration`.
103
+ * <p>The settings for what common media server data (CMSD) headers AWS Elemental MediaPackage includes in responses to the CDN.</p>
104
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-channel-outputheaderconfiguration.html}
105
+ */
106
+ export type OutputHeaderConfiguration = {
107
+ /**
108
+ * <p>When true, AWS Elemental MediaPackage includes the MQCS in responses to the CDN. This setting is valid only when <code>InputType</code> is <code>CMAF</code>.</p>
109
+ */
110
+ PublishMQCS?: boolean;
111
+ };
82
112
  /**
83
113
  * Type definition for `AWS::MediaPackageV2::Channel.Tag`.
84
114
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-channel-tag.html}
@@ -59,12 +59,14 @@ export type AIAgentConfiguration = {
59
59
  AnswerRecommendationAIAgentConfiguration: AnswerRecommendationAIAgentConfiguration;
60
60
  } | {
61
61
  SelfServiceAIAgentConfiguration: SelfServiceAIAgentConfiguration;
62
+ } | {
63
+ SessionSummarizationAIAgentConfiguration: SessionSummarizationAIAgentConfiguration;
62
64
  };
63
65
  /**
64
66
  * Type definition for `AWS::Wisdom::AIAgent.AIAgentType`.
65
67
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiagent-aiagenttype.html}
66
68
  */
67
- export type AIAgentType = "MANUAL_SEARCH" | "ANSWER_RECOMMENDATION" | "SELF_SERVICE";
69
+ export type AIAgentType = "MANUAL_SEARCH" | "ANSWER_RECOMMENDATION" | "SELF_SERVICE" | "SESSION_SUMMARIZATION";
68
70
  /**
69
71
  * Type definition for `AWS::Wisdom::AIAgent.AnswerRecommendationAIAgentConfiguration`.
70
72
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiagent-answerrecommendationaiagentconfiguration.html}
@@ -83,6 +85,10 @@ export type AnswerRecommendationAIAgentConfiguration = {
83
85
  * @pattern `^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}(:[A-Z0-9_$]+){0,1}$`
84
86
  */
85
87
  IntentLabelingGenerationAIPromptId?: string;
88
+ /**
89
+ * @minLength `1`
90
+ */
91
+ Locale?: string;
86
92
  /**
87
93
  * @pattern `^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}(:[A-Z0-9_$]+){0,1}$`
88
94
  */
@@ -139,6 +145,10 @@ export type ManualSearchAIAgentConfiguration = {
139
145
  */
140
146
  AnswerGenerationAIPromptId?: string;
141
147
  AssociationConfigurations?: AssociationConfiguration[];
148
+ /**
149
+ * @minLength `1`
150
+ */
151
+ Locale?: string;
142
152
  };
143
153
  /**
144
154
  * Type definition for `AWS::Wisdom::AIAgent.OrCondition`.
@@ -168,6 +178,20 @@ export type SelfServiceAIAgentConfiguration = {
168
178
  */
169
179
  SelfServicePreProcessingAIPromptId?: string;
170
180
  };
181
+ /**
182
+ * Type definition for `AWS::Wisdom::AIAgent.SessionSummarizationAIAgentConfiguration`.
183
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiagent-sessionsummarizationaiagentconfiguration.html}
184
+ */
185
+ export type SessionSummarizationAIAgentConfiguration = {
186
+ /**
187
+ * @minLength `1`
188
+ */
189
+ Locale?: string;
190
+ /**
191
+ * @pattern `^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}(:[A-Z0-9_$]+){0,1}$`
192
+ */
193
+ SessionSummarizationAIPromptId?: string;
194
+ };
171
195
  /**
172
196
  * Type definition for `AWS::Wisdom::AIAgent.TagCondition`.
173
197
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiagent-tagcondition.html}
@@ -72,7 +72,7 @@ export type AIPromptTemplateType = "TEXT";
72
72
  * Type definition for `AWS::Wisdom::AIPrompt.AIPromptType`.
73
73
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiprompt-aiprompttype.html}
74
74
  */
75
- export type AIPromptType = "ANSWER_GENERATION" | "INTENT_LABELING_GENERATION" | "QUERY_REFORMULATION" | "SELF_SERVICE_PRE_PROCESSING" | "SELF_SERVICE_ANSWER_GENERATION";
75
+ export type AIPromptType = "ANSWER_GENERATION" | "INTENT_LABELING_GENERATION" | "QUERY_REFORMULATION" | "SELF_SERVICE_PRE_PROCESSING" | "SELF_SERVICE_ANSWER_GENERATION" | "SESSION_SUMMARIZATION";
76
76
  /**
77
77
  * Type definition for `AWS::Wisdom::AIPrompt.Tags`.
78
78
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiprompt-tags.html}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awboost/cfn-resource-types",
3
- "version": "0.1.266",
3
+ "version": "0.1.268",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },