@awboost/cfn-resource-types 0.1.174 → 0.1.176
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-Flow.d.ts +30 -10
- package/lib/AWS-Bedrock-FlowVersion.d.ts +30 -10
- package/lib/AWS-Bedrock-Prompt.d.ts +4 -10
- package/lib/AWS-Bedrock-PromptVersion.d.ts +8 -20
- package/lib/AWS-DMS-DataMigration.d.ts +140 -0
- package/lib/AWS-DMS-DataMigration.js +12 -0
- package/lib/AWS-Lambda-Version.d.ts +4 -0
- package/lib/AWS-SageMaker-Domain.d.ts +8 -0
- package/package.json +1 -1
|
@@ -418,6 +418,24 @@ export type FlowValidation = {
|
|
|
418
418
|
*/
|
|
419
419
|
Message: string;
|
|
420
420
|
};
|
|
421
|
+
/**
|
|
422
|
+
* Type definition for `AWS::Bedrock::Flow.GuardrailConfiguration`.
|
|
423
|
+
* Configuration for a guardrail
|
|
424
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-guardrailconfiguration.html}
|
|
425
|
+
*/
|
|
426
|
+
export type GuardrailConfiguration = {
|
|
427
|
+
/**
|
|
428
|
+
* Identifier for the guardrail, could be the id or the arn
|
|
429
|
+
* @maxLength `2048`
|
|
430
|
+
* @pattern `^(([a-z0-9]+)|(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:guardrail/[a-z0-9]+))$`
|
|
431
|
+
*/
|
|
432
|
+
GuardrailIdentifier?: string;
|
|
433
|
+
/**
|
|
434
|
+
* Version of the guardrail
|
|
435
|
+
* @pattern `^(([0-9]{1,8})|(DRAFT))$`
|
|
436
|
+
*/
|
|
437
|
+
GuardrailVersion?: string;
|
|
438
|
+
};
|
|
421
439
|
/**
|
|
422
440
|
* Type definition for `AWS::Bedrock::Flow.InputFlowNodeConfiguration`.
|
|
423
441
|
* Input flow node configuration
|
|
@@ -436,6 +454,10 @@ export type IteratorFlowNodeConfiguration = Record<string, any>;
|
|
|
436
454
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-knowledgebaseflownodeconfiguration.html}
|
|
437
455
|
*/
|
|
438
456
|
export type KnowledgeBaseFlowNodeConfiguration = {
|
|
457
|
+
/**
|
|
458
|
+
* Configuration for a guardrail
|
|
459
|
+
*/
|
|
460
|
+
GuardrailConfiguration?: GuardrailConfiguration;
|
|
439
461
|
/**
|
|
440
462
|
* Identifier of the KnowledgeBase
|
|
441
463
|
* @maxLength `10`
|
|
@@ -443,10 +465,10 @@ export type KnowledgeBaseFlowNodeConfiguration = {
|
|
|
443
465
|
*/
|
|
444
466
|
KnowledgeBaseId: string;
|
|
445
467
|
/**
|
|
446
|
-
* ARN or
|
|
468
|
+
* 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.
|
|
447
469
|
* @minLength `1`
|
|
448
470
|
* @maxLength `2048`
|
|
449
|
-
* @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}
|
|
471
|
+
* @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]{12})|(:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|([0-9]{12}:imported-model/[a-z0-9]{12})|([0-9]{12}:provisioned-model/[a-z0-9]{12})))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|(([0-9a-zA-Z][_-]?)+)|(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-:.]+)|([a-zA-Z0-9-:.]+)$`
|
|
450
472
|
*/
|
|
451
473
|
ModelId?: string;
|
|
452
474
|
};
|
|
@@ -494,6 +516,10 @@ export type OutputFlowNodeConfiguration = Record<string, any>;
|
|
|
494
516
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-promptflownodeconfiguration.html}
|
|
495
517
|
*/
|
|
496
518
|
export type PromptFlowNodeConfiguration = {
|
|
519
|
+
/**
|
|
520
|
+
* Configuration for a guardrail
|
|
521
|
+
*/
|
|
522
|
+
GuardrailConfiguration?: GuardrailConfiguration;
|
|
497
523
|
/**
|
|
498
524
|
* Prompt source configuration for prompt node
|
|
499
525
|
*/
|
|
@@ -507,10 +533,10 @@ export type PromptFlowNodeConfiguration = {
|
|
|
507
533
|
export type PromptFlowNodeInlineConfiguration = {
|
|
508
534
|
InferenceConfiguration?: PromptInferenceConfiguration;
|
|
509
535
|
/**
|
|
510
|
-
* ARN or
|
|
536
|
+
* 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.
|
|
511
537
|
* @minLength `1`
|
|
512
538
|
* @maxLength `2048`
|
|
513
|
-
* @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]{12})|(:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|([0-9]{12}:provisioned-model/[a-z0-9]{12})))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|(([0-9a-zA-Z][_-]?)+)$`
|
|
539
|
+
* @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]{12})|(:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|([0-9]{12}:imported-model/[a-z0-9]{12})|([0-9]{12}:provisioned-model/[a-z0-9]{12})))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|(([0-9a-zA-Z][_-]?)+)|(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-:.]+)|([a-zA-Z0-9-:.]+)$`
|
|
514
540
|
*/
|
|
515
541
|
ModelId: string;
|
|
516
542
|
TemplateConfiguration: PromptTemplateConfiguration;
|
|
@@ -593,12 +619,6 @@ export type PromptModelInferenceConfiguration = {
|
|
|
593
619
|
* @max `1`
|
|
594
620
|
*/
|
|
595
621
|
Temperature?: number;
|
|
596
|
-
/**
|
|
597
|
-
* Sample from the k most likely next tokens
|
|
598
|
-
* @min `0`
|
|
599
|
-
* @max `500`
|
|
600
|
-
*/
|
|
601
|
-
TopK?: number;
|
|
602
622
|
/**
|
|
603
623
|
* Cumulative probability cutoff for token selection
|
|
604
624
|
* @min `0`
|
|
@@ -448,6 +448,24 @@ export type FlowNodeType = "Input" | "Output" | "KnowledgeBase" | "Condition" |
|
|
|
448
448
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-flowstatus.html}
|
|
449
449
|
*/
|
|
450
450
|
export type FlowStatus = "Failed" | "Prepared" | "Preparing" | "NotPrepared";
|
|
451
|
+
/**
|
|
452
|
+
* Type definition for `AWS::Bedrock::FlowVersion.GuardrailConfiguration`.
|
|
453
|
+
* Configuration for a guardrail
|
|
454
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-guardrailconfiguration.html}
|
|
455
|
+
*/
|
|
456
|
+
export type GuardrailConfiguration = {
|
|
457
|
+
/**
|
|
458
|
+
* Identifier for the guardrail, could be the id or the arn
|
|
459
|
+
* @maxLength `2048`
|
|
460
|
+
* @pattern `^(([a-z0-9]+)|(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:guardrail/[a-z0-9]+))$`
|
|
461
|
+
*/
|
|
462
|
+
GuardrailIdentifier?: string;
|
|
463
|
+
/**
|
|
464
|
+
* Version of the guardrail
|
|
465
|
+
* @pattern `^(([0-9]{1,8})|(DRAFT))$`
|
|
466
|
+
*/
|
|
467
|
+
GuardrailVersion?: string;
|
|
468
|
+
};
|
|
451
469
|
/**
|
|
452
470
|
* Type definition for `AWS::Bedrock::FlowVersion.InputFlowNodeConfiguration`.
|
|
453
471
|
* Input flow node configuration
|
|
@@ -466,6 +484,10 @@ export type IteratorFlowNodeConfiguration = Record<string, any>;
|
|
|
466
484
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-knowledgebaseflownodeconfiguration.html}
|
|
467
485
|
*/
|
|
468
486
|
export type KnowledgeBaseFlowNodeConfiguration = {
|
|
487
|
+
/**
|
|
488
|
+
* Configuration for a guardrail
|
|
489
|
+
*/
|
|
490
|
+
GuardrailConfiguration?: GuardrailConfiguration;
|
|
469
491
|
/**
|
|
470
492
|
* Identifier of the KnowledgeBase
|
|
471
493
|
* @maxLength `10`
|
|
@@ -473,10 +495,10 @@ export type KnowledgeBaseFlowNodeConfiguration = {
|
|
|
473
495
|
*/
|
|
474
496
|
KnowledgeBaseId: string;
|
|
475
497
|
/**
|
|
476
|
-
* ARN or
|
|
498
|
+
* 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.
|
|
477
499
|
* @minLength `1`
|
|
478
500
|
* @maxLength `2048`
|
|
479
|
-
* @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}
|
|
501
|
+
* @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]{12})|(:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|([0-9]{12}:imported-model/[a-z0-9]{12})|([0-9]{12}:provisioned-model/[a-z0-9]{12})))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|(([0-9a-zA-Z][_-]?)+)|(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-:.]+)|([a-zA-Z0-9-:.]+)$`
|
|
480
502
|
*/
|
|
481
503
|
ModelId?: string;
|
|
482
504
|
};
|
|
@@ -524,6 +546,10 @@ export type OutputFlowNodeConfiguration = Record<string, any>;
|
|
|
524
546
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-promptflownodeconfiguration.html}
|
|
525
547
|
*/
|
|
526
548
|
export type PromptFlowNodeConfiguration = {
|
|
549
|
+
/**
|
|
550
|
+
* Configuration for a guardrail
|
|
551
|
+
*/
|
|
552
|
+
GuardrailConfiguration?: GuardrailConfiguration;
|
|
527
553
|
/**
|
|
528
554
|
* Prompt source configuration for prompt node
|
|
529
555
|
*/
|
|
@@ -537,10 +563,10 @@ export type PromptFlowNodeConfiguration = {
|
|
|
537
563
|
export type PromptFlowNodeInlineConfiguration = {
|
|
538
564
|
InferenceConfiguration?: PromptInferenceConfiguration;
|
|
539
565
|
/**
|
|
540
|
-
* ARN or
|
|
566
|
+
* 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.
|
|
541
567
|
* @minLength `1`
|
|
542
568
|
* @maxLength `2048`
|
|
543
|
-
* @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]{12})|(:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|([0-9]{12}:provisioned-model/[a-z0-9]{12})))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|(([0-9a-zA-Z][_-]?)+)$`
|
|
569
|
+
* @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]{12})|(:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|([0-9]{12}:imported-model/[a-z0-9]{12})|([0-9]{12}:provisioned-model/[a-z0-9]{12})))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|(([0-9a-zA-Z][_-]?)+)|(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-:.]+)|([a-zA-Z0-9-:.]+)$`
|
|
544
570
|
*/
|
|
545
571
|
ModelId: string;
|
|
546
572
|
TemplateConfiguration: PromptTemplateConfiguration;
|
|
@@ -623,12 +649,6 @@ export type PromptModelInferenceConfiguration = {
|
|
|
623
649
|
* @max `1`
|
|
624
650
|
*/
|
|
625
651
|
Temperature?: number;
|
|
626
|
-
/**
|
|
627
|
-
* Sample from the k most likely next tokens
|
|
628
|
-
* @min `0`
|
|
629
|
-
* @max `500`
|
|
630
|
-
*/
|
|
631
|
-
TopK?: number;
|
|
632
652
|
/**
|
|
633
653
|
* Cumulative probability cutoff for token selection
|
|
634
654
|
* @min `0`
|
|
@@ -35,7 +35,7 @@ export type BedrockPromptProperties = {
|
|
|
35
35
|
/**
|
|
36
36
|
* List of prompt variants
|
|
37
37
|
* @minLength `0`
|
|
38
|
-
* @maxLength `
|
|
38
|
+
* @maxLength `1`
|
|
39
39
|
*/
|
|
40
40
|
Variants?: PromptVariant[];
|
|
41
41
|
};
|
|
@@ -118,12 +118,6 @@ export type PromptModelInferenceConfiguration = {
|
|
|
118
118
|
* @max `1`
|
|
119
119
|
*/
|
|
120
120
|
Temperature?: number;
|
|
121
|
-
/**
|
|
122
|
-
* Sample from the k most likely next tokens
|
|
123
|
-
* @min `0`
|
|
124
|
-
* @max `500`
|
|
125
|
-
*/
|
|
126
|
-
TopK?: number;
|
|
127
121
|
/**
|
|
128
122
|
* Cumulative probability cutoff for token selection
|
|
129
123
|
* @min `0`
|
|
@@ -155,10 +149,10 @@ export type PromptTemplateType = "TEXT";
|
|
|
155
149
|
export type PromptVariant = {
|
|
156
150
|
InferenceConfiguration?: PromptInferenceConfiguration;
|
|
157
151
|
/**
|
|
158
|
-
* ARN or
|
|
152
|
+
* 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.
|
|
159
153
|
* @minLength `1`
|
|
160
154
|
* @maxLength `2048`
|
|
161
|
-
* @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]{12})|(:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|([0-9]{12}:provisioned-model/[a-z0-9]{12})))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|(([0-9a-zA-Z][_-]?)+)$`
|
|
155
|
+
* @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]{12})|(:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|([0-9]{12}:imported-model/[a-z0-9]{12})|([0-9]{12}:provisioned-model/[a-z0-9]{12})))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|(([0-9a-zA-Z][_-]?)+)|(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-:.]+)|([a-zA-Z0-9-:.]+)$`
|
|
162
156
|
*/
|
|
163
157
|
ModelId?: string;
|
|
164
158
|
/**
|
|
@@ -166,7 +160,7 @@ export type PromptVariant = {
|
|
|
166
160
|
* @pattern `^([0-9a-zA-Z][_-]?){1,100}$`
|
|
167
161
|
*/
|
|
168
162
|
Name: string;
|
|
169
|
-
TemplateConfiguration
|
|
163
|
+
TemplateConfiguration: PromptTemplateConfiguration;
|
|
170
164
|
/**
|
|
171
165
|
* Prompt template type
|
|
172
166
|
*/
|
|
@@ -68,7 +68,7 @@ export type BedrockPromptVersionAttributes = {
|
|
|
68
68
|
/**
|
|
69
69
|
* List of prompt variants
|
|
70
70
|
* @minLength `1`
|
|
71
|
-
* @maxLength `
|
|
71
|
+
* @maxLength `1`
|
|
72
72
|
*/
|
|
73
73
|
Variants: {
|
|
74
74
|
InferenceConfiguration: {
|
|
@@ -94,12 +94,6 @@ export type BedrockPromptVersionAttributes = {
|
|
|
94
94
|
* @max `1`
|
|
95
95
|
*/
|
|
96
96
|
Temperature: number;
|
|
97
|
-
/**
|
|
98
|
-
* Sample from the k most likely next tokens
|
|
99
|
-
* @min `0`
|
|
100
|
-
* @max `500`
|
|
101
|
-
*/
|
|
102
|
-
TopK: number;
|
|
103
97
|
/**
|
|
104
98
|
* Cumulative probability cutoff for token selection
|
|
105
99
|
* @min `0`
|
|
@@ -109,10 +103,10 @@ export type BedrockPromptVersionAttributes = {
|
|
|
109
103
|
};
|
|
110
104
|
};
|
|
111
105
|
/**
|
|
112
|
-
* ARN or
|
|
106
|
+
* 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.
|
|
113
107
|
* @minLength `1`
|
|
114
108
|
* @maxLength `2048`
|
|
115
|
-
* @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]{12})|(:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|([0-9]{12}:provisioned-model/[a-z0-9]{12})))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|(([0-9a-zA-Z][_-]?)+)$`
|
|
109
|
+
* @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]{12})|(:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|([0-9]{12}:imported-model/[a-z0-9]{12})|([0-9]{12}:provisioned-model/[a-z0-9]{12})))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|(([0-9a-zA-Z][_-]?)+)|(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-:.]+)|([a-zA-Z0-9-:.]+)$`
|
|
116
110
|
*/
|
|
117
111
|
ModelId: string;
|
|
118
112
|
/**
|
|
@@ -127,7 +121,7 @@ export type BedrockPromptVersionAttributes = {
|
|
|
127
121
|
Text: {
|
|
128
122
|
/**
|
|
129
123
|
* List of input variables
|
|
130
|
-
* @minLength `
|
|
124
|
+
* @minLength `0`
|
|
131
125
|
* @maxLength `5`
|
|
132
126
|
*/
|
|
133
127
|
InputVariables: {
|
|
@@ -204,12 +198,6 @@ export type PromptModelInferenceConfiguration = {
|
|
|
204
198
|
* @max `1`
|
|
205
199
|
*/
|
|
206
200
|
Temperature?: number;
|
|
207
|
-
/**
|
|
208
|
-
* Sample from the k most likely next tokens
|
|
209
|
-
* @min `0`
|
|
210
|
-
* @max `500`
|
|
211
|
-
*/
|
|
212
|
-
TopK?: number;
|
|
213
201
|
/**
|
|
214
202
|
* Cumulative probability cutoff for token selection
|
|
215
203
|
* @min `0`
|
|
@@ -241,10 +229,10 @@ export type PromptTemplateType = "TEXT";
|
|
|
241
229
|
export type PromptVariant = {
|
|
242
230
|
InferenceConfiguration?: PromptInferenceConfiguration;
|
|
243
231
|
/**
|
|
244
|
-
* ARN or
|
|
232
|
+
* 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.
|
|
245
233
|
* @minLength `1`
|
|
246
234
|
* @maxLength `2048`
|
|
247
|
-
* @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]{12})|(:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|([0-9]{12}:provisioned-model/[a-z0-9]{12})))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|(([0-9a-zA-Z][_-]?)+)$`
|
|
235
|
+
* @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]{12})|(:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|([0-9]{12}:imported-model/[a-z0-9]{12})|([0-9]{12}:provisioned-model/[a-z0-9]{12})))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|(([0-9a-zA-Z][_-]?)+)|(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-:.]+)|([a-zA-Z0-9-:.]+)$`
|
|
248
236
|
*/
|
|
249
237
|
ModelId?: string;
|
|
250
238
|
/**
|
|
@@ -252,7 +240,7 @@ export type PromptVariant = {
|
|
|
252
240
|
* @pattern `^([0-9a-zA-Z][_-]?){1,100}$`
|
|
253
241
|
*/
|
|
254
242
|
Name: string;
|
|
255
|
-
TemplateConfiguration
|
|
243
|
+
TemplateConfiguration: PromptTemplateConfiguration;
|
|
256
244
|
/**
|
|
257
245
|
* Prompt template type
|
|
258
246
|
*/
|
|
@@ -272,7 +260,7 @@ export type TagsMap = Record<string, string>;
|
|
|
272
260
|
export type TextPromptTemplateConfiguration = {
|
|
273
261
|
/**
|
|
274
262
|
* List of input variables
|
|
275
|
-
* @minLength `
|
|
263
|
+
* @minLength `0`
|
|
276
264
|
* @maxLength `5`
|
|
277
265
|
*/
|
|
278
266
|
InputVariables?: PromptInputVariable[];
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
|
+
import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-builder/template";
|
|
3
|
+
/**
|
|
4
|
+
* Resource schema for AWS::DMS::DataMigration.
|
|
5
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-datamigration.html}
|
|
6
|
+
*/
|
|
7
|
+
export type DMSDataMigrationProperties = {
|
|
8
|
+
/**
|
|
9
|
+
* The property describes an ARN of the data migration.
|
|
10
|
+
* @minLength `1`
|
|
11
|
+
* @maxLength `300`
|
|
12
|
+
*/
|
|
13
|
+
DataMigrationIdentifier?: string;
|
|
14
|
+
/**
|
|
15
|
+
* The property describes a name to identify the data migration.
|
|
16
|
+
* @minLength `1`
|
|
17
|
+
* @maxLength `300`
|
|
18
|
+
*/
|
|
19
|
+
DataMigrationName?: string;
|
|
20
|
+
/**
|
|
21
|
+
* The property describes the settings for the data migration.
|
|
22
|
+
*/
|
|
23
|
+
DataMigrationSettings?: DataMigrationSettings;
|
|
24
|
+
/**
|
|
25
|
+
* The property describes the type of migration.
|
|
26
|
+
*/
|
|
27
|
+
DataMigrationType: "full-load" | "cdc" | "full-load-and-cdc";
|
|
28
|
+
/**
|
|
29
|
+
* The property describes an identifier for the migration project. It is used for describing/deleting/modifying can be name/arn
|
|
30
|
+
* @minLength `1`
|
|
31
|
+
* @maxLength `255`
|
|
32
|
+
*/
|
|
33
|
+
MigrationProjectIdentifier: string;
|
|
34
|
+
/**
|
|
35
|
+
* The property describes Amazon Resource Name (ARN) of the service access role.
|
|
36
|
+
* @minLength `1`
|
|
37
|
+
* @maxLength `300`
|
|
38
|
+
*/
|
|
39
|
+
ServiceAccessRoleArn: string;
|
|
40
|
+
/**
|
|
41
|
+
* The property describes the settings for the data migration.
|
|
42
|
+
*/
|
|
43
|
+
SourceDataSettings?: SourceDataSettings[];
|
|
44
|
+
/**
|
|
45
|
+
* An array of key-value pairs to apply to this resource.
|
|
46
|
+
*/
|
|
47
|
+
Tags?: Tag[];
|
|
48
|
+
};
|
|
49
|
+
/**
|
|
50
|
+
* Attribute type definition for `AWS::DMS::DataMigration`.
|
|
51
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-datamigration.html#aws-resource-dms-datamigration-return-values}
|
|
52
|
+
*/
|
|
53
|
+
export type DMSDataMigrationAttributes = {
|
|
54
|
+
/**
|
|
55
|
+
* The property describes an ARN of the data migration.
|
|
56
|
+
* @minLength `1`
|
|
57
|
+
* @maxLength `300`
|
|
58
|
+
*/
|
|
59
|
+
DataMigrationArn: string;
|
|
60
|
+
/**
|
|
61
|
+
* The property describes the create time of the data migration.
|
|
62
|
+
* @minLength `1`
|
|
63
|
+
* @maxLength `40`
|
|
64
|
+
*/
|
|
65
|
+
DataMigrationCreateTime: string;
|
|
66
|
+
};
|
|
67
|
+
/**
|
|
68
|
+
* Type definition for `AWS::DMS::DataMigration.DataMigrationSettings`.
|
|
69
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-datamigration-datamigrationsettings.html}
|
|
70
|
+
*/
|
|
71
|
+
export type DataMigrationSettings = {
|
|
72
|
+
/**
|
|
73
|
+
* The property specifies whether to enable the Cloudwatch log.
|
|
74
|
+
*/
|
|
75
|
+
CloudwatchLogsEnabled?: boolean;
|
|
76
|
+
/**
|
|
77
|
+
* The number of parallel jobs that trigger parallel threads to unload the tables from the source, and then load them to the target.
|
|
78
|
+
* @min `1`
|
|
79
|
+
* @max `50`
|
|
80
|
+
*/
|
|
81
|
+
NumberOfJobs?: number;
|
|
82
|
+
/**
|
|
83
|
+
* The property specifies the rules of selecting objects for data migration.
|
|
84
|
+
*/
|
|
85
|
+
SelectionRules?: string;
|
|
86
|
+
};
|
|
87
|
+
/**
|
|
88
|
+
* Type definition for `AWS::DMS::DataMigration.SourceDataSettings`.
|
|
89
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-datamigration-sourcedatasettings.html}
|
|
90
|
+
*/
|
|
91
|
+
export type SourceDataSettings = {
|
|
92
|
+
/**
|
|
93
|
+
* The property is a point in the database engine's log that defines a time where you can begin CDC.
|
|
94
|
+
* @maxLength `40`
|
|
95
|
+
*/
|
|
96
|
+
CDCStartPosition?: string;
|
|
97
|
+
/**
|
|
98
|
+
* The property indicates the start time for a change data capture (CDC) operation. The value is server time in UTC format.
|
|
99
|
+
* @maxLength `40`
|
|
100
|
+
*/
|
|
101
|
+
CDCStartTime?: string;
|
|
102
|
+
/**
|
|
103
|
+
* The property indicates the stop time for a change data capture (CDC) operation. The value is server time in UTC format.
|
|
104
|
+
* @maxLength `40`
|
|
105
|
+
*/
|
|
106
|
+
CDCStopTime?: string;
|
|
107
|
+
/**
|
|
108
|
+
* The property sets the name of a previously created logical replication slot for a change data capture (CDC) load of the source instance.
|
|
109
|
+
* @maxLength `255`
|
|
110
|
+
*/
|
|
111
|
+
SlotName?: string;
|
|
112
|
+
};
|
|
113
|
+
/**
|
|
114
|
+
* Type definition for `AWS::DMS::DataMigration.Tag`.
|
|
115
|
+
* A key-value pair to associate with a resource.
|
|
116
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-datamigration-tag.html}
|
|
117
|
+
*/
|
|
118
|
+
export type Tag = {
|
|
119
|
+
/**
|
|
120
|
+
* The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
|
|
121
|
+
* @minLength `1`
|
|
122
|
+
* @maxLength `128`
|
|
123
|
+
*/
|
|
124
|
+
Key: string;
|
|
125
|
+
/**
|
|
126
|
+
* The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
|
|
127
|
+
* @minLength `0`
|
|
128
|
+
* @maxLength `256`
|
|
129
|
+
*/
|
|
130
|
+
Value: string;
|
|
131
|
+
};
|
|
132
|
+
/**
|
|
133
|
+
* Resource schema for AWS::DMS::DataMigration.
|
|
134
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-datamigration.html}
|
|
135
|
+
*/
|
|
136
|
+
export declare class DMSDataMigration extends $Resource<"AWS::DMS::DataMigration", DMSDataMigrationProperties, DMSDataMigrationAttributes> {
|
|
137
|
+
static readonly Type = "AWS::DMS::DataMigration";
|
|
138
|
+
constructor(logicalId: string, properties: DMSDataMigrationProperties, options?: $ResourceOptions);
|
|
139
|
+
}
|
|
140
|
+
//# sourceMappingURL=AWS-DMS-DataMigration.d.ts.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
|
+
/**
|
|
3
|
+
* Resource schema for AWS::DMS::DataMigration.
|
|
4
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-datamigration.html}
|
|
5
|
+
*/
|
|
6
|
+
export class DMSDataMigration extends $Resource {
|
|
7
|
+
static Type = "AWS::DMS::DataMigration";
|
|
8
|
+
constructor(logicalId, properties, options) {
|
|
9
|
+
super(logicalId, DMSDataMigration.Type, properties, options);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=AWS-DMS-DataMigration.js.map
|
|
@@ -22,6 +22,10 @@ export type LambdaVersionProperties = {
|
|
|
22
22
|
* @pattern `^(arn:(aws[a-zA-Z-]*)?:lambda:)?([a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\d{1}:)?(\d{12}:)?(function:)?([a-zA-Z0-9-_]+)(:(\$LATEST|[a-zA-Z0-9-_]+))?$`
|
|
23
23
|
*/
|
|
24
24
|
FunctionName: string;
|
|
25
|
+
/**
|
|
26
|
+
* The resource policy of your function
|
|
27
|
+
*/
|
|
28
|
+
Policy?: Record<string, any>;
|
|
25
29
|
/**
|
|
26
30
|
* Specifies a provisioned concurrency configuration for a function's version. Updates are not supported for this property.
|
|
27
31
|
*/
|
|
@@ -47,6 +47,10 @@ export type SageMakerDomainProperties = {
|
|
|
47
47
|
* @maxLength `16`
|
|
48
48
|
*/
|
|
49
49
|
SubnetIds: string[];
|
|
50
|
+
/**
|
|
51
|
+
* Indicates whether the tags added to Domain, User Profile and Space entity is propagated to all SageMaker resources.
|
|
52
|
+
*/
|
|
53
|
+
TagPropagation?: "ENABLED" | "DISABLED";
|
|
50
54
|
/**
|
|
51
55
|
* A list of tags to apply to the user profile.
|
|
52
56
|
* @minLength `0`
|
|
@@ -301,6 +305,10 @@ export type DomainSettings = {
|
|
|
301
305
|
* A collection of settings that are required to start docker-proxy server.
|
|
302
306
|
*/
|
|
303
307
|
DockerSettings?: DockerSettings;
|
|
308
|
+
/**
|
|
309
|
+
* The configuration for attaching a SageMaker user profile name to the execution role as a sts:SourceIdentity key.
|
|
310
|
+
*/
|
|
311
|
+
ExecutionRoleIdentityConfig?: "USER_PROFILE_NAME" | "DISABLED";
|
|
304
312
|
/**
|
|
305
313
|
* A collection of settings that update the current configuration for the RStudioServerPro Domain-level app.
|
|
306
314
|
*/
|