@awboost/cfn-resource-types 0.1.220 → 0.1.222
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.
- package/lib/AWS-Bedrock-Agent.d.ts +10 -0
- package/lib/AWS-Bedrock-DataSource.d.ts +27 -2
- package/lib/AWS-Bedrock-KnowledgeBase.d.ts +71 -3
- package/lib/AWS-Bedrock-Prompt.d.ts +208 -1
- package/lib/AWS-DataZone-DataSource.d.ts +23 -1
- package/lib/AWS-EC2-VPCEndpointService.d.ts +12 -0
- package/lib/AWS-SES-MailManagerRuleSet.d.ts +27 -0
- package/lib/AWS-SageMaker-Domain.d.ts +19 -0
- package/lib/AWS-SageMaker-Space.d.ts +13 -0
- package/lib/AWS-SageMaker-UserProfile.d.ts +19 -0
- package/package.json +1 -1
|
@@ -278,6 +278,10 @@ export type Function = {
|
|
|
278
278
|
* A map of parameter name and detail
|
|
279
279
|
*/
|
|
280
280
|
Parameters?: ParameterMap;
|
|
281
|
+
/**
|
|
282
|
+
* ENUM to check if action requires user confirmation
|
|
283
|
+
*/
|
|
284
|
+
RequireConfirmation?: RequireConfirmation;
|
|
281
285
|
};
|
|
282
286
|
/**
|
|
283
287
|
* Type definition for `AWS::Bedrock::Agent.FunctionSchema`.
|
|
@@ -441,6 +445,12 @@ export type PromptState = "ENABLED" | "DISABLED";
|
|
|
441
445
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-agent-prompttype.html}
|
|
442
446
|
*/
|
|
443
447
|
export type PromptType = "PRE_PROCESSING" | "ORCHESTRATION" | "POST_PROCESSING" | "KNOWLEDGE_BASE_RESPONSE_GENERATION";
|
|
448
|
+
/**
|
|
449
|
+
* Type definition for `AWS::Bedrock::Agent.RequireConfirmation`.
|
|
450
|
+
* ENUM to check if action requires user confirmation
|
|
451
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-agent-requireconfirmation.html}
|
|
452
|
+
*/
|
|
453
|
+
export type RequireConfirmation = "ENABLED" | "DISABLED";
|
|
444
454
|
/**
|
|
445
455
|
* Type definition for `AWS::Bedrock::Agent.S3Identifier`.
|
|
446
456
|
* The identifier for the S3 resource.
|
|
@@ -66,6 +66,17 @@ export type BedrockDataSourceAttributes = {
|
|
|
66
66
|
*/
|
|
67
67
|
UpdatedAt: string;
|
|
68
68
|
};
|
|
69
|
+
/**
|
|
70
|
+
* Type definition for `AWS::Bedrock::DataSource.BedrockDataAutomationConfiguration`.
|
|
71
|
+
* Settings for a Bedrock Data Automation used to parse documents for a data source.
|
|
72
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-datasource-bedrockdataautomationconfiguration.html}
|
|
73
|
+
*/
|
|
74
|
+
export type BedrockDataAutomationConfiguration = {
|
|
75
|
+
/**
|
|
76
|
+
* Determine how will parsed content be stored.
|
|
77
|
+
*/
|
|
78
|
+
ParsingModality?: ParsingModality;
|
|
79
|
+
};
|
|
69
80
|
/**
|
|
70
81
|
* Type definition for `AWS::Bedrock::DataSource.BedrockFoundationModelConfiguration`.
|
|
71
82
|
* Settings for a foundation model used to parse documents for a data source.
|
|
@@ -79,6 +90,10 @@ export type BedrockFoundationModelConfiguration = {
|
|
|
79
90
|
* @pattern `^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}::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})|(arn:aws(|-us-gov|-cn|-iso|-iso-b):bedrock:(|[0-9a-z-]{1,20}):(|[0-9]{12}):(inference-profile|application-inference-profile)/[a-zA-Z0-9-:.]+)$`
|
|
80
91
|
*/
|
|
81
92
|
ModelArn: string;
|
|
93
|
+
/**
|
|
94
|
+
* Determine how will parsed content be stored.
|
|
95
|
+
*/
|
|
96
|
+
ParsingModality?: ParsingModality;
|
|
82
97
|
/**
|
|
83
98
|
* Instructions for interpreting the contents of a document.
|
|
84
99
|
*/
|
|
@@ -246,7 +261,7 @@ export type DataSourceStatus = "AVAILABLE" | "DELETING" | "DELETE_UNSUCCESSFUL";
|
|
|
246
261
|
* The type of the data source location.
|
|
247
262
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-datasource-datasourcetype.html}
|
|
248
263
|
*/
|
|
249
|
-
export type DataSourceType = "S3" | "CONFLUENCE" | "SALESFORCE" | "SHAREPOINT" | "WEB";
|
|
264
|
+
export type DataSourceType = "S3" | "CONFLUENCE" | "SALESFORCE" | "SHAREPOINT" | "WEB" | "CUSTOM";
|
|
250
265
|
/**
|
|
251
266
|
* Type definition for `AWS::Bedrock::DataSource.FixedSizeChunkingConfiguration`.
|
|
252
267
|
* Configurations for when you choose fixed-size chunking. If you set the chunkingStrategy as NONE, exclude this field.
|
|
@@ -313,6 +328,10 @@ export type IntermediateStorage = {
|
|
|
313
328
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-datasource-parsingconfiguration.html}
|
|
314
329
|
*/
|
|
315
330
|
export type ParsingConfiguration = {
|
|
331
|
+
/**
|
|
332
|
+
* Settings for a Bedrock Data Automation used to parse documents for a data source.
|
|
333
|
+
*/
|
|
334
|
+
BedrockDataAutomationConfiguration?: BedrockDataAutomationConfiguration;
|
|
316
335
|
/**
|
|
317
336
|
* Settings for a foundation model used to parse documents for a data source.
|
|
318
337
|
*/
|
|
@@ -322,6 +341,12 @@ export type ParsingConfiguration = {
|
|
|
322
341
|
*/
|
|
323
342
|
ParsingStrategy: ParsingStrategy;
|
|
324
343
|
};
|
|
344
|
+
/**
|
|
345
|
+
* Type definition for `AWS::Bedrock::DataSource.ParsingModality`.
|
|
346
|
+
* Determine how will parsed content be stored.
|
|
347
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-datasource-parsingmodality.html}
|
|
348
|
+
*/
|
|
349
|
+
export type ParsingModality = "MULTIMODAL";
|
|
325
350
|
/**
|
|
326
351
|
* Type definition for `AWS::Bedrock::DataSource.ParsingPrompt`.
|
|
327
352
|
* Instructions for interpreting the contents of a document.
|
|
@@ -340,7 +365,7 @@ export type ParsingPrompt = {
|
|
|
340
365
|
* The parsing strategy for the data source.
|
|
341
366
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-datasource-parsingstrategy.html}
|
|
342
367
|
*/
|
|
343
|
-
export type ParsingStrategy = "BEDROCK_FOUNDATION_MODEL";
|
|
368
|
+
export type ParsingStrategy = "BEDROCK_FOUNDATION_MODEL" | "BEDROCK_DATA_AUTOMATION";
|
|
344
369
|
/**
|
|
345
370
|
* Type definition for `AWS::Bedrock::DataSource.PatternObjectFilter`.
|
|
346
371
|
* The specific filters applied to your data source content. You can filter out or include certain content.
|
|
@@ -29,7 +29,7 @@ export type BedrockKnowledgeBaseProperties = {
|
|
|
29
29
|
/**
|
|
30
30
|
* The vector store service in which the knowledge base is stored.
|
|
31
31
|
*/
|
|
32
|
-
StorageConfiguration
|
|
32
|
+
StorageConfiguration?: StorageConfiguration;
|
|
33
33
|
/**
|
|
34
34
|
* A map of tag keys and values
|
|
35
35
|
*/
|
|
@@ -94,12 +94,28 @@ export type EmbeddingModelConfiguration = {
|
|
|
94
94
|
*/
|
|
95
95
|
BedrockEmbeddingModelConfiguration?: BedrockEmbeddingModelConfiguration;
|
|
96
96
|
};
|
|
97
|
+
/**
|
|
98
|
+
* Type definition for `AWS::Bedrock::KnowledgeBase.KendraKnowledgeBaseConfiguration`.
|
|
99
|
+
* Configurations for a Kendra knowledge base
|
|
100
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-kendraknowledgebaseconfiguration.html}
|
|
101
|
+
*/
|
|
102
|
+
export type KendraKnowledgeBaseConfiguration = {
|
|
103
|
+
/**
|
|
104
|
+
* Arn of a Kendra index
|
|
105
|
+
* @pattern `^arn:aws(|-cn|-us-gov):kendra:[a-z0-9-]{1,20}:([0-9]{12}|):index/([a-zA-Z0-9][a-zA-Z0-9-]{35}|[a-zA-Z0-9][a-zA-Z0-9-]{35}-[a-zA-Z0-9][a-zA-Z0-9-]{35})$`
|
|
106
|
+
*/
|
|
107
|
+
KendraIndexArn: string;
|
|
108
|
+
};
|
|
97
109
|
/**
|
|
98
110
|
* Type definition for `AWS::Bedrock::KnowledgeBase.KnowledgeBaseConfiguration`.
|
|
99
111
|
* Contains details about the embeddings model used for the knowledge base.
|
|
100
112
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-knowledgebaseconfiguration.html}
|
|
101
113
|
*/
|
|
102
114
|
export type KnowledgeBaseConfiguration = {
|
|
115
|
+
/**
|
|
116
|
+
* Configurations for a Kendra knowledge base
|
|
117
|
+
*/
|
|
118
|
+
KendraKnowledgeBaseConfiguration?: KendraKnowledgeBaseConfiguration;
|
|
103
119
|
/**
|
|
104
120
|
* The type of a knowledge base.
|
|
105
121
|
*/
|
|
@@ -107,7 +123,7 @@ export type KnowledgeBaseConfiguration = {
|
|
|
107
123
|
/**
|
|
108
124
|
* Contains details about the model used to create vector embeddings for the knowledge base.
|
|
109
125
|
*/
|
|
110
|
-
VectorKnowledgeBaseConfiguration
|
|
126
|
+
VectorKnowledgeBaseConfiguration?: VectorKnowledgeBaseConfiguration;
|
|
111
127
|
};
|
|
112
128
|
/**
|
|
113
129
|
* Type definition for `AWS::Bedrock::KnowledgeBase.KnowledgeBaseStatus`.
|
|
@@ -126,7 +142,7 @@ export type KnowledgeBaseStorageType = "OPENSEARCH_SERVERLESS" | "PINECONE" | "R
|
|
|
126
142
|
* The type of a knowledge base.
|
|
127
143
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-knowledgebasetype.html}
|
|
128
144
|
*/
|
|
129
|
-
export type KnowledgeBaseType = "VECTOR";
|
|
145
|
+
export type KnowledgeBaseType = "VECTOR" | "KENDRA";
|
|
130
146
|
/**
|
|
131
147
|
* Type definition for `AWS::Bedrock::KnowledgeBase.MongoDbAtlasConfiguration`.
|
|
132
148
|
* Contains the storage configuration of the knowledge base in MongoDb Atlas Cloud.
|
|
@@ -357,6 +373,20 @@ export type RdsFieldMapping = {
|
|
|
357
373
|
*/
|
|
358
374
|
VectorField: string;
|
|
359
375
|
};
|
|
376
|
+
/**
|
|
377
|
+
* Type definition for `AWS::Bedrock::KnowledgeBase.S3Location`.
|
|
378
|
+
* An Amazon S3 location.
|
|
379
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-s3location.html}
|
|
380
|
+
*/
|
|
381
|
+
export type S3Location = {
|
|
382
|
+
/**
|
|
383
|
+
* The location's URI
|
|
384
|
+
* @minLength `1`
|
|
385
|
+
* @maxLength `2048`
|
|
386
|
+
* @pattern `^s3://.{1,128}$`
|
|
387
|
+
*/
|
|
388
|
+
URI: string;
|
|
389
|
+
};
|
|
360
390
|
/**
|
|
361
391
|
* Type definition for `AWS::Bedrock::KnowledgeBase.StorageConfiguration`.
|
|
362
392
|
* The vector store service in which the knowledge base is stored.
|
|
@@ -384,6 +414,40 @@ export type StorageConfiguration = {
|
|
|
384
414
|
*/
|
|
385
415
|
Type: KnowledgeBaseStorageType;
|
|
386
416
|
};
|
|
417
|
+
/**
|
|
418
|
+
* Type definition for `AWS::Bedrock::KnowledgeBase.SupplementalDataStorageConfiguration`.
|
|
419
|
+
* Configurations for supplemental data storage.
|
|
420
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-supplementaldatastorageconfiguration.html}
|
|
421
|
+
*/
|
|
422
|
+
export type SupplementalDataStorageConfiguration = {
|
|
423
|
+
/**
|
|
424
|
+
* List of supplemental data storage locations.
|
|
425
|
+
* @minLength `1`
|
|
426
|
+
* @maxLength `1`
|
|
427
|
+
*/
|
|
428
|
+
SupplementalDataStorageLocations: SupplementalDataStorageLocation[];
|
|
429
|
+
};
|
|
430
|
+
/**
|
|
431
|
+
* Type definition for `AWS::Bedrock::KnowledgeBase.SupplementalDataStorageLocation`.
|
|
432
|
+
* Supplemental data storage location.
|
|
433
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-supplementaldatastoragelocation.html}
|
|
434
|
+
*/
|
|
435
|
+
export type SupplementalDataStorageLocation = {
|
|
436
|
+
/**
|
|
437
|
+
* An Amazon S3 location.
|
|
438
|
+
*/
|
|
439
|
+
S3Location?: S3Location;
|
|
440
|
+
/**
|
|
441
|
+
* Supplemental data storage location type.
|
|
442
|
+
*/
|
|
443
|
+
SupplementalDataStorageLocationType: SupplementalDataStorageLocationType;
|
|
444
|
+
};
|
|
445
|
+
/**
|
|
446
|
+
* Type definition for `AWS::Bedrock::KnowledgeBase.SupplementalDataStorageLocationType`.
|
|
447
|
+
* Supplemental data storage location type.
|
|
448
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-supplementaldatastoragelocationtype.html}
|
|
449
|
+
*/
|
|
450
|
+
export type SupplementalDataStorageLocationType = "S3";
|
|
387
451
|
/**
|
|
388
452
|
* Type definition for `AWS::Bedrock::KnowledgeBase.TagsMap`.
|
|
389
453
|
* A map of tag keys and values
|
|
@@ -407,6 +471,10 @@ export type VectorKnowledgeBaseConfiguration = {
|
|
|
407
471
|
* The embeddings model configuration details for the vector model used in Knowledge Base.
|
|
408
472
|
*/
|
|
409
473
|
EmbeddingModelConfiguration?: EmbeddingModelConfiguration;
|
|
474
|
+
/**
|
|
475
|
+
* Configurations for supplemental data storage.
|
|
476
|
+
*/
|
|
477
|
+
SupplementalDataStorageConfiguration?: SupplementalDataStorageConfiguration;
|
|
410
478
|
};
|
|
411
479
|
/**
|
|
412
480
|
* Definition of AWS::Bedrock::KnowledgeBase Resource Type
|
|
@@ -72,6 +72,101 @@ export type BedrockPromptAttributes = {
|
|
|
72
72
|
*/
|
|
73
73
|
Version: string;
|
|
74
74
|
};
|
|
75
|
+
/**
|
|
76
|
+
* Type definition for `AWS::Bedrock::Prompt.AnyToolChoice`.
|
|
77
|
+
* Any Tool choice
|
|
78
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-prompt-anytoolchoice.html}
|
|
79
|
+
*/
|
|
80
|
+
export type AnyToolChoice = Record<string, any>;
|
|
81
|
+
/**
|
|
82
|
+
* Type definition for `AWS::Bedrock::Prompt.AutoToolChoice`.
|
|
83
|
+
* Auto Tool choice
|
|
84
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-prompt-autotoolchoice.html}
|
|
85
|
+
*/
|
|
86
|
+
export type AutoToolChoice = Record<string, any>;
|
|
87
|
+
/**
|
|
88
|
+
* Type definition for `AWS::Bedrock::Prompt.ChatPromptTemplateConfiguration`.
|
|
89
|
+
* Configuration for chat prompt template
|
|
90
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-prompt-chatprompttemplateconfiguration.html}
|
|
91
|
+
*/
|
|
92
|
+
export type ChatPromptTemplateConfiguration = {
|
|
93
|
+
/**
|
|
94
|
+
* List of input variables
|
|
95
|
+
* @minLength `0`
|
|
96
|
+
* @maxLength `5`
|
|
97
|
+
*/
|
|
98
|
+
InputVariables?: PromptInputVariable[];
|
|
99
|
+
/**
|
|
100
|
+
* List of messages for chat prompt template
|
|
101
|
+
* @minLength `0`
|
|
102
|
+
*/
|
|
103
|
+
Messages: Message[];
|
|
104
|
+
/**
|
|
105
|
+
* Configuration for chat prompt template
|
|
106
|
+
* @minLength `0`
|
|
107
|
+
*/
|
|
108
|
+
System?: SystemContentBlock[];
|
|
109
|
+
/**
|
|
110
|
+
* Tool configuration
|
|
111
|
+
*/
|
|
112
|
+
ToolConfiguration?: ToolConfiguration;
|
|
113
|
+
};
|
|
114
|
+
/**
|
|
115
|
+
* Type definition for `AWS::Bedrock::Prompt.ContentBlock`.
|
|
116
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-prompt-contentblock.html}
|
|
117
|
+
*/
|
|
118
|
+
export type ContentBlock = {
|
|
119
|
+
/**
|
|
120
|
+
* Configuration for chat prompt template
|
|
121
|
+
* @minLength `1`
|
|
122
|
+
*/
|
|
123
|
+
Text: string;
|
|
124
|
+
};
|
|
125
|
+
/**
|
|
126
|
+
* Type definition for `AWS::Bedrock::Prompt.ConversationRole`.
|
|
127
|
+
* Conversation roles for the chat prompt
|
|
128
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-prompt-conversationrole.html}
|
|
129
|
+
*/
|
|
130
|
+
export type ConversationRole = "user" | "assistant";
|
|
131
|
+
/**
|
|
132
|
+
* Type definition for `AWS::Bedrock::Prompt.Message`.
|
|
133
|
+
* Chat prompt Message
|
|
134
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-prompt-message.html}
|
|
135
|
+
*/
|
|
136
|
+
export type Message = {
|
|
137
|
+
/**
|
|
138
|
+
* List of Content Blocks
|
|
139
|
+
* @minLength `1`
|
|
140
|
+
*/
|
|
141
|
+
Content: ContentBlock[];
|
|
142
|
+
/**
|
|
143
|
+
* Conversation roles for the chat prompt
|
|
144
|
+
*/
|
|
145
|
+
Role: ConversationRole;
|
|
146
|
+
};
|
|
147
|
+
/**
|
|
148
|
+
* Type definition for `AWS::Bedrock::Prompt.PromptAgentResource`.
|
|
149
|
+
* Target Agent to invoke with Prompt
|
|
150
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-prompt-promptagentresource.html}
|
|
151
|
+
*/
|
|
152
|
+
export type PromptAgentResource = {
|
|
153
|
+
/**
|
|
154
|
+
* Arn representation of the Agent Alias.
|
|
155
|
+
* @maxLength `2048`
|
|
156
|
+
* @pattern `^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:agent-alias/[0-9a-zA-Z]{10}/[0-9a-zA-Z]{10}$`
|
|
157
|
+
*/
|
|
158
|
+
AgentIdentifier: string;
|
|
159
|
+
};
|
|
160
|
+
/**
|
|
161
|
+
* Type definition for `AWS::Bedrock::Prompt.PromptGenAiResource`.
|
|
162
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-prompt-promptgenairesource.html}
|
|
163
|
+
*/
|
|
164
|
+
export type PromptGenAiResource = {
|
|
165
|
+
/**
|
|
166
|
+
* Target Agent to invoke with Prompt
|
|
167
|
+
*/
|
|
168
|
+
Agent: PromptAgentResource;
|
|
169
|
+
};
|
|
75
170
|
/**
|
|
76
171
|
* Type definition for `AWS::Bedrock::Prompt.PromptInferenceConfiguration`.
|
|
77
172
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-prompt-promptinferenceconfiguration.html}
|
|
@@ -127,6 +222,7 @@ export type PromptModelInferenceConfiguration = {
|
|
|
127
222
|
};
|
|
128
223
|
/**
|
|
129
224
|
* Type definition for `AWS::Bedrock::Prompt.PromptTemplateConfiguration`.
|
|
225
|
+
* Prompt template configuration
|
|
130
226
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-prompt-prompttemplateconfiguration.html}
|
|
131
227
|
*/
|
|
132
228
|
export type PromptTemplateConfiguration = {
|
|
@@ -134,19 +230,25 @@ export type PromptTemplateConfiguration = {
|
|
|
134
230
|
* Configuration for text prompt template
|
|
135
231
|
*/
|
|
136
232
|
Text: TextPromptTemplateConfiguration;
|
|
233
|
+
} | {
|
|
234
|
+
/**
|
|
235
|
+
* Configuration for chat prompt template
|
|
236
|
+
*/
|
|
237
|
+
Chat: ChatPromptTemplateConfiguration;
|
|
137
238
|
};
|
|
138
239
|
/**
|
|
139
240
|
* Type definition for `AWS::Bedrock::Prompt.PromptTemplateType`.
|
|
140
241
|
* Prompt template type
|
|
141
242
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-prompt-prompttemplatetype.html}
|
|
142
243
|
*/
|
|
143
|
-
export type PromptTemplateType = "TEXT";
|
|
244
|
+
export type PromptTemplateType = "TEXT" | "CHAT";
|
|
144
245
|
/**
|
|
145
246
|
* Type definition for `AWS::Bedrock::Prompt.PromptVariant`.
|
|
146
247
|
* Prompt variant
|
|
147
248
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-prompt-promptvariant.html}
|
|
148
249
|
*/
|
|
149
250
|
export type PromptVariant = {
|
|
251
|
+
GenAiResource?: PromptGenAiResource;
|
|
150
252
|
InferenceConfiguration?: PromptInferenceConfiguration;
|
|
151
253
|
/**
|
|
152
254
|
* ARN or Id of a Bedrock Foundational Model or Inference Profile, or the ARN of a imported model, or a provisioned throughput ARN for custom models.
|
|
@@ -160,12 +262,40 @@ export type PromptVariant = {
|
|
|
160
262
|
* @pattern `^([0-9a-zA-Z][_-]?){1,100}$`
|
|
161
263
|
*/
|
|
162
264
|
Name: string;
|
|
265
|
+
/**
|
|
266
|
+
* Prompt template configuration
|
|
267
|
+
*/
|
|
163
268
|
TemplateConfiguration: PromptTemplateConfiguration;
|
|
164
269
|
/**
|
|
165
270
|
* Prompt template type
|
|
166
271
|
*/
|
|
167
272
|
TemplateType: PromptTemplateType;
|
|
168
273
|
};
|
|
274
|
+
/**
|
|
275
|
+
* Type definition for `AWS::Bedrock::Prompt.SpecificToolChoice`.
|
|
276
|
+
* Specific Tool choice
|
|
277
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-prompt-specifictoolchoice.html}
|
|
278
|
+
*/
|
|
279
|
+
export type SpecificToolChoice = {
|
|
280
|
+
/**
|
|
281
|
+
* Tool name
|
|
282
|
+
* @minLength `1`
|
|
283
|
+
* @maxLength `64`
|
|
284
|
+
* @pattern `^[a-zA-Z][a-zA-Z0-9_]*$`
|
|
285
|
+
*/
|
|
286
|
+
Name: string;
|
|
287
|
+
};
|
|
288
|
+
/**
|
|
289
|
+
* Type definition for `AWS::Bedrock::Prompt.SystemContentBlock`.
|
|
290
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-prompt-systemcontentblock.html}
|
|
291
|
+
*/
|
|
292
|
+
export type SystemContentBlock = {
|
|
293
|
+
/**
|
|
294
|
+
* Configuration for chat prompt template
|
|
295
|
+
* @minLength `1`
|
|
296
|
+
*/
|
|
297
|
+
Text: string;
|
|
298
|
+
};
|
|
169
299
|
/**
|
|
170
300
|
* Type definition for `AWS::Bedrock::Prompt.TagsMap`.
|
|
171
301
|
* A map of tag keys and values
|
|
@@ -221,6 +351,83 @@ export type TextS3Location = {
|
|
|
221
351
|
*/
|
|
222
352
|
Version?: string;
|
|
223
353
|
};
|
|
354
|
+
/**
|
|
355
|
+
* Type definition for `AWS::Bedrock::Prompt.Tool`.
|
|
356
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-prompt-tool.html}
|
|
357
|
+
*/
|
|
358
|
+
export type Tool = {
|
|
359
|
+
/**
|
|
360
|
+
* Tool specification
|
|
361
|
+
*/
|
|
362
|
+
ToolSpec: ToolSpecification;
|
|
363
|
+
};
|
|
364
|
+
/**
|
|
365
|
+
* Type definition for `AWS::Bedrock::Prompt.ToolChoice`.
|
|
366
|
+
* Tool choice
|
|
367
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-prompt-toolchoice.html}
|
|
368
|
+
*/
|
|
369
|
+
export type ToolChoice = {
|
|
370
|
+
/**
|
|
371
|
+
* Auto Tool choice
|
|
372
|
+
*/
|
|
373
|
+
Auto: AutoToolChoice;
|
|
374
|
+
} | {
|
|
375
|
+
/**
|
|
376
|
+
* Any Tool choice
|
|
377
|
+
*/
|
|
378
|
+
Any: AnyToolChoice;
|
|
379
|
+
} | {
|
|
380
|
+
/**
|
|
381
|
+
* Specific Tool choice
|
|
382
|
+
*/
|
|
383
|
+
Tool: SpecificToolChoice;
|
|
384
|
+
};
|
|
385
|
+
/**
|
|
386
|
+
* Type definition for `AWS::Bedrock::Prompt.ToolConfiguration`.
|
|
387
|
+
* Tool configuration
|
|
388
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-prompt-toolconfiguration.html}
|
|
389
|
+
*/
|
|
390
|
+
export type ToolConfiguration = {
|
|
391
|
+
/**
|
|
392
|
+
* Tool choice
|
|
393
|
+
*/
|
|
394
|
+
ToolChoice?: ToolChoice;
|
|
395
|
+
/**
|
|
396
|
+
* List of Tools
|
|
397
|
+
* @minLength `1`
|
|
398
|
+
*/
|
|
399
|
+
Tools: Tool[];
|
|
400
|
+
};
|
|
401
|
+
/**
|
|
402
|
+
* Type definition for `AWS::Bedrock::Prompt.ToolInputSchema`.
|
|
403
|
+
* Tool input schema json
|
|
404
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-prompt-toolinputschema.html}
|
|
405
|
+
*/
|
|
406
|
+
export type ToolInputSchema = {
|
|
407
|
+
Json: Record<string, any>;
|
|
408
|
+
};
|
|
409
|
+
/**
|
|
410
|
+
* Type definition for `AWS::Bedrock::Prompt.ToolSpecification`.
|
|
411
|
+
* Tool specification
|
|
412
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-prompt-toolspecification.html}
|
|
413
|
+
*/
|
|
414
|
+
export type ToolSpecification = {
|
|
415
|
+
/**
|
|
416
|
+
* @minLength `1`
|
|
417
|
+
*/
|
|
418
|
+
Description?: string;
|
|
419
|
+
/**
|
|
420
|
+
* Tool input schema json
|
|
421
|
+
*/
|
|
422
|
+
InputSchema: ToolInputSchema;
|
|
423
|
+
/**
|
|
424
|
+
* Tool name
|
|
425
|
+
* @minLength `1`
|
|
426
|
+
* @maxLength `64`
|
|
427
|
+
* @pattern `^[a-zA-Z][a-zA-Z0-9_]*$`
|
|
428
|
+
*/
|
|
429
|
+
Name: string;
|
|
430
|
+
};
|
|
224
431
|
/**
|
|
225
432
|
* Definition of AWS::Bedrock::Prompt Resource Type
|
|
226
433
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-prompt.html}
|
|
@@ -115,7 +115,7 @@ export type DataZoneDataSourceAttributes = {
|
|
|
115
115
|
};
|
|
116
116
|
/**
|
|
117
117
|
* Type definition for `AWS::DataZone::DataSource.DataSourceConfigurationInput`.
|
|
118
|
-
* Specifies the configuration of the data source. It can be set to either glueRunConfiguration or redshiftRunConfiguration.
|
|
118
|
+
* Specifies the configuration of the data source. It can be set to either glueRunConfiguration or redshiftRunConfiguration or sageMakerRunConfiguration.
|
|
119
119
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-datasource-datasourceconfigurationinput.html}
|
|
120
120
|
*/
|
|
121
121
|
export type DataSourceConfigurationInput = {
|
|
@@ -125,6 +125,11 @@ export type DataSourceConfigurationInput = {
|
|
|
125
125
|
* The configuration details of the Amazon Redshift data source.
|
|
126
126
|
*/
|
|
127
127
|
RedshiftRunConfiguration?: RedshiftRunConfigurationInput;
|
|
128
|
+
} | {
|
|
129
|
+
/**
|
|
130
|
+
* The configuration details of the Amazon SageMaker data source.
|
|
131
|
+
*/
|
|
132
|
+
SageMakerRunConfiguration?: SageMakerRunConfigurationInput;
|
|
128
133
|
};
|
|
129
134
|
/**
|
|
130
135
|
* Type definition for `AWS::DataZone::DataSource.DataSourceStatus`.
|
|
@@ -326,6 +331,17 @@ export type RelationalFilterConfiguration = {
|
|
|
326
331
|
*/
|
|
327
332
|
SchemaName?: string;
|
|
328
333
|
};
|
|
334
|
+
/**
|
|
335
|
+
* Type definition for `AWS::DataZone::DataSource.SageMakerRunConfigurationInput`.
|
|
336
|
+
* The configuration details of the Amazon SageMaker data source.
|
|
337
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-datasource-sagemakerrunconfigurationinput.html}
|
|
338
|
+
*/
|
|
339
|
+
export type SageMakerRunConfigurationInput = {
|
|
340
|
+
/**
|
|
341
|
+
* The tracking assets of the Amazon SageMaker run.
|
|
342
|
+
*/
|
|
343
|
+
TrackingAssets: TrackingAssets;
|
|
344
|
+
};
|
|
329
345
|
/**
|
|
330
346
|
* Type definition for `AWS::DataZone::DataSource.ScheduleConfiguration`.
|
|
331
347
|
* The schedule of the data source runs.
|
|
@@ -344,6 +360,12 @@ export type ScheduleConfiguration = {
|
|
|
344
360
|
*/
|
|
345
361
|
Timezone?: string;
|
|
346
362
|
};
|
|
363
|
+
/**
|
|
364
|
+
* Type definition for `AWS::DataZone::DataSource.TrackingAssets`.
|
|
365
|
+
* The tracking assets of the Amazon SageMaker run.
|
|
366
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-datasource-trackingassets.html}
|
|
367
|
+
*/
|
|
368
|
+
export type TrackingAssets = Record<string, string[]>;
|
|
347
369
|
/**
|
|
348
370
|
* Resource type definition for `AWS::DataZone::DataSource`.
|
|
349
371
|
* A data source is used to import technical metadata of assets (data) from the source databases or data warehouses into Amazon DataZone.
|
|
@@ -10,6 +10,10 @@ export type EC2VPCEndpointServiceProperties = {
|
|
|
10
10
|
GatewayLoadBalancerArns?: string[];
|
|
11
11
|
NetworkLoadBalancerArns?: string[];
|
|
12
12
|
PayerResponsibility?: string;
|
|
13
|
+
/**
|
|
14
|
+
* The tags to add to the VPC endpoint service.
|
|
15
|
+
*/
|
|
16
|
+
Tags?: Tag[];
|
|
13
17
|
};
|
|
14
18
|
/**
|
|
15
19
|
* Attribute type definition for `AWS::EC2::VPCEndpointService`.
|
|
@@ -18,6 +22,14 @@ export type EC2VPCEndpointServiceProperties = {
|
|
|
18
22
|
export type EC2VPCEndpointServiceAttributes = {
|
|
19
23
|
ServiceId: string;
|
|
20
24
|
};
|
|
25
|
+
/**
|
|
26
|
+
* Type definition for `AWS::EC2::VPCEndpointService.Tag`.
|
|
27
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-vpcendpointservice-tag.html}
|
|
28
|
+
*/
|
|
29
|
+
export type Tag = {
|
|
30
|
+
Key: string;
|
|
31
|
+
Value: string;
|
|
32
|
+
};
|
|
21
33
|
/**
|
|
22
34
|
* Resource Type definition for AWS::EC2::VPCEndpointService
|
|
23
35
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcendpointservice.html}
|
|
@@ -104,6 +104,31 @@ export type DeliverToMailboxAction = {
|
|
|
104
104
|
*/
|
|
105
105
|
RoleArn: string;
|
|
106
106
|
};
|
|
107
|
+
/**
|
|
108
|
+
* Type definition for `AWS::SES::MailManagerRuleSet.DeliverToQBusinessAction`.
|
|
109
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-delivertoqbusinessaction.html}
|
|
110
|
+
*/
|
|
111
|
+
export type DeliverToQBusinessAction = {
|
|
112
|
+
ActionFailurePolicy?: ActionFailurePolicy;
|
|
113
|
+
/**
|
|
114
|
+
* @minLength `36`
|
|
115
|
+
* @maxLength `36`
|
|
116
|
+
* @pattern `^[a-z0-9-]+$`
|
|
117
|
+
*/
|
|
118
|
+
ApplicationId: string;
|
|
119
|
+
/**
|
|
120
|
+
* @minLength `36`
|
|
121
|
+
* @maxLength `36`
|
|
122
|
+
* @pattern `^[a-z0-9-]+$`
|
|
123
|
+
*/
|
|
124
|
+
IndexId: string;
|
|
125
|
+
/**
|
|
126
|
+
* @minLength `20`
|
|
127
|
+
* @maxLength `2048`
|
|
128
|
+
* @pattern `^[a-zA-Z0-9:_/+=,@.#-]+$`
|
|
129
|
+
*/
|
|
130
|
+
RoleArn: string;
|
|
131
|
+
};
|
|
107
132
|
/**
|
|
108
133
|
* Type definition for `AWS::SES::MailManagerRuleSet.DropAction`.
|
|
109
134
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-dropaction.html}
|
|
@@ -186,6 +211,8 @@ export type RuleAction = {
|
|
|
186
211
|
ReplaceRecipient: ReplaceRecipientAction;
|
|
187
212
|
} | {
|
|
188
213
|
DeliverToMailbox: DeliverToMailboxAction;
|
|
214
|
+
} | {
|
|
215
|
+
DeliverToQBusiness: DeliverToQBusinessAction;
|
|
189
216
|
};
|
|
190
217
|
/**
|
|
191
218
|
* Type definition for `AWS::SES::MailManagerRuleSet.RuleBooleanEmailAttribute`.
|
|
@@ -162,6 +162,7 @@ export type CodeRepository = {
|
|
|
162
162
|
*/
|
|
163
163
|
export type CustomFileSystemConfig = {
|
|
164
164
|
EFSFileSystemConfig?: EFSFileSystemConfig;
|
|
165
|
+
FSxLustreFileSystemConfig?: FSxLustreFileSystemConfig;
|
|
165
166
|
};
|
|
166
167
|
/**
|
|
167
168
|
* Type definition for `AWS::SageMaker::Domain.CustomImage`.
|
|
@@ -338,6 +339,24 @@ export type EFSFileSystemConfig = {
|
|
|
338
339
|
*/
|
|
339
340
|
FileSystemPath?: string;
|
|
340
341
|
};
|
|
342
|
+
/**
|
|
343
|
+
* Type definition for `AWS::SageMaker::Domain.FSxLustreFileSystemConfig`.
|
|
344
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-fsxlustrefilesystemconfig.html}
|
|
345
|
+
*/
|
|
346
|
+
export type FSxLustreFileSystemConfig = {
|
|
347
|
+
/**
|
|
348
|
+
* @minLength `11`
|
|
349
|
+
* @maxLength `21`
|
|
350
|
+
* @pattern `^(fs-[0-9a-f]{8,})$`
|
|
351
|
+
*/
|
|
352
|
+
FileSystemId: string;
|
|
353
|
+
/**
|
|
354
|
+
* @minLength `1`
|
|
355
|
+
* @maxLength `256`
|
|
356
|
+
* @pattern `^\/\S*$`
|
|
357
|
+
*/
|
|
358
|
+
FileSystemPath?: string;
|
|
359
|
+
};
|
|
341
360
|
/**
|
|
342
361
|
* Type definition for `AWS::SageMaker::Domain.IdleSettings`.
|
|
343
362
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-idlesettings.html}
|
|
@@ -74,6 +74,7 @@ export type CodeRepository = {
|
|
|
74
74
|
*/
|
|
75
75
|
export type CustomFileSystem = {
|
|
76
76
|
EFSFileSystem?: EFSFileSystem;
|
|
77
|
+
FSxLustreFileSystem?: FSxLustreFileSystem;
|
|
77
78
|
};
|
|
78
79
|
/**
|
|
79
80
|
* Type definition for `AWS::SageMaker::Space.CustomImage`.
|
|
@@ -124,6 +125,18 @@ export type EFSFileSystem = {
|
|
|
124
125
|
*/
|
|
125
126
|
FileSystemId: string;
|
|
126
127
|
};
|
|
128
|
+
/**
|
|
129
|
+
* Type definition for `AWS::SageMaker::Space.FSxLustreFileSystem`.
|
|
130
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-fsxlustrefilesystem.html}
|
|
131
|
+
*/
|
|
132
|
+
export type FSxLustreFileSystem = {
|
|
133
|
+
/**
|
|
134
|
+
* @minLength `11`
|
|
135
|
+
* @maxLength `21`
|
|
136
|
+
* @pattern `^(fs-[0-9a-f]{8,})$`
|
|
137
|
+
*/
|
|
138
|
+
FileSystemId: string;
|
|
139
|
+
};
|
|
127
140
|
/**
|
|
128
141
|
* Type definition for `AWS::SageMaker::Space.JupyterServerAppSettings`.
|
|
129
142
|
* The JupyterServer app settings.
|
|
@@ -105,6 +105,7 @@ export type CodeRepository = {
|
|
|
105
105
|
*/
|
|
106
106
|
export type CustomFileSystemConfig = {
|
|
107
107
|
EFSFileSystemConfig?: EFSFileSystemConfig;
|
|
108
|
+
FSxLustreFileSystemConfig?: FSxLustreFileSystemConfig;
|
|
108
109
|
};
|
|
109
110
|
/**
|
|
110
111
|
* Type definition for `AWS::SageMaker::UserProfile.CustomImage`.
|
|
@@ -194,6 +195,24 @@ export type EFSFileSystemConfig = {
|
|
|
194
195
|
*/
|
|
195
196
|
FileSystemPath?: string;
|
|
196
197
|
};
|
|
198
|
+
/**
|
|
199
|
+
* Type definition for `AWS::SageMaker::UserProfile.FSxLustreFileSystemConfig`.
|
|
200
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-fsxlustrefilesystemconfig.html}
|
|
201
|
+
*/
|
|
202
|
+
export type FSxLustreFileSystemConfig = {
|
|
203
|
+
/**
|
|
204
|
+
* @minLength `11`
|
|
205
|
+
* @maxLength `21`
|
|
206
|
+
* @pattern `^(fs-[0-9a-f]{8,})$`
|
|
207
|
+
*/
|
|
208
|
+
FileSystemId: string;
|
|
209
|
+
/**
|
|
210
|
+
* @minLength `1`
|
|
211
|
+
* @maxLength `256`
|
|
212
|
+
* @pattern `^\/\S*$`
|
|
213
|
+
*/
|
|
214
|
+
FileSystemPath?: string;
|
|
215
|
+
};
|
|
197
216
|
/**
|
|
198
217
|
* Type definition for `AWS::SageMaker::UserProfile.IdleSettings`.
|
|
199
218
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-idlesettings.html}
|