@propulsionworks/cloudformation 0.1.10 → 0.1.11

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.
Files changed (36) hide show
  1. package/out/exports/resources.generated/aws-amazonmq-broker.d.ts +0 -1
  2. package/out/exports/resources.generated/aws-apigateway-domainname.d.ts +7 -1
  3. package/out/exports/resources.generated/aws-apigateway-domainnamev2.d.ts +6 -0
  4. package/out/exports/resources.generated/aws-apigatewayv2-domainname.d.ts +6 -0
  5. package/out/exports/resources.generated/aws-apigatewayv2-routingrule.d.ts +134 -0
  6. package/out/exports/resources.generated/aws-autoscaling-autoscalinggroup.d.ts +7 -6
  7. package/out/exports/resources.generated/aws-autoscaling-launchconfiguration.d.ts +8 -8
  8. package/out/exports/resources.generated/aws-bedrock-flow.d.ts +216 -1
  9. package/out/exports/resources.generated/aws-cloudtrail-eventdatastore.d.ts +26 -0
  10. package/out/exports/resources.generated/aws-cloudwatch-insightrule.d.ts +1 -0
  11. package/out/exports/resources.generated/aws-datasync-locationazureblob.d.ts +25 -13
  12. package/out/exports/resources.generated/aws-datasync-locationobjectstorage.d.ts +26 -10
  13. package/out/exports/resources.generated/aws-datasync-locationsmb.d.ts +5 -19
  14. package/out/exports/resources.generated/aws-datasync-task.d.ts +11 -20
  15. package/out/exports/resources.generated/aws-datazone-projectprofile.d.ts +9 -0
  16. package/out/exports/resources.generated/aws-deadline-fleet.d.ts +5 -0
  17. package/out/exports/resources.generated/aws-dsql-cluster.d.ts +15 -4
  18. package/out/exports/resources.generated/aws-ec2-ec2fleet.d.ts +58 -0
  19. package/out/exports/resources.generated/aws-ec2-trafficmirrorfilter.d.ts +0 -1
  20. package/out/exports/resources.generated/aws-ecs-taskdefinition.d.ts +1 -1
  21. package/out/exports/resources.generated/aws-elasticloadbalancingv2-targetgroup.d.ts +1 -1
  22. package/out/exports/resources.generated/aws-emr-cluster.d.ts +2 -0
  23. package/out/exports/resources.generated/aws-evs-environment.d.ts +196 -0
  24. package/out/exports/resources.generated/aws-fsx-filesystem.d.ts +4 -4
  25. package/out/exports/resources.generated/aws-lambda-eventinvokeconfig.d.ts +1 -1
  26. package/out/exports/resources.generated/aws-lambda-eventsourcemapping.d.ts +66 -2
  27. package/out/exports/resources.generated/aws-lightsail-instancesnapshot.d.ts +9 -9
  28. package/out/exports/resources.generated/aws-networkfirewall-vpcendpointassociation.d.ts +68 -0
  29. package/out/exports/resources.generated/aws-opsworkscm-server.d.ts +4 -32
  30. package/out/exports/resources.generated/aws-rds-dbproxytargetgroup.d.ts +4 -4
  31. package/out/exports/resources.generated/aws-rds-dbshardgroup.d.ts +4 -4
  32. package/out/exports/resources.generated/aws-s3-bucket.d.ts +1 -1
  33. package/out/exports/resources.generated/aws-transfer-user.d.ts +1 -1
  34. package/out/exports/resources.generated/aws-verifiedpermissions-policystore.d.ts +7 -0
  35. package/out/exports/resources.generated/aws-wafv2-webacl.d.ts +4 -0
  36. package/package.json +1 -1
@@ -397,7 +397,6 @@ export type User = {
397
397
  */
398
398
  Groups?: string[] | undefined;
399
399
  /**
400
- * Enables Jolokia access to the ActiveMQ broker for the ActiveMQ user (Does not apply to RabbitMQ brokers).
401
400
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-user.html#cfn-amazonmq-broker-user-jolokiaapiaccess}
402
401
  */
403
402
  JolokiaApiAccess?: string | undefined;
@@ -47,6 +47,12 @@ export type ApiGatewayDomainNameProps = {
47
47
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-domainname.html#cfn-apigateway-domainname-regionalcertificatearn}
48
48
  */
49
49
  RegionalCertificateArn?: string | undefined;
50
+ /**
51
+ * The routing mode for this domain name. The routing mode determines how API Gateway sends traffic from your custom domain name to your public APIs.
52
+ * @default "BASE_PATH_MAPPING_ONLY"
53
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-domainname.html#cfn-apigateway-domainname-routingmode}
54
+ */
55
+ RoutingMode?: "BASE_PATH_MAPPING_ONLY" | "ROUTING_RULE_THEN_BASE_PATH_MAPPING" | "ROUTING_RULE_ONLY" | undefined;
50
56
  /**
51
57
  * The Transport Layer Security (TLS) version + cipher suite for this DomainName. The valid values are `TLS_1_0` and `TLS_1_2` .
52
58
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-domainname.html#cfn-apigateway-domainname-securitypolicy}
@@ -75,7 +81,7 @@ export type ApiGatewayDomainNameAttribs = {
75
81
  */
76
82
  DistributionHostedZoneId: string;
77
83
  /**
78
- * The ARN of the domain name. Supported only for private custom domain names.
84
+ * The ARN of the domain name.
79
85
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-domainname.html#cfn-apigateway-domainname-domainnamearn}
80
86
  */
81
87
  DomainNameArn: string;
@@ -29,6 +29,12 @@ export type ApiGatewayDomainNameV2Props = {
29
29
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-domainnamev2.html#cfn-apigateway-domainnamev2-policy}
30
30
  */
31
31
  Policy?: PolicyDocument | undefined;
32
+ /**
33
+ * The routing mode for this domain name. The routing mode determines how API Gateway sends traffic from your custom domain name to your private APIs.
34
+ * @default "BASE_PATH_MAPPING_ONLY"
35
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-domainnamev2.html#cfn-apigateway-domainnamev2-routingmode}
36
+ */
37
+ RoutingMode?: "BASE_PATH_MAPPING_ONLY" | "ROUTING_RULE_THEN_BASE_PATH_MAPPING" | "ROUTING_RULE_ONLY" | undefined;
32
38
  /**
33
39
  * The Transport Layer Security (TLS) version + cipher suite for this DomainName. Only `TLS_1_2` is supported.
34
40
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-domainnamev2.html#cfn-apigateway-domainnamev2-securitypolicy}
@@ -28,6 +28,12 @@ export type ApiGatewayV2DomainNameProps = {
28
28
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-domainname.html#cfn-apigatewayv2-domainname-mutualtlsauthentication}
29
29
  */
30
30
  MutualTlsAuthentication?: MutualTlsAuthentication | undefined;
31
+ /**
32
+ * The routing mode API Gateway uses to route traffic to your APIs.
33
+ * @default "API_MAPPING_ONLY"
34
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-domainname.html#cfn-apigatewayv2-domainname-routingmode}
35
+ */
36
+ RoutingMode?: "API_MAPPING_ONLY" | "ROUTING_RULE_THEN_API_MAPPING" | "ROUTING_RULE_ONLY" | undefined;
31
37
  /**
32
38
  * The collection of tags associated with a domain name.
33
39
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-domainname.html#cfn-apigatewayv2-domainname-tags}
@@ -0,0 +1,134 @@
1
+ import type { ResourceDefinitionWithAttributes } from "../main.ts";
2
+ /**
3
+ * Represents a routing rule. When the incoming request to a domain name matches the conditions for a rule, API Gateway invokes a stage of a target API. Supported only for REST APIs.
4
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-routingrule.html}
5
+ */
6
+ export type ApiGatewayV2RoutingRule = ResourceDefinitionWithAttributes<"AWS::ApiGatewayV2::RoutingRule", ApiGatewayV2RoutingRuleProps, ApiGatewayV2RoutingRuleAttribs>;
7
+ /**
8
+ * Represents a routing rule. When the incoming request to a domain name matches the conditions for a rule, API Gateway invokes a stage of a target API. Supported only for REST APIs.
9
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-routingrule.html}
10
+ */
11
+ export type ApiGatewayV2RoutingRuleProps = {
12
+ /**
13
+ * The resulting action based on matching a routing rules condition. Only InvokeApi is supported.
14
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-routingrule.html#cfn-apigatewayv2-routingrule-actions}
15
+ */
16
+ Actions: Action[];
17
+ /**
18
+ * The conditions of the routing rule.
19
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-routingrule.html#cfn-apigatewayv2-routingrule-conditions}
20
+ */
21
+ Conditions: Condition[];
22
+ /**
23
+ * The ARN of the domain name.
24
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-routingrule.html#cfn-apigatewayv2-routingrule-domainnamearn}
25
+ */
26
+ DomainNameArn: string;
27
+ /**
28
+ * The order in which API Gateway evaluates a rule. Priority is evaluated from the lowest value to the highest value. Rules can't have the same priority. Priority values 1-1,000,000 are supported.
29
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-routingrule.html#cfn-apigatewayv2-routingrule-priority}
30
+ */
31
+ Priority: number;
32
+ };
33
+ /**
34
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-routingrule.html#aws-resource-apigatewayv2-routingrule-return-values}
35
+ */
36
+ export type ApiGatewayV2RoutingRuleAttribs = {
37
+ /**
38
+ * Represents an Amazon Resource Name (ARN).
39
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-routingrule.html#cfn-apigatewayv2-routingrule-routingrulearn}
40
+ */
41
+ RoutingRuleArn: string;
42
+ /**
43
+ * The identifier.
44
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-routingrule.html#cfn-apigatewayv2-routingrule-routingruleid}
45
+ */
46
+ RoutingRuleId: string;
47
+ };
48
+ /**
49
+ * Represents a routing rule action. The only supported action is `invokeApi` .
50
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-routingrule-action.html}
51
+ */
52
+ export type Action = {
53
+ /**
54
+ * Represents an InvokeApi action.
55
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-routingrule-action.html#cfn-apigatewayv2-routingrule-action-invokeapi}
56
+ */
57
+ InvokeApi: ActionInvokeApi;
58
+ };
59
+ /**
60
+ * Represents an InvokeApi action.
61
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-routingrule-actioninvokeapi.html}
62
+ */
63
+ export type ActionInvokeApi = {
64
+ /**
65
+ * The API identifier of the target API.
66
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-routingrule-actioninvokeapi.html#cfn-apigatewayv2-routingrule-actioninvokeapi-apiid}
67
+ */
68
+ ApiId: string;
69
+ /**
70
+ * The name of the target stage.
71
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-routingrule-actioninvokeapi.html#cfn-apigatewayv2-routingrule-actioninvokeapi-stage}
72
+ */
73
+ Stage: string;
74
+ /**
75
+ * The strip base path setting. When true, API Gateway strips the incoming matched base path when forwarding the request to the target API.
76
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-routingrule-actioninvokeapi.html#cfn-apigatewayv2-routingrule-actioninvokeapi-stripbasepath}
77
+ */
78
+ StripBasePath?: boolean | undefined;
79
+ };
80
+ /**
81
+ * Represents a condition. Conditions can contain up to two `matchHeaders` conditions and one `matchBasePaths` conditions. API Gateway evaluates header conditions and base path conditions together. You can only use AND between header and base path conditions.
82
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-routingrule-condition.html}
83
+ */
84
+ export type Condition = {
85
+ /**
86
+ * The base path to be matched.
87
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-routingrule-condition.html#cfn-apigatewayv2-routingrule-condition-matchbasepaths}
88
+ */
89
+ MatchBasePaths?: MatchBasePaths | undefined;
90
+ /**
91
+ * The headers to be matched.
92
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-routingrule-condition.html#cfn-apigatewayv2-routingrule-condition-matchheaders}
93
+ */
94
+ MatchHeaders?: MatchHeaders | undefined;
95
+ };
96
+ /**
97
+ * Represents a `MatchBasePaths` condition.
98
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-routingrule-matchbasepaths.html}
99
+ */
100
+ export type MatchBasePaths = {
101
+ /**
102
+ * The string of the case sensitive base path to be matched.
103
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-routingrule-matchbasepaths.html#cfn-apigatewayv2-routingrule-matchbasepaths-anyof}
104
+ */
105
+ AnyOf: string[];
106
+ };
107
+ /**
108
+ * Represents a `MatchHeaderValue` .
109
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-routingrule-matchheadervalue.html}
110
+ */
111
+ export type MatchHeaderValue = {
112
+ /**
113
+ * The case insensitive header name to be matched. The header name must be less than 40 characters and the only allowed characters are `a-z` , `A-Z` , `0-9` , and the following special characters: `*?-!#$%&'.^_`|~.` .
114
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-routingrule-matchheadervalue.html#cfn-apigatewayv2-routingrule-matchheadervalue-header}
115
+ */
116
+ Header: string;
117
+ /**
118
+ * The case sensitive header glob value to be matched against entire header value. The header glob value must be less than 128 characters and the only allowed characters are `a-z` , `A-Z` , `0-9` , and the following special characters: `*?-!#$%&'.^_`|~` . Wildcard matching is supported for header glob values but must be for `*prefix-match` , `suffix-match*` , or `*infix*-match` .
119
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-routingrule-matchheadervalue.html#cfn-apigatewayv2-routingrule-matchheadervalue-valueglob}
120
+ */
121
+ ValueGlob: string;
122
+ };
123
+ /**
124
+ * Represents a `MatchHeaders` condition.
125
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-routingrule-matchheaders.html}
126
+ */
127
+ export type MatchHeaders = {
128
+ /**
129
+ * The header name and header value glob to be matched. The matchHeaders condition is matched if any of the header name and header value globs are matched.
130
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-routingrule-matchheaders.html#cfn-apigatewayv2-routingrule-matchheaders-anyof}
131
+ */
132
+ AnyOf: MatchHeaderValue[];
133
+ };
134
+ //# sourceMappingURL=aws-apigatewayv2-routingrule.d.ts.map
@@ -202,7 +202,7 @@ export type AutoScalingAutoScalingGroupProps = {
202
202
  */
203
203
  NotificationConfigurations?: NotificationConfiguration[] | undefined;
204
204
  /**
205
- * The name of the placement group into which to launch your instances. For more information, see [Placement groups](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html) in the *Amazon EC2 User Guide for Linux Instances* .
205
+ * The name of the placement group into which to launch your instances. For more information, see [Placement groups](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html) in the *Amazon EC2 User Guide* .
206
206
  *
207
207
  * > A *cluster* placement group is a logical grouping of instances within a single Availability Zone. You cannot specify multiple Availability Zones and a cluster placement group.
208
208
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html#cfn-autoscaling-autoscalinggroup-placementgroup}
@@ -517,7 +517,7 @@ export type InstanceRequirements = {
517
517
  */
518
518
  BareMetal?: string | undefined;
519
519
  /**
520
- * The minimum and maximum baseline bandwidth performance for an instance type, in Mbps. For more information, see [Amazon EBS–optimized instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-optimized.html) in the *Amazon EC2 User Guide for Linux Instances* .
520
+ * The minimum and maximum baseline bandwidth performance for an instance type, in Mbps. For more information, see [Amazon EBS–optimized instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-optimized.html) in the *Amazon EC2 User Guide* .
521
521
  *
522
522
  * Default: No minimum or maximum limits
523
523
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-instancerequirements.html#cfn-autoscaling-autoscalinggroup-instancerequirements-baselineebsbandwidthmbps}
@@ -529,7 +529,7 @@ export type InstanceRequirements = {
529
529
  */
530
530
  BaselinePerformanceFactors?: BaselinePerformanceFactorsRequest | undefined;
531
531
  /**
532
- * Indicates whether burstable performance instance types are included, excluded, or required. For more information, see [Burstable performance instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances.html) in the *Amazon EC2 User Guide for Linux Instances* .
532
+ * Indicates whether burstable performance instance types are included, excluded, or required. For more information, see [Burstable performance instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances.html) in the *Amazon EC2 User Guide* .
533
533
  *
534
534
  * Default: `excluded`
535
535
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-instancerequirements.html#cfn-autoscaling-autoscalinggroup-instancerequirements-burstableperformance}
@@ -541,6 +541,7 @@ export type InstanceRequirements = {
541
541
  * - For instance types with Intel CPUs, specify `intel` .
542
542
  * - For instance types with AMD CPUs, specify `amd` .
543
543
  * - For instance types with AWS CPUs, specify `amazon-web-services` .
544
+ * - For instance types with Apple CPUs, specify `apple` .
544
545
  *
545
546
  * > Don't confuse the CPU hardware manufacturer with the CPU hardware architecture. Instances will be launched with a compatible CPU architecture based on the Amazon Machine Image (AMI) that you specify in your launch template.
546
547
  *
@@ -562,7 +563,7 @@ export type InstanceRequirements = {
562
563
  /**
563
564
  * Indicates whether current or previous generation instance types are included.
564
565
  *
565
- * - For current generation instance types, specify `current` . The current generation includes EC2 instance types currently recommended for use. This typically includes the latest two to three generations in each instance family. For more information, see [Instance types](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html) in the *Amazon EC2 User Guide for Linux Instances* .
566
+ * - For current generation instance types, specify `current` . The current generation includes EC2 instance types currently recommended for use. This typically includes the latest two to three generations in each instance family. For more information, see [Instance types](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html) in the *Amazon EC2 User Guide* .
566
567
  * - For previous generation instance types, specify `previous` .
567
568
  *
568
569
  * Default: Any current or previous generation
@@ -570,7 +571,7 @@ export type InstanceRequirements = {
570
571
  */
571
572
  InstanceGenerations?: string[] | undefined;
572
573
  /**
573
- * Indicates whether instance types with instance store volumes are included, excluded, or required. For more information, see [Amazon EC2 instance store](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html) in the *Amazon EC2 User Guide for Linux Instances* .
574
+ * Indicates whether instance types with instance store volumes are included, excluded, or required. For more information, see [Amazon EC2 instance store](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html) in the *Amazon EC2 User Guide* .
574
575
  *
575
576
  * Default: `included`
576
577
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-instancerequirements.html#cfn-autoscaling-autoscalinggroup-instancerequirements-localstorage}
@@ -777,7 +778,7 @@ export type LaunchTemplateOverrides = {
777
778
  */
778
779
  InstanceRequirements?: InstanceRequirements | undefined;
779
780
  /**
780
- * The instance type, such as `m3.xlarge` . You must specify an instance type that is supported in your requested Region and Availability Zones. For more information, see [Instance types](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html) in the *Amazon EC2 User Guide for Linux Instances* .
781
+ * The instance type, such as `m3.xlarge` . You must specify an instance type that is supported in your requested Region and Availability Zones. For more information, see [Instance types](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html) in the *Amazon EC2 User Guide* .
781
782
  *
782
783
  * You can specify up to 40 instance types per Auto Scaling group.
783
784
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-launchtemplateoverrides.html#cfn-autoscaling-autoscalinggroup-launchtemplateoverrides-instancetype}
@@ -31,7 +31,7 @@ export type AutoScalingLaunchConfigurationProps = {
31
31
  */
32
32
  AssociatePublicIpAddress?: boolean | undefined;
33
33
  /**
34
- * The block device mapping entries that define the block devices to attach to the instances at launch. By default, the block devices specified in the block device mapping for the AMI are used. For more information, see [Block device mappings](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-device-mapping-concepts.html) in the *Amazon EC2 User Guide for Linux Instances* .
34
+ * The block device mapping entries that define the block devices to attach to the instances at launch. By default, the block devices specified in the block device mapping for the AMI are used. For more information, see [Block device mappings](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-device-mapping-concepts.html) in the *Amazon EC2 User Guide* .
35
35
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-launchconfiguration.html#cfn-autoscaling-launchconfiguration-blockdevicemappings}
36
36
  */
37
37
  BlockDeviceMappings?: BlockDeviceMapping[] | undefined;
@@ -46,7 +46,7 @@ export type AutoScalingLaunchConfigurationProps = {
46
46
  */
47
47
  ClassicLinkVPCSecurityGroups?: string[] | undefined;
48
48
  /**
49
- * Specifies whether the launch configuration is optimized for EBS I/O ( `true` ) or not ( `false` ). The optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O performance. This optimization is not available with all instance types. Additional fees are incurred when you enable EBS optimization for an instance type that is not EBS-optimized by default. For more information, see [Amazon EBS-optimized instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-optimized.html) in the *Amazon EC2 User Guide for Linux Instances* .
49
+ * Specifies whether the launch configuration is optimized for EBS I/O ( `true` ) or not ( `false` ). The optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O performance. This optimization is not available with all instance types. Additional fees are incurred when you enable EBS optimization for an instance type that is not EBS-optimized by default. For more information, see [Amazon EBS-optimized instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-optimized.html) in the *Amazon EC2 User Guide* .
50
50
  *
51
51
  * The default value is `false` .
52
52
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-launchconfiguration.html#cfn-autoscaling-launchconfiguration-ebsoptimized}
@@ -58,7 +58,7 @@ export type AutoScalingLaunchConfigurationProps = {
58
58
  */
59
59
  IamInstanceProfile?: string | undefined;
60
60
  /**
61
- * The ID of the Amazon Machine Image (AMI) that was assigned during registration. For more information, see [Find a Linux AMI](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/finding-an-ami.html) in the *Amazon EC2 User Guide for Linux Instances* .
61
+ * The ID of the Amazon Machine Image (AMI) that was assigned during registration. For more information, see [Find a Linux AMI](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/finding-an-ami.html) in the *Amazon EC2 User Guide* .
62
62
  *
63
63
  * If you specify `InstanceId` , an `ImageId` is not required.
64
64
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-launchconfiguration.html#cfn-autoscaling-launchconfiguration-imageid}
@@ -79,7 +79,7 @@ export type AutoScalingLaunchConfigurationProps = {
79
79
  */
80
80
  InstanceMonitoring?: boolean | undefined;
81
81
  /**
82
- * Specifies the instance type of the EC2 instance. For information about available instance types, see [Available instance types](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#AvailableInstanceTypes) in the *Amazon EC2 User Guide for Linux Instances* .
82
+ * Specifies the instance type of the EC2 instance. For information about available instance types, see [Available instance types](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#AvailableInstanceTypes) in the *Amazon EC2 User Guide* .
83
83
  *
84
84
  * If you specify `InstanceId` , an `InstanceType` is not required.
85
85
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-launchconfiguration.html#cfn-autoscaling-launchconfiguration-instancetype}
@@ -88,12 +88,12 @@ export type AutoScalingLaunchConfigurationProps = {
88
88
  /**
89
89
  * The ID of the kernel associated with the AMI.
90
90
  *
91
- * > We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see [User provided kernels](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedKernels.html) in the *Amazon EC2 User Guide for Linux Instances* .
91
+ * > We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see [User provided kernels](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedKernels.html) in the *Amazon EC2 User Guide* .
92
92
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-launchconfiguration.html#cfn-autoscaling-launchconfiguration-kernelid}
93
93
  */
94
94
  KernelId?: string | undefined;
95
95
  /**
96
- * The name of the key pair. For more information, see [Amazon EC2 key pairs and Amazon EC2 instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html) in the *Amazon EC2 User Guide for Linux Instances* .
96
+ * The name of the key pair. For more information, see [Amazon EC2 key pairs and Amazon EC2 instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html) in the *Amazon EC2 User Guide* .
97
97
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-launchconfiguration.html#cfn-autoscaling-launchconfiguration-keyname}
98
98
  */
99
99
  KeyName?: string | undefined;
@@ -121,7 +121,7 @@ export type AutoScalingLaunchConfigurationProps = {
121
121
  /**
122
122
  * The ID of the RAM disk to select.
123
123
  *
124
- * > We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see [User provided kernels](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedKernels.html) in the *Amazon EC2 User Guide for Linux Instances* .
124
+ * > We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see [User provided kernels](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedKernels.html) in the *Amazon EC2 User Guide* .
125
125
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-launchconfiguration.html#cfn-autoscaling-launchconfiguration-ramdiskid}
126
126
  */
127
127
  RamDiskId?: string | undefined;
@@ -225,7 +225,7 @@ export type BlockDevice = {
225
225
  */
226
226
  export type BlockDeviceMapping = {
227
227
  /**
228
- * The device name assigned to the volume (for example, `/dev/sdh` or `xvdh` ). For more information, see [Device naming on Linux instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/device_naming.html) in the *Amazon EC2 User Guide for Linux Instances* .
228
+ * The device name assigned to the volume (for example, `/dev/sdh` or `xvdh` ). For more information, see [Device naming on Linux instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/device_naming.html) in the *Amazon EC2 User Guide* .
229
229
  *
230
230
  * > To define a block device mapping, set the device name and exactly one of the following properties: `Ebs` , `NoDevice` , or `VirtualName` .
231
231
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-launchconfiguration-blockdevicemapping.html#cfn-autoscaling-launchconfiguration-blockdevicemapping-devicename}
@@ -163,6 +163,19 @@ export type ConditionFlowNodeConfiguration = {
163
163
  */
164
164
  Conditions: FlowCondition[];
165
165
  };
166
+ /**
167
+ * Field name for reranking
168
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-fieldforreranking.html}
169
+ */
170
+ export type FieldForReranking = {
171
+ /**
172
+ * Field name for reranking
173
+ * @minLength 1
174
+ * @maxLength 2000
175
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-fieldforreranking.html#cfn-bedrock-flow-fieldforreranking-fieldname}
176
+ */
177
+ FieldName: string;
178
+ };
166
179
  /**
167
180
  * Defines a condition in the condition node.
168
181
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-flowcondition.html}
@@ -338,6 +351,12 @@ export type FlowNodeConfiguration = {
338
351
  Retrieval: RetrievalFlowNodeConfiguration;
339
352
  } | {
340
353
  InlineCode: InlineCodeFlowNodeConfiguration;
354
+ } | {
355
+ Loop: LoopFlowNodeConfiguration;
356
+ } | {
357
+ LoopInput: Record<string, unknown>;
358
+ } | {
359
+ LoopController: LoopControllerFlowNodeConfiguration;
341
360
  };
342
361
  /**
343
362
  * Type of input/output for a node in a flow
@@ -349,6 +368,11 @@ export type FlowNodeIODataType = "String" | "Number" | "Boolean" | "Object" | "A
349
368
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-flownodeinput.html}
350
369
  */
351
370
  export type FlowNodeInput = {
371
+ /**
372
+ * Optional tag to classify input type, currently exclusive to LoopNode
373
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-flownodeinput.html#cfn-bedrock-flow-flownodeinput-category}
374
+ */
375
+ Category?: FlowNodeInputCategory | undefined;
352
376
  /**
353
377
  * An expression that formats the input for the node. For an explanation of how to create expressions, see [Expressions in Prompt flows in Amazon Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-expressions.html) .
354
378
  * @minLength 1
@@ -368,6 +392,11 @@ export type FlowNodeInput = {
368
392
  */
369
393
  Type: FlowNodeIODataType;
370
394
  };
395
+ /**
396
+ * Optional tag to classify input type, currently exclusive to LoopNode
397
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-flownodeinputcategory.html}
398
+ */
399
+ export type FlowNodeInputCategory = "LoopCondition" | "ReturnValueToLoopStart" | "ExitLoop";
371
400
  /**
372
401
  * Contains configurations for an output from a node.
373
402
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-flownodeoutput.html}
@@ -389,7 +418,7 @@ export type FlowNodeOutput = {
389
418
  * Flow node types
390
419
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-flownodetype.html}
391
420
  */
392
- export type FlowNodeType = "Input" | "Output" | "KnowledgeBase" | "Condition" | "Lex" | "Prompt" | "LambdaFunction" | "Agent" | "Storage" | "Retrieval" | "Iterator" | "Collector" | "InlineCode";
421
+ export type FlowNodeType = "Input" | "Output" | "KnowledgeBase" | "Condition" | "Lex" | "Prompt" | "LambdaFunction" | "Agent" | "Storage" | "Retrieval" | "Iterator" | "Collector" | "InlineCode" | "Loop" | "LoopInput" | "LoopController";
393
422
  /**
394
423
  * Schema Type for Flow APIs
395
424
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-flowstatus.html}
@@ -445,6 +474,11 @@ export type KnowledgeBaseFlowNodeConfiguration = {
445
474
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-knowledgebaseflownodeconfiguration.html#cfn-bedrock-flow-knowledgebaseflownodeconfiguration-guardrailconfiguration}
446
475
  */
447
476
  GuardrailConfiguration?: GuardrailConfiguration | undefined;
477
+ /**
478
+ * Model inference configuration
479
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-knowledgebaseflownodeconfiguration.html#cfn-bedrock-flow-knowledgebaseflownodeconfiguration-inferenceconfiguration}
480
+ */
481
+ InferenceConfiguration?: PromptInferenceConfiguration | undefined;
448
482
  /**
449
483
  * The unique identifier of the knowledge base to query.
450
484
  * @maxLength 10
@@ -460,6 +494,60 @@ export type KnowledgeBaseFlowNodeConfiguration = {
460
494
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-knowledgebaseflownodeconfiguration.html#cfn-bedrock-flow-knowledgebaseflownodeconfiguration-modelid}
461
495
  */
462
496
  ModelId?: string | undefined;
497
+ /**
498
+ * Number Of Results to Retrieve
499
+ * @min 1
500
+ * @max 100
501
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-knowledgebaseflownodeconfiguration.html#cfn-bedrock-flow-knowledgebaseflownodeconfiguration-numberofresults}
502
+ */
503
+ NumberOfResults?: number | undefined;
504
+ /**
505
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-knowledgebaseflownodeconfiguration.html#cfn-bedrock-flow-knowledgebaseflownodeconfiguration-orchestrationconfiguration}
506
+ */
507
+ OrchestrationConfiguration?: KnowledgeBaseOrchestrationConfiguration | undefined;
508
+ /**
509
+ * Knowledge Base Prompt template
510
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-knowledgebaseflownodeconfiguration.html#cfn-bedrock-flow-knowledgebaseflownodeconfiguration-prompttemplate}
511
+ */
512
+ PromptTemplate?: KnowledgeBasePromptTemplate | undefined;
513
+ /**
514
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-knowledgebaseflownodeconfiguration.html#cfn-bedrock-flow-knowledgebaseflownodeconfiguration-rerankingconfiguration}
515
+ */
516
+ RerankingConfiguration?: VectorSearchRerankingConfiguration | undefined;
517
+ };
518
+ /**
519
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-knowledgebaseorchestrationconfiguration.html}
520
+ */
521
+ export type KnowledgeBaseOrchestrationConfiguration = {
522
+ /**
523
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-knowledgebaseorchestrationconfiguration.html#cfn-bedrock-flow-knowledgebaseorchestrationconfiguration-additionalmodelrequestfields}
524
+ */
525
+ AdditionalModelRequestFields?: Record<string, unknown> | undefined;
526
+ /**
527
+ * Model inference configuration
528
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-knowledgebaseorchestrationconfiguration.html#cfn-bedrock-flow-knowledgebaseorchestrationconfiguration-inferenceconfig}
529
+ */
530
+ InferenceConfig?: PromptInferenceConfiguration | undefined;
531
+ /**
532
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-knowledgebaseorchestrationconfiguration.html#cfn-bedrock-flow-knowledgebaseorchestrationconfiguration-performanceconfig}
533
+ */
534
+ PerformanceConfig?: PerformanceConfiguration | undefined;
535
+ /**
536
+ * Knowledge Base Prompt template
537
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-knowledgebaseorchestrationconfiguration.html#cfn-bedrock-flow-knowledgebaseorchestrationconfiguration-prompttemplate}
538
+ */
539
+ PromptTemplate?: KnowledgeBasePromptTemplate | undefined;
540
+ };
541
+ /**
542
+ * Knowledge Base Prompt template
543
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-knowledgebaseprompttemplate.html}
544
+ */
545
+ export type KnowledgeBasePromptTemplate = {
546
+ /**
547
+ * @minLength 1
548
+ * @maxLength 100000
549
+ */
550
+ TextPromptTemplate: string;
463
551
  };
464
552
  /**
465
553
  * Contains configurations for a Lambda function node in the flow. You specify the Lambda function to invoke and the inputs into the function. The output is the response that is defined in the Lambda function. For more information, see [Node types in a flow](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-nodes.html) in the Amazon Bedrock User Guide.
@@ -494,6 +582,66 @@ export type LexFlowNodeConfiguration = {
494
582
  */
495
583
  LocaleId: string;
496
584
  };
585
+ /**
586
+ * Configuration for the LoopController node, which manages loop execution
587
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-loopcontrollerflownodeconfiguration.html}
588
+ */
589
+ export type LoopControllerFlowNodeConfiguration = {
590
+ /**
591
+ * Condition branch for a condition node
592
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-loopcontrollerflownodeconfiguration.html#cfn-bedrock-flow-loopcontrollerflownodeconfiguration-continuecondition}
593
+ */
594
+ ContinueCondition: FlowCondition;
595
+ /**
596
+ * Maximum number of iterations the loop can perform
597
+ * @min 1
598
+ * @max 1000
599
+ * @default 10
600
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-loopcontrollerflownodeconfiguration.html#cfn-bedrock-flow-loopcontrollerflownodeconfiguration-maxiterations}
601
+ */
602
+ MaxIterations?: number | undefined;
603
+ };
604
+ /**
605
+ * Loop node config, contains loop's internal definition
606
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-loopflownodeconfiguration.html}
607
+ */
608
+ export type LoopFlowNodeConfiguration = {
609
+ /**
610
+ * Flow definition
611
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-loopflownodeconfiguration.html#cfn-bedrock-flow-loopflownodeconfiguration-definition}
612
+ */
613
+ Definition: FlowDefinition;
614
+ };
615
+ /**
616
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-metadataconfigurationforreranking.html}
617
+ */
618
+ export type MetadataConfigurationForReranking = {
619
+ /**
620
+ * Reranking Metadata Selection Mode
621
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-metadataconfigurationforreranking.html#cfn-bedrock-flow-metadataconfigurationforreranking-selectionmode}
622
+ */
623
+ SelectionMode: RerankingMetadataSelectionMode;
624
+ /**
625
+ * Reranking Metadata Selective Mode Configuration
626
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-metadataconfigurationforreranking.html#cfn-bedrock-flow-metadataconfigurationforreranking-selectivemodeconfiguration}
627
+ */
628
+ SelectiveModeConfiguration?: RerankingMetadataSelectiveModeConfiguration | undefined;
629
+ };
630
+ /**
631
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-performanceconfiguration.html}
632
+ */
633
+ export type PerformanceConfiguration = {
634
+ /**
635
+ * Performance Configuration Latency
636
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-performanceconfiguration.html#cfn-bedrock-flow-performanceconfiguration-latency}
637
+ */
638
+ Latency?: PerformanceConfigurationLatency | undefined;
639
+ };
640
+ /**
641
+ * Performance Configuration Latency
642
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-performanceconfigurationlatency.html}
643
+ */
644
+ export type PerformanceConfigurationLatency = "standard" | "optimized";
497
645
  /**
498
646
  * Contains configurations for a prompt node in the flow. You can use a prompt from Prompt management or you can define one in this node. If the prompt contains variables, the inputs into this node will fill in the variables. The output from this node is the response generated by the model. For more information, see [Node types in a flow](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-nodes.html) in the Amazon Bedrock User Guide.
499
647
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-promptflownodeconfiguration.html}
@@ -623,6 +771,20 @@ export type PromptTemplateConfiguration = {
623
771
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-prompttemplatetype.html}
624
772
  */
625
773
  export type PromptTemplateType = "TEXT";
774
+ /**
775
+ * Reranking Metadata Selection Mode
776
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-rerankingmetadataselectionmode.html}
777
+ */
778
+ export type RerankingMetadataSelectionMode = "SELECTIVE" | "ALL";
779
+ /**
780
+ * Reranking Metadata Selective Mode Configuration
781
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-rerankingmetadataselectivemodeconfiguration.html}
782
+ */
783
+ export type RerankingMetadataSelectiveModeConfiguration = {
784
+ FieldsToInclude: FieldForReranking[];
785
+ } | {
786
+ FieldsToExclude: FieldForReranking[];
787
+ };
626
788
  /**
627
789
  * Contains configurations for a Retrieval node in a flow. This node retrieves data from the Amazon S3 location that you specify and returns it as the output.
628
790
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-retrievalflownodeconfiguration.html}
@@ -734,4 +896,57 @@ export type TextPromptTemplateConfiguration = {
734
896
  */
735
897
  Text: string;
736
898
  };
899
+ /**
900
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-vectorsearchbedrockrerankingconfiguration.html}
901
+ */
902
+ export type VectorSearchBedrockRerankingConfiguration = {
903
+ /**
904
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-vectorsearchbedrockrerankingconfiguration.html#cfn-bedrock-flow-vectorsearchbedrockrerankingconfiguration-metadataconfiguration}
905
+ */
906
+ MetadataConfiguration?: MetadataConfigurationForReranking | undefined;
907
+ /**
908
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-vectorsearchbedrockrerankingconfiguration.html#cfn-bedrock-flow-vectorsearchbedrockrerankingconfiguration-modelconfiguration}
909
+ */
910
+ ModelConfiguration: VectorSearchBedrockRerankingModelConfiguration;
911
+ /**
912
+ * Number Of Results For Reranking
913
+ * @min 1
914
+ * @max 100
915
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-vectorsearchbedrockrerankingconfiguration.html#cfn-bedrock-flow-vectorsearchbedrockrerankingconfiguration-numberofrerankedresults}
916
+ */
917
+ NumberOfRerankedResults?: number | undefined;
918
+ };
919
+ /**
920
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-vectorsearchbedrockrerankingmodelconfiguration.html}
921
+ */
922
+ export type VectorSearchBedrockRerankingModelConfiguration = {
923
+ /**
924
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-vectorsearchbedrockrerankingmodelconfiguration.html#cfn-bedrock-flow-vectorsearchbedrockrerankingmodelconfiguration-additionalmodelrequestfields}
925
+ */
926
+ AdditionalModelRequestFields?: Record<string, unknown> | undefined;
927
+ /**
928
+ * Arn of a Bedrock Reranking model
929
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-vectorsearchbedrockrerankingmodelconfiguration.html#cfn-bedrock-flow-vectorsearchbedrockrerankingmodelconfiguration-modelarn}
930
+ */
931
+ ModelArn: string;
932
+ };
933
+ /**
934
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-vectorsearchrerankingconfiguration.html}
935
+ */
936
+ export type VectorSearchRerankingConfiguration = {
937
+ /**
938
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-vectorsearchrerankingconfiguration.html#cfn-bedrock-flow-vectorsearchrerankingconfiguration-bedrockrerankingconfiguration}
939
+ */
940
+ BedrockRerankingConfiguration?: VectorSearchBedrockRerankingConfiguration | undefined;
941
+ /**
942
+ * Enum of Rerank Configuration Types
943
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-vectorsearchrerankingconfiguration.html#cfn-bedrock-flow-vectorsearchrerankingconfiguration-type}
944
+ */
945
+ Type: VectorSearchRerankingConfigurationType;
946
+ };
947
+ /**
948
+ * Enum of Rerank Configuration Types
949
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-vectorsearchrerankingconfigurationtype.html}
950
+ */
951
+ export type VectorSearchRerankingConfigurationType = "BEDROCK_RERANKING_MODEL";
737
952
  //# sourceMappingURL=aws-bedrock-flow.d.ts.map