@awboost/cfn-resource-types 0.1.174 → 0.1.175

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.
@@ -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 name of a Bedrock model.
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}(([:][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})))|(([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][_-]?)+)$`
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 name of a Bedrock model.
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 name of a Bedrock model.
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}(([:][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})))|(([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][_-]?)+)$`
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 name of a Bedrock model.
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 `3`
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 name of a Bedrock model.
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?: PromptTemplateConfiguration;
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 `3`
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 name of a Bedrock model.
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 `1`
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 name of a Bedrock model.
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?: PromptTemplateConfiguration;
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 `1`
263
+ * @minLength `0`
276
264
  * @maxLength `5`
277
265
  */
278
266
  InputVariables?: PromptInputVariable[];
@@ -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
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awboost/cfn-resource-types",
3
- "version": "0.1.174",
3
+ "version": "0.1.175",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },