@awboost/cfn-resource-types 0.1.135 → 0.1.137

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 (66) hide show
  1. package/lib/AWS-ApiGatewayV2-Integration.d.ts +6 -75
  2. package/lib/AWS-ApiGatewayV2-Integration.js +1 -2
  3. package/lib/AWS-AppIntegrations-Application.d.ts +1 -1
  4. package/lib/AWS-ApplicationSignals-ServiceLevelObjective.d.ts +72 -1
  5. package/lib/AWS-Backup-RestoreTestingPlan.d.ts +6 -0
  6. package/lib/AWS-Batch-ComputeEnvironment.d.ts +1 -0
  7. package/lib/AWS-Bedrock-Flow.d.ts +131 -1
  8. package/lib/AWS-Bedrock-FlowAlias.d.ts +1 -1
  9. package/lib/AWS-Bedrock-FlowVersion.d.ts +118 -1
  10. package/lib/AWS-Bedrock-PromptVersion.d.ts +17 -0
  11. package/lib/AWS-CloudWatch-Alarm.d.ts +7 -4
  12. package/lib/AWS-CodeBuild-Fleet.d.ts +6 -2
  13. package/lib/AWS-Deadline-Fleet.d.ts +1 -1
  14. package/lib/AWS-EC2-CustomerGateway.d.ts +1 -1
  15. package/lib/AWS-EC2-InternetGateway.d.ts +1 -1
  16. package/lib/AWS-EC2-KeyPair.d.ts +1 -1
  17. package/lib/AWS-EC2-LaunchTemplate.d.ts +2 -2
  18. package/lib/AWS-EC2-NatGateway.d.ts +1 -1
  19. package/lib/AWS-EC2-Subnet.d.ts +4 -4
  20. package/lib/AWS-EC2-VPCEndpoint.d.ts +4 -2
  21. package/lib/AWS-EC2-VPCEndpoint.js +2 -1
  22. package/lib/AWS-EC2-VPNConnection.d.ts +12 -1
  23. package/lib/AWS-EC2-VPNGateway.d.ts +1 -1
  24. package/lib/AWS-EC2-VPNGatewayRoutePropagation.d.ts +6 -0
  25. package/lib/AWS-EC2-Volume.d.ts +13 -7
  26. package/lib/AWS-EC2-Volume.js +4 -1
  27. package/lib/AWS-ECR-Repository.d.ts +1 -1
  28. package/lib/AWS-ECS-TaskDefinition.d.ts +73 -62
  29. package/lib/AWS-ECS-TaskDefinition.js +1 -1
  30. package/lib/AWS-ElasticLoadBalancingV2-LoadBalancer.d.ts +1 -0
  31. package/lib/AWS-EntityResolution-MatchingWorkflow.d.ts +8 -0
  32. package/lib/AWS-EntityResolution-SchemaMapping.d.ts +1 -1
  33. package/lib/AWS-Glue-Database.d.ts +61 -8
  34. package/lib/AWS-IVS-Channel.d.ts +1 -1
  35. package/lib/AWS-IVS-PublicKey.d.ts +67 -0
  36. package/lib/AWS-IVS-PublicKey.js +12 -0
  37. package/lib/AWS-IVS-Stage.d.ts +24 -0
  38. package/lib/AWS-IoTFleetWise-Campaign.d.ts +20 -0
  39. package/lib/AWS-IoTFleetWise-DecoderManifest.d.ts +2 -2
  40. package/lib/AWS-Location-APIKey.d.ts +2 -2
  41. package/lib/AWS-MSK-Replicator.d.ts +21 -0
  42. package/lib/AWS-MediaLive-Input.d.ts +27 -0
  43. package/lib/AWS-MediaPackageV2-OriginEndpoint.d.ts +2 -2
  44. package/lib/AWS-Neptune-DBCluster.d.ts +7 -3
  45. package/lib/AWS-OpenSearchService-Domain.d.ts +12 -0
  46. package/lib/AWS-PaymentCryptography-Key.d.ts +3 -3
  47. package/lib/AWS-QBusiness-Application.d.ts +45 -0
  48. package/lib/AWS-QBusiness-WebExperience.d.ts +40 -0
  49. package/lib/AWS-QuickSight-Analysis.d.ts +48 -0
  50. package/lib/AWS-QuickSight-Dashboard.d.ts +48 -0
  51. package/lib/AWS-QuickSight-DataSet.d.ts +2 -2
  52. package/lib/AWS-QuickSight-DataSource.d.ts +1 -1
  53. package/lib/AWS-QuickSight-Template.d.ts +48 -0
  54. package/lib/AWS-RDS-DBInstance.d.ts +2 -2
  55. package/lib/AWS-RDS-GlobalCluster.d.ts +2 -0
  56. package/lib/AWS-SES-ReceiptRule.d.ts +1 -0
  57. package/lib/AWS-SSMQuickSetup-ConfigurationManager.d.ts +104 -0
  58. package/lib/AWS-SSMQuickSetup-ConfigurationManager.js +12 -0
  59. package/lib/AWS-SageMaker-Domain.d.ts +1 -1
  60. package/lib/AWS-SageMaker-UserProfile.d.ts +1 -1
  61. package/lib/AWS-SecurityHub-AutomationRule.d.ts +332 -96
  62. package/lib/AWS-SecurityHub-DelegatedAdmin.d.ts +9 -7
  63. package/lib/AWS-SecurityHub-DelegatedAdmin.js +4 -1
  64. package/lib/AWS-SecurityHub-FindingAggregator.d.ts +20 -10
  65. package/lib/AWS-SecurityHub-FindingAggregator.js +3 -1
  66. package/package.json +1 -1
@@ -1,82 +1,27 @@
1
1
  import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
2
2
  import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-builder/template";
3
3
  /**
4
- * Resource type definition for `AWS::ApiGatewayV2::Integration`.
5
- * An example resource schema demonstrating some basic constructs and validation rules.
4
+ * Resource Type definition for AWS::ApiGatewayV2::Integration
6
5
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-integration.html}
7
6
  */
8
7
  export type ApiGatewayV2IntegrationProperties = {
9
- /**
10
- * The API identifier.
11
- */
12
8
  ApiId: string;
13
- /**
14
- * The ID of the VPC link for a private integration. Supported only for HTTP APIs.
15
- */
16
9
  ConnectionId?: string;
17
- /**
18
- * The type of the network connection to the integration endpoint. Specify INTERNET for connections through the public routable internet or VPC_LINK for private connections between API Gateway and resources in a VPC. The default value is INTERNET.
19
- */
20
10
  ConnectionType?: string;
21
- /**
22
- * Supported only for WebSocket APIs. Specifies how to handle response payload content type conversions. Supported values are CONVERT_TO_BINARY and CONVERT_TO_TEXT.
23
- */
24
11
  ContentHandlingStrategy?: string;
25
- /**
26
- * Specifies the credentials required for the integration, if any. For AWS integrations, three options are available. To specify an IAM Role for API Gateway to assume, use the role's Amazon Resource Name (ARN). To require that the caller's identity be passed through from the request, specify the string arn:aws:iam::*:user/*. To use resource-based permissions on supported AWS services, don't specify this parameter.
27
- */
28
12
  CredentialsArn?: string;
29
- /**
30
- * The description of the integration.
31
- */
32
13
  Description?: string;
33
- /**
34
- * Specifies the integration's HTTP method type.
35
- */
36
14
  IntegrationMethod?: string;
37
- /**
38
- * Supported only for HTTP API AWS_PROXY integrations. Specifies the AWS service action to invoke.
39
- */
40
15
  IntegrationSubtype?: string;
41
- /**
42
- * The integration type of an integration.
43
- */
44
16
  IntegrationType: string;
45
- /**
46
- * For a Lambda integration, specify the URI of a Lambda function. For an HTTP integration, specify a fully-qualified URL. For an HTTP API private integration, specify the ARN of an Application Load Balancer listener, Network Load Balancer listener, or AWS Cloud Map service.
47
- */
48
17
  IntegrationUri?: string;
49
- /**
50
- * Specifies the pass-through behavior for incoming requests based on the Content-Type header in the request, and the available mapping templates specified as the requestTemplates property on the Integration resource. There are three valid values: WHEN_NO_MATCH, WHEN_NO_TEMPLATES, and NEVER. Supported only for WebSocket APIs.
51
- */
52
18
  PassthroughBehavior?: string;
53
- /**
54
- * Specifies the format of the payload sent to an integration. Required for HTTP APIs. For HTTP APIs, supported values for Lambda proxy integrations are 1.0 and 2.0 For all other integrations, 1.0 is the only supported value.
55
- */
56
19
  PayloadFormatVersion?: string;
57
- /**
58
- * A key-value map specifying parameters.
59
- */
60
- RequestParameters?: Record<string, string>;
61
- /**
62
- * A map of Velocity templates that are applied on the request payload based on the value of the Content-Type header sent by the client.
63
- */
64
- RequestTemplates?: Record<string, string>;
65
- /**
66
- * Parameters that transform the HTTP response from a backend integration before returning the response to clients. Supported only for HTTP APIs.
67
- */
68
- ResponseParameters?: Record<string, ResponseParameter[]>;
69
- /**
70
- * The template selection expression for the integration. Supported only for WebSocket APIs.
71
- */
20
+ RequestParameters?: Record<string, any>;
21
+ RequestTemplates?: Record<string, any>;
22
+ ResponseParameters?: Record<string, any>;
72
23
  TemplateSelectionExpression?: string;
73
- /**
74
- * Custom timeout between 50 and 29000 milliseconds for WebSocket APIs and between 50 and 30000 milliseconds for HTTP APIs. The default timeout is 29 seconds for WebSocket APIs and 30 seconds for HTTP APIs.
75
- */
76
24
  TimeoutInMillis?: number;
77
- /**
78
- * The TLS configuration for a private integration. If you specify a TLS configuration, private integration traffic uses the HTTPS protocol. Supported only for HTTP APIs.
79
- */
80
25
  TlsConfig?: TlsConfig;
81
26
  };
82
27
  /**
@@ -84,31 +29,17 @@ export type ApiGatewayV2IntegrationProperties = {
84
29
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-integration.html#aws-resource-apigatewayv2-integration-return-values}
85
30
  */
86
31
  export type ApiGatewayV2IntegrationAttributes = {
87
- /**
88
- * The integration ID.
89
- */
90
- IntegrationId: string;
91
- };
92
- /**
93
- * Type definition for `AWS::ApiGatewayV2::Integration.ResponseParameter`.
94
- * response parameter
95
- * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-integration-responseparameter.html}
96
- */
97
- export type ResponseParameter = {
98
- Destination?: string;
99
- Source?: string;
32
+ Id: string;
100
33
  };
101
34
  /**
102
35
  * Type definition for `AWS::ApiGatewayV2::Integration.TlsConfig`.
103
- * The TlsConfig property specifies the TLS configuration for a private integration. Supported only for HTTP APIs.
104
36
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-integration-tlsconfig.html}
105
37
  */
106
38
  export type TlsConfig = {
107
39
  ServerNameToVerify?: string;
108
40
  };
109
41
  /**
110
- * Resource type definition for `AWS::ApiGatewayV2::Integration`.
111
- * An example resource schema demonstrating some basic constructs and validation rules.
42
+ * Resource Type definition for AWS::ApiGatewayV2::Integration
112
43
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-integration.html}
113
44
  */
114
45
  export declare class ApiGatewayV2Integration extends $Resource<"AWS::ApiGatewayV2::Integration", ApiGatewayV2IntegrationProperties, ApiGatewayV2IntegrationAttributes> {
@@ -1,7 +1,6 @@
1
1
  import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
2
2
  /**
3
- * Resource type definition for `AWS::ApiGatewayV2::Integration`.
4
- * An example resource schema demonstrating some basic constructs and validation rules.
3
+ * Resource Type definition for AWS::ApiGatewayV2::Integration
5
4
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-integration.html}
6
5
  */
7
6
  export class ApiGatewayV2Integration extends $Resource {
@@ -31,7 +31,7 @@ export type AppIntegrationsApplicationProperties = {
31
31
  * @maxLength `255`
32
32
  * @pattern `^[a-zA-Z0-9/\._\-]+$`
33
33
  */
34
- Namespace?: string;
34
+ Namespace: string;
35
35
  /**
36
36
  * The configuration of events or requests that the application has access to.
37
37
  * @minLength `0`
@@ -20,10 +20,14 @@ export type ApplicationSignalsServiceLevelObjectiveProperties = {
20
20
  * @pattern `^[0-9A-Za-z][-._0-9A-Za-z ]{0,126}[0-9A-Za-z]$`
21
21
  */
22
22
  Name: string;
23
+ /**
24
+ * This structure contains information about the performance metric that a request-based SLO monitors.
25
+ */
26
+ RequestBasedSli?: RequestBasedSli;
23
27
  /**
24
28
  * This structure contains information about the performance metric that an SLO monitors.
25
29
  */
26
- Sli: Sli;
30
+ Sli?: Sli;
27
31
  /**
28
32
  * The list of tag keys and values associated with the resource you specified
29
33
  * @minLength `1`
@@ -46,6 +50,10 @@ export type ApplicationSignalsServiceLevelObjectiveAttributes = {
46
50
  * @min `946684800`
47
51
  */
48
52
  CreatedTime: number;
53
+ /**
54
+ * Displays whether this is a period-based SLO or a request-based SLO.
55
+ */
56
+ EvaluationType: "PeriodBased" | "RequestBased";
49
57
  /**
50
58
  * Epoch time in seconds of the time that this SLO was most recently updated
51
59
  * @min `946684800`
@@ -208,6 +216,69 @@ export type MetricStat = {
208
216
  */
209
217
  Unit?: string;
210
218
  };
219
+ /**
220
+ * Type definition for `AWS::ApplicationSignals::ServiceLevelObjective.MonitoredRequestCountMetric`.
221
+ * This structure defines the metric that is used as the "good request" or "bad request" value for a request-based SLO. This value observed for the metric defined in `TotalRequestCountMetric` is divided by the number found for `MonitoredRequestCountMetric` to determine the percentage of successful requests that this SLO tracks.
222
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationsignals-servicelevelobjective-monitoredrequestcountmetric.html}
223
+ */
224
+ export type MonitoredRequestCountMetric = {
225
+ /**
226
+ * If you want to count "bad requests" to determine the percentage of successful requests for this request-based SLO, specify the metric to use as "bad requests" in this structure.
227
+ */
228
+ BadCountMetric?: MetricDataQuery[];
229
+ /**
230
+ * If you want to count "good requests" to determine the percentage of successful requests for this request-based SLO, specify the metric to use as "good requests" in this structure.
231
+ */
232
+ GoodCountMetric?: MetricDataQuery[];
233
+ };
234
+ /**
235
+ * Type definition for `AWS::ApplicationSignals::ServiceLevelObjective.RequestBasedSli`.
236
+ * This structure contains information about the performance metric that a request-based SLO monitors.
237
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationsignals-servicelevelobjective-requestbasedsli.html}
238
+ */
239
+ export type RequestBasedSli = {
240
+ /**
241
+ * The arithmetic operation used when comparing the specified metric to the threshold.
242
+ */
243
+ ComparisonOperator?: "GreaterThanOrEqualTo" | "LessThanOrEqualTo" | "LessThan" | "GreaterThan";
244
+ /**
245
+ * The value that the SLI metric is compared to.
246
+ */
247
+ MetricThreshold?: number;
248
+ /**
249
+ * This structure contains the information about the metric that is used for a request-based SLO.
250
+ */
251
+ RequestBasedSliMetric: RequestBasedSliMetric;
252
+ };
253
+ /**
254
+ * Type definition for `AWS::ApplicationSignals::ServiceLevelObjective.RequestBasedSliMetric`.
255
+ * This structure contains the information about the metric that is used for a request-based SLO.
256
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationsignals-servicelevelobjective-requestbasedslimetric.html}
257
+ */
258
+ export type RequestBasedSliMetric = {
259
+ /**
260
+ * This is a string-to-string map that contains information about the type of object that this SLO is related to.
261
+ */
262
+ KeyAttributes?: KeyAttributes;
263
+ /**
264
+ * If the SLO monitors either the LATENCY or AVAILABILITY metric that Application Signals collects, this field displays which of those metrics is used.
265
+ */
266
+ MetricType?: "LATENCY" | "AVAILABILITY";
267
+ /**
268
+ * This structure defines the metric that is used as the "good request" or "bad request" value for a request-based SLO. This value observed for the metric defined in `TotalRequestCountMetric` is divided by the number found for `MonitoredRequestCountMetric` to determine the percentage of successful requests that this SLO tracks.
269
+ */
270
+ MonitoredRequestCountMetric?: MonitoredRequestCountMetric;
271
+ /**
272
+ * If the SLO monitors a specific operation of the service, this field displays that operation name.
273
+ * @minLength `1`
274
+ * @maxLength `255`
275
+ */
276
+ OperationName?: string;
277
+ /**
278
+ * This structure defines the metric that is used as the "total requests" number for a request-based SLO. The number observed for this metric is divided by the number of "good requests" or "bad requests" that is observed for the metric defined in `MonitoredRequestCountMetric`.
279
+ */
280
+ TotalRequestCountMetric?: MetricDataQuery[];
281
+ };
211
282
  /**
212
283
  * Type definition for `AWS::ApplicationSignals::ServiceLevelObjective.RollingInterval`.
213
284
  * If the interval is a calendar interval, this structure contains the interval specifications.
@@ -9,6 +9,7 @@ export type BackupRestoreTestingPlanProperties = {
9
9
  RestoreTestingPlanName: string;
10
10
  ScheduleExpression: string;
11
11
  ScheduleExpressionTimezone?: string;
12
+ ScheduleStatus?: RestoreTestingScheduleStatus;
12
13
  StartWindowHours?: number;
13
14
  Tags?: Tag[];
14
15
  };
@@ -40,6 +41,11 @@ export type RestoreTestingRecoveryPointSelectionAlgorithm = "LATEST_WITHIN_WINDO
40
41
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-restoretestingplan-restoretestingrecoverypointtype.html}
41
42
  */
42
43
  export type RestoreTestingRecoveryPointType = "SNAPSHOT" | "CONTINUOUS";
44
+ /**
45
+ * Type definition for `AWS::Backup::RestoreTestingPlan.RestoreTestingScheduleStatus`.
46
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-restoretestingplan-restoretestingschedulestatus.html}
47
+ */
48
+ export type RestoreTestingScheduleStatus = "ACTIVE" | "SUSPENDED";
43
49
  /**
44
50
  * Type definition for `AWS::Backup::RestoreTestingPlan.Tag`.
45
51
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-restoretestingplan-tag.html}
@@ -7,6 +7,7 @@ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-
7
7
  export type BatchComputeEnvironmentProperties = {
8
8
  ComputeEnvironmentName?: string;
9
9
  ComputeResources?: ComputeResources;
10
+ Context?: string;
10
11
  EksConfiguration?: EksConfiguration;
11
12
  ReplaceComputeEnvironment?: boolean;
12
13
  ServiceRole?: string;
@@ -84,6 +84,15 @@ export type BedrockFlowAttributes = {
84
84
  * Time Stamp.
85
85
  */
86
86
  UpdatedAt: string;
87
+ /**
88
+ * List of flow validations
89
+ */
90
+ Validations: {
91
+ /**
92
+ * validation message
93
+ */
94
+ Message: string;
95
+ }[];
87
96
  /**
88
97
  * Draft Version.
89
98
  * @minLength `5`
@@ -92,6 +101,25 @@ export type BedrockFlowAttributes = {
92
101
  */
93
102
  Version: string;
94
103
  };
104
+ /**
105
+ * Type definition for `AWS::Bedrock::Flow.AgentFlowNodeConfiguration`.
106
+ * Agent flow node configuration
107
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-agentflownodeconfiguration.html}
108
+ */
109
+ export type AgentFlowNodeConfiguration = {
110
+ /**
111
+ * Arn representation of the Agent Alias.
112
+ * @maxLength `2048`
113
+ * @pattern `^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:agent-alias/[0-9a-zA-Z]{10}/[0-9a-zA-Z]{10}$`
114
+ */
115
+ AgentAliasArn: string;
116
+ };
117
+ /**
118
+ * Type definition for `AWS::Bedrock::Flow.CollectorFlowNodeConfiguration`.
119
+ * Collector flow node configuration
120
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-collectorflownodeconfiguration.html}
121
+ */
122
+ export type CollectorFlowNodeConfiguration = Record<string, any>;
95
123
  /**
96
124
  * Type definition for `AWS::Bedrock::Flow.ConditionFlowNodeConfiguration`.
97
125
  * Condition flow node configuration
@@ -297,6 +325,31 @@ export type FlowNodeConfiguration = {
297
325
  * Lambda function flow node configuration
298
326
  */
299
327
  LambdaFunction: LambdaFunctionFlowNodeConfiguration;
328
+ } | {
329
+ /**
330
+ * Agent flow node configuration
331
+ */
332
+ Agent: AgentFlowNodeConfiguration;
333
+ } | {
334
+ /**
335
+ * Storage flow node configuration
336
+ */
337
+ Storage: StorageFlowNodeConfiguration;
338
+ } | {
339
+ /**
340
+ * Iterator flow node configuration
341
+ */
342
+ Iterator: IteratorFlowNodeConfiguration;
343
+ } | {
344
+ /**
345
+ * Collector flow node configuration
346
+ */
347
+ Collector: CollectorFlowNodeConfiguration;
348
+ } | {
349
+ /**
350
+ * Retrieval flow node configuration
351
+ */
352
+ Retrieval: RetrievalFlowNodeConfiguration;
300
353
  };
301
354
  /**
302
355
  * Type definition for `AWS::Bedrock::Flow.FlowNodeInput`.
@@ -347,19 +400,36 @@ export type FlowNodeOutput = {
347
400
  * Flow node types
348
401
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-flownodetype.html}
349
402
  */
350
- export type FlowNodeType = "Input" | "Output" | "KnowledgeBase" | "Condition" | "Lex" | "Prompt" | "LambdaFunction";
403
+ export type FlowNodeType = "Input" | "Output" | "KnowledgeBase" | "Condition" | "Lex" | "Prompt" | "LambdaFunction" | "Agent" | "Storage" | "Retrieval" | "Iterator" | "Collector";
351
404
  /**
352
405
  * Type definition for `AWS::Bedrock::Flow.FlowStatus`.
353
406
  * Schema Type for Flow APIs
354
407
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-flowstatus.html}
355
408
  */
356
409
  export type FlowStatus = "Failed" | "Prepared" | "Preparing" | "NotPrepared";
410
+ /**
411
+ * Type definition for `AWS::Bedrock::Flow.FlowValidation`.
412
+ * Validation for Flow
413
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-flowvalidation.html}
414
+ */
415
+ export type FlowValidation = {
416
+ /**
417
+ * validation message
418
+ */
419
+ Message: string;
420
+ };
357
421
  /**
358
422
  * Type definition for `AWS::Bedrock::Flow.InputFlowNodeConfiguration`.
359
423
  * Input flow node configuration
360
424
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-inputflownodeconfiguration.html}
361
425
  */
362
426
  export type InputFlowNodeConfiguration = Record<string, any>;
427
+ /**
428
+ * Type definition for `AWS::Bedrock::Flow.IteratorFlowNodeConfiguration`.
429
+ * Iterator flow node configuration
430
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-iteratorflownodeconfiguration.html}
431
+ */
432
+ export type IteratorFlowNodeConfiguration = Record<string, any>;
363
433
  /**
364
434
  * Type definition for `AWS::Bedrock::Flow.KnowledgeBaseFlowNodeConfiguration`.
365
435
  * Knowledge base flow node configuration
@@ -552,6 +622,36 @@ export type PromptTemplateConfiguration = {
552
622
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-prompttemplatetype.html}
553
623
  */
554
624
  export type PromptTemplateType = "TEXT";
625
+ /**
626
+ * Type definition for `AWS::Bedrock::Flow.RetrievalFlowNodeConfiguration`.
627
+ * Retrieval flow node configuration
628
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-retrievalflownodeconfiguration.html}
629
+ */
630
+ export type RetrievalFlowNodeConfiguration = {
631
+ ServiceConfiguration: RetrievalFlowNodeServiceConfiguration;
632
+ };
633
+ /**
634
+ * Type definition for `AWS::Bedrock::Flow.RetrievalFlowNodeS3Configuration`.
635
+ * s3 Retrieval configuration for Retrieval node
636
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-retrievalflownodes3configuration.html}
637
+ */
638
+ export type RetrievalFlowNodeS3Configuration = {
639
+ /**
640
+ * bucket name of an s3 that will be used for Retrieval flow node configuration
641
+ * @pattern `^[a-z0-9][\.\-a-z0-9]{1,61}[a-z0-9]$`
642
+ */
643
+ BucketName: string;
644
+ };
645
+ /**
646
+ * Type definition for `AWS::Bedrock::Flow.RetrievalFlowNodeServiceConfiguration`.
647
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-retrievalflownodeserviceconfiguration.html}
648
+ */
649
+ export type RetrievalFlowNodeServiceConfiguration = {
650
+ /**
651
+ * s3 Retrieval configuration for Retrieval node
652
+ */
653
+ S3?: RetrievalFlowNodeS3Configuration;
654
+ };
555
655
  /**
556
656
  * Type definition for `AWS::Bedrock::Flow.S3Location`.
557
657
  * A bucket, key and optional version pointing to an S3 object containing a UTF-8 encoded JSON string Definition with the same schema as the Definition property of this resource
@@ -578,6 +678,36 @@ export type S3Location = {
578
678
  */
579
679
  Version?: string;
580
680
  };
681
+ /**
682
+ * Type definition for `AWS::Bedrock::Flow.StorageFlowNodeConfiguration`.
683
+ * Storage flow node configuration
684
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-storageflownodeconfiguration.html}
685
+ */
686
+ export type StorageFlowNodeConfiguration = {
687
+ ServiceConfiguration: StorageFlowNodeServiceConfiguration;
688
+ };
689
+ /**
690
+ * Type definition for `AWS::Bedrock::Flow.StorageFlowNodeS3Configuration`.
691
+ * s3 storage configuration for storage node
692
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-storageflownodes3configuration.html}
693
+ */
694
+ export type StorageFlowNodeS3Configuration = {
695
+ /**
696
+ * bucket name of an s3 that will be used for storage flow node configuration
697
+ * @pattern `^[a-z0-9][\.\-a-z0-9]{1,61}[a-z0-9]$`
698
+ */
699
+ BucketName: string;
700
+ };
701
+ /**
702
+ * Type definition for `AWS::Bedrock::Flow.StorageFlowNodeServiceConfiguration`.
703
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-storageflownodeserviceconfiguration.html}
704
+ */
705
+ export type StorageFlowNodeServiceConfiguration = {
706
+ /**
707
+ * s3 storage configuration for storage node
708
+ */
709
+ S3?: StorageFlowNodeS3Configuration;
710
+ };
581
711
  /**
582
712
  * Type definition for `AWS::Bedrock::Flow.TagsMap`.
583
713
  * A map of tag keys and values
@@ -74,7 +74,7 @@ export type FlowAliasRoutingConfigurationListItem = {
74
74
  /**
75
75
  * Version.
76
76
  * @minLength `1`
77
- * @maxLength `1`
77
+ * @maxLength `5`
78
78
  * @pattern `^(DRAFT|[0-9]{0,4}[1-9][0-9]{0,4})$`
79
79
  */
80
80
  FlowVersion?: string;
@@ -26,6 +26,13 @@ export type BedrockFlowVersionAttributes = {
26
26
  * Time Stamp.
27
27
  */
28
28
  CreatedAt: string;
29
+ /**
30
+ * A KMS key ARN
31
+ * @minLength `1`
32
+ * @maxLength `2048`
33
+ * @pattern `^arn:aws(|-cn|-us-gov):kms:[a-zA-Z0-9-]*:[0-9]{12}:key/[a-zA-Z0-9-]{36}$`
34
+ */
35
+ CustomerEncryptionKeyArn: string;
29
36
  /**
30
37
  * Flow definition
31
38
  */
@@ -141,6 +148,25 @@ export type BedrockFlowVersionAttributes = {
141
148
  */
142
149
  Version: string;
143
150
  };
151
+ /**
152
+ * Type definition for `AWS::Bedrock::FlowVersion.AgentFlowNodeConfiguration`.
153
+ * Agent flow node configuration
154
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-agentflownodeconfiguration.html}
155
+ */
156
+ export type AgentFlowNodeConfiguration = {
157
+ /**
158
+ * Arn representation of the Agent Alias.
159
+ * @maxLength `2048`
160
+ * @pattern `^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:agent-alias/[0-9a-zA-Z]{10}/[0-9a-zA-Z]{10}$`
161
+ */
162
+ AgentAliasArn: string;
163
+ };
164
+ /**
165
+ * Type definition for `AWS::Bedrock::FlowVersion.CollectorFlowNodeConfiguration`.
166
+ * Collector flow node configuration
167
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-collectorflownodeconfiguration.html}
168
+ */
169
+ export type CollectorFlowNodeConfiguration = Record<string, any>;
144
170
  /**
145
171
  * Type definition for `AWS::Bedrock::FlowVersion.ConditionFlowNodeConfiguration`.
146
172
  * Condition flow node configuration
@@ -340,6 +366,31 @@ export type FlowNodeConfiguration = {
340
366
  * Lambda function flow node configuration
341
367
  */
342
368
  LambdaFunction: LambdaFunctionFlowNodeConfiguration;
369
+ } | {
370
+ /**
371
+ * Agent flow node configuration
372
+ */
373
+ Agent: AgentFlowNodeConfiguration;
374
+ } | {
375
+ /**
376
+ * Storage flow node configuration
377
+ */
378
+ Storage: StorageFlowNodeConfiguration;
379
+ } | {
380
+ /**
381
+ * Retrieval flow node configuration
382
+ */
383
+ Retrieval: RetrievalFlowNodeConfiguration;
384
+ } | {
385
+ /**
386
+ * Iterator flow node configuration
387
+ */
388
+ Iterator: IteratorFlowNodeConfiguration;
389
+ } | {
390
+ /**
391
+ * Collector flow node configuration
392
+ */
393
+ Collector: CollectorFlowNodeConfiguration;
343
394
  };
344
395
  /**
345
396
  * Type definition for `AWS::Bedrock::FlowVersion.FlowNodeInput`.
@@ -390,7 +441,7 @@ export type FlowNodeOutput = {
390
441
  * Flow node types
391
442
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-flownodetype.html}
392
443
  */
393
- export type FlowNodeType = "Input" | "Output" | "KnowledgeBase" | "Condition" | "Lex" | "Prompt" | "LambdaFunction";
444
+ export type FlowNodeType = "Input" | "Output" | "KnowledgeBase" | "Condition" | "Lex" | "Prompt" | "LambdaFunction" | "Agent" | "Iterator" | "Collector" | "Storage" | "Retrieval";
394
445
  /**
395
446
  * Type definition for `AWS::Bedrock::FlowVersion.FlowStatus`.
396
447
  * Schema Type for Flow APIs
@@ -403,6 +454,12 @@ export type FlowStatus = "Failed" | "Prepared" | "Preparing" | "NotPrepared";
403
454
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-inputflownodeconfiguration.html}
404
455
  */
405
456
  export type InputFlowNodeConfiguration = Record<string, any>;
457
+ /**
458
+ * Type definition for `AWS::Bedrock::FlowVersion.IteratorFlowNodeConfiguration`.
459
+ * Iterator flow node configuration
460
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-iteratorflownodeconfiguration.html}
461
+ */
462
+ export type IteratorFlowNodeConfiguration = Record<string, any>;
406
463
  /**
407
464
  * Type definition for `AWS::Bedrock::FlowVersion.KnowledgeBaseFlowNodeConfiguration`.
408
465
  * Knowledge base flow node configuration
@@ -595,6 +652,66 @@ export type PromptTemplateConfiguration = {
595
652
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-prompttemplatetype.html}
596
653
  */
597
654
  export type PromptTemplateType = "TEXT";
655
+ /**
656
+ * Type definition for `AWS::Bedrock::FlowVersion.RetrievalFlowNodeConfiguration`.
657
+ * Retrieval flow node configuration
658
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-retrievalflownodeconfiguration.html}
659
+ */
660
+ export type RetrievalFlowNodeConfiguration = {
661
+ ServiceConfiguration: RetrievalFlowNodeServiceConfiguration;
662
+ };
663
+ /**
664
+ * Type definition for `AWS::Bedrock::FlowVersion.RetrievalFlowNodeS3Configuration`.
665
+ * s3 Retrieval configuration for Retrieval node
666
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-retrievalflownodes3configuration.html}
667
+ */
668
+ export type RetrievalFlowNodeS3Configuration = {
669
+ /**
670
+ * bucket name of an s3 that will be used for Retrieval flow node configuration
671
+ * @pattern `^[a-z0-9][\.\-a-z0-9]{1,61}[a-z0-9]$`
672
+ */
673
+ BucketName: string;
674
+ };
675
+ /**
676
+ * Type definition for `AWS::Bedrock::FlowVersion.RetrievalFlowNodeServiceConfiguration`.
677
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-retrievalflownodeserviceconfiguration.html}
678
+ */
679
+ export type RetrievalFlowNodeServiceConfiguration = {
680
+ /**
681
+ * s3 Retrieval configuration for Retrieval node
682
+ */
683
+ S3?: RetrievalFlowNodeS3Configuration;
684
+ };
685
+ /**
686
+ * Type definition for `AWS::Bedrock::FlowVersion.StorageFlowNodeConfiguration`.
687
+ * Storage flow node configuration
688
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-storageflownodeconfiguration.html}
689
+ */
690
+ export type StorageFlowNodeConfiguration = {
691
+ ServiceConfiguration: StorageFlowNodeServiceConfiguration;
692
+ };
693
+ /**
694
+ * Type definition for `AWS::Bedrock::FlowVersion.StorageFlowNodeS3Configuration`.
695
+ * s3 storage configuration for storage node
696
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-storageflownodes3configuration.html}
697
+ */
698
+ export type StorageFlowNodeS3Configuration = {
699
+ /**
700
+ * bucket name of an s3 that will be used for storage flow node configuration
701
+ * @pattern `^[a-z0-9][\.\-a-z0-9]{1,61}[a-z0-9]$`
702
+ */
703
+ BucketName: string;
704
+ };
705
+ /**
706
+ * Type definition for `AWS::Bedrock::FlowVersion.StorageFlowNodeServiceConfiguration`.
707
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-storageflownodeserviceconfiguration.html}
708
+ */
709
+ export type StorageFlowNodeServiceConfiguration = {
710
+ /**
711
+ * s3 storage configuration for storage node
712
+ */
713
+ S3?: StorageFlowNodeS3Configuration;
714
+ };
598
715
  /**
599
716
  * Type definition for `AWS::Bedrock::FlowVersion.TextPromptTemplateConfiguration`.
600
717
  * Configuration for text prompt template
@@ -18,6 +18,10 @@ export type BedrockPromptVersionProperties = {
18
18
  * @pattern `^(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:prompt/[0-9a-zA-Z]{10})$`
19
19
  */
20
20
  PromptArn: string;
21
+ /**
22
+ * A map of tag keys and values
23
+ */
24
+ Tags?: TagsMap;
21
25
  };
22
26
  /**
23
27
  * Attribute type definition for `AWS::Bedrock::PromptVersion`.
@@ -35,6 +39,13 @@ export type BedrockPromptVersionAttributes = {
35
39
  * Time Stamp.
36
40
  */
37
41
  CreatedAt: string;
42
+ /**
43
+ * A KMS key ARN
44
+ * @minLength `1`
45
+ * @maxLength `2048`
46
+ * @pattern `^arn:aws(|-cn|-us-gov):kms:[a-zA-Z0-9-]*:[0-9]{12}:key/[a-zA-Z0-9-]{36}$`
47
+ */
48
+ CustomerEncryptionKeyArn: string;
38
49
  /**
39
50
  * Name for a variant.
40
51
  * @pattern `^([0-9a-zA-Z][_-]?){1,100}$`
@@ -247,6 +258,12 @@ export type PromptVariant = {
247
258
  */
248
259
  TemplateType: PromptTemplateType;
249
260
  };
261
+ /**
262
+ * Type definition for `AWS::Bedrock::PromptVersion.TagsMap`.
263
+ * A map of tag keys and values
264
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-promptversion-tagsmap.html}
265
+ */
266
+ export type TagsMap = Record<string, string>;
250
267
  /**
251
268
  * Type definition for `AWS::Bedrock::PromptVersion.TextPromptTemplateConfiguration`.
252
269
  * Configuration for text prompt template