@awboost/cfn-resource-types 0.1.347 → 0.1.349
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-ApiGateway-DomainName.d.ts +1 -0
- package/lib/AWS-ApiGateway-DomainNameV2.d.ts +4 -0
- package/lib/AWS-ApiGatewayV2-DomainName.d.ts +1 -0
- package/lib/AWS-ApiGatewayV2-RoutingRule.d.ts +84 -0
- package/lib/AWS-ApiGatewayV2-RoutingRule.js +12 -0
- package/lib/AWS-Bedrock-Flow.d.ts +210 -1
- package/lib/AWS-Bedrock-FlowVersion.d.ts +201 -87
- package/lib/AWS-CloudTrail-EventDataStore.d.ts +26 -0
- package/lib/AWS-DSQL-Cluster.d.ts +10 -0
- package/lib/AWS-Deadline-Fleet.d.ts +4 -0
- package/lib/AWS-EFS-FileSystem.d.ts +6 -6
- package/lib/AWS-WAFv2-WebACL.d.ts +1 -0
- package/package.json +1 -1
|
@@ -19,6 +19,7 @@ export type ApiGatewayDomainNameProperties = {
|
|
|
19
19
|
*/
|
|
20
20
|
OwnershipVerificationCertificateArn?: string;
|
|
21
21
|
RegionalCertificateArn?: string;
|
|
22
|
+
RoutingMode?: "BASE_PATH_MAPPING_ONLY" | "ROUTING_RULE_THEN_BASE_PATH_MAPPING" | "ROUTING_RULE_ONLY";
|
|
22
23
|
SecurityPolicy?: string;
|
|
23
24
|
Tags?: Tag[];
|
|
24
25
|
};
|
|
@@ -9,6 +9,10 @@ export type ApiGatewayDomainNameV2Properties = {
|
|
|
9
9
|
DomainName?: string;
|
|
10
10
|
EndpointConfiguration?: EndpointConfiguration;
|
|
11
11
|
Policy?: Record<string, any> | string;
|
|
12
|
+
/**
|
|
13
|
+
* The valid routing modes are [BASE_PATH_MAPPING_ONLY], [ROUTING_RULE_THEN_BASE_PATH_MAPPING] and [ROUTING_RULE_ONLY]. All other inputs are invalid.
|
|
14
|
+
*/
|
|
15
|
+
RoutingMode?: "BASE_PATH_MAPPING_ONLY" | "ROUTING_RULE_THEN_BASE_PATH_MAPPING" | "ROUTING_RULE_ONLY";
|
|
12
16
|
SecurityPolicy?: string;
|
|
13
17
|
Tags?: Tag[];
|
|
14
18
|
};
|
|
@@ -18,6 +18,7 @@ export type ApiGatewayV2DomainNameProperties = {
|
|
|
18
18
|
* The mutual TLS authentication configuration for a custom domain name.
|
|
19
19
|
*/
|
|
20
20
|
MutualTlsAuthentication?: MutualTlsAuthentication;
|
|
21
|
+
RoutingMode?: "API_MAPPING_ONLY" | "ROUTING_RULE_THEN_API_MAPPING" | "ROUTING_RULE_ONLY";
|
|
21
22
|
/**
|
|
22
23
|
* The collection of tags associated with a domain name.
|
|
23
24
|
*/
|
|
@@ -0,0 +1,84 @@
|
|
|
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
|
+
* Schema for AWS::ApiGatewayV2::RoutingRule
|
|
5
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-routingrule.html}
|
|
6
|
+
*/
|
|
7
|
+
export type ApiGatewayV2RoutingRuleProperties = {
|
|
8
|
+
Actions: Action[];
|
|
9
|
+
Conditions: Condition[];
|
|
10
|
+
/**
|
|
11
|
+
* The amazon resource name (ARN) of the domain name resource.
|
|
12
|
+
*/
|
|
13
|
+
DomainNameArn: string;
|
|
14
|
+
Priority: number;
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* Attribute type definition for `AWS::ApiGatewayV2::RoutingRule`.
|
|
18
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-routingrule.html#aws-resource-apigatewayv2-routingrule-return-values}
|
|
19
|
+
*/
|
|
20
|
+
export type ApiGatewayV2RoutingRuleAttributes = {
|
|
21
|
+
/**
|
|
22
|
+
* Amazon Resource Name (ARN) of the resource.
|
|
23
|
+
*/
|
|
24
|
+
RoutingRuleArn: string;
|
|
25
|
+
/**
|
|
26
|
+
* RoutingRule Id generated by service
|
|
27
|
+
*/
|
|
28
|
+
RoutingRuleId: string;
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Type definition for `AWS::ApiGatewayV2::RoutingRule.Action`.
|
|
32
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-routingrule-action.html}
|
|
33
|
+
*/
|
|
34
|
+
export type Action = {
|
|
35
|
+
InvokeApi: ActionInvokeApi;
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* Type definition for `AWS::ApiGatewayV2::RoutingRule.ActionInvokeApi`.
|
|
39
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-routingrule-actioninvokeapi.html}
|
|
40
|
+
*/
|
|
41
|
+
export type ActionInvokeApi = {
|
|
42
|
+
ApiId: string;
|
|
43
|
+
Stage: string;
|
|
44
|
+
StripBasePath?: boolean;
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* Type definition for `AWS::ApiGatewayV2::RoutingRule.Condition`.
|
|
48
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-routingrule-condition.html}
|
|
49
|
+
*/
|
|
50
|
+
export type Condition = {
|
|
51
|
+
MatchBasePaths?: MatchBasePaths;
|
|
52
|
+
MatchHeaders?: MatchHeaders;
|
|
53
|
+
};
|
|
54
|
+
/**
|
|
55
|
+
* Type definition for `AWS::ApiGatewayV2::RoutingRule.MatchBasePaths`.
|
|
56
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-routingrule-matchbasepaths.html}
|
|
57
|
+
*/
|
|
58
|
+
export type MatchBasePaths = {
|
|
59
|
+
AnyOf: string[];
|
|
60
|
+
};
|
|
61
|
+
/**
|
|
62
|
+
* Type definition for `AWS::ApiGatewayV2::RoutingRule.MatchHeaders`.
|
|
63
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-routingrule-matchheaders.html}
|
|
64
|
+
*/
|
|
65
|
+
export type MatchHeaders = {
|
|
66
|
+
AnyOf: MatchHeaderValue[];
|
|
67
|
+
};
|
|
68
|
+
/**
|
|
69
|
+
* Type definition for `AWS::ApiGatewayV2::RoutingRule.MatchHeaderValue`.
|
|
70
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-routingrule-matchheadervalue.html}
|
|
71
|
+
*/
|
|
72
|
+
export type MatchHeaderValue = {
|
|
73
|
+
Header: string;
|
|
74
|
+
ValueGlob: string;
|
|
75
|
+
};
|
|
76
|
+
/**
|
|
77
|
+
* Schema for AWS::ApiGatewayV2::RoutingRule
|
|
78
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-routingrule.html}
|
|
79
|
+
*/
|
|
80
|
+
export declare class ApiGatewayV2RoutingRule extends $Resource<"AWS::ApiGatewayV2::RoutingRule", ApiGatewayV2RoutingRuleProperties, ApiGatewayV2RoutingRuleAttributes> {
|
|
81
|
+
static readonly Type = "AWS::ApiGatewayV2::RoutingRule";
|
|
82
|
+
constructor(logicalId: string, properties: ApiGatewayV2RoutingRuleProperties, options?: $ResourceOptions);
|
|
83
|
+
}
|
|
84
|
+
//# sourceMappingURL=AWS-ApiGatewayV2-RoutingRule.d.ts.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
|
+
/**
|
|
3
|
+
* Schema for AWS::ApiGatewayV2::RoutingRule
|
|
4
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-routingrule.html}
|
|
5
|
+
*/
|
|
6
|
+
export class ApiGatewayV2RoutingRule extends $Resource {
|
|
7
|
+
static Type = "AWS::ApiGatewayV2::RoutingRule";
|
|
8
|
+
constructor(logicalId, properties, options) {
|
|
9
|
+
super(logicalId, ApiGatewayV2RoutingRule.Type, properties, options);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=AWS-ApiGatewayV2-RoutingRule.js.map
|
|
@@ -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}
|
|
@@ -14,6 +14,11 @@ export type CloudTrailEventDataStoreProperties = {
|
|
|
14
14
|
* The mode that the event data store will use to charge for event storage.
|
|
15
15
|
*/
|
|
16
16
|
BillingMode?: string;
|
|
17
|
+
/**
|
|
18
|
+
* An array that enriches event records in an existing event data store by including additional information specified in individual ContexKeySelector entries. If you add ContextKeySelectors, you must set MaxEventSize to Large.
|
|
19
|
+
* @maxLength `2`
|
|
20
|
+
*/
|
|
21
|
+
ContextKeySelectors?: ContextKeySelector[];
|
|
17
22
|
/**
|
|
18
23
|
* Indicates whether federation is enabled on an event data store.
|
|
19
24
|
*/
|
|
@@ -38,6 +43,10 @@ export type CloudTrailEventDataStoreProperties = {
|
|
|
38
43
|
* Specifies the KMS key ID to use to encrypt the events delivered by CloudTrail. The value can be an alias name prefixed by 'alias/', a fully specified ARN to an alias, a fully specified ARN to a key, or a globally unique identifier.
|
|
39
44
|
*/
|
|
40
45
|
KmsKeyId?: string;
|
|
46
|
+
/**
|
|
47
|
+
* Specifies the maximum size allowed for the event. Valid values are Standard and Large. If you add ContextKeySelectors, this value must be set to Large.
|
|
48
|
+
*/
|
|
49
|
+
MaxEventSize?: "Standard" | "Large";
|
|
41
50
|
/**
|
|
42
51
|
* Indicates whether the event data store includes events from all regions, or only from the region in which it was created.
|
|
43
52
|
*/
|
|
@@ -144,6 +153,23 @@ export type AdvancedFieldSelector = {
|
|
|
144
153
|
*/
|
|
145
154
|
StartsWith?: string[];
|
|
146
155
|
};
|
|
156
|
+
/**
|
|
157
|
+
* Type definition for `AWS::CloudTrail::EventDataStore.ContextKeySelector`.
|
|
158
|
+
* An object that contains information types to be included in CloudTrail enriched events.
|
|
159
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudtrail-eventdatastore-contextkeyselector.html}
|
|
160
|
+
*/
|
|
161
|
+
export type ContextKeySelector = {
|
|
162
|
+
/**
|
|
163
|
+
* An operator that includes events that match the exact value of the event record field specified in Type.
|
|
164
|
+
* @minLength `1`
|
|
165
|
+
* @maxLength `50`
|
|
166
|
+
*/
|
|
167
|
+
Equals: string[];
|
|
168
|
+
/**
|
|
169
|
+
* Specifies the type of the event record field in ContextKeySelector. Valid values include RequestContext, TagContext.
|
|
170
|
+
*/
|
|
171
|
+
Type: "RequestContext" | "TagContext";
|
|
172
|
+
};
|
|
147
173
|
/**
|
|
148
174
|
* Type definition for `AWS::CloudTrail::EventDataStore.InsightSelector`.
|
|
149
175
|
* A string that contains Insights types that are logged on an event data store.
|
|
@@ -9,6 +9,16 @@ export type DSQLClusterProperties = {
|
|
|
9
9
|
* Whether deletion protection is enabled in this cluster.
|
|
10
10
|
*/
|
|
11
11
|
DeletionProtectionEnabled?: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* The Multi-region properties associated to this cluster.
|
|
14
|
+
*/
|
|
15
|
+
MultiRegionProperties?: {
|
|
16
|
+
Clusters?: string[];
|
|
17
|
+
/**
|
|
18
|
+
* The witness region in a multi-region cluster.
|
|
19
|
+
*/
|
|
20
|
+
WitnessRegion?: string;
|
|
21
|
+
};
|
|
12
22
|
Tags?: Tag[];
|
|
13
23
|
};
|
|
14
24
|
/**
|
|
@@ -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`.
|
|
@@ -50,7 +50,7 @@ export type EFSFileSystemProperties = {
|
|
|
50
50
|
+ When to move files in the file system from primary storage or IA storage to Archive storage.
|
|
51
51
|
+ When to move files that are in IA or Archive storage to primary storage.
|
|
52
52
|
|
|
53
|
-
|
|
53
|
+
EFS requires that each ``LifecyclePolicy`` object have only a single transition. This means that in a request body, ``LifecyclePolicies`` needs to be structured as an array of ``LifecyclePolicy`` objects, one object for each transition, ``TransitionToIA``, ``TransitionToArchive````TransitionToPrimaryStorageClass``. See the example requests in the following section for more information.
|
|
54
54
|
*/
|
|
55
55
|
LifecyclePolicies?: LifecyclePolicy[];
|
|
56
56
|
/**
|
|
@@ -109,8 +109,8 @@ export type EFSFileSystemAttributes = {
|
|
|
109
109
|
export type BackupPolicy = {
|
|
110
110
|
/**
|
|
111
111
|
* Set the backup policy status for the file system.
|
|
112
|
-
+
|
|
113
|
-
+
|
|
112
|
+
+ *ENABLED* - Turns automatic backups on for the file system.
|
|
113
|
+
+ *DISABLED* - Turns automatic backups off for the file system.
|
|
114
114
|
*/
|
|
115
115
|
Status: "DISABLED" | "ENABLED";
|
|
116
116
|
};
|
|
@@ -137,9 +137,9 @@ export type ElasticFileSystemTag = {
|
|
|
137
137
|
export type FileSystemProtection = {
|
|
138
138
|
/**
|
|
139
139
|
* The status of the file system's replication overwrite protection.
|
|
140
|
-
+
|
|
141
|
-
+
|
|
142
|
-
+
|
|
140
|
+
+ ``ENABLED`` – The file system cannot be used as the destination file system in a replication configuration. The file system is writeable. Replication overwrite protection is ``ENABLED`` by default.
|
|
141
|
+
+ ``DISABLED`` – The file system can be used as the destination file system in a replication configuration. The file system is read-only and can only be modified by EFS replication.
|
|
142
|
+
+ ``REPLICATING`` – The file system is being used as the destination file system in a replication configuration. The file system is read-only and is modified only by EFS replication.
|
|
143
143
|
|
|
144
144
|
If the replication configuration is deleted, the file system's replication overwrite protection is re-enabled, the file system becomes writeable.
|
|
145
145
|
*/
|