@awboost/cfn-resource-types 0.1.348 → 0.1.350
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 +210 -1
- package/lib/AWS-Bedrock-FlowVersion.d.ts +201 -87
- package/lib/AWS-Deadline-Fleet.d.ts +4 -0
- package/lib/AWS-EC2-EC2Fleet.d.ts +24 -0
- package/lib/AWS-EVS-Environment.d.ts +238 -0
- package/lib/AWS-EVS-Environment.js +13 -0
- package/lib/AWS-Lex-Bot.d.ts +2 -2
- package/lib/AWS-NetworkFirewall-VpcEndpointAssociation.d.ts +92 -0
- package/lib/AWS-NetworkFirewall-VpcEndpointAssociation.js +12 -0
- package/lib/AWS-WAFv2-WebACL.d.ts +1 -0
- package/package.json +1 -1
|
@@ -101,6 +101,11 @@ export type BedrockFlowAttributes = {
|
|
|
101
101
|
*/
|
|
102
102
|
Version: string;
|
|
103
103
|
};
|
|
104
|
+
/**
|
|
105
|
+
* Type definition for `AWS::Bedrock::Flow.AdditionalModelRequestFields`.
|
|
106
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-additionalmodelrequestfields.html}
|
|
107
|
+
*/
|
|
108
|
+
export type AdditionalModelRequestFields = Record<string, any>;
|
|
104
109
|
/**
|
|
105
110
|
* Type definition for `AWS::Bedrock::Flow.AgentFlowNodeConfiguration`.
|
|
106
111
|
* Agent flow node configuration
|
|
@@ -139,6 +144,19 @@ export type ConditionFlowNodeConfiguration = {
|
|
|
139
144
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-definitionsubstitutions.html}
|
|
140
145
|
*/
|
|
141
146
|
export type DefinitionSubstitutions = Record<string, string | number | boolean>;
|
|
147
|
+
/**
|
|
148
|
+
* Type definition for `AWS::Bedrock::Flow.FieldForReranking`.
|
|
149
|
+
* Field name for reranking
|
|
150
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-fieldforreranking.html}
|
|
151
|
+
*/
|
|
152
|
+
export type FieldForReranking = {
|
|
153
|
+
/**
|
|
154
|
+
* Field name for reranking
|
|
155
|
+
* @minLength `1`
|
|
156
|
+
* @maxLength `2000`
|
|
157
|
+
*/
|
|
158
|
+
FieldName: string;
|
|
159
|
+
};
|
|
142
160
|
/**
|
|
143
161
|
* Type definition for `AWS::Bedrock::Flow.FlowCondition`.
|
|
144
162
|
* Condition branch for a condition node
|
|
@@ -355,6 +373,21 @@ export type FlowNodeConfiguration = {
|
|
|
355
373
|
* Inline code config strucuture, contains code configs
|
|
356
374
|
*/
|
|
357
375
|
InlineCode: InlineCodeFlowNodeConfiguration;
|
|
376
|
+
} | {
|
|
377
|
+
/**
|
|
378
|
+
* Loop node config, contains loop's internal definition
|
|
379
|
+
*/
|
|
380
|
+
Loop: LoopFlowNodeConfiguration;
|
|
381
|
+
} | {
|
|
382
|
+
/**
|
|
383
|
+
* Configuration for the LoopInput node
|
|
384
|
+
*/
|
|
385
|
+
LoopInput: LoopInputFlowNodeConfiguration;
|
|
386
|
+
} | {
|
|
387
|
+
/**
|
|
388
|
+
* Configuration for the LoopController node, which manages loop execution
|
|
389
|
+
*/
|
|
390
|
+
LoopController: LoopControllerFlowNodeConfiguration;
|
|
358
391
|
};
|
|
359
392
|
/**
|
|
360
393
|
* Type definition for `AWS::Bedrock::Flow.FlowNodeInput`.
|
|
@@ -362,6 +395,10 @@ export type FlowNodeConfiguration = {
|
|
|
362
395
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-flownodeinput.html}
|
|
363
396
|
*/
|
|
364
397
|
export type FlowNodeInput = {
|
|
398
|
+
/**
|
|
399
|
+
* Optional tag to classify input type, currently exclusive to LoopNode
|
|
400
|
+
*/
|
|
401
|
+
Category?: FlowNodeInputCategory;
|
|
365
402
|
/**
|
|
366
403
|
* Expression for a node input in a flow
|
|
367
404
|
* @minLength `1`
|
|
@@ -378,6 +415,12 @@ export type FlowNodeInput = {
|
|
|
378
415
|
*/
|
|
379
416
|
Type: FlowNodeIODataType;
|
|
380
417
|
};
|
|
418
|
+
/**
|
|
419
|
+
* Type definition for `AWS::Bedrock::Flow.FlowNodeInputCategory`.
|
|
420
|
+
* Optional tag to classify input type, currently exclusive to LoopNode
|
|
421
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-flownodeinputcategory.html}
|
|
422
|
+
*/
|
|
423
|
+
export type FlowNodeInputCategory = "LoopCondition" | "ReturnValueToLoopStart" | "ExitLoop";
|
|
381
424
|
/**
|
|
382
425
|
* Type definition for `AWS::Bedrock::Flow.FlowNodeIODataType`.
|
|
383
426
|
* Type of input/output for a node in a flow
|
|
@@ -405,7 +448,7 @@ export type FlowNodeOutput = {
|
|
|
405
448
|
* Flow node types
|
|
406
449
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-flownodetype.html}
|
|
407
450
|
*/
|
|
408
|
-
export type FlowNodeType = "Input" | "Output" | "KnowledgeBase" | "Condition" | "Lex" | "Prompt" | "LambdaFunction" | "Agent" | "Storage" | "Retrieval" | "Iterator" | "Collector" | "InlineCode";
|
|
451
|
+
export type FlowNodeType = "Input" | "Output" | "KnowledgeBase" | "Condition" | "Lex" | "Prompt" | "LambdaFunction" | "Agent" | "Storage" | "Retrieval" | "Iterator" | "Collector" | "InlineCode" | "Loop" | "LoopInput" | "LoopController";
|
|
409
452
|
/**
|
|
410
453
|
* Type definition for `AWS::Bedrock::Flow.FlowStatus`.
|
|
411
454
|
* Schema Type for Flow APIs
|
|
@@ -479,6 +522,7 @@ export type KnowledgeBaseFlowNodeConfiguration = {
|
|
|
479
522
|
* Configuration for a guardrail
|
|
480
523
|
*/
|
|
481
524
|
GuardrailConfiguration?: GuardrailConfiguration;
|
|
525
|
+
InferenceConfiguration?: PromptInferenceConfiguration;
|
|
482
526
|
/**
|
|
483
527
|
* Identifier of the KnowledgeBase
|
|
484
528
|
* @maxLength `10`
|
|
@@ -492,6 +536,36 @@ export type KnowledgeBaseFlowNodeConfiguration = {
|
|
|
492
536
|
* @pattern `^(arn:aws(-[^:]{1,12})?:(bedrock|sagemaker):[a-z0-9-]{1,20}:([0-9]{12})?:([a-z-]+/)?)?([a-zA-Z0-9.-]{1,63}){0,2}(([:][a-z0-9-]{1,63}){0,2})?(/[a-z0-9]{1,12})?$`
|
|
493
537
|
*/
|
|
494
538
|
ModelId?: string;
|
|
539
|
+
/**
|
|
540
|
+
* Number Of Results to Retrieve
|
|
541
|
+
* @min `1`
|
|
542
|
+
* @max `100`
|
|
543
|
+
*/
|
|
544
|
+
NumberOfResults?: number;
|
|
545
|
+
OrchestrationConfiguration?: KnowledgeBaseOrchestrationConfiguration;
|
|
546
|
+
PromptTemplate?: KnowledgeBasePromptTemplate;
|
|
547
|
+
RerankingConfiguration?: VectorSearchRerankingConfiguration;
|
|
548
|
+
};
|
|
549
|
+
/**
|
|
550
|
+
* Type definition for `AWS::Bedrock::Flow.KnowledgeBaseOrchestrationConfiguration`.
|
|
551
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-knowledgebaseorchestrationconfiguration.html}
|
|
552
|
+
*/
|
|
553
|
+
export type KnowledgeBaseOrchestrationConfiguration = {
|
|
554
|
+
AdditionalModelRequestFields?: AdditionalModelRequestFields;
|
|
555
|
+
InferenceConfig?: PromptInferenceConfiguration;
|
|
556
|
+
PerformanceConfig?: PerformanceConfiguration;
|
|
557
|
+
PromptTemplate?: KnowledgeBasePromptTemplate;
|
|
558
|
+
};
|
|
559
|
+
/**
|
|
560
|
+
* Type definition for `AWS::Bedrock::Flow.KnowledgeBasePromptTemplate`.
|
|
561
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-knowledgebaseprompttemplate.html}
|
|
562
|
+
*/
|
|
563
|
+
export type KnowledgeBasePromptTemplate = {
|
|
564
|
+
/**
|
|
565
|
+
* @minLength `1`
|
|
566
|
+
* @maxLength `100000`
|
|
567
|
+
*/
|
|
568
|
+
TextPromptTemplate: string;
|
|
495
569
|
};
|
|
496
570
|
/**
|
|
497
571
|
* Type definition for `AWS::Bedrock::Flow.LambdaFunctionFlowNodeConfiguration`.
|
|
@@ -525,12 +599,76 @@ export type LexFlowNodeConfiguration = {
|
|
|
525
599
|
*/
|
|
526
600
|
LocaleId: string;
|
|
527
601
|
};
|
|
602
|
+
/**
|
|
603
|
+
* Type definition for `AWS::Bedrock::Flow.LoopControllerFlowNodeConfiguration`.
|
|
604
|
+
* Configuration for the LoopController node, which manages loop execution
|
|
605
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-loopcontrollerflownodeconfiguration.html}
|
|
606
|
+
*/
|
|
607
|
+
export type LoopControllerFlowNodeConfiguration = {
|
|
608
|
+
/**
|
|
609
|
+
* Condition branch for a condition node
|
|
610
|
+
*/
|
|
611
|
+
ContinueCondition: FlowCondition;
|
|
612
|
+
/**
|
|
613
|
+
* Maximum number of iterations the loop can perform
|
|
614
|
+
* @min `1`
|
|
615
|
+
* @max `1000`
|
|
616
|
+
*/
|
|
617
|
+
MaxIterations?: number;
|
|
618
|
+
};
|
|
619
|
+
/**
|
|
620
|
+
* Type definition for `AWS::Bedrock::Flow.LoopFlowNodeConfiguration`.
|
|
621
|
+
* Loop node config, contains loop's internal definition
|
|
622
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-loopflownodeconfiguration.html}
|
|
623
|
+
*/
|
|
624
|
+
export type LoopFlowNodeConfiguration = {
|
|
625
|
+
/**
|
|
626
|
+
* Flow definition
|
|
627
|
+
*/
|
|
628
|
+
Definition: FlowDefinition;
|
|
629
|
+
};
|
|
630
|
+
/**
|
|
631
|
+
* Type definition for `AWS::Bedrock::Flow.LoopInputFlowNodeConfiguration`.
|
|
632
|
+
* Configuration for the LoopInput node
|
|
633
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-loopinputflownodeconfiguration.html}
|
|
634
|
+
*/
|
|
635
|
+
export type LoopInputFlowNodeConfiguration = Record<string, any>;
|
|
636
|
+
/**
|
|
637
|
+
* Type definition for `AWS::Bedrock::Flow.MetadataConfigurationForReranking`.
|
|
638
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-metadataconfigurationforreranking.html}
|
|
639
|
+
*/
|
|
640
|
+
export type MetadataConfigurationForReranking = {
|
|
641
|
+
/**
|
|
642
|
+
* Reranking Metadata Selection Mode
|
|
643
|
+
*/
|
|
644
|
+
SelectionMode: RerankingMetadataSelectionMode;
|
|
645
|
+
/**
|
|
646
|
+
* Reranking Metadata Selective Mode Configuration
|
|
647
|
+
*/
|
|
648
|
+
SelectiveModeConfiguration?: RerankingMetadataSelectiveModeConfiguration;
|
|
649
|
+
};
|
|
528
650
|
/**
|
|
529
651
|
* Type definition for `AWS::Bedrock::Flow.OutputFlowNodeConfiguration`.
|
|
530
652
|
* Output flow node configuration
|
|
531
653
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-outputflownodeconfiguration.html}
|
|
532
654
|
*/
|
|
533
655
|
export type OutputFlowNodeConfiguration = Record<string, any>;
|
|
656
|
+
/**
|
|
657
|
+
* Type definition for `AWS::Bedrock::Flow.PerformanceConfiguration`.
|
|
658
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-performanceconfiguration.html}
|
|
659
|
+
*/
|
|
660
|
+
export type PerformanceConfiguration = {
|
|
661
|
+
/**
|
|
662
|
+
* Performance Configuration Latency
|
|
663
|
+
*/
|
|
664
|
+
Latency?: PerformanceConfigurationLatency;
|
|
665
|
+
};
|
|
666
|
+
/**
|
|
667
|
+
* Type definition for `AWS::Bedrock::Flow.PerformanceConfigurationLatency`.
|
|
668
|
+
* Performance Configuration Latency
|
|
669
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-performanceconfigurationlatency.html}
|
|
670
|
+
*/
|
|
671
|
+
export type PerformanceConfigurationLatency = "standard" | "optimized";
|
|
534
672
|
/**
|
|
535
673
|
* Type definition for `AWS::Bedrock::Flow.PromptFlowNodeConfiguration`.
|
|
536
674
|
* Prompt flow node configuration
|
|
@@ -663,6 +801,32 @@ export type PromptTemplateConfiguration = {
|
|
|
663
801
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-prompttemplatetype.html}
|
|
664
802
|
*/
|
|
665
803
|
export type PromptTemplateType = "TEXT";
|
|
804
|
+
/**
|
|
805
|
+
* Type definition for `AWS::Bedrock::Flow.RerankingMetadataSelectionMode`.
|
|
806
|
+
* Reranking Metadata Selection Mode
|
|
807
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-rerankingmetadataselectionmode.html}
|
|
808
|
+
*/
|
|
809
|
+
export type RerankingMetadataSelectionMode = "SELECTIVE" | "ALL";
|
|
810
|
+
/**
|
|
811
|
+
* Type definition for `AWS::Bedrock::Flow.RerankingMetadataSelectiveModeConfiguration`.
|
|
812
|
+
* Reranking Metadata Selective Mode Configuration
|
|
813
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-rerankingmetadataselectivemodeconfiguration.html}
|
|
814
|
+
*/
|
|
815
|
+
export type RerankingMetadataSelectiveModeConfiguration = {
|
|
816
|
+
/**
|
|
817
|
+
* List of Fields For Reranking
|
|
818
|
+
* @minLength `1`
|
|
819
|
+
* @maxLength `100`
|
|
820
|
+
*/
|
|
821
|
+
FieldsToInclude: FieldForReranking[];
|
|
822
|
+
} | {
|
|
823
|
+
/**
|
|
824
|
+
* List of Fields For Reranking
|
|
825
|
+
* @minLength `1`
|
|
826
|
+
* @maxLength `100`
|
|
827
|
+
*/
|
|
828
|
+
FieldsToExclude: FieldForReranking[];
|
|
829
|
+
};
|
|
666
830
|
/**
|
|
667
831
|
* Type definition for `AWS::Bedrock::Flow.RetrievalFlowNodeConfiguration`.
|
|
668
832
|
* Retrieval flow node configuration
|
|
@@ -780,6 +944,51 @@ export type TextPromptTemplateConfiguration = {
|
|
|
780
944
|
*/
|
|
781
945
|
Text: string;
|
|
782
946
|
};
|
|
947
|
+
/**
|
|
948
|
+
* Type definition for `AWS::Bedrock::Flow.VectorSearchBedrockRerankingConfiguration`.
|
|
949
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-vectorsearchbedrockrerankingconfiguration.html}
|
|
950
|
+
*/
|
|
951
|
+
export type VectorSearchBedrockRerankingConfiguration = {
|
|
952
|
+
MetadataConfiguration?: MetadataConfigurationForReranking;
|
|
953
|
+
ModelConfiguration: VectorSearchBedrockRerankingModelConfiguration;
|
|
954
|
+
/**
|
|
955
|
+
* Number Of Results For Reranking
|
|
956
|
+
* @min `1`
|
|
957
|
+
* @max `100`
|
|
958
|
+
*/
|
|
959
|
+
NumberOfRerankedResults?: number;
|
|
960
|
+
};
|
|
961
|
+
/**
|
|
962
|
+
* Type definition for `AWS::Bedrock::Flow.VectorSearchBedrockRerankingModelConfiguration`.
|
|
963
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-vectorsearchbedrockrerankingmodelconfiguration.html}
|
|
964
|
+
*/
|
|
965
|
+
export type VectorSearchBedrockRerankingModelConfiguration = {
|
|
966
|
+
AdditionalModelRequestFields?: AdditionalModelRequestFields;
|
|
967
|
+
/**
|
|
968
|
+
* Arn of a Bedrock Reranking model
|
|
969
|
+
* @minLength `1`
|
|
970
|
+
* @maxLength `2048`
|
|
971
|
+
* @pattern `^(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}::foundation-model/(.*))?$`
|
|
972
|
+
*/
|
|
973
|
+
ModelArn: string;
|
|
974
|
+
};
|
|
975
|
+
/**
|
|
976
|
+
* Type definition for `AWS::Bedrock::Flow.VectorSearchRerankingConfiguration`.
|
|
977
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-vectorsearchrerankingconfiguration.html}
|
|
978
|
+
*/
|
|
979
|
+
export type VectorSearchRerankingConfiguration = {
|
|
980
|
+
BedrockRerankingConfiguration?: VectorSearchBedrockRerankingConfiguration;
|
|
981
|
+
/**
|
|
982
|
+
* Enum of Rerank Configuration Types
|
|
983
|
+
*/
|
|
984
|
+
Type: VectorSearchRerankingConfigurationType;
|
|
985
|
+
};
|
|
986
|
+
/**
|
|
987
|
+
* Type definition for `AWS::Bedrock::Flow.VectorSearchRerankingConfigurationType`.
|
|
988
|
+
* Enum of Rerank Configuration Types
|
|
989
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-vectorsearchrerankingconfigurationtype.html}
|
|
990
|
+
*/
|
|
991
|
+
export type VectorSearchRerankingConfigurationType = "BEDROCK_RERANKING_MODEL";
|
|
783
992
|
/**
|
|
784
993
|
* Definition of AWS::Bedrock::Flow Resource Type
|
|
785
994
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-flow.html}
|
|
@@ -36,92 +36,7 @@ export type BedrockFlowVersionAttributes = {
|
|
|
36
36
|
/**
|
|
37
37
|
* Flow definition
|
|
38
38
|
*/
|
|
39
|
-
Definition:
|
|
40
|
-
/**
|
|
41
|
-
* List of connections
|
|
42
|
-
* @maxLength `100`
|
|
43
|
-
*/
|
|
44
|
-
Connections: {
|
|
45
|
-
/**
|
|
46
|
-
* Connection configuration
|
|
47
|
-
*/
|
|
48
|
-
Configuration: FlowConnectionConfiguration;
|
|
49
|
-
/**
|
|
50
|
-
* Name of a connection in a flow
|
|
51
|
-
* @pattern `^[a-zA-Z]([_]?[0-9a-zA-Z]){1,100}$`
|
|
52
|
-
*/
|
|
53
|
-
Name: string;
|
|
54
|
-
/**
|
|
55
|
-
* Name of a node in a flow
|
|
56
|
-
* @pattern `^[a-zA-Z]([_]?[0-9a-zA-Z]){1,50}$`
|
|
57
|
-
*/
|
|
58
|
-
Source: string;
|
|
59
|
-
/**
|
|
60
|
-
* Name of a node in a flow
|
|
61
|
-
* @pattern `^[a-zA-Z]([_]?[0-9a-zA-Z]){1,50}$`
|
|
62
|
-
*/
|
|
63
|
-
Target: string;
|
|
64
|
-
/**
|
|
65
|
-
* Connection type
|
|
66
|
-
*/
|
|
67
|
-
Type: FlowConnectionType;
|
|
68
|
-
}[];
|
|
69
|
-
/**
|
|
70
|
-
* List of nodes in a flow
|
|
71
|
-
* @maxLength `40`
|
|
72
|
-
*/
|
|
73
|
-
Nodes: {
|
|
74
|
-
/**
|
|
75
|
-
* Node configuration in a flow
|
|
76
|
-
*/
|
|
77
|
-
Configuration: FlowNodeConfiguration;
|
|
78
|
-
/**
|
|
79
|
-
* List of node inputs in a flow
|
|
80
|
-
* @maxLength `5`
|
|
81
|
-
*/
|
|
82
|
-
Inputs: {
|
|
83
|
-
/**
|
|
84
|
-
* Expression for a node input in a flow
|
|
85
|
-
* @minLength `1`
|
|
86
|
-
* @maxLength `64`
|
|
87
|
-
*/
|
|
88
|
-
Expression: string;
|
|
89
|
-
/**
|
|
90
|
-
* Name of a node input in a flow
|
|
91
|
-
* @pattern `^[a-zA-Z]([_]?[0-9a-zA-Z]){1,50}$`
|
|
92
|
-
*/
|
|
93
|
-
Name: string;
|
|
94
|
-
/**
|
|
95
|
-
* Type of input/output for a node in a flow
|
|
96
|
-
*/
|
|
97
|
-
Type: FlowNodeIODataType;
|
|
98
|
-
}[];
|
|
99
|
-
/**
|
|
100
|
-
* Name of a node in a flow
|
|
101
|
-
* @pattern `^[a-zA-Z]([_]?[0-9a-zA-Z]){1,50}$`
|
|
102
|
-
*/
|
|
103
|
-
Name: string;
|
|
104
|
-
/**
|
|
105
|
-
* List of node outputs in a flow
|
|
106
|
-
* @maxLength `5`
|
|
107
|
-
*/
|
|
108
|
-
Outputs: {
|
|
109
|
-
/**
|
|
110
|
-
* Name of a node output in a flow
|
|
111
|
-
* @pattern `^[a-zA-Z]([_]?[0-9a-zA-Z]){1,50}$`
|
|
112
|
-
*/
|
|
113
|
-
Name: string;
|
|
114
|
-
/**
|
|
115
|
-
* Type of input/output for a node in a flow
|
|
116
|
-
*/
|
|
117
|
-
Type: FlowNodeIODataType;
|
|
118
|
-
}[];
|
|
119
|
-
/**
|
|
120
|
-
* Flow node types
|
|
121
|
-
*/
|
|
122
|
-
Type: FlowNodeType;
|
|
123
|
-
}[];
|
|
124
|
-
};
|
|
39
|
+
Definition: FlowDefinition;
|
|
125
40
|
/**
|
|
126
41
|
* ARN of a IAM role
|
|
127
42
|
* @maxLength `2048`
|
|
@@ -148,6 +63,11 @@ export type BedrockFlowVersionAttributes = {
|
|
|
148
63
|
*/
|
|
149
64
|
Version: string;
|
|
150
65
|
};
|
|
66
|
+
/**
|
|
67
|
+
* Type definition for `AWS::Bedrock::FlowVersion.AdditionalModelRequestFields`.
|
|
68
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-additionalmodelrequestfields.html}
|
|
69
|
+
*/
|
|
70
|
+
export type AdditionalModelRequestFields = Record<string, any>;
|
|
151
71
|
/**
|
|
152
72
|
* Type definition for `AWS::Bedrock::FlowVersion.AgentFlowNodeConfiguration`.
|
|
153
73
|
* Agent flow node configuration
|
|
@@ -180,6 +100,19 @@ export type ConditionFlowNodeConfiguration = {
|
|
|
180
100
|
*/
|
|
181
101
|
Conditions: FlowCondition[];
|
|
182
102
|
};
|
|
103
|
+
/**
|
|
104
|
+
* Type definition for `AWS::Bedrock::FlowVersion.FieldForReranking`.
|
|
105
|
+
* Field name for reranking
|
|
106
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-fieldforreranking.html}
|
|
107
|
+
*/
|
|
108
|
+
export type FieldForReranking = {
|
|
109
|
+
/**
|
|
110
|
+
* Field name for reranking
|
|
111
|
+
* @minLength `1`
|
|
112
|
+
* @maxLength `2000`
|
|
113
|
+
*/
|
|
114
|
+
FieldName: string;
|
|
115
|
+
};
|
|
183
116
|
/**
|
|
184
117
|
* Type definition for `AWS::Bedrock::FlowVersion.FlowCondition`.
|
|
185
118
|
* Condition branch for a condition node
|
|
@@ -396,6 +329,21 @@ export type FlowNodeConfiguration = {
|
|
|
396
329
|
* Inline code config strucuture, contains code configs
|
|
397
330
|
*/
|
|
398
331
|
InlineCode: InlineCodeFlowNodeConfiguration;
|
|
332
|
+
} | {
|
|
333
|
+
/**
|
|
334
|
+
* Loop node config, contains loop's internal definition
|
|
335
|
+
*/
|
|
336
|
+
Loop: LoopFlowNodeConfiguration;
|
|
337
|
+
} | {
|
|
338
|
+
/**
|
|
339
|
+
* Configuration for the LoopInput node
|
|
340
|
+
*/
|
|
341
|
+
LoopInput: LoopInputFlowNodeConfiguration;
|
|
342
|
+
} | {
|
|
343
|
+
/**
|
|
344
|
+
* Configuration for the LoopController node, which manages loop execution
|
|
345
|
+
*/
|
|
346
|
+
LoopController: LoopControllerFlowNodeConfiguration;
|
|
399
347
|
};
|
|
400
348
|
/**
|
|
401
349
|
* Type definition for `AWS::Bedrock::FlowVersion.FlowNodeInput`.
|
|
@@ -446,7 +394,7 @@ export type FlowNodeOutput = {
|
|
|
446
394
|
* Flow node types
|
|
447
395
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-flownodetype.html}
|
|
448
396
|
*/
|
|
449
|
-
export type FlowNodeType = "Input" | "Output" | "KnowledgeBase" | "Condition" | "Lex" | "Prompt" | "LambdaFunction" | "Agent" | "Iterator" | "Collector" | "Storage" | "Retrieval" | "InlineCode";
|
|
397
|
+
export type FlowNodeType = "Input" | "Output" | "KnowledgeBase" | "Condition" | "Lex" | "Prompt" | "LambdaFunction" | "Agent" | "Iterator" | "Collector" | "Storage" | "Retrieval" | "InlineCode" | "Loop" | "LoopInput" | "LoopController";
|
|
450
398
|
/**
|
|
451
399
|
* Type definition for `AWS::Bedrock::FlowVersion.FlowStatus`.
|
|
452
400
|
* Schema Type for Flow APIs
|
|
@@ -509,6 +457,7 @@ export type KnowledgeBaseFlowNodeConfiguration = {
|
|
|
509
457
|
* Configuration for a guardrail
|
|
510
458
|
*/
|
|
511
459
|
GuardrailConfiguration?: GuardrailConfiguration;
|
|
460
|
+
InferenceConfiguration?: PromptInferenceConfiguration;
|
|
512
461
|
/**
|
|
513
462
|
* Identifier of the KnowledgeBase
|
|
514
463
|
* @maxLength `10`
|
|
@@ -522,6 +471,36 @@ export type KnowledgeBaseFlowNodeConfiguration = {
|
|
|
522
471
|
* @pattern `^(arn:aws(-[^:]{1,12})?:(bedrock|sagemaker):[a-z0-9-]{1,20}:([0-9]{12})?:([a-z-]+/)?)?([a-zA-Z0-9.-]{1,63}){0,2}(([:][a-z0-9-]{1,63}){0,2})?(/[a-z0-9]{1,12})?$`
|
|
523
472
|
*/
|
|
524
473
|
ModelId?: string;
|
|
474
|
+
/**
|
|
475
|
+
* Number Of Results to Retrieve
|
|
476
|
+
* @min `1`
|
|
477
|
+
* @max `100`
|
|
478
|
+
*/
|
|
479
|
+
NumberOfResults?: number;
|
|
480
|
+
OrchestrationConfiguration?: KnowledgeBaseOrchestrationConfiguration;
|
|
481
|
+
PromptTemplate?: KnowledgeBasePromptTemplate;
|
|
482
|
+
RerankingConfiguration?: VectorSearchRerankingConfiguration;
|
|
483
|
+
};
|
|
484
|
+
/**
|
|
485
|
+
* Type definition for `AWS::Bedrock::FlowVersion.KnowledgeBaseOrchestrationConfiguration`.
|
|
486
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-knowledgebaseorchestrationconfiguration.html}
|
|
487
|
+
*/
|
|
488
|
+
export type KnowledgeBaseOrchestrationConfiguration = {
|
|
489
|
+
AdditionalModelRequestFields?: AdditionalModelRequestFields;
|
|
490
|
+
InferenceConfig?: PromptInferenceConfiguration;
|
|
491
|
+
PerformanceConfig?: PerformanceConfiguration;
|
|
492
|
+
PromptTemplate?: KnowledgeBasePromptTemplate;
|
|
493
|
+
};
|
|
494
|
+
/**
|
|
495
|
+
* Type definition for `AWS::Bedrock::FlowVersion.KnowledgeBasePromptTemplate`.
|
|
496
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-knowledgebaseprompttemplate.html}
|
|
497
|
+
*/
|
|
498
|
+
export type KnowledgeBasePromptTemplate = {
|
|
499
|
+
/**
|
|
500
|
+
* @minLength `1`
|
|
501
|
+
* @maxLength `100000`
|
|
502
|
+
*/
|
|
503
|
+
TextPromptTemplate: string;
|
|
525
504
|
};
|
|
526
505
|
/**
|
|
527
506
|
* Type definition for `AWS::Bedrock::FlowVersion.LambdaFunctionFlowNodeConfiguration`.
|
|
@@ -555,12 +534,76 @@ export type LexFlowNodeConfiguration = {
|
|
|
555
534
|
*/
|
|
556
535
|
LocaleId: string;
|
|
557
536
|
};
|
|
537
|
+
/**
|
|
538
|
+
* Type definition for `AWS::Bedrock::FlowVersion.LoopControllerFlowNodeConfiguration`.
|
|
539
|
+
* Configuration for the LoopController node, which manages loop execution
|
|
540
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-loopcontrollerflownodeconfiguration.html}
|
|
541
|
+
*/
|
|
542
|
+
export type LoopControllerFlowNodeConfiguration = {
|
|
543
|
+
/**
|
|
544
|
+
* Condition branch for a condition node
|
|
545
|
+
*/
|
|
546
|
+
ContinueCondition: FlowCondition;
|
|
547
|
+
/**
|
|
548
|
+
* Maximum number of iterations the loop can perform
|
|
549
|
+
* @min `1`
|
|
550
|
+
* @max `1000`
|
|
551
|
+
*/
|
|
552
|
+
MaxIterations?: number;
|
|
553
|
+
};
|
|
554
|
+
/**
|
|
555
|
+
* Type definition for `AWS::Bedrock::FlowVersion.LoopFlowNodeConfiguration`.
|
|
556
|
+
* Loop node config, contains loop's internal definition
|
|
557
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-loopflownodeconfiguration.html}
|
|
558
|
+
*/
|
|
559
|
+
export type LoopFlowNodeConfiguration = {
|
|
560
|
+
/**
|
|
561
|
+
* Flow definition
|
|
562
|
+
*/
|
|
563
|
+
Definition: FlowDefinition;
|
|
564
|
+
};
|
|
565
|
+
/**
|
|
566
|
+
* Type definition for `AWS::Bedrock::FlowVersion.LoopInputFlowNodeConfiguration`.
|
|
567
|
+
* Configuration for the LoopInput node
|
|
568
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-loopinputflownodeconfiguration.html}
|
|
569
|
+
*/
|
|
570
|
+
export type LoopInputFlowNodeConfiguration = Record<string, any>;
|
|
571
|
+
/**
|
|
572
|
+
* Type definition for `AWS::Bedrock::FlowVersion.MetadataConfigurationForReranking`.
|
|
573
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-metadataconfigurationforreranking.html}
|
|
574
|
+
*/
|
|
575
|
+
export type MetadataConfigurationForReranking = {
|
|
576
|
+
/**
|
|
577
|
+
* Reranking Metadata Selection Mode
|
|
578
|
+
*/
|
|
579
|
+
SelectionMode: RerankingMetadataSelectionMode;
|
|
580
|
+
/**
|
|
581
|
+
* Reranking Metadata Selective Mode Configuration
|
|
582
|
+
*/
|
|
583
|
+
SelectiveModeConfiguration?: RerankingMetadataSelectiveModeConfiguration;
|
|
584
|
+
};
|
|
558
585
|
/**
|
|
559
586
|
* Type definition for `AWS::Bedrock::FlowVersion.OutputFlowNodeConfiguration`.
|
|
560
587
|
* Output flow node configuration
|
|
561
588
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-outputflownodeconfiguration.html}
|
|
562
589
|
*/
|
|
563
590
|
export type OutputFlowNodeConfiguration = Record<string, any>;
|
|
591
|
+
/**
|
|
592
|
+
* Type definition for `AWS::Bedrock::FlowVersion.PerformanceConfiguration`.
|
|
593
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-performanceconfiguration.html}
|
|
594
|
+
*/
|
|
595
|
+
export type PerformanceConfiguration = {
|
|
596
|
+
/**
|
|
597
|
+
* Performance Configuration Latency
|
|
598
|
+
*/
|
|
599
|
+
Latency?: PerformanceConfigurationLatency;
|
|
600
|
+
};
|
|
601
|
+
/**
|
|
602
|
+
* Type definition for `AWS::Bedrock::FlowVersion.PerformanceConfigurationLatency`.
|
|
603
|
+
* Performance Configuration Latency
|
|
604
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-performanceconfigurationlatency.html}
|
|
605
|
+
*/
|
|
606
|
+
export type PerformanceConfigurationLatency = "standard" | "optimized";
|
|
564
607
|
/**
|
|
565
608
|
* Type definition for `AWS::Bedrock::FlowVersion.PromptFlowNodeConfiguration`.
|
|
566
609
|
* Prompt flow node configuration
|
|
@@ -693,6 +736,32 @@ export type PromptTemplateConfiguration = {
|
|
|
693
736
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-prompttemplatetype.html}
|
|
694
737
|
*/
|
|
695
738
|
export type PromptTemplateType = "TEXT";
|
|
739
|
+
/**
|
|
740
|
+
* Type definition for `AWS::Bedrock::FlowVersion.RerankingMetadataSelectionMode`.
|
|
741
|
+
* Reranking Metadata Selection Mode
|
|
742
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-rerankingmetadataselectionmode.html}
|
|
743
|
+
*/
|
|
744
|
+
export type RerankingMetadataSelectionMode = "SELECTIVE" | "ALL";
|
|
745
|
+
/**
|
|
746
|
+
* Type definition for `AWS::Bedrock::FlowVersion.RerankingMetadataSelectiveModeConfiguration`.
|
|
747
|
+
* Reranking Metadata Selective Mode Configuration
|
|
748
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-rerankingmetadataselectivemodeconfiguration.html}
|
|
749
|
+
*/
|
|
750
|
+
export type RerankingMetadataSelectiveModeConfiguration = {
|
|
751
|
+
/**
|
|
752
|
+
* List of Fields For Reranking
|
|
753
|
+
* @minLength `1`
|
|
754
|
+
* @maxLength `100`
|
|
755
|
+
*/
|
|
756
|
+
FieldsToInclude: FieldForReranking[];
|
|
757
|
+
} | {
|
|
758
|
+
/**
|
|
759
|
+
* List of Fields For Reranking
|
|
760
|
+
* @minLength `1`
|
|
761
|
+
* @maxLength `100`
|
|
762
|
+
*/
|
|
763
|
+
FieldsToExclude: FieldForReranking[];
|
|
764
|
+
};
|
|
696
765
|
/**
|
|
697
766
|
* Type definition for `AWS::Bedrock::FlowVersion.RetrievalFlowNodeConfiguration`.
|
|
698
767
|
* Retrieval flow node configuration
|
|
@@ -778,6 +847,51 @@ export type TextPromptTemplateConfiguration = {
|
|
|
778
847
|
*/
|
|
779
848
|
Text: string;
|
|
780
849
|
};
|
|
850
|
+
/**
|
|
851
|
+
* Type definition for `AWS::Bedrock::FlowVersion.VectorSearchBedrockRerankingConfiguration`.
|
|
852
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-vectorsearchbedrockrerankingconfiguration.html}
|
|
853
|
+
*/
|
|
854
|
+
export type VectorSearchBedrockRerankingConfiguration = {
|
|
855
|
+
MetadataConfiguration?: MetadataConfigurationForReranking;
|
|
856
|
+
ModelConfiguration: VectorSearchBedrockRerankingModelConfiguration;
|
|
857
|
+
/**
|
|
858
|
+
* Number Of Results For Reranking
|
|
859
|
+
* @min `1`
|
|
860
|
+
* @max `100`
|
|
861
|
+
*/
|
|
862
|
+
NumberOfRerankedResults?: number;
|
|
863
|
+
};
|
|
864
|
+
/**
|
|
865
|
+
* Type definition for `AWS::Bedrock::FlowVersion.VectorSearchBedrockRerankingModelConfiguration`.
|
|
866
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-vectorsearchbedrockrerankingmodelconfiguration.html}
|
|
867
|
+
*/
|
|
868
|
+
export type VectorSearchBedrockRerankingModelConfiguration = {
|
|
869
|
+
AdditionalModelRequestFields?: AdditionalModelRequestFields;
|
|
870
|
+
/**
|
|
871
|
+
* Arn of a Bedrock Reranking model
|
|
872
|
+
* @minLength `1`
|
|
873
|
+
* @maxLength `2048`
|
|
874
|
+
* @pattern `^(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}::foundation-model/(.*))?$`
|
|
875
|
+
*/
|
|
876
|
+
ModelArn: string;
|
|
877
|
+
};
|
|
878
|
+
/**
|
|
879
|
+
* Type definition for `AWS::Bedrock::FlowVersion.VectorSearchRerankingConfiguration`.
|
|
880
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-vectorsearchrerankingconfiguration.html}
|
|
881
|
+
*/
|
|
882
|
+
export type VectorSearchRerankingConfiguration = {
|
|
883
|
+
BedrockRerankingConfiguration?: VectorSearchBedrockRerankingConfiguration;
|
|
884
|
+
/**
|
|
885
|
+
* Enum of Rerank Configuration Types
|
|
886
|
+
*/
|
|
887
|
+
Type: VectorSearchRerankingConfigurationType;
|
|
888
|
+
};
|
|
889
|
+
/**
|
|
890
|
+
* Type definition for `AWS::Bedrock::FlowVersion.VectorSearchRerankingConfigurationType`.
|
|
891
|
+
* Enum of Rerank Configuration Types
|
|
892
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-vectorsearchrerankingconfigurationtype.html}
|
|
893
|
+
*/
|
|
894
|
+
export type VectorSearchRerankingConfigurationType = "BEDROCK_RERANKING_MODEL";
|
|
781
895
|
/**
|
|
782
896
|
* Definition of AWS::Bedrock::FlowVersion Resource Type
|
|
783
897
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-flowversion.html}
|
|
@@ -323,6 +323,10 @@ export type MemoryMiBRange = {
|
|
|
323
323
|
export type ServiceManagedEc2FleetConfiguration = {
|
|
324
324
|
InstanceCapabilities: ServiceManagedEc2InstanceCapabilities;
|
|
325
325
|
InstanceMarketOptions: ServiceManagedEc2InstanceMarketOptions;
|
|
326
|
+
/**
|
|
327
|
+
* @pattern `^sp-[0-9a-f]{32}$`
|
|
328
|
+
*/
|
|
329
|
+
StorageProfileId?: string;
|
|
326
330
|
};
|
|
327
331
|
/**
|
|
328
332
|
* Type definition for `AWS::Deadline::Fleet.ServiceManagedEc2InstanceCapabilities`.
|
|
@@ -59,6 +59,16 @@ export type BaselineEbsBandwidthMbpsRequest = {
|
|
|
59
59
|
export type BaselinePerformanceFactorsRequest = {
|
|
60
60
|
Cpu?: CpuPerformanceFactorRequest;
|
|
61
61
|
};
|
|
62
|
+
/**
|
|
63
|
+
* Type definition for `AWS::EC2::EC2Fleet.BlockDeviceMapping`.
|
|
64
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ec2fleet-blockdevicemapping.html}
|
|
65
|
+
*/
|
|
66
|
+
export type BlockDeviceMapping = {
|
|
67
|
+
DeviceName?: string;
|
|
68
|
+
Ebs?: EbsBlockDevice;
|
|
69
|
+
NoDevice?: string;
|
|
70
|
+
VirtualName?: string;
|
|
71
|
+
};
|
|
62
72
|
/**
|
|
63
73
|
* Type definition for `AWS::EC2::EC2Fleet.CapacityRebalance`.
|
|
64
74
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ec2fleet-capacityrebalance.html}
|
|
@@ -81,6 +91,19 @@ export type CapacityReservationOptionsRequest = {
|
|
|
81
91
|
export type CpuPerformanceFactorRequest = {
|
|
82
92
|
References?: PerformanceFactorReferenceRequest[];
|
|
83
93
|
};
|
|
94
|
+
/**
|
|
95
|
+
* Type definition for `AWS::EC2::EC2Fleet.EbsBlockDevice`.
|
|
96
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ec2fleet-ebsblockdevice.html}
|
|
97
|
+
*/
|
|
98
|
+
export type EbsBlockDevice = {
|
|
99
|
+
DeleteOnTermination?: boolean;
|
|
100
|
+
Encrypted?: boolean;
|
|
101
|
+
Iops?: number;
|
|
102
|
+
KmsKeyId?: string;
|
|
103
|
+
SnapshotId?: string;
|
|
104
|
+
VolumeSize?: number;
|
|
105
|
+
VolumeType?: "gp2" | "gp3" | "io1" | "io2" | "sc1" | "st1" | "standard";
|
|
106
|
+
};
|
|
84
107
|
/**
|
|
85
108
|
* Type definition for `AWS::EC2::EC2Fleet.FleetLaunchTemplateConfigRequest`.
|
|
86
109
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ec2fleet-fleetlaunchtemplateconfigrequest.html}
|
|
@@ -95,6 +118,7 @@ export type FleetLaunchTemplateConfigRequest = {
|
|
|
95
118
|
*/
|
|
96
119
|
export type FleetLaunchTemplateOverridesRequest = {
|
|
97
120
|
AvailabilityZone?: string;
|
|
121
|
+
BlockDeviceMappings?: BlockDeviceMapping[];
|
|
98
122
|
InstanceRequirements?: InstanceRequirementsRequest;
|
|
99
123
|
InstanceType?: string;
|
|
100
124
|
MaxPrice?: string;
|
|
@@ -0,0 +1,238 @@
|
|
|
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 type definition for `AWS::EVS::Environment`.
|
|
5
|
+
* An environment created within the EVS service
|
|
6
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-evs-environment.html}
|
|
7
|
+
*/
|
|
8
|
+
export type EVSEnvironmentProperties = {
|
|
9
|
+
ConnectivityInfo: {
|
|
10
|
+
/**
|
|
11
|
+
* @minLength `2`
|
|
12
|
+
* @maxLength `2`
|
|
13
|
+
*/
|
|
14
|
+
PrivateRouteServerPeerings: string[];
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* The name of an EVS environment
|
|
18
|
+
* @pattern `^[a-zA-Z0-9_-]{1,100}$`
|
|
19
|
+
*/
|
|
20
|
+
EnvironmentName?: string;
|
|
21
|
+
/**
|
|
22
|
+
* The initial hosts for environment only required upon creation. Modification after creation will have no effect
|
|
23
|
+
* @minLength `4`
|
|
24
|
+
* @maxLength `4`
|
|
25
|
+
*/
|
|
26
|
+
Hosts?: HostInfoForCreate[];
|
|
27
|
+
/**
|
|
28
|
+
* The initial Vlan configuration only required upon creation. Modification after creation will have no effect
|
|
29
|
+
*/
|
|
30
|
+
InitialVlans?: {
|
|
31
|
+
EdgeVTep: InitialVlanInfo;
|
|
32
|
+
ExpansionVlan1: InitialVlanInfo;
|
|
33
|
+
ExpansionVlan2: InitialVlanInfo;
|
|
34
|
+
Hcx: InitialVlanInfo;
|
|
35
|
+
NsxUpLink: InitialVlanInfo;
|
|
36
|
+
VMotion: InitialVlanInfo;
|
|
37
|
+
VSan: InitialVlanInfo;
|
|
38
|
+
VTep: InitialVlanInfo;
|
|
39
|
+
VmManagement: InitialVlanInfo;
|
|
40
|
+
VmkManagement: InitialVlanInfo;
|
|
41
|
+
};
|
|
42
|
+
KmsKeyId?: string;
|
|
43
|
+
/**
|
|
44
|
+
* The license information for an EVS environment
|
|
45
|
+
*/
|
|
46
|
+
LicenseInfo: {
|
|
47
|
+
/**
|
|
48
|
+
* @pattern `^[a-zA-Z0-9]{5}-[a-zA-Z0-9]{5}-[a-zA-Z0-9]{5}-[a-zA-Z0-9]{5}-[a-zA-Z0-9]{5}$`
|
|
49
|
+
*/
|
|
50
|
+
SolutionKey: string;
|
|
51
|
+
/**
|
|
52
|
+
* @pattern `^[a-zA-Z0-9]{5}-[a-zA-Z0-9]{5}-[a-zA-Z0-9]{5}-[a-zA-Z0-9]{5}-[a-zA-Z0-9]{5}$`
|
|
53
|
+
*/
|
|
54
|
+
VsanKey: string;
|
|
55
|
+
};
|
|
56
|
+
ServiceAccessSecurityGroups?: {
|
|
57
|
+
SecurityGroups?: string[];
|
|
58
|
+
};
|
|
59
|
+
/**
|
|
60
|
+
* @minLength `15`
|
|
61
|
+
* @maxLength `24`
|
|
62
|
+
* @pattern `^subnet-[a-f0-9]{8}([a-f0-9]{9})?$`
|
|
63
|
+
*/
|
|
64
|
+
ServiceAccessSubnetId: string;
|
|
65
|
+
SiteId: string;
|
|
66
|
+
/**
|
|
67
|
+
* An array of key-value pairs to apply to this resource.
|
|
68
|
+
*/
|
|
69
|
+
Tags?: Tag[];
|
|
70
|
+
TermsAccepted: boolean;
|
|
71
|
+
VcfHostnames: {
|
|
72
|
+
/**
|
|
73
|
+
* @pattern `^([a-zA-Z0-9\-]*)$`
|
|
74
|
+
*/
|
|
75
|
+
CloudBuilder: string;
|
|
76
|
+
/**
|
|
77
|
+
* @pattern `^([a-zA-Z0-9\-]*)$`
|
|
78
|
+
*/
|
|
79
|
+
Nsx: string;
|
|
80
|
+
/**
|
|
81
|
+
* @pattern `^([a-zA-Z0-9\-]*)$`
|
|
82
|
+
*/
|
|
83
|
+
NsxEdge1: string;
|
|
84
|
+
/**
|
|
85
|
+
* @pattern `^([a-zA-Z0-9\-]*)$`
|
|
86
|
+
*/
|
|
87
|
+
NsxEdge2: string;
|
|
88
|
+
/**
|
|
89
|
+
* @pattern `^([a-zA-Z0-9\-]*)$`
|
|
90
|
+
*/
|
|
91
|
+
NsxManager1: string;
|
|
92
|
+
/**
|
|
93
|
+
* @pattern `^([a-zA-Z0-9\-]*)$`
|
|
94
|
+
*/
|
|
95
|
+
NsxManager2: string;
|
|
96
|
+
/**
|
|
97
|
+
* @pattern `^([a-zA-Z0-9\-]*)$`
|
|
98
|
+
*/
|
|
99
|
+
NsxManager3: string;
|
|
100
|
+
/**
|
|
101
|
+
* @pattern `^([a-zA-Z0-9\-]*)$`
|
|
102
|
+
*/
|
|
103
|
+
SddcManager: string;
|
|
104
|
+
/**
|
|
105
|
+
* @pattern `^([a-zA-Z0-9\-]*)$`
|
|
106
|
+
*/
|
|
107
|
+
VCenter: string;
|
|
108
|
+
};
|
|
109
|
+
VcfVersion: "VCF-5.2.1";
|
|
110
|
+
/**
|
|
111
|
+
* @minLength `12`
|
|
112
|
+
* @maxLength `21`
|
|
113
|
+
* @pattern `^vpc-[a-f0-9]{8}([a-f0-9]{9})?$`
|
|
114
|
+
*/
|
|
115
|
+
VpcId: string;
|
|
116
|
+
};
|
|
117
|
+
/**
|
|
118
|
+
* Attribute type definition for `AWS::EVS::Environment`.
|
|
119
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-evs-environment.html#aws-resource-evs-environment-return-values}
|
|
120
|
+
*/
|
|
121
|
+
export type EVSEnvironmentAttributes = {
|
|
122
|
+
Checks: {
|
|
123
|
+
ImpairedSince: string;
|
|
124
|
+
Result: CheckResult;
|
|
125
|
+
Type: "KEY_REUSE" | "KEY_COVERAGE" | "REACHABILITY" | "VCF_VERSION" | "HOST_COUNT";
|
|
126
|
+
}[];
|
|
127
|
+
CreatedAt: string;
|
|
128
|
+
Credentials: {
|
|
129
|
+
SecretArn: string;
|
|
130
|
+
}[];
|
|
131
|
+
/**
|
|
132
|
+
* @minLength `1`
|
|
133
|
+
* @maxLength `1011`
|
|
134
|
+
* @pattern `^arn:aws:evs:[a-z]{2}-[a-z]+-[0-9]:[0-9]{12}:environment/[a-zA-Z0-9_-]+$`
|
|
135
|
+
*/
|
|
136
|
+
EnvironmentArn: string;
|
|
137
|
+
/**
|
|
138
|
+
* @pattern `^(env-[a-zA-Z0-9]{10})$`
|
|
139
|
+
*/
|
|
140
|
+
EnvironmentId: string;
|
|
141
|
+
EnvironmentState: EnvironmentState;
|
|
142
|
+
ModifiedAt: string;
|
|
143
|
+
StateDetails: string;
|
|
144
|
+
};
|
|
145
|
+
/**
|
|
146
|
+
* Type definition for `AWS::EVS::Environment.Check`.
|
|
147
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-evs-environment-check.html}
|
|
148
|
+
*/
|
|
149
|
+
export type Check = {
|
|
150
|
+
ImpairedSince?: string;
|
|
151
|
+
Result: CheckResult;
|
|
152
|
+
Type: "KEY_REUSE" | "KEY_COVERAGE" | "REACHABILITY" | "VCF_VERSION" | "HOST_COUNT";
|
|
153
|
+
};
|
|
154
|
+
/**
|
|
155
|
+
* Type definition for `AWS::EVS::Environment.CheckResult`.
|
|
156
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-evs-environment-checkresult.html}
|
|
157
|
+
*/
|
|
158
|
+
export type CheckResult = "PASSED" | "FAILED" | "UNKNOWN";
|
|
159
|
+
/**
|
|
160
|
+
* Type definition for `AWS::EVS::Environment.EnvironmentState`.
|
|
161
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-evs-environment-environmentstate.html}
|
|
162
|
+
*/
|
|
163
|
+
export type EnvironmentState = "CREATING" | "CREATED" | "DELETING" | "DELETED" | "CREATE_FAILED";
|
|
164
|
+
/**
|
|
165
|
+
* Type definition for `AWS::EVS::Environment.HostInfoForCreate`.
|
|
166
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-evs-environment-hostinfoforcreate.html}
|
|
167
|
+
*/
|
|
168
|
+
export type HostInfoForCreate = {
|
|
169
|
+
/**
|
|
170
|
+
* @minLength `1`
|
|
171
|
+
* @maxLength `25`
|
|
172
|
+
* @pattern `^h-[a-f0-9]{8}([a-f0-9]{9})?$`
|
|
173
|
+
*/
|
|
174
|
+
DedicatedHostId?: string;
|
|
175
|
+
/**
|
|
176
|
+
* @pattern `^([a-zA-Z0-9\-]*)$`
|
|
177
|
+
*/
|
|
178
|
+
HostName: string;
|
|
179
|
+
InstanceType: "i4i.metal";
|
|
180
|
+
/**
|
|
181
|
+
* @minLength `1`
|
|
182
|
+
* @maxLength `255`
|
|
183
|
+
* @pattern `^[a-zA-Z0-9_-]+$`
|
|
184
|
+
*/
|
|
185
|
+
KeyName: string;
|
|
186
|
+
/**
|
|
187
|
+
* @minLength `1`
|
|
188
|
+
* @maxLength `25`
|
|
189
|
+
* @pattern `^pg-[a-f0-9]{8}([a-f0-9]{9})?$`
|
|
190
|
+
*/
|
|
191
|
+
PlacementGroupId?: string;
|
|
192
|
+
};
|
|
193
|
+
/**
|
|
194
|
+
* Type definition for `AWS::EVS::Environment.InitialVlanInfo`.
|
|
195
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-evs-environment-initialvlaninfo.html}
|
|
196
|
+
*/
|
|
197
|
+
export type InitialVlanInfo = {
|
|
198
|
+
/**
|
|
199
|
+
* @pattern `^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)/(3[0-2]|[1-2][0-9]|[0-9])$`
|
|
200
|
+
*/
|
|
201
|
+
Cidr: string;
|
|
202
|
+
};
|
|
203
|
+
/**
|
|
204
|
+
* Type definition for `AWS::EVS::Environment.Secret`.
|
|
205
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-evs-environment-secret.html}
|
|
206
|
+
*/
|
|
207
|
+
export type Secret = {
|
|
208
|
+
SecretArn?: string;
|
|
209
|
+
};
|
|
210
|
+
/**
|
|
211
|
+
* Type definition for `AWS::EVS::Environment.Tag`.
|
|
212
|
+
* A key-value pair to associate with a resource.
|
|
213
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-evs-environment-tag.html}
|
|
214
|
+
*/
|
|
215
|
+
export type Tag = {
|
|
216
|
+
/**
|
|
217
|
+
* 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 -.
|
|
218
|
+
* @minLength `1`
|
|
219
|
+
* @maxLength `128`
|
|
220
|
+
*/
|
|
221
|
+
Key: string;
|
|
222
|
+
/**
|
|
223
|
+
* 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 -.
|
|
224
|
+
* @minLength `0`
|
|
225
|
+
* @maxLength `256`
|
|
226
|
+
*/
|
|
227
|
+
Value: string;
|
|
228
|
+
};
|
|
229
|
+
/**
|
|
230
|
+
* Resource type definition for `AWS::EVS::Environment`.
|
|
231
|
+
* An environment created within the EVS service
|
|
232
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-evs-environment.html}
|
|
233
|
+
*/
|
|
234
|
+
export declare class EVSEnvironment extends $Resource<"AWS::EVS::Environment", EVSEnvironmentProperties, EVSEnvironmentAttributes> {
|
|
235
|
+
static readonly Type = "AWS::EVS::Environment";
|
|
236
|
+
constructor(logicalId: string, properties: EVSEnvironmentProperties, options?: $ResourceOptions);
|
|
237
|
+
}
|
|
238
|
+
//# sourceMappingURL=AWS-EVS-Environment.d.ts.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
|
+
/**
|
|
3
|
+
* Resource type definition for `AWS::EVS::Environment`.
|
|
4
|
+
* An environment created within the EVS service
|
|
5
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-evs-environment.html}
|
|
6
|
+
*/
|
|
7
|
+
export class EVSEnvironment extends $Resource {
|
|
8
|
+
static Type = "AWS::EVS::Environment";
|
|
9
|
+
constructor(logicalId, properties, options) {
|
|
10
|
+
super(logicalId, EVSEnvironment.Type, properties, options);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=AWS-EVS-Environment.js.map
|
package/lib/AWS-Lex-Bot.d.ts
CHANGED
|
@@ -53,7 +53,7 @@ export type LexBotAttributes = {
|
|
|
53
53
|
/**
|
|
54
54
|
* @minLength `1`
|
|
55
55
|
* @maxLength `1011`
|
|
56
|
-
* @pattern `^arn:aws[a-zA-Z-]*:lex:[a-z]+-[a-z]+-[0-9]:[0-9]{12}:bot/[0-9a-zA-Z]+$`
|
|
56
|
+
* @pattern `^arn:aws[a-zA-Z-]*:lex:[a-z]+-(?:[a-z]+-)*[0-9]:[0-9]{12}:bot/[0-9a-zA-Z]+$`
|
|
57
57
|
*/
|
|
58
58
|
Arn: string;
|
|
59
59
|
/**
|
|
@@ -699,7 +699,7 @@ export type KendraConfiguration = {
|
|
|
699
699
|
/**
|
|
700
700
|
* @minLength `32`
|
|
701
701
|
* @maxLength `2048`
|
|
702
|
-
* @pattern `^arn:aws[a-zA-Z-]*:kendra:[a-z]+-[a-z]+-[0-9]:[0-9]{12}:index/[a-zA-Z0-9][a-zA-Z0-9_-]*$`
|
|
702
|
+
* @pattern `^arn:aws[a-zA-Z-]*:kendra:[a-z]+-(?:[a-z]+-)*[0-9]:[0-9]{12}:index/[a-zA-Z0-9][a-zA-Z0-9_-]*$`
|
|
703
703
|
*/
|
|
704
704
|
KendraIndex: string;
|
|
705
705
|
/**
|
|
@@ -0,0 +1,92 @@
|
|
|
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 type definition for AWS::NetworkFirewall::VpcEndpointAssociation
|
|
5
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkfirewall-vpcendpointassociation.html}
|
|
6
|
+
*/
|
|
7
|
+
export type NetworkFirewallVpcEndpointAssociationProperties = {
|
|
8
|
+
/**
|
|
9
|
+
* @maxLength `512`
|
|
10
|
+
* @pattern `^.*$`
|
|
11
|
+
*/
|
|
12
|
+
Description?: string;
|
|
13
|
+
/**
|
|
14
|
+
* A resource ARN.
|
|
15
|
+
* @minLength `1`
|
|
16
|
+
* @maxLength `256`
|
|
17
|
+
* @pattern `^(arn:aws.*)$`
|
|
18
|
+
*/
|
|
19
|
+
FirewallArn: string;
|
|
20
|
+
SubnetMapping: SubnetMapping;
|
|
21
|
+
Tags?: Tag[];
|
|
22
|
+
/**
|
|
23
|
+
* @minLength `1`
|
|
24
|
+
* @maxLength `128`
|
|
25
|
+
* @pattern `^vpc-[0-9a-f]+$`
|
|
26
|
+
*/
|
|
27
|
+
VpcId: string;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Attribute type definition for `AWS::NetworkFirewall::VpcEndpointAssociation`.
|
|
31
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkfirewall-vpcendpointassociation.html#aws-resource-networkfirewall-vpcendpointassociation-return-values}
|
|
32
|
+
*/
|
|
33
|
+
export type NetworkFirewallVpcEndpointAssociationAttributes = {
|
|
34
|
+
/**
|
|
35
|
+
* An endpoint Id.
|
|
36
|
+
*/
|
|
37
|
+
EndpointId: string;
|
|
38
|
+
/**
|
|
39
|
+
* A resource ARN.
|
|
40
|
+
* @minLength `1`
|
|
41
|
+
* @maxLength `256`
|
|
42
|
+
* @pattern `^(arn:aws.*)$`
|
|
43
|
+
*/
|
|
44
|
+
VpcEndpointAssociationArn: string;
|
|
45
|
+
/**
|
|
46
|
+
* @minLength `36`
|
|
47
|
+
* @maxLength `36`
|
|
48
|
+
* @pattern `^([0-9a-f]{8})-([0-9a-f]{4}-){3}([0-9a-f]{12})$`
|
|
49
|
+
*/
|
|
50
|
+
VpcEndpointAssociationId: string;
|
|
51
|
+
};
|
|
52
|
+
/**
|
|
53
|
+
* Type definition for `AWS::NetworkFirewall::VpcEndpointAssociation.SubnetMapping`.
|
|
54
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-vpcendpointassociation-subnetmapping.html}
|
|
55
|
+
*/
|
|
56
|
+
export type SubnetMapping = {
|
|
57
|
+
/**
|
|
58
|
+
* A IPAddressType
|
|
59
|
+
*/
|
|
60
|
+
IPAddressType?: string;
|
|
61
|
+
/**
|
|
62
|
+
* A SubnetId.
|
|
63
|
+
*/
|
|
64
|
+
SubnetId: string;
|
|
65
|
+
};
|
|
66
|
+
/**
|
|
67
|
+
* Type definition for `AWS::NetworkFirewall::VpcEndpointAssociation.Tag`.
|
|
68
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-vpcendpointassociation-tag.html}
|
|
69
|
+
*/
|
|
70
|
+
export type Tag = {
|
|
71
|
+
/**
|
|
72
|
+
* @minLength `1`
|
|
73
|
+
* @maxLength `128`
|
|
74
|
+
* @pattern `^.*$`
|
|
75
|
+
*/
|
|
76
|
+
Key: string;
|
|
77
|
+
/**
|
|
78
|
+
* @minLength `0`
|
|
79
|
+
* @maxLength `255`
|
|
80
|
+
* @pattern `^.*$`
|
|
81
|
+
*/
|
|
82
|
+
Value: string;
|
|
83
|
+
};
|
|
84
|
+
/**
|
|
85
|
+
* Resource type definition for AWS::NetworkFirewall::VpcEndpointAssociation
|
|
86
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkfirewall-vpcendpointassociation.html}
|
|
87
|
+
*/
|
|
88
|
+
export declare class NetworkFirewallVpcEndpointAssociation extends $Resource<"AWS::NetworkFirewall::VpcEndpointAssociation", NetworkFirewallVpcEndpointAssociationProperties, NetworkFirewallVpcEndpointAssociationAttributes> {
|
|
89
|
+
static readonly Type = "AWS::NetworkFirewall::VpcEndpointAssociation";
|
|
90
|
+
constructor(logicalId: string, properties: NetworkFirewallVpcEndpointAssociationProperties, options?: $ResourceOptions);
|
|
91
|
+
}
|
|
92
|
+
//# sourceMappingURL=AWS-NetworkFirewall-VpcEndpointAssociation.d.ts.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
|
+
/**
|
|
3
|
+
* Resource type definition for AWS::NetworkFirewall::VpcEndpointAssociation
|
|
4
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkfirewall-vpcendpointassociation.html}
|
|
5
|
+
*/
|
|
6
|
+
export class NetworkFirewallVpcEndpointAssociation extends $Resource {
|
|
7
|
+
static Type = "AWS::NetworkFirewall::VpcEndpointAssociation";
|
|
8
|
+
constructor(logicalId, properties, options) {
|
|
9
|
+
super(logicalId, NetworkFirewallVpcEndpointAssociation.Type, properties, options);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=AWS-NetworkFirewall-VpcEndpointAssociation.js.map
|