aws-cdk-lib 2.156.0__py3-none-any.whl → 2.158.0__py3-none-any.whl

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.

Potentially problematic release.


This version of aws-cdk-lib might be problematic. Click here for more details.

Files changed (294) hide show
  1. aws_cdk/__init__.py +42 -23
  2. aws_cdk/_jsii/__init__.py +17 -2
  3. aws_cdk/_jsii/{aws-cdk-lib@2.156.0.jsii.tgz → aws-cdk-lib@2.158.0.jsii.tgz} +0 -0
  4. aws_cdk/alexa_ask/__init__.py +16 -1
  5. aws_cdk/assertions/__init__.py +16 -1
  6. aws_cdk/aws_accessanalyzer/__init__.py +16 -1
  7. aws_cdk/aws_acmpca/__init__.py +26 -76
  8. aws_cdk/aws_amazonmq/__init__.py +16 -1
  9. aws_cdk/aws_amplify/__init__.py +122 -1
  10. aws_cdk/aws_amplifyuibuilder/__init__.py +16 -1
  11. aws_cdk/aws_apigateway/__init__.py +16 -1
  12. aws_cdk/aws_apigatewayv2/__init__.py +97 -14
  13. aws_cdk/aws_apigatewayv2_authorizers/__init__.py +16 -1
  14. aws_cdk/aws_apigatewayv2_integrations/__init__.py +16 -1
  15. aws_cdk/aws_appconfig/__init__.py +16 -1
  16. aws_cdk/aws_appflow/__init__.py +16 -1
  17. aws_cdk/aws_appintegrations/__init__.py +30 -15
  18. aws_cdk/aws_applicationautoscaling/__init__.py +16 -1
  19. aws_cdk/aws_applicationinsights/__init__.py +16 -1
  20. aws_cdk/aws_applicationsignals/__init__.py +766 -2
  21. aws_cdk/aws_appmesh/__init__.py +16 -1
  22. aws_cdk/aws_apprunner/__init__.py +16 -1
  23. aws_cdk/aws_appstream/__init__.py +16 -1
  24. aws_cdk/aws_appsync/__init__.py +66 -19
  25. aws_cdk/aws_apptest/__init__.py +16 -1
  26. aws_cdk/aws_aps/__init__.py +16 -1
  27. aws_cdk/aws_arczonalshift/__init__.py +16 -1
  28. aws_cdk/aws_athena/__init__.py +16 -1
  29. aws_cdk/aws_auditmanager/__init__.py +16 -1
  30. aws_cdk/aws_autoscaling/__init__.py +22 -7
  31. aws_cdk/aws_autoscaling_common/__init__.py +16 -1
  32. aws_cdk/aws_autoscaling_hooktargets/__init__.py +16 -1
  33. aws_cdk/aws_autoscalingplans/__init__.py +16 -1
  34. aws_cdk/aws_b2bi/__init__.py +16 -1
  35. aws_cdk/aws_backup/__init__.py +55 -1
  36. aws_cdk/aws_backupgateway/__init__.py +16 -1
  37. aws_cdk/aws_batch/__init__.py +57 -1
  38. aws_cdk/aws_bcmdataexports/__init__.py +16 -1
  39. aws_cdk/aws_bedrock/__init__.py +1529 -95
  40. aws_cdk/aws_billingconductor/__init__.py +16 -1
  41. aws_cdk/aws_budgets/__init__.py +16 -1
  42. aws_cdk/aws_cassandra/__init__.py +16 -1
  43. aws_cdk/aws_ce/__init__.py +16 -1
  44. aws_cdk/aws_certificatemanager/__init__.py +16 -1
  45. aws_cdk/aws_chatbot/__init__.py +22 -7
  46. aws_cdk/aws_cleanrooms/__init__.py +16 -1
  47. aws_cdk/aws_cleanroomsml/__init__.py +16 -1
  48. aws_cdk/aws_cloud9/__init__.py +16 -1
  49. aws_cdk/aws_cloudformation/__init__.py +38 -23
  50. aws_cdk/aws_cloudfront/__init__.py +16 -1
  51. aws_cdk/aws_cloudfront/experimental/__init__.py +46 -4
  52. aws_cdk/aws_cloudfront_origins/__init__.py +16 -1
  53. aws_cdk/aws_cloudtrail/__init__.py +16 -1
  54. aws_cdk/aws_cloudwatch/__init__.py +16 -1
  55. aws_cdk/aws_cloudwatch_actions/__init__.py +16 -1
  56. aws_cdk/aws_codeartifact/__init__.py +16 -1
  57. aws_cdk/aws_codebuild/__init__.py +16 -1
  58. aws_cdk/aws_codecommit/__init__.py +16 -1
  59. aws_cdk/aws_codeconnections/__init__.py +16 -1
  60. aws_cdk/aws_codedeploy/__init__.py +16 -1
  61. aws_cdk/aws_codeguruprofiler/__init__.py +16 -1
  62. aws_cdk/aws_codegurureviewer/__init__.py +16 -1
  63. aws_cdk/aws_codepipeline/__init__.py +16 -1
  64. aws_cdk/aws_codepipeline_actions/__init__.py +16 -1
  65. aws_cdk/aws_codestar/__init__.py +16 -1
  66. aws_cdk/aws_codestarconnections/__init__.py +16 -1
  67. aws_cdk/aws_codestarnotifications/__init__.py +16 -1
  68. aws_cdk/aws_cognito/__init__.py +16 -1
  69. aws_cdk/aws_comprehend/__init__.py +16 -1
  70. aws_cdk/aws_config/__init__.py +16 -1
  71. aws_cdk/aws_connect/__init__.py +16 -1
  72. aws_cdk/aws_connectcampaigns/__init__.py +16 -1
  73. aws_cdk/aws_controltower/__init__.py +16 -1
  74. aws_cdk/aws_cur/__init__.py +16 -1
  75. aws_cdk/aws_customerprofiles/__init__.py +16 -1
  76. aws_cdk/aws_databrew/__init__.py +16 -1
  77. aws_cdk/aws_datapipeline/__init__.py +16 -1
  78. aws_cdk/aws_datasync/__init__.py +56 -30
  79. aws_cdk/aws_datazone/__init__.py +16 -1
  80. aws_cdk/aws_dax/__init__.py +16 -1
  81. aws_cdk/aws_deadline/__init__.py +16 -1
  82. aws_cdk/aws_detective/__init__.py +16 -1
  83. aws_cdk/aws_devicefarm/__init__.py +16 -1
  84. aws_cdk/aws_devopsguru/__init__.py +16 -1
  85. aws_cdk/aws_directoryservice/__init__.py +16 -1
  86. aws_cdk/aws_dlm/__init__.py +16 -1
  87. aws_cdk/aws_dms/__init__.py +16 -1
  88. aws_cdk/aws_docdb/__init__.py +16 -1
  89. aws_cdk/aws_docdbelastic/__init__.py +16 -1
  90. aws_cdk/aws_dynamodb/__init__.py +16 -1
  91. aws_cdk/aws_ec2/__init__.py +389 -50
  92. aws_cdk/aws_ecr/__init__.py +16 -1
  93. aws_cdk/aws_ecr_assets/__init__.py +16 -1
  94. aws_cdk/aws_ecs/__init__.py +269 -88
  95. aws_cdk/aws_ecs_patterns/__init__.py +16 -1
  96. aws_cdk/aws_efs/__init__.py +16 -1
  97. aws_cdk/aws_eks/__init__.py +16 -1
  98. aws_cdk/aws_elasticache/__init__.py +16 -1
  99. aws_cdk/aws_elasticbeanstalk/__init__.py +16 -1
  100. aws_cdk/aws_elasticloadbalancing/__init__.py +16 -1
  101. aws_cdk/aws_elasticloadbalancingv2/__init__.py +20 -5
  102. aws_cdk/aws_elasticloadbalancingv2_actions/__init__.py +16 -1
  103. aws_cdk/aws_elasticloadbalancingv2_targets/__init__.py +16 -1
  104. aws_cdk/aws_elasticsearch/__init__.py +16 -1
  105. aws_cdk/aws_emr/__init__.py +16 -1
  106. aws_cdk/aws_emrcontainers/__init__.py +16 -1
  107. aws_cdk/aws_emrserverless/__init__.py +16 -1
  108. aws_cdk/aws_entityresolution/__init__.py +133 -5
  109. aws_cdk/aws_events/__init__.py +16 -1
  110. aws_cdk/aws_events_targets/__init__.py +16 -1
  111. aws_cdk/aws_eventschemas/__init__.py +16 -1
  112. aws_cdk/aws_evidently/__init__.py +16 -1
  113. aws_cdk/aws_finspace/__init__.py +16 -1
  114. aws_cdk/aws_fis/__init__.py +16 -1
  115. aws_cdk/aws_fms/__init__.py +16 -1
  116. aws_cdk/aws_forecast/__init__.py +16 -1
  117. aws_cdk/aws_frauddetector/__init__.py +16 -1
  118. aws_cdk/aws_fsx/__init__.py +16 -1
  119. aws_cdk/aws_gamelift/__init__.py +16 -1
  120. aws_cdk/aws_globalaccelerator/__init__.py +16 -1
  121. aws_cdk/aws_globalaccelerator_endpoints/__init__.py +16 -1
  122. aws_cdk/aws_glue/__init__.py +16 -9
  123. aws_cdk/aws_grafana/__init__.py +16 -1
  124. aws_cdk/aws_greengrass/__init__.py +16 -1
  125. aws_cdk/aws_greengrassv2/__init__.py +16 -1
  126. aws_cdk/aws_groundstation/__init__.py +43 -17
  127. aws_cdk/aws_guardduty/__init__.py +42 -15
  128. aws_cdk/aws_healthimaging/__init__.py +16 -1
  129. aws_cdk/aws_healthlake/__init__.py +16 -1
  130. aws_cdk/aws_iam/__init__.py +16 -1
  131. aws_cdk/aws_identitystore/__init__.py +16 -1
  132. aws_cdk/aws_imagebuilder/__init__.py +16 -1
  133. aws_cdk/aws_inspector/__init__.py +16 -1
  134. aws_cdk/aws_inspectorv2/__init__.py +16 -1
  135. aws_cdk/aws_internetmonitor/__init__.py +16 -1
  136. aws_cdk/aws_iot/__init__.py +16 -1
  137. aws_cdk/aws_iot1click/__init__.py +16 -1
  138. aws_cdk/aws_iotanalytics/__init__.py +16 -1
  139. aws_cdk/aws_iotcoredeviceadvisor/__init__.py +16 -1
  140. aws_cdk/aws_iotevents/__init__.py +16 -1
  141. aws_cdk/aws_iotfleethub/__init__.py +16 -1
  142. aws_cdk/aws_iotfleetwise/__init__.py +124 -1
  143. aws_cdk/aws_iotsitewise/__init__.py +16 -1
  144. aws_cdk/aws_iotthingsgraph/__init__.py +16 -1
  145. aws_cdk/aws_iottwinmaker/__init__.py +16 -1
  146. aws_cdk/aws_iotwireless/__init__.py +16 -1
  147. aws_cdk/aws_ivs/__init__.py +16 -1
  148. aws_cdk/aws_ivschat/__init__.py +16 -1
  149. aws_cdk/aws_kafkaconnect/__init__.py +16 -1
  150. aws_cdk/aws_kendra/__init__.py +16 -1
  151. aws_cdk/aws_kendraranking/__init__.py +16 -1
  152. aws_cdk/aws_kinesis/__init__.py +16 -1
  153. aws_cdk/aws_kinesisanalytics/__init__.py +16 -1
  154. aws_cdk/aws_kinesisanalyticsv2/__init__.py +16 -1
  155. aws_cdk/aws_kinesisfirehose/__init__.py +16 -1
  156. aws_cdk/aws_kinesisvideo/__init__.py +16 -1
  157. aws_cdk/aws_kms/__init__.py +16 -1
  158. aws_cdk/aws_lakeformation/__init__.py +16 -1
  159. aws_cdk/aws_lambda/__init__.py +163 -18
  160. aws_cdk/aws_lambda_destinations/__init__.py +16 -1
  161. aws_cdk/aws_lambda_event_sources/__init__.py +16 -1
  162. aws_cdk/aws_lambda_nodejs/__init__.py +46 -4
  163. aws_cdk/aws_launchwizard/__init__.py +16 -1
  164. aws_cdk/aws_lex/__init__.py +16 -1
  165. aws_cdk/aws_licensemanager/__init__.py +16 -1
  166. aws_cdk/aws_lightsail/__init__.py +16 -1
  167. aws_cdk/aws_location/__init__.py +16 -1
  168. aws_cdk/aws_logs/__init__.py +16 -1
  169. aws_cdk/aws_logs_destinations/__init__.py +16 -1
  170. aws_cdk/aws_lookoutequipment/__init__.py +16 -1
  171. aws_cdk/aws_lookoutmetrics/__init__.py +16 -1
  172. aws_cdk/aws_lookoutvision/__init__.py +16 -1
  173. aws_cdk/aws_m2/__init__.py +16 -1
  174. aws_cdk/aws_macie/__init__.py +20 -5
  175. aws_cdk/aws_managedblockchain/__init__.py +16 -1
  176. aws_cdk/aws_mediaconnect/__init__.py +16 -1
  177. aws_cdk/aws_mediaconvert/__init__.py +16 -1
  178. aws_cdk/aws_medialive/__init__.py +364 -1
  179. aws_cdk/aws_mediapackage/__init__.py +16 -1
  180. aws_cdk/aws_mediapackagev2/__init__.py +54 -39
  181. aws_cdk/aws_mediastore/__init__.py +16 -1
  182. aws_cdk/aws_mediatailor/__init__.py +16 -1
  183. aws_cdk/aws_memorydb/__init__.py +16 -1
  184. aws_cdk/aws_msk/__init__.py +16 -1
  185. aws_cdk/aws_mwaa/__init__.py +16 -1
  186. aws_cdk/aws_neptune/__init__.py +30 -9
  187. aws_cdk/aws_neptunegraph/__init__.py +16 -1
  188. aws_cdk/aws_networkfirewall/__init__.py +16 -1
  189. aws_cdk/aws_networkmanager/__init__.py +16 -1
  190. aws_cdk/aws_nimblestudio/__init__.py +16 -1
  191. aws_cdk/aws_oam/__init__.py +16 -1
  192. aws_cdk/aws_omics/__init__.py +16 -1
  193. aws_cdk/aws_opensearchserverless/__init__.py +16 -1
  194. aws_cdk/aws_opensearchservice/__init__.py +210 -1
  195. aws_cdk/aws_opsworks/__init__.py +16 -1
  196. aws_cdk/aws_opsworkscm/__init__.py +16 -1
  197. aws_cdk/aws_organizations/__init__.py +16 -1
  198. aws_cdk/aws_osis/__init__.py +16 -1
  199. aws_cdk/aws_panorama/__init__.py +16 -1
  200. aws_cdk/aws_paymentcryptography/__init__.py +16 -1
  201. aws_cdk/aws_pcaconnectorad/__init__.py +16 -1
  202. aws_cdk/aws_pcaconnectorscep/__init__.py +899 -0
  203. aws_cdk/aws_personalize/__init__.py +18 -3
  204. aws_cdk/aws_pinpoint/__init__.py +16 -1
  205. aws_cdk/aws_pinpointemail/__init__.py +16 -1
  206. aws_cdk/aws_pipes/__init__.py +38 -23
  207. aws_cdk/aws_proton/__init__.py +16 -1
  208. aws_cdk/aws_qbusiness/__init__.py +691 -7
  209. aws_cdk/aws_qldb/__init__.py +16 -1
  210. aws_cdk/aws_quicksight/__init__.py +3301 -1
  211. aws_cdk/aws_ram/__init__.py +16 -1
  212. aws_cdk/aws_rds/__init__.py +58 -5
  213. aws_cdk/aws_redshift/__init__.py +16 -1
  214. aws_cdk/aws_redshiftserverless/__init__.py +16 -1
  215. aws_cdk/aws_refactorspaces/__init__.py +16 -1
  216. aws_cdk/aws_rekognition/__init__.py +16 -1
  217. aws_cdk/aws_resiliencehub/__init__.py +16 -1
  218. aws_cdk/aws_resourceexplorer2/__init__.py +16 -1
  219. aws_cdk/aws_resourcegroups/__init__.py +16 -1
  220. aws_cdk/aws_robomaker/__init__.py +16 -1
  221. aws_cdk/aws_rolesanywhere/__init__.py +16 -1
  222. aws_cdk/aws_route53/__init__.py +16 -1
  223. aws_cdk/aws_route53_patterns/__init__.py +16 -1
  224. aws_cdk/aws_route53_targets/__init__.py +16 -1
  225. aws_cdk/aws_route53profiles/__init__.py +16 -1
  226. aws_cdk/aws_route53recoverycontrol/__init__.py +16 -1
  227. aws_cdk/aws_route53recoveryreadiness/__init__.py +16 -1
  228. aws_cdk/aws_route53resolver/__init__.py +16 -1
  229. aws_cdk/aws_rum/__init__.py +16 -1
  230. aws_cdk/aws_s3/__init__.py +16 -1
  231. aws_cdk/aws_s3_assets/__init__.py +16 -1
  232. aws_cdk/aws_s3_deployment/__init__.py +16 -1
  233. aws_cdk/aws_s3_notifications/__init__.py +16 -1
  234. aws_cdk/aws_s3express/__init__.py +16 -1
  235. aws_cdk/aws_s3objectlambda/__init__.py +16 -1
  236. aws_cdk/aws_s3outposts/__init__.py +16 -1
  237. aws_cdk/aws_sagemaker/__init__.py +1183 -1
  238. aws_cdk/aws_sam/__init__.py +16 -1
  239. aws_cdk/aws_scheduler/__init__.py +16 -1
  240. aws_cdk/aws_sdb/__init__.py +16 -1
  241. aws_cdk/aws_secretsmanager/__init__.py +18 -4
  242. aws_cdk/aws_securityhub/__init__.py +124 -104
  243. aws_cdk/aws_securitylake/__init__.py +16 -1
  244. aws_cdk/aws_servicecatalog/__init__.py +16 -1
  245. aws_cdk/aws_servicecatalogappregistry/__init__.py +16 -1
  246. aws_cdk/aws_servicediscovery/__init__.py +16 -1
  247. aws_cdk/aws_ses/__init__.py +47 -1
  248. aws_cdk/aws_ses_actions/__init__.py +16 -1
  249. aws_cdk/aws_shield/__init__.py +16 -1
  250. aws_cdk/aws_signer/__init__.py +16 -1
  251. aws_cdk/aws_simspaceweaver/__init__.py +16 -1
  252. aws_cdk/aws_sns/__init__.py +35 -14
  253. aws_cdk/aws_sns_subscriptions/__init__.py +16 -1
  254. aws_cdk/aws_sqs/__init__.py +16 -1
  255. aws_cdk/aws_ssm/__init__.py +26 -7
  256. aws_cdk/aws_ssmcontacts/__init__.py +16 -1
  257. aws_cdk/aws_ssmincidents/__init__.py +16 -1
  258. aws_cdk/aws_ssmquicksetup/__init__.py +982 -0
  259. aws_cdk/aws_sso/__init__.py +16 -1
  260. aws_cdk/aws_stepfunctions/__init__.py +16 -1
  261. aws_cdk/aws_stepfunctions_tasks/__init__.py +20 -5
  262. aws_cdk/aws_supportapp/__init__.py +16 -1
  263. aws_cdk/aws_synthetics/__init__.py +16 -1
  264. aws_cdk/aws_systemsmanagersap/__init__.py +16 -1
  265. aws_cdk/aws_timestream/__init__.py +16 -1
  266. aws_cdk/aws_transfer/__init__.py +16 -1
  267. aws_cdk/aws_verifiedpermissions/__init__.py +16 -1
  268. aws_cdk/aws_voiceid/__init__.py +16 -1
  269. aws_cdk/aws_vpclattice/__init__.py +16 -1
  270. aws_cdk/aws_waf/__init__.py +16 -1
  271. aws_cdk/aws_wafregional/__init__.py +16 -1
  272. aws_cdk/aws_wafv2/__init__.py +16 -1
  273. aws_cdk/aws_wisdom/__init__.py +16 -1
  274. aws_cdk/aws_workspaces/__init__.py +16 -1
  275. aws_cdk/aws_workspacesthinclient/__init__.py +16 -1
  276. aws_cdk/aws_workspacesweb/__init__.py +16 -1
  277. aws_cdk/aws_xray/__init__.py +16 -1
  278. aws_cdk/cloud_assembly_schema/__init__.py +16 -1
  279. aws_cdk/cloudformation_include/__init__.py +16 -1
  280. aws_cdk/custom_resources/__init__.py +16 -1
  281. aws_cdk/cx_api/__init__.py +16 -1
  282. aws_cdk/lambda_layer_awscli/__init__.py +16 -1
  283. aws_cdk/lambda_layer_kubectl/__init__.py +16 -1
  284. aws_cdk/lambda_layer_node_proxy_agent/__init__.py +16 -1
  285. aws_cdk/pipelines/__init__.py +16 -1
  286. aws_cdk/region_info/__init__.py +16 -1
  287. aws_cdk/triggers/__init__.py +46 -4
  288. {aws_cdk_lib-2.156.0.dist-info → aws_cdk_lib-2.158.0.dist-info}/METADATA +5 -5
  289. {aws_cdk_lib-2.156.0.dist-info → aws_cdk_lib-2.158.0.dist-info}/NOTICE +27 -8
  290. aws_cdk_lib-2.158.0.dist-info/RECORD +294 -0
  291. aws_cdk_lib-2.156.0.dist-info/RECORD +0 -292
  292. {aws_cdk_lib-2.156.0.dist-info → aws_cdk_lib-2.158.0.dist-info}/LICENSE +0 -0
  293. {aws_cdk_lib-2.156.0.dist-info → aws_cdk_lib-2.158.0.dist-info}/WHEEL +0 -0
  294. {aws_cdk_lib-2.156.0.dist-info → aws_cdk_lib-2.158.0.dist-info}/top_level.txt +0 -0
@@ -43,7 +43,22 @@ import jsii
43
43
  import publication
44
44
  import typing_extensions
45
45
 
46
- from typeguard import check_type
46
+ import typeguard
47
+ from importlib.metadata import version as _metadata_package_version
48
+ TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
49
+
50
+ def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
51
+ if TYPEGUARD_MAJOR_VERSION <= 2:
52
+ return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
53
+ else:
54
+ if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
55
+ pass
56
+ else:
57
+ if TYPEGUARD_MAJOR_VERSION == 3:
58
+ typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
59
+ typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
60
+ else:
61
+ typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
47
62
 
48
63
  from .._jsii import *
49
64
 
@@ -6803,7 +6818,9 @@ class CfnFlow(
6803
6818
  # The values are placeholders you should change.
6804
6819
  from aws_cdk import aws_bedrock as bedrock
6805
6820
 
6821
+ # collector: Any
6806
6822
  # input: Any
6823
+ # iterator: Any
6807
6824
  # output: Any
6808
6825
 
6809
6826
  cfn_flow = bedrock.CfnFlow(self, "MyCfnFlow",
@@ -6836,6 +6853,10 @@ class CfnFlow(
6836
6853
 
6837
6854
  # the properties below are optional
6838
6855
  configuration=bedrock.CfnFlow.FlowNodeConfigurationProperty(
6856
+ agent=bedrock.CfnFlow.AgentFlowNodeConfigurationProperty(
6857
+ agent_alias_arn="agentAliasArn"
6858
+ ),
6859
+ collector=collector,
6839
6860
  condition=bedrock.CfnFlow.ConditionFlowNodeConfigurationProperty(
6840
6861
  conditions=[bedrock.CfnFlow.FlowConditionProperty(
6841
6862
  name="name",
@@ -6845,6 +6866,7 @@ class CfnFlow(
6845
6866
  )]
6846
6867
  ),
6847
6868
  input=input,
6869
+ iterator=iterator,
6848
6870
  knowledge_base=bedrock.CfnFlow.KnowledgeBaseFlowNodeConfigurationProperty(
6849
6871
  knowledge_base_id="knowledgeBaseId",
6850
6872
 
@@ -6890,6 +6912,20 @@ class CfnFlow(
6890
6912
  prompt_arn="promptArn"
6891
6913
  )
6892
6914
  )
6915
+ ),
6916
+ retrieval=bedrock.CfnFlow.RetrievalFlowNodeConfigurationProperty(
6917
+ service_configuration=bedrock.CfnFlow.RetrievalFlowNodeServiceConfigurationProperty(
6918
+ s3=bedrock.CfnFlow.RetrievalFlowNodeS3ConfigurationProperty(
6919
+ bucket_name="bucketName"
6920
+ )
6921
+ )
6922
+ ),
6923
+ storage=bedrock.CfnFlow.StorageFlowNodeConfigurationProperty(
6924
+ service_configuration=bedrock.CfnFlow.StorageFlowNodeServiceConfigurationProperty(
6925
+ s3=bedrock.CfnFlow.StorageFlowNodeS3ConfigurationProperty(
6926
+ bucket_name="bucketName"
6927
+ )
6928
+ )
6893
6929
  )
6894
6930
  ),
6895
6931
  inputs=[bedrock.CfnFlow.FlowNodeInputProperty(
@@ -7053,6 +7089,15 @@ class CfnFlow(
7053
7089
  '''
7054
7090
  return typing.cast(builtins.str, jsii.get(self, "attrUpdatedAt"))
7055
7091
 
7092
+ @builtins.property
7093
+ @jsii.member(jsii_name="attrValidations")
7094
+ def attr_validations(self) -> _IResolvable_da3f097b:
7095
+ '''List of flow validations.
7096
+
7097
+ :cloudformationAttribute: Validations
7098
+ '''
7099
+ return typing.cast(_IResolvable_da3f097b, jsii.get(self, "attrValidations"))
7100
+
7056
7101
  @builtins.property
7057
7102
  @jsii.member(jsii_name="attrVersion")
7058
7103
  def attr_version(self) -> builtins.str:
@@ -7229,6 +7274,60 @@ class CfnFlow(
7229
7274
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
7230
7275
  jsii.set(self, "testAliasTags", value) # pyright: ignore[reportArgumentType]
7231
7276
 
7277
+ @jsii.data_type(
7278
+ jsii_type="aws-cdk-lib.aws_bedrock.CfnFlow.AgentFlowNodeConfigurationProperty",
7279
+ jsii_struct_bases=[],
7280
+ name_mapping={"agent_alias_arn": "agentAliasArn"},
7281
+ )
7282
+ class AgentFlowNodeConfigurationProperty:
7283
+ def __init__(self, *, agent_alias_arn: builtins.str) -> None:
7284
+ '''Defines an agent node in your flow.
7285
+
7286
+ You specify the agent to invoke at this point in the flow. For more information, see `Node types in Amazon Bedrock works <https://docs.aws.amazon.com/bedrock/latest/userguide/flows-nodes.html>`_ in the Amazon Bedrock User Guide.
7287
+
7288
+ :param agent_alias_arn: The Amazon Resource Name (ARN) of the alias of the agent to invoke.
7289
+
7290
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-agentflownodeconfiguration.html
7291
+ :exampleMetadata: fixture=_generated
7292
+
7293
+ Example::
7294
+
7295
+ # The code below shows an example of how to instantiate this type.
7296
+ # The values are placeholders you should change.
7297
+ from aws_cdk import aws_bedrock as bedrock
7298
+
7299
+ agent_flow_node_configuration_property = bedrock.CfnFlow.AgentFlowNodeConfigurationProperty(
7300
+ agent_alias_arn="agentAliasArn"
7301
+ )
7302
+ '''
7303
+ if __debug__:
7304
+ type_hints = typing.get_type_hints(_typecheckingstub__a835b75c491363488063d3b7d26eef8f2e4a2e2f689eb3676748164e4491c5fe)
7305
+ check_type(argname="argument agent_alias_arn", value=agent_alias_arn, expected_type=type_hints["agent_alias_arn"])
7306
+ self._values: typing.Dict[builtins.str, typing.Any] = {
7307
+ "agent_alias_arn": agent_alias_arn,
7308
+ }
7309
+
7310
+ @builtins.property
7311
+ def agent_alias_arn(self) -> builtins.str:
7312
+ '''The Amazon Resource Name (ARN) of the alias of the agent to invoke.
7313
+
7314
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-agentflownodeconfiguration.html#cfn-bedrock-flow-agentflownodeconfiguration-agentaliasarn
7315
+ '''
7316
+ result = self._values.get("agent_alias_arn")
7317
+ assert result is not None, "Required property 'agent_alias_arn' is missing"
7318
+ return typing.cast(builtins.str, result)
7319
+
7320
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
7321
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
7322
+
7323
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
7324
+ return not (rhs == self)
7325
+
7326
+ def __repr__(self) -> str:
7327
+ return "AgentFlowNodeConfigurationProperty(%s)" % ", ".join(
7328
+ k + "=" + repr(v) for k, v in self._values.items()
7329
+ )
7330
+
7232
7331
  @jsii.data_type(
7233
7332
  jsii_type="aws-cdk-lib.aws_bedrock.CfnFlow.ConditionFlowNodeConfigurationProperty",
7234
7333
  jsii_struct_bases=[],
@@ -7735,7 +7834,9 @@ class CfnFlow(
7735
7834
  # The values are placeholders you should change.
7736
7835
  from aws_cdk import aws_bedrock as bedrock
7737
7836
 
7837
+ # collector: Any
7738
7838
  # input: Any
7839
+ # iterator: Any
7739
7840
  # output: Any
7740
7841
 
7741
7842
  flow_definition_property = bedrock.CfnFlow.FlowDefinitionProperty(
@@ -7762,6 +7863,10 @@ class CfnFlow(
7762
7863
 
7763
7864
  # the properties below are optional
7764
7865
  configuration=bedrock.CfnFlow.FlowNodeConfigurationProperty(
7866
+ agent=bedrock.CfnFlow.AgentFlowNodeConfigurationProperty(
7867
+ agent_alias_arn="agentAliasArn"
7868
+ ),
7869
+ collector=collector,
7765
7870
  condition=bedrock.CfnFlow.ConditionFlowNodeConfigurationProperty(
7766
7871
  conditions=[bedrock.CfnFlow.FlowConditionProperty(
7767
7872
  name="name",
@@ -7771,6 +7876,7 @@ class CfnFlow(
7771
7876
  )]
7772
7877
  ),
7773
7878
  input=input,
7879
+ iterator=iterator,
7774
7880
  knowledge_base=bedrock.CfnFlow.KnowledgeBaseFlowNodeConfigurationProperty(
7775
7881
  knowledge_base_id="knowledgeBaseId",
7776
7882
 
@@ -7816,6 +7922,20 @@ class CfnFlow(
7816
7922
  prompt_arn="promptArn"
7817
7923
  )
7818
7924
  )
7925
+ ),
7926
+ retrieval=bedrock.CfnFlow.RetrievalFlowNodeConfigurationProperty(
7927
+ service_configuration=bedrock.CfnFlow.RetrievalFlowNodeServiceConfigurationProperty(
7928
+ s3=bedrock.CfnFlow.RetrievalFlowNodeS3ConfigurationProperty(
7929
+ bucket_name="bucketName"
7930
+ )
7931
+ )
7932
+ ),
7933
+ storage=bedrock.CfnFlow.StorageFlowNodeConfigurationProperty(
7934
+ service_configuration=bedrock.CfnFlow.StorageFlowNodeServiceConfigurationProperty(
7935
+ s3=bedrock.CfnFlow.StorageFlowNodeS3ConfigurationProperty(
7936
+ bucket_name="bucketName"
7937
+ )
7938
+ )
7819
7939
  )
7820
7940
  ),
7821
7941
  inputs=[bedrock.CfnFlow.FlowNodeInputProperty(
@@ -7877,38 +7997,53 @@ class CfnFlow(
7877
7997
  jsii_type="aws-cdk-lib.aws_bedrock.CfnFlow.FlowNodeConfigurationProperty",
7878
7998
  jsii_struct_bases=[],
7879
7999
  name_mapping={
8000
+ "agent": "agent",
8001
+ "collector": "collector",
7880
8002
  "condition": "condition",
7881
8003
  "input": "input",
8004
+ "iterator": "iterator",
7882
8005
  "knowledge_base": "knowledgeBase",
7883
8006
  "lambda_function": "lambdaFunction",
7884
8007
  "lex": "lex",
7885
8008
  "output": "output",
7886
8009
  "prompt": "prompt",
8010
+ "retrieval": "retrieval",
8011
+ "storage": "storage",
7887
8012
  },
7888
8013
  )
7889
8014
  class FlowNodeConfigurationProperty:
7890
8015
  def __init__(
7891
8016
  self,
7892
8017
  *,
8018
+ agent: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnFlow.AgentFlowNodeConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
8019
+ collector: typing.Any = None,
7893
8020
  condition: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnFlow.ConditionFlowNodeConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
7894
8021
  input: typing.Any = None,
8022
+ iterator: typing.Any = None,
7895
8023
  knowledge_base: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnFlow.KnowledgeBaseFlowNodeConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
7896
8024
  lambda_function: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnFlow.LambdaFunctionFlowNodeConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
7897
8025
  lex: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnFlow.LexFlowNodeConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
7898
8026
  output: typing.Any = None,
7899
8027
  prompt: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnFlow.PromptFlowNodeConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
8028
+ retrieval: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnFlow.RetrievalFlowNodeConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
8029
+ storage: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnFlow.StorageFlowNodeConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
7900
8030
  ) -> None:
7901
8031
  '''Contains configurations for a node in your flow.
7902
8032
 
7903
8033
  For more information, see `Node types in Amazon Bedrock works <https://docs.aws.amazon.com/bedrock/latest/userguide/flows-nodes.html>`_ in the Amazon Bedrock User Guide.
7904
8034
 
8035
+ :param agent: Contains configurations for an agent node in your flow. Invokes an alias of an agent and returns the response.
8036
+ :param collector: Contains configurations for a collector node in your flow. Collects an iteration of inputs and consolidates them into an array of outputs.
7905
8037
  :param condition: Contains configurations for a Condition node in your flow. Defines conditions that lead to different branches of the flow.
7906
8038
  :param input: Contains configurations for an input flow node in your flow. The first node in the flow. ``inputs`` can't be specified for this node.
8039
+ :param iterator: Contains configurations for an iterator node in your flow. Takes an input that is an array and iteratively sends each item of the array as an output to the following node. The size of the array is also returned in the output. The output flow node at the end of the flow iteration will return a response for each member of the array. To return only one response, you can include a collector node downstream from the iterator node.
7907
8040
  :param knowledge_base: Contains configurations for a knowledge base node in your flow. Queries a knowledge base and returns the retrieved results or generated response.
7908
8041
  :param lambda_function: Contains configurations for a Lambda function node in your flow. Invokes an AWS Lambda function.
7909
8042
  :param lex: Contains configurations for a Lex node in your flow. Invokes an Amazon Lex bot to identify the intent of the input and return the intent as the output.
7910
8043
  :param output: Contains configurations for an output flow node in your flow. The last node in the flow. ``outputs`` can't be specified for this node.
7911
8044
  :param prompt: Contains configurations for a prompt node in your flow. Runs a prompt and generates the model response as the output. You can use a prompt from Prompt management or you can configure one in this node.
8045
+ :param retrieval: Contains configurations for a Retrieval node in your flow. Retrieves data from an Amazon S3 location and returns it as the output.
8046
+ :param storage: Contains configurations for a Storage node in your flow. Stores an input in an Amazon S3 location.
7912
8047
 
7913
8048
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-flownodeconfiguration.html
7914
8049
  :exampleMetadata: fixture=_generated
@@ -7919,10 +8054,16 @@ class CfnFlow(
7919
8054
  # The values are placeholders you should change.
7920
8055
  from aws_cdk import aws_bedrock as bedrock
7921
8056
 
8057
+ # collector: Any
7922
8058
  # input: Any
8059
+ # iterator: Any
7923
8060
  # output: Any
7924
8061
 
7925
8062
  flow_node_configuration_property = bedrock.CfnFlow.FlowNodeConfigurationProperty(
8063
+ agent=bedrock.CfnFlow.AgentFlowNodeConfigurationProperty(
8064
+ agent_alias_arn="agentAliasArn"
8065
+ ),
8066
+ collector=collector,
7926
8067
  condition=bedrock.CfnFlow.ConditionFlowNodeConfigurationProperty(
7927
8068
  conditions=[bedrock.CfnFlow.FlowConditionProperty(
7928
8069
  name="name",
@@ -7932,6 +8073,7 @@ class CfnFlow(
7932
8073
  )]
7933
8074
  ),
7934
8075
  input=input,
8076
+ iterator=iterator,
7935
8077
  knowledge_base=bedrock.CfnFlow.KnowledgeBaseFlowNodeConfigurationProperty(
7936
8078
  knowledge_base_id="knowledgeBaseId",
7937
8079
 
@@ -7977,23 +8119,48 @@ class CfnFlow(
7977
8119
  prompt_arn="promptArn"
7978
8120
  )
7979
8121
  )
8122
+ ),
8123
+ retrieval=bedrock.CfnFlow.RetrievalFlowNodeConfigurationProperty(
8124
+ service_configuration=bedrock.CfnFlow.RetrievalFlowNodeServiceConfigurationProperty(
8125
+ s3=bedrock.CfnFlow.RetrievalFlowNodeS3ConfigurationProperty(
8126
+ bucket_name="bucketName"
8127
+ )
8128
+ )
8129
+ ),
8130
+ storage=bedrock.CfnFlow.StorageFlowNodeConfigurationProperty(
8131
+ service_configuration=bedrock.CfnFlow.StorageFlowNodeServiceConfigurationProperty(
8132
+ s3=bedrock.CfnFlow.StorageFlowNodeS3ConfigurationProperty(
8133
+ bucket_name="bucketName"
8134
+ )
8135
+ )
7980
8136
  )
7981
8137
  )
7982
8138
  '''
7983
8139
  if __debug__:
7984
8140
  type_hints = typing.get_type_hints(_typecheckingstub__425c904db23b9629fe6a830be94d214d112c1a6206b762478fd9e04b551b5552)
8141
+ check_type(argname="argument agent", value=agent, expected_type=type_hints["agent"])
8142
+ check_type(argname="argument collector", value=collector, expected_type=type_hints["collector"])
7985
8143
  check_type(argname="argument condition", value=condition, expected_type=type_hints["condition"])
7986
8144
  check_type(argname="argument input", value=input, expected_type=type_hints["input"])
8145
+ check_type(argname="argument iterator", value=iterator, expected_type=type_hints["iterator"])
7987
8146
  check_type(argname="argument knowledge_base", value=knowledge_base, expected_type=type_hints["knowledge_base"])
7988
8147
  check_type(argname="argument lambda_function", value=lambda_function, expected_type=type_hints["lambda_function"])
7989
8148
  check_type(argname="argument lex", value=lex, expected_type=type_hints["lex"])
7990
8149
  check_type(argname="argument output", value=output, expected_type=type_hints["output"])
7991
8150
  check_type(argname="argument prompt", value=prompt, expected_type=type_hints["prompt"])
8151
+ check_type(argname="argument retrieval", value=retrieval, expected_type=type_hints["retrieval"])
8152
+ check_type(argname="argument storage", value=storage, expected_type=type_hints["storage"])
7992
8153
  self._values: typing.Dict[builtins.str, typing.Any] = {}
8154
+ if agent is not None:
8155
+ self._values["agent"] = agent
8156
+ if collector is not None:
8157
+ self._values["collector"] = collector
7993
8158
  if condition is not None:
7994
8159
  self._values["condition"] = condition
7995
8160
  if input is not None:
7996
8161
  self._values["input"] = input
8162
+ if iterator is not None:
8163
+ self._values["iterator"] = iterator
7997
8164
  if knowledge_base is not None:
7998
8165
  self._values["knowledge_base"] = knowledge_base
7999
8166
  if lambda_function is not None:
@@ -8004,6 +8171,34 @@ class CfnFlow(
8004
8171
  self._values["output"] = output
8005
8172
  if prompt is not None:
8006
8173
  self._values["prompt"] = prompt
8174
+ if retrieval is not None:
8175
+ self._values["retrieval"] = retrieval
8176
+ if storage is not None:
8177
+ self._values["storage"] = storage
8178
+
8179
+ @builtins.property
8180
+ def agent(
8181
+ self,
8182
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnFlow.AgentFlowNodeConfigurationProperty"]]:
8183
+ '''Contains configurations for an agent node in your flow.
8184
+
8185
+ Invokes an alias of an agent and returns the response.
8186
+
8187
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-flownodeconfiguration.html#cfn-bedrock-flow-flownodeconfiguration-agent
8188
+ '''
8189
+ result = self._values.get("agent")
8190
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnFlow.AgentFlowNodeConfigurationProperty"]], result)
8191
+
8192
+ @builtins.property
8193
+ def collector(self) -> typing.Any:
8194
+ '''Contains configurations for a collector node in your flow.
8195
+
8196
+ Collects an iteration of inputs and consolidates them into an array of outputs.
8197
+
8198
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-flownodeconfiguration.html#cfn-bedrock-flow-flownodeconfiguration-collector
8199
+ '''
8200
+ result = self._values.get("collector")
8201
+ return typing.cast(typing.Any, result)
8007
8202
 
8008
8203
  @builtins.property
8009
8204
  def condition(
@@ -8029,6 +8224,19 @@ class CfnFlow(
8029
8224
  result = self._values.get("input")
8030
8225
  return typing.cast(typing.Any, result)
8031
8226
 
8227
+ @builtins.property
8228
+ def iterator(self) -> typing.Any:
8229
+ '''Contains configurations for an iterator node in your flow.
8230
+
8231
+ Takes an input that is an array and iteratively sends each item of the array as an output to the following node. The size of the array is also returned in the output.
8232
+
8233
+ The output flow node at the end of the flow iteration will return a response for each member of the array. To return only one response, you can include a collector node downstream from the iterator node.
8234
+
8235
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-flownodeconfiguration.html#cfn-bedrock-flow-flownodeconfiguration-iterator
8236
+ '''
8237
+ result = self._values.get("iterator")
8238
+ return typing.cast(typing.Any, result)
8239
+
8032
8240
  @builtins.property
8033
8241
  def knowledge_base(
8034
8242
  self,
@@ -8092,6 +8300,32 @@ class CfnFlow(
8092
8300
  result = self._values.get("prompt")
8093
8301
  return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnFlow.PromptFlowNodeConfigurationProperty"]], result)
8094
8302
 
8303
+ @builtins.property
8304
+ def retrieval(
8305
+ self,
8306
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnFlow.RetrievalFlowNodeConfigurationProperty"]]:
8307
+ '''Contains configurations for a Retrieval node in your flow.
8308
+
8309
+ Retrieves data from an Amazon S3 location and returns it as the output.
8310
+
8311
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-flownodeconfiguration.html#cfn-bedrock-flow-flownodeconfiguration-retrieval
8312
+ '''
8313
+ result = self._values.get("retrieval")
8314
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnFlow.RetrievalFlowNodeConfigurationProperty"]], result)
8315
+
8316
+ @builtins.property
8317
+ def storage(
8318
+ self,
8319
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnFlow.StorageFlowNodeConfigurationProperty"]]:
8320
+ '''Contains configurations for a Storage node in your flow.
8321
+
8322
+ Stores an input in an Amazon S3 location.
8323
+
8324
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-flownodeconfiguration.html#cfn-bedrock-flow-flownodeconfiguration-storage
8325
+ '''
8326
+ result = self._values.get("storage")
8327
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnFlow.StorageFlowNodeConfigurationProperty"]], result)
8328
+
8095
8329
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
8096
8330
  return isinstance(rhs, self.__class__) and rhs._values == self._values
8097
8331
 
@@ -8299,7 +8533,9 @@ class CfnFlow(
8299
8533
  # The values are placeholders you should change.
8300
8534
  from aws_cdk import aws_bedrock as bedrock
8301
8535
 
8536
+ # collector: Any
8302
8537
  # input: Any
8538
+ # iterator: Any
8303
8539
  # output: Any
8304
8540
 
8305
8541
  flow_node_property = bedrock.CfnFlow.FlowNodeProperty(
@@ -8308,6 +8544,10 @@ class CfnFlow(
8308
8544
 
8309
8545
  # the properties below are optional
8310
8546
  configuration=bedrock.CfnFlow.FlowNodeConfigurationProperty(
8547
+ agent=bedrock.CfnFlow.AgentFlowNodeConfigurationProperty(
8548
+ agent_alias_arn="agentAliasArn"
8549
+ ),
8550
+ collector=collector,
8311
8551
  condition=bedrock.CfnFlow.ConditionFlowNodeConfigurationProperty(
8312
8552
  conditions=[bedrock.CfnFlow.FlowConditionProperty(
8313
8553
  name="name",
@@ -8317,6 +8557,7 @@ class CfnFlow(
8317
8557
  )]
8318
8558
  ),
8319
8559
  input=input,
8560
+ iterator=iterator,
8320
8561
  knowledge_base=bedrock.CfnFlow.KnowledgeBaseFlowNodeConfigurationProperty(
8321
8562
  knowledge_base_id="knowledgeBaseId",
8322
8563
 
@@ -8362,6 +8603,20 @@ class CfnFlow(
8362
8603
  prompt_arn="promptArn"
8363
8604
  )
8364
8605
  )
8606
+ ),
8607
+ retrieval=bedrock.CfnFlow.RetrievalFlowNodeConfigurationProperty(
8608
+ service_configuration=bedrock.CfnFlow.RetrievalFlowNodeServiceConfigurationProperty(
8609
+ s3=bedrock.CfnFlow.RetrievalFlowNodeS3ConfigurationProperty(
8610
+ bucket_name="bucketName"
8611
+ )
8612
+ )
8613
+ ),
8614
+ storage=bedrock.CfnFlow.StorageFlowNodeConfigurationProperty(
8615
+ service_configuration=bedrock.CfnFlow.StorageFlowNodeServiceConfigurationProperty(
8616
+ s3=bedrock.CfnFlow.StorageFlowNodeS3ConfigurationProperty(
8617
+ bucket_name="bucketName"
8618
+ )
8619
+ )
8365
8620
  )
8366
8621
  ),
8367
8622
  inputs=[bedrock.CfnFlow.FlowNodeInputProperty(
@@ -8459,6 +8714,63 @@ class CfnFlow(
8459
8714
  k + "=" + repr(v) for k, v in self._values.items()
8460
8715
  )
8461
8716
 
8717
+ @jsii.data_type(
8718
+ jsii_type="aws-cdk-lib.aws_bedrock.CfnFlow.FlowValidationProperty",
8719
+ jsii_struct_bases=[],
8720
+ name_mapping={"message": "message"},
8721
+ )
8722
+ class FlowValidationProperty:
8723
+ def __init__(self, *, message: builtins.str) -> None:
8724
+ '''Contains information about validation of the flow.
8725
+
8726
+ This data type is used in the following API operations:
8727
+
8728
+ - `GetFlow response <https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_GetFlow.html#API_agent_GetFlow_ResponseSyntax>`_
8729
+ - `GetFlowVersion response <https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_GetFlowVersion.html#API_agent_GetFlowVersion_ResponseSyntax>`_
8730
+
8731
+ :param message: A message describing the validation error.
8732
+
8733
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-flowvalidation.html
8734
+ :exampleMetadata: fixture=_generated
8735
+
8736
+ Example::
8737
+
8738
+ # The code below shows an example of how to instantiate this type.
8739
+ # The values are placeholders you should change.
8740
+ from aws_cdk import aws_bedrock as bedrock
8741
+
8742
+ flow_validation_property = bedrock.CfnFlow.FlowValidationProperty(
8743
+ message="message"
8744
+ )
8745
+ '''
8746
+ if __debug__:
8747
+ type_hints = typing.get_type_hints(_typecheckingstub__3eab89f770734deb893367e044b113c86911377a918b039f1ba9310a34002e30)
8748
+ check_type(argname="argument message", value=message, expected_type=type_hints["message"])
8749
+ self._values: typing.Dict[builtins.str, typing.Any] = {
8750
+ "message": message,
8751
+ }
8752
+
8753
+ @builtins.property
8754
+ def message(self) -> builtins.str:
8755
+ '''A message describing the validation error.
8756
+
8757
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-flowvalidation.html#cfn-bedrock-flow-flowvalidation-message
8758
+ '''
8759
+ result = self._values.get("message")
8760
+ assert result is not None, "Required property 'message' is missing"
8761
+ return typing.cast(builtins.str, result)
8762
+
8763
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
8764
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
8765
+
8766
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
8767
+ return not (rhs == self)
8768
+
8769
+ def __repr__(self) -> str:
8770
+ return "FlowValidationProperty(%s)" % ", ".join(
8771
+ k + "=" + repr(v) for k, v in self._values.items()
8772
+ )
8773
+
8462
8774
  @jsii.data_type(
8463
8775
  jsii_type="aws-cdk-lib.aws_bedrock.CfnFlow.KnowledgeBaseFlowNodeConfigurationProperty",
8464
8776
  jsii_struct_bases=[],
@@ -9340,6 +9652,181 @@ class CfnFlow(
9340
9652
  k + "=" + repr(v) for k, v in self._values.items()
9341
9653
  )
9342
9654
 
9655
+ @jsii.data_type(
9656
+ jsii_type="aws-cdk-lib.aws_bedrock.CfnFlow.RetrievalFlowNodeConfigurationProperty",
9657
+ jsii_struct_bases=[],
9658
+ name_mapping={"service_configuration": "serviceConfiguration"},
9659
+ )
9660
+ class RetrievalFlowNodeConfigurationProperty:
9661
+ def __init__(
9662
+ self,
9663
+ *,
9664
+ service_configuration: typing.Union[_IResolvable_da3f097b, typing.Union["CfnFlow.RetrievalFlowNodeServiceConfigurationProperty", typing.Dict[builtins.str, typing.Any]]],
9665
+ ) -> None:
9666
+ '''Contains configurations for a Retrieval node in a flow.
9667
+
9668
+ This node retrieves data from the Amazon S3 location that you specify and returns it as the output.
9669
+
9670
+ :param service_configuration: Contains configurations for the service to use for retrieving data to return as the output from the node.
9671
+
9672
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-retrievalflownodeconfiguration.html
9673
+ :exampleMetadata: fixture=_generated
9674
+
9675
+ Example::
9676
+
9677
+ # The code below shows an example of how to instantiate this type.
9678
+ # The values are placeholders you should change.
9679
+ from aws_cdk import aws_bedrock as bedrock
9680
+
9681
+ retrieval_flow_node_configuration_property = bedrock.CfnFlow.RetrievalFlowNodeConfigurationProperty(
9682
+ service_configuration=bedrock.CfnFlow.RetrievalFlowNodeServiceConfigurationProperty(
9683
+ s3=bedrock.CfnFlow.RetrievalFlowNodeS3ConfigurationProperty(
9684
+ bucket_name="bucketName"
9685
+ )
9686
+ )
9687
+ )
9688
+ '''
9689
+ if __debug__:
9690
+ type_hints = typing.get_type_hints(_typecheckingstub__982db19983467a9d8b437235c39ed6a0fbf0e08458563d3e8f78d9a7de277861)
9691
+ check_type(argname="argument service_configuration", value=service_configuration, expected_type=type_hints["service_configuration"])
9692
+ self._values: typing.Dict[builtins.str, typing.Any] = {
9693
+ "service_configuration": service_configuration,
9694
+ }
9695
+
9696
+ @builtins.property
9697
+ def service_configuration(
9698
+ self,
9699
+ ) -> typing.Union[_IResolvable_da3f097b, "CfnFlow.RetrievalFlowNodeServiceConfigurationProperty"]:
9700
+ '''Contains configurations for the service to use for retrieving data to return as the output from the node.
9701
+
9702
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-retrievalflownodeconfiguration.html#cfn-bedrock-flow-retrievalflownodeconfiguration-serviceconfiguration
9703
+ '''
9704
+ result = self._values.get("service_configuration")
9705
+ assert result is not None, "Required property 'service_configuration' is missing"
9706
+ return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnFlow.RetrievalFlowNodeServiceConfigurationProperty"], result)
9707
+
9708
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
9709
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
9710
+
9711
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
9712
+ return not (rhs == self)
9713
+
9714
+ def __repr__(self) -> str:
9715
+ return "RetrievalFlowNodeConfigurationProperty(%s)" % ", ".join(
9716
+ k + "=" + repr(v) for k, v in self._values.items()
9717
+ )
9718
+
9719
+ @jsii.data_type(
9720
+ jsii_type="aws-cdk-lib.aws_bedrock.CfnFlow.RetrievalFlowNodeS3ConfigurationProperty",
9721
+ jsii_struct_bases=[],
9722
+ name_mapping={"bucket_name": "bucketName"},
9723
+ )
9724
+ class RetrievalFlowNodeS3ConfigurationProperty:
9725
+ def __init__(self, *, bucket_name: builtins.str) -> None:
9726
+ '''Contains configurations for the Amazon S3 location from which to retrieve data to return as the output from the node.
9727
+
9728
+ :param bucket_name: The name of the Amazon S3 bucket from which to retrieve data.
9729
+
9730
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-retrievalflownodes3configuration.html
9731
+ :exampleMetadata: fixture=_generated
9732
+
9733
+ Example::
9734
+
9735
+ # The code below shows an example of how to instantiate this type.
9736
+ # The values are placeholders you should change.
9737
+ from aws_cdk import aws_bedrock as bedrock
9738
+
9739
+ retrieval_flow_node_s3_configuration_property = bedrock.CfnFlow.RetrievalFlowNodeS3ConfigurationProperty(
9740
+ bucket_name="bucketName"
9741
+ )
9742
+ '''
9743
+ if __debug__:
9744
+ type_hints = typing.get_type_hints(_typecheckingstub__cc1fc39971930d3b8f21c48c16cc46f7b6dcac42391342dc2c0b08f3ab2dd6c9)
9745
+ check_type(argname="argument bucket_name", value=bucket_name, expected_type=type_hints["bucket_name"])
9746
+ self._values: typing.Dict[builtins.str, typing.Any] = {
9747
+ "bucket_name": bucket_name,
9748
+ }
9749
+
9750
+ @builtins.property
9751
+ def bucket_name(self) -> builtins.str:
9752
+ '''The name of the Amazon S3 bucket from which to retrieve data.
9753
+
9754
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-retrievalflownodes3configuration.html#cfn-bedrock-flow-retrievalflownodes3configuration-bucketname
9755
+ '''
9756
+ result = self._values.get("bucket_name")
9757
+ assert result is not None, "Required property 'bucket_name' is missing"
9758
+ return typing.cast(builtins.str, result)
9759
+
9760
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
9761
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
9762
+
9763
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
9764
+ return not (rhs == self)
9765
+
9766
+ def __repr__(self) -> str:
9767
+ return "RetrievalFlowNodeS3ConfigurationProperty(%s)" % ", ".join(
9768
+ k + "=" + repr(v) for k, v in self._values.items()
9769
+ )
9770
+
9771
+ @jsii.data_type(
9772
+ jsii_type="aws-cdk-lib.aws_bedrock.CfnFlow.RetrievalFlowNodeServiceConfigurationProperty",
9773
+ jsii_struct_bases=[],
9774
+ name_mapping={"s3": "s3"},
9775
+ )
9776
+ class RetrievalFlowNodeServiceConfigurationProperty:
9777
+ def __init__(
9778
+ self,
9779
+ *,
9780
+ s3: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnFlow.RetrievalFlowNodeS3ConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
9781
+ ) -> None:
9782
+ '''Contains configurations for the service to use for retrieving data to return as the output from the node.
9783
+
9784
+ :param s3: Contains configurations for the Amazon S3 location from which to retrieve data to return as the output from the node.
9785
+
9786
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-retrievalflownodeserviceconfiguration.html
9787
+ :exampleMetadata: fixture=_generated
9788
+
9789
+ Example::
9790
+
9791
+ # The code below shows an example of how to instantiate this type.
9792
+ # The values are placeholders you should change.
9793
+ from aws_cdk import aws_bedrock as bedrock
9794
+
9795
+ retrieval_flow_node_service_configuration_property = bedrock.CfnFlow.RetrievalFlowNodeServiceConfigurationProperty(
9796
+ s3=bedrock.CfnFlow.RetrievalFlowNodeS3ConfigurationProperty(
9797
+ bucket_name="bucketName"
9798
+ )
9799
+ )
9800
+ '''
9801
+ if __debug__:
9802
+ type_hints = typing.get_type_hints(_typecheckingstub__71787bd8165076f8853d3c5e8ccf1f76a3ecc1dff4ad49e09330cc7c5fd42328)
9803
+ check_type(argname="argument s3", value=s3, expected_type=type_hints["s3"])
9804
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
9805
+ if s3 is not None:
9806
+ self._values["s3"] = s3
9807
+
9808
+ @builtins.property
9809
+ def s3(
9810
+ self,
9811
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnFlow.RetrievalFlowNodeS3ConfigurationProperty"]]:
9812
+ '''Contains configurations for the Amazon S3 location from which to retrieve data to return as the output from the node.
9813
+
9814
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-retrievalflownodeserviceconfiguration.html#cfn-bedrock-flow-retrievalflownodeserviceconfiguration-s3
9815
+ '''
9816
+ result = self._values.get("s3")
9817
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnFlow.RetrievalFlowNodeS3ConfigurationProperty"]], result)
9818
+
9819
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
9820
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
9821
+
9822
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
9823
+ return not (rhs == self)
9824
+
9825
+ def __repr__(self) -> str:
9826
+ return "RetrievalFlowNodeServiceConfigurationProperty(%s)" % ", ".join(
9827
+ k + "=" + repr(v) for k, v in self._values.items()
9828
+ )
9829
+
9343
9830
  @jsii.data_type(
9344
9831
  jsii_type="aws-cdk-lib.aws_bedrock.CfnFlow.S3LocationProperty",
9345
9832
  jsii_struct_bases=[],
@@ -9429,11 +9916,186 @@ class CfnFlow(
9429
9916
  )
9430
9917
 
9431
9918
  @jsii.data_type(
9432
- jsii_type="aws-cdk-lib.aws_bedrock.CfnFlow.TextPromptTemplateConfigurationProperty",
9919
+ jsii_type="aws-cdk-lib.aws_bedrock.CfnFlow.StorageFlowNodeConfigurationProperty",
9433
9920
  jsii_struct_bases=[],
9434
- name_mapping={"text": "text", "input_variables": "inputVariables"},
9921
+ name_mapping={"service_configuration": "serviceConfiguration"},
9435
9922
  )
9436
- class TextPromptTemplateConfigurationProperty:
9923
+ class StorageFlowNodeConfigurationProperty:
9924
+ def __init__(
9925
+ self,
9926
+ *,
9927
+ service_configuration: typing.Union[_IResolvable_da3f097b, typing.Union["CfnFlow.StorageFlowNodeServiceConfigurationProperty", typing.Dict[builtins.str, typing.Any]]],
9928
+ ) -> None:
9929
+ '''Contains configurations for a Storage node in a flow.
9930
+
9931
+ This node stores the input in an Amazon S3 location that you specify.
9932
+
9933
+ :param service_configuration: Contains configurations for the service to use for storing the input into the node.
9934
+
9935
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-storageflownodeconfiguration.html
9936
+ :exampleMetadata: fixture=_generated
9937
+
9938
+ Example::
9939
+
9940
+ # The code below shows an example of how to instantiate this type.
9941
+ # The values are placeholders you should change.
9942
+ from aws_cdk import aws_bedrock as bedrock
9943
+
9944
+ storage_flow_node_configuration_property = bedrock.CfnFlow.StorageFlowNodeConfigurationProperty(
9945
+ service_configuration=bedrock.CfnFlow.StorageFlowNodeServiceConfigurationProperty(
9946
+ s3=bedrock.CfnFlow.StorageFlowNodeS3ConfigurationProperty(
9947
+ bucket_name="bucketName"
9948
+ )
9949
+ )
9950
+ )
9951
+ '''
9952
+ if __debug__:
9953
+ type_hints = typing.get_type_hints(_typecheckingstub__2947611a82b29854c7efc58b7c733174ecf09a5853484c0d5e8f1ce11289b86a)
9954
+ check_type(argname="argument service_configuration", value=service_configuration, expected_type=type_hints["service_configuration"])
9955
+ self._values: typing.Dict[builtins.str, typing.Any] = {
9956
+ "service_configuration": service_configuration,
9957
+ }
9958
+
9959
+ @builtins.property
9960
+ def service_configuration(
9961
+ self,
9962
+ ) -> typing.Union[_IResolvable_da3f097b, "CfnFlow.StorageFlowNodeServiceConfigurationProperty"]:
9963
+ '''Contains configurations for the service to use for storing the input into the node.
9964
+
9965
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-storageflownodeconfiguration.html#cfn-bedrock-flow-storageflownodeconfiguration-serviceconfiguration
9966
+ '''
9967
+ result = self._values.get("service_configuration")
9968
+ assert result is not None, "Required property 'service_configuration' is missing"
9969
+ return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnFlow.StorageFlowNodeServiceConfigurationProperty"], result)
9970
+
9971
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
9972
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
9973
+
9974
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
9975
+ return not (rhs == self)
9976
+
9977
+ def __repr__(self) -> str:
9978
+ return "StorageFlowNodeConfigurationProperty(%s)" % ", ".join(
9979
+ k + "=" + repr(v) for k, v in self._values.items()
9980
+ )
9981
+
9982
+ @jsii.data_type(
9983
+ jsii_type="aws-cdk-lib.aws_bedrock.CfnFlow.StorageFlowNodeS3ConfigurationProperty",
9984
+ jsii_struct_bases=[],
9985
+ name_mapping={"bucket_name": "bucketName"},
9986
+ )
9987
+ class StorageFlowNodeS3ConfigurationProperty:
9988
+ def __init__(self, *, bucket_name: builtins.str) -> None:
9989
+ '''Contains configurations for the Amazon S3 location in which to store the input into the node.
9990
+
9991
+ :param bucket_name: The name of the Amazon S3 bucket in which to store the input into the node.
9992
+
9993
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-storageflownodes3configuration.html
9994
+ :exampleMetadata: fixture=_generated
9995
+
9996
+ Example::
9997
+
9998
+ # The code below shows an example of how to instantiate this type.
9999
+ # The values are placeholders you should change.
10000
+ from aws_cdk import aws_bedrock as bedrock
10001
+
10002
+ storage_flow_node_s3_configuration_property = bedrock.CfnFlow.StorageFlowNodeS3ConfigurationProperty(
10003
+ bucket_name="bucketName"
10004
+ )
10005
+ '''
10006
+ if __debug__:
10007
+ type_hints = typing.get_type_hints(_typecheckingstub__4a2fc36b12bce2e01af3c61406e1b388bed1307c7154a5986c5562cc872007f5)
10008
+ check_type(argname="argument bucket_name", value=bucket_name, expected_type=type_hints["bucket_name"])
10009
+ self._values: typing.Dict[builtins.str, typing.Any] = {
10010
+ "bucket_name": bucket_name,
10011
+ }
10012
+
10013
+ @builtins.property
10014
+ def bucket_name(self) -> builtins.str:
10015
+ '''The name of the Amazon S3 bucket in which to store the input into the node.
10016
+
10017
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-storageflownodes3configuration.html#cfn-bedrock-flow-storageflownodes3configuration-bucketname
10018
+ '''
10019
+ result = self._values.get("bucket_name")
10020
+ assert result is not None, "Required property 'bucket_name' is missing"
10021
+ return typing.cast(builtins.str, result)
10022
+
10023
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
10024
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
10025
+
10026
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
10027
+ return not (rhs == self)
10028
+
10029
+ def __repr__(self) -> str:
10030
+ return "StorageFlowNodeS3ConfigurationProperty(%s)" % ", ".join(
10031
+ k + "=" + repr(v) for k, v in self._values.items()
10032
+ )
10033
+
10034
+ @jsii.data_type(
10035
+ jsii_type="aws-cdk-lib.aws_bedrock.CfnFlow.StorageFlowNodeServiceConfigurationProperty",
10036
+ jsii_struct_bases=[],
10037
+ name_mapping={"s3": "s3"},
10038
+ )
10039
+ class StorageFlowNodeServiceConfigurationProperty:
10040
+ def __init__(
10041
+ self,
10042
+ *,
10043
+ s3: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnFlow.StorageFlowNodeS3ConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
10044
+ ) -> None:
10045
+ '''Contains configurations for the service to use for storing the input into the node.
10046
+
10047
+ :param s3: Contains configurations for the Amazon S3 location in which to store the input into the node.
10048
+
10049
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-storageflownodeserviceconfiguration.html
10050
+ :exampleMetadata: fixture=_generated
10051
+
10052
+ Example::
10053
+
10054
+ # The code below shows an example of how to instantiate this type.
10055
+ # The values are placeholders you should change.
10056
+ from aws_cdk import aws_bedrock as bedrock
10057
+
10058
+ storage_flow_node_service_configuration_property = bedrock.CfnFlow.StorageFlowNodeServiceConfigurationProperty(
10059
+ s3=bedrock.CfnFlow.StorageFlowNodeS3ConfigurationProperty(
10060
+ bucket_name="bucketName"
10061
+ )
10062
+ )
10063
+ '''
10064
+ if __debug__:
10065
+ type_hints = typing.get_type_hints(_typecheckingstub__de8a16140d8aef7030c7580cb53c7b271917f885403ef4e509d2d3eedefafab7)
10066
+ check_type(argname="argument s3", value=s3, expected_type=type_hints["s3"])
10067
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
10068
+ if s3 is not None:
10069
+ self._values["s3"] = s3
10070
+
10071
+ @builtins.property
10072
+ def s3(
10073
+ self,
10074
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnFlow.StorageFlowNodeS3ConfigurationProperty"]]:
10075
+ '''Contains configurations for the Amazon S3 location in which to store the input into the node.
10076
+
10077
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-storageflownodeserviceconfiguration.html#cfn-bedrock-flow-storageflownodeserviceconfiguration-s3
10078
+ '''
10079
+ result = self._values.get("s3")
10080
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnFlow.StorageFlowNodeS3ConfigurationProperty"]], result)
10081
+
10082
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
10083
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
10084
+
10085
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
10086
+ return not (rhs == self)
10087
+
10088
+ def __repr__(self) -> str:
10089
+ return "StorageFlowNodeServiceConfigurationProperty(%s)" % ", ".join(
10090
+ k + "=" + repr(v) for k, v in self._values.items()
10091
+ )
10092
+
10093
+ @jsii.data_type(
10094
+ jsii_type="aws-cdk-lib.aws_bedrock.CfnFlow.TextPromptTemplateConfigurationProperty",
10095
+ jsii_struct_bases=[],
10096
+ name_mapping={"text": "text", "input_variables": "inputVariables"},
10097
+ )
10098
+ class TextPromptTemplateConfigurationProperty:
9437
10099
  def __init__(
9438
10100
  self,
9439
10101
  *,
@@ -9984,7 +10646,9 @@ class CfnFlowProps:
9984
10646
  # The values are placeholders you should change.
9985
10647
  from aws_cdk import aws_bedrock as bedrock
9986
10648
 
10649
+ # collector: Any
9987
10650
  # input: Any
10651
+ # iterator: Any
9988
10652
  # output: Any
9989
10653
 
9990
10654
  cfn_flow_props = bedrock.CfnFlowProps(
@@ -10017,6 +10681,10 @@ class CfnFlowProps:
10017
10681
 
10018
10682
  # the properties below are optional
10019
10683
  configuration=bedrock.CfnFlow.FlowNodeConfigurationProperty(
10684
+ agent=bedrock.CfnFlow.AgentFlowNodeConfigurationProperty(
10685
+ agent_alias_arn="agentAliasArn"
10686
+ ),
10687
+ collector=collector,
10020
10688
  condition=bedrock.CfnFlow.ConditionFlowNodeConfigurationProperty(
10021
10689
  conditions=[bedrock.CfnFlow.FlowConditionProperty(
10022
10690
  name="name",
@@ -10026,6 +10694,7 @@ class CfnFlowProps:
10026
10694
  )]
10027
10695
  ),
10028
10696
  input=input,
10697
+ iterator=iterator,
10029
10698
  knowledge_base=bedrock.CfnFlow.KnowledgeBaseFlowNodeConfigurationProperty(
10030
10699
  knowledge_base_id="knowledgeBaseId",
10031
10700
 
@@ -10071,6 +10740,20 @@ class CfnFlowProps:
10071
10740
  prompt_arn="promptArn"
10072
10741
  )
10073
10742
  )
10743
+ ),
10744
+ retrieval=bedrock.CfnFlow.RetrievalFlowNodeConfigurationProperty(
10745
+ service_configuration=bedrock.CfnFlow.RetrievalFlowNodeServiceConfigurationProperty(
10746
+ s3=bedrock.CfnFlow.RetrievalFlowNodeS3ConfigurationProperty(
10747
+ bucket_name="bucketName"
10748
+ )
10749
+ )
10750
+ ),
10751
+ storage=bedrock.CfnFlow.StorageFlowNodeConfigurationProperty(
10752
+ service_configuration=bedrock.CfnFlow.StorageFlowNodeServiceConfigurationProperty(
10753
+ s3=bedrock.CfnFlow.StorageFlowNodeS3ConfigurationProperty(
10754
+ bucket_name="bucketName"
10755
+ )
10756
+ )
10074
10757
  )
10075
10758
  ),
10076
10759
  inputs=[bedrock.CfnFlow.FlowNodeInputProperty(
@@ -10349,6 +11032,15 @@ class CfnFlowVersion(
10349
11032
  '''
10350
11033
  return typing.cast(builtins.str, jsii.get(self, "attrCreatedAt"))
10351
11034
 
11035
+ @builtins.property
11036
+ @jsii.member(jsii_name="attrCustomerEncryptionKeyArn")
11037
+ def attr_customer_encryption_key_arn(self) -> builtins.str:
11038
+ '''A KMS key ARN.
11039
+
11040
+ :cloudformationAttribute: CustomerEncryptionKeyArn
11041
+ '''
11042
+ return typing.cast(builtins.str, jsii.get(self, "attrCustomerEncryptionKeyArn"))
11043
+
10352
11044
  @builtins.property
10353
11045
  @jsii.member(jsii_name="attrDefinition")
10354
11046
  def attr_definition(self) -> _IResolvable_da3f097b:
@@ -10436,6 +11128,60 @@ class CfnFlowVersion(
10436
11128
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
10437
11129
  jsii.set(self, "description", value) # pyright: ignore[reportArgumentType]
10438
11130
 
11131
+ @jsii.data_type(
11132
+ jsii_type="aws-cdk-lib.aws_bedrock.CfnFlowVersion.AgentFlowNodeConfigurationProperty",
11133
+ jsii_struct_bases=[],
11134
+ name_mapping={"agent_alias_arn": "agentAliasArn"},
11135
+ )
11136
+ class AgentFlowNodeConfigurationProperty:
11137
+ def __init__(self, *, agent_alias_arn: builtins.str) -> None:
11138
+ '''Defines an agent node in your flow.
11139
+
11140
+ You specify the agent to invoke at this point in the flow. For more information, see `Node types in Amazon Bedrock works <https://docs.aws.amazon.com/bedrock/latest/userguide/flows-nodes.html>`_ in the Amazon Bedrock User Guide.
11141
+
11142
+ :param agent_alias_arn: The Amazon Resource Name (ARN) of the alias of the agent to invoke.
11143
+
11144
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-agentflownodeconfiguration.html
11145
+ :exampleMetadata: fixture=_generated
11146
+
11147
+ Example::
11148
+
11149
+ # The code below shows an example of how to instantiate this type.
11150
+ # The values are placeholders you should change.
11151
+ from aws_cdk import aws_bedrock as bedrock
11152
+
11153
+ agent_flow_node_configuration_property = bedrock.CfnFlowVersion.AgentFlowNodeConfigurationProperty(
11154
+ agent_alias_arn="agentAliasArn"
11155
+ )
11156
+ '''
11157
+ if __debug__:
11158
+ type_hints = typing.get_type_hints(_typecheckingstub__d2f9b914c5d40c946bff1dbcc6c016aacfab4e4b5c8f2a45cb392c7a1adb7083)
11159
+ check_type(argname="argument agent_alias_arn", value=agent_alias_arn, expected_type=type_hints["agent_alias_arn"])
11160
+ self._values: typing.Dict[builtins.str, typing.Any] = {
11161
+ "agent_alias_arn": agent_alias_arn,
11162
+ }
11163
+
11164
+ @builtins.property
11165
+ def agent_alias_arn(self) -> builtins.str:
11166
+ '''The Amazon Resource Name (ARN) of the alias of the agent to invoke.
11167
+
11168
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-agentflownodeconfiguration.html#cfn-bedrock-flowversion-agentflownodeconfiguration-agentaliasarn
11169
+ '''
11170
+ result = self._values.get("agent_alias_arn")
11171
+ assert result is not None, "Required property 'agent_alias_arn' is missing"
11172
+ return typing.cast(builtins.str, result)
11173
+
11174
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
11175
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
11176
+
11177
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
11178
+ return not (rhs == self)
11179
+
11180
+ def __repr__(self) -> str:
11181
+ return "AgentFlowNodeConfigurationProperty(%s)" % ", ".join(
11182
+ k + "=" + repr(v) for k, v in self._values.items()
11183
+ )
11184
+
10439
11185
  @jsii.data_type(
10440
11186
  jsii_type="aws-cdk-lib.aws_bedrock.CfnFlowVersion.ConditionFlowNodeConfigurationProperty",
10441
11187
  jsii_struct_bases=[],
@@ -10942,7 +11688,9 @@ class CfnFlowVersion(
10942
11688
  # The values are placeholders you should change.
10943
11689
  from aws_cdk import aws_bedrock as bedrock
10944
11690
 
11691
+ # collector: Any
10945
11692
  # input: Any
11693
+ # iterator: Any
10946
11694
  # output: Any
10947
11695
 
10948
11696
  flow_definition_property = bedrock.CfnFlowVersion.FlowDefinitionProperty(
@@ -10969,6 +11717,10 @@ class CfnFlowVersion(
10969
11717
 
10970
11718
  # the properties below are optional
10971
11719
  configuration=bedrock.CfnFlowVersion.FlowNodeConfigurationProperty(
11720
+ agent=bedrock.CfnFlowVersion.AgentFlowNodeConfigurationProperty(
11721
+ agent_alias_arn="agentAliasArn"
11722
+ ),
11723
+ collector=collector,
10972
11724
  condition=bedrock.CfnFlowVersion.ConditionFlowNodeConfigurationProperty(
10973
11725
  conditions=[bedrock.CfnFlowVersion.FlowConditionProperty(
10974
11726
  name="name",
@@ -10978,6 +11730,7 @@ class CfnFlowVersion(
10978
11730
  )]
10979
11731
  ),
10980
11732
  input=input,
11733
+ iterator=iterator,
10981
11734
  knowledge_base=bedrock.CfnFlowVersion.KnowledgeBaseFlowNodeConfigurationProperty(
10982
11735
  knowledge_base_id="knowledgeBaseId",
10983
11736
 
@@ -11023,6 +11776,20 @@ class CfnFlowVersion(
11023
11776
  prompt_arn="promptArn"
11024
11777
  )
11025
11778
  )
11779
+ ),
11780
+ retrieval=bedrock.CfnFlowVersion.RetrievalFlowNodeConfigurationProperty(
11781
+ service_configuration=bedrock.CfnFlowVersion.RetrievalFlowNodeServiceConfigurationProperty(
11782
+ s3=bedrock.CfnFlowVersion.RetrievalFlowNodeS3ConfigurationProperty(
11783
+ bucket_name="bucketName"
11784
+ )
11785
+ )
11786
+ ),
11787
+ storage=bedrock.CfnFlowVersion.StorageFlowNodeConfigurationProperty(
11788
+ service_configuration=bedrock.CfnFlowVersion.StorageFlowNodeServiceConfigurationProperty(
11789
+ s3=bedrock.CfnFlowVersion.StorageFlowNodeS3ConfigurationProperty(
11790
+ bucket_name="bucketName"
11791
+ )
11792
+ )
11026
11793
  )
11027
11794
  ),
11028
11795
  inputs=[bedrock.CfnFlowVersion.FlowNodeInputProperty(
@@ -11084,38 +11851,53 @@ class CfnFlowVersion(
11084
11851
  jsii_type="aws-cdk-lib.aws_bedrock.CfnFlowVersion.FlowNodeConfigurationProperty",
11085
11852
  jsii_struct_bases=[],
11086
11853
  name_mapping={
11854
+ "agent": "agent",
11855
+ "collector": "collector",
11087
11856
  "condition": "condition",
11088
11857
  "input": "input",
11858
+ "iterator": "iterator",
11089
11859
  "knowledge_base": "knowledgeBase",
11090
11860
  "lambda_function": "lambdaFunction",
11091
11861
  "lex": "lex",
11092
11862
  "output": "output",
11093
11863
  "prompt": "prompt",
11864
+ "retrieval": "retrieval",
11865
+ "storage": "storage",
11094
11866
  },
11095
11867
  )
11096
11868
  class FlowNodeConfigurationProperty:
11097
11869
  def __init__(
11098
11870
  self,
11099
11871
  *,
11872
+ agent: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnFlowVersion.AgentFlowNodeConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
11873
+ collector: typing.Any = None,
11100
11874
  condition: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnFlowVersion.ConditionFlowNodeConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
11101
11875
  input: typing.Any = None,
11876
+ iterator: typing.Any = None,
11102
11877
  knowledge_base: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnFlowVersion.KnowledgeBaseFlowNodeConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
11103
11878
  lambda_function: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnFlowVersion.LambdaFunctionFlowNodeConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
11104
11879
  lex: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnFlowVersion.LexFlowNodeConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
11105
11880
  output: typing.Any = None,
11106
11881
  prompt: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnFlowVersion.PromptFlowNodeConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
11882
+ retrieval: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnFlowVersion.RetrievalFlowNodeConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
11883
+ storage: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnFlowVersion.StorageFlowNodeConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
11107
11884
  ) -> None:
11108
11885
  '''Contains configurations for a node in your flow.
11109
11886
 
11110
11887
  For more information, see `Node types in Amazon Bedrock works <https://docs.aws.amazon.com/bedrock/latest/userguide/flows-nodes.html>`_ in the Amazon Bedrock User Guide.
11111
11888
 
11889
+ :param agent: Contains configurations for an agent node in your flow. Invokes an alias of an agent and returns the response.
11890
+ :param collector: Contains configurations for a collector node in your flow. Collects an iteration of inputs and consolidates them into an array of outputs.
11112
11891
  :param condition: Contains configurations for a Condition node in your flow. Defines conditions that lead to different branches of the flow.
11113
11892
  :param input: Contains configurations for an input flow node in your flow. The first node in the flow. ``inputs`` can't be specified for this node.
11893
+ :param iterator: Contains configurations for an iterator node in your flow. Takes an input that is an array and iteratively sends each item of the array as an output to the following node. The size of the array is also returned in the output. The output flow node at the end of the flow iteration will return a response for each member of the array. To return only one response, you can include a collector node downstream from the iterator node.
11114
11894
  :param knowledge_base: Contains configurations for a knowledge base node in your flow. Queries a knowledge base and returns the retrieved results or generated response.
11115
11895
  :param lambda_function: Contains configurations for a Lambda function node in your flow. Invokes an AWS Lambda function.
11116
11896
  :param lex: Contains configurations for a Lex node in your flow. Invokes an Amazon Lex bot to identify the intent of the input and return the intent as the output.
11117
11897
  :param output: Contains configurations for an output flow node in your flow. The last node in the flow. ``outputs`` can't be specified for this node.
11118
11898
  :param prompt: Contains configurations for a prompt node in your flow. Runs a prompt and generates the model response as the output. You can use a prompt from Prompt management or you can configure one in this node.
11899
+ :param retrieval: Contains configurations for a Retrieval node in your flow. Retrieves data from an Amazon S3 location and returns it as the output.
11900
+ :param storage: Contains configurations for a Storage node in your flow. Stores an input in an Amazon S3 location.
11119
11901
 
11120
11902
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-flownodeconfiguration.html
11121
11903
  :exampleMetadata: fixture=_generated
@@ -11126,10 +11908,16 @@ class CfnFlowVersion(
11126
11908
  # The values are placeholders you should change.
11127
11909
  from aws_cdk import aws_bedrock as bedrock
11128
11910
 
11911
+ # collector: Any
11129
11912
  # input: Any
11913
+ # iterator: Any
11130
11914
  # output: Any
11131
11915
 
11132
11916
  flow_node_configuration_property = bedrock.CfnFlowVersion.FlowNodeConfigurationProperty(
11917
+ agent=bedrock.CfnFlowVersion.AgentFlowNodeConfigurationProperty(
11918
+ agent_alias_arn="agentAliasArn"
11919
+ ),
11920
+ collector=collector,
11133
11921
  condition=bedrock.CfnFlowVersion.ConditionFlowNodeConfigurationProperty(
11134
11922
  conditions=[bedrock.CfnFlowVersion.FlowConditionProperty(
11135
11923
  name="name",
@@ -11139,6 +11927,7 @@ class CfnFlowVersion(
11139
11927
  )]
11140
11928
  ),
11141
11929
  input=input,
11930
+ iterator=iterator,
11142
11931
  knowledge_base=bedrock.CfnFlowVersion.KnowledgeBaseFlowNodeConfigurationProperty(
11143
11932
  knowledge_base_id="knowledgeBaseId",
11144
11933
 
@@ -11184,23 +11973,48 @@ class CfnFlowVersion(
11184
11973
  prompt_arn="promptArn"
11185
11974
  )
11186
11975
  )
11976
+ ),
11977
+ retrieval=bedrock.CfnFlowVersion.RetrievalFlowNodeConfigurationProperty(
11978
+ service_configuration=bedrock.CfnFlowVersion.RetrievalFlowNodeServiceConfigurationProperty(
11979
+ s3=bedrock.CfnFlowVersion.RetrievalFlowNodeS3ConfigurationProperty(
11980
+ bucket_name="bucketName"
11981
+ )
11982
+ )
11983
+ ),
11984
+ storage=bedrock.CfnFlowVersion.StorageFlowNodeConfigurationProperty(
11985
+ service_configuration=bedrock.CfnFlowVersion.StorageFlowNodeServiceConfigurationProperty(
11986
+ s3=bedrock.CfnFlowVersion.StorageFlowNodeS3ConfigurationProperty(
11987
+ bucket_name="bucketName"
11988
+ )
11989
+ )
11187
11990
  )
11188
11991
  )
11189
11992
  '''
11190
11993
  if __debug__:
11191
11994
  type_hints = typing.get_type_hints(_typecheckingstub__f9cd0cd05b1dd568a6031e23179baa28ec1045e1a40b1eda1f4240278fd28f94)
11995
+ check_type(argname="argument agent", value=agent, expected_type=type_hints["agent"])
11996
+ check_type(argname="argument collector", value=collector, expected_type=type_hints["collector"])
11192
11997
  check_type(argname="argument condition", value=condition, expected_type=type_hints["condition"])
11193
11998
  check_type(argname="argument input", value=input, expected_type=type_hints["input"])
11999
+ check_type(argname="argument iterator", value=iterator, expected_type=type_hints["iterator"])
11194
12000
  check_type(argname="argument knowledge_base", value=knowledge_base, expected_type=type_hints["knowledge_base"])
11195
12001
  check_type(argname="argument lambda_function", value=lambda_function, expected_type=type_hints["lambda_function"])
11196
12002
  check_type(argname="argument lex", value=lex, expected_type=type_hints["lex"])
11197
12003
  check_type(argname="argument output", value=output, expected_type=type_hints["output"])
11198
12004
  check_type(argname="argument prompt", value=prompt, expected_type=type_hints["prompt"])
12005
+ check_type(argname="argument retrieval", value=retrieval, expected_type=type_hints["retrieval"])
12006
+ check_type(argname="argument storage", value=storage, expected_type=type_hints["storage"])
11199
12007
  self._values: typing.Dict[builtins.str, typing.Any] = {}
12008
+ if agent is not None:
12009
+ self._values["agent"] = agent
12010
+ if collector is not None:
12011
+ self._values["collector"] = collector
11200
12012
  if condition is not None:
11201
12013
  self._values["condition"] = condition
11202
12014
  if input is not None:
11203
12015
  self._values["input"] = input
12016
+ if iterator is not None:
12017
+ self._values["iterator"] = iterator
11204
12018
  if knowledge_base is not None:
11205
12019
  self._values["knowledge_base"] = knowledge_base
11206
12020
  if lambda_function is not None:
@@ -11211,6 +12025,34 @@ class CfnFlowVersion(
11211
12025
  self._values["output"] = output
11212
12026
  if prompt is not None:
11213
12027
  self._values["prompt"] = prompt
12028
+ if retrieval is not None:
12029
+ self._values["retrieval"] = retrieval
12030
+ if storage is not None:
12031
+ self._values["storage"] = storage
12032
+
12033
+ @builtins.property
12034
+ def agent(
12035
+ self,
12036
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnFlowVersion.AgentFlowNodeConfigurationProperty"]]:
12037
+ '''Contains configurations for an agent node in your flow.
12038
+
12039
+ Invokes an alias of an agent and returns the response.
12040
+
12041
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-flownodeconfiguration.html#cfn-bedrock-flowversion-flownodeconfiguration-agent
12042
+ '''
12043
+ result = self._values.get("agent")
12044
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnFlowVersion.AgentFlowNodeConfigurationProperty"]], result)
12045
+
12046
+ @builtins.property
12047
+ def collector(self) -> typing.Any:
12048
+ '''Contains configurations for a collector node in your flow.
12049
+
12050
+ Collects an iteration of inputs and consolidates them into an array of outputs.
12051
+
12052
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-flownodeconfiguration.html#cfn-bedrock-flowversion-flownodeconfiguration-collector
12053
+ '''
12054
+ result = self._values.get("collector")
12055
+ return typing.cast(typing.Any, result)
11214
12056
 
11215
12057
  @builtins.property
11216
12058
  def condition(
@@ -11236,6 +12078,19 @@ class CfnFlowVersion(
11236
12078
  result = self._values.get("input")
11237
12079
  return typing.cast(typing.Any, result)
11238
12080
 
12081
+ @builtins.property
12082
+ def iterator(self) -> typing.Any:
12083
+ '''Contains configurations for an iterator node in your flow.
12084
+
12085
+ Takes an input that is an array and iteratively sends each item of the array as an output to the following node. The size of the array is also returned in the output.
12086
+
12087
+ The output flow node at the end of the flow iteration will return a response for each member of the array. To return only one response, you can include a collector node downstream from the iterator node.
12088
+
12089
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-flownodeconfiguration.html#cfn-bedrock-flowversion-flownodeconfiguration-iterator
12090
+ '''
12091
+ result = self._values.get("iterator")
12092
+ return typing.cast(typing.Any, result)
12093
+
11239
12094
  @builtins.property
11240
12095
  def knowledge_base(
11241
12096
  self,
@@ -11299,6 +12154,32 @@ class CfnFlowVersion(
11299
12154
  result = self._values.get("prompt")
11300
12155
  return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnFlowVersion.PromptFlowNodeConfigurationProperty"]], result)
11301
12156
 
12157
+ @builtins.property
12158
+ def retrieval(
12159
+ self,
12160
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnFlowVersion.RetrievalFlowNodeConfigurationProperty"]]:
12161
+ '''Contains configurations for a Retrieval node in your flow.
12162
+
12163
+ Retrieves data from an Amazon S3 location and returns it as the output.
12164
+
12165
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-flownodeconfiguration.html#cfn-bedrock-flowversion-flownodeconfiguration-retrieval
12166
+ '''
12167
+ result = self._values.get("retrieval")
12168
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnFlowVersion.RetrievalFlowNodeConfigurationProperty"]], result)
12169
+
12170
+ @builtins.property
12171
+ def storage(
12172
+ self,
12173
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnFlowVersion.StorageFlowNodeConfigurationProperty"]]:
12174
+ '''Contains configurations for a Storage node in your flow.
12175
+
12176
+ Stores an input in an Amazon S3 location.
12177
+
12178
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-flownodeconfiguration.html#cfn-bedrock-flowversion-flownodeconfiguration-storage
12179
+ '''
12180
+ result = self._values.get("storage")
12181
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnFlowVersion.StorageFlowNodeConfigurationProperty"]], result)
12182
+
11302
12183
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
11303
12184
  return isinstance(rhs, self.__class__) and rhs._values == self._values
11304
12185
 
@@ -11506,7 +12387,9 @@ class CfnFlowVersion(
11506
12387
  # The values are placeholders you should change.
11507
12388
  from aws_cdk import aws_bedrock as bedrock
11508
12389
 
12390
+ # collector: Any
11509
12391
  # input: Any
12392
+ # iterator: Any
11510
12393
  # output: Any
11511
12394
 
11512
12395
  flow_node_property = bedrock.CfnFlowVersion.FlowNodeProperty(
@@ -11515,6 +12398,10 @@ class CfnFlowVersion(
11515
12398
 
11516
12399
  # the properties below are optional
11517
12400
  configuration=bedrock.CfnFlowVersion.FlowNodeConfigurationProperty(
12401
+ agent=bedrock.CfnFlowVersion.AgentFlowNodeConfigurationProperty(
12402
+ agent_alias_arn="agentAliasArn"
12403
+ ),
12404
+ collector=collector,
11518
12405
  condition=bedrock.CfnFlowVersion.ConditionFlowNodeConfigurationProperty(
11519
12406
  conditions=[bedrock.CfnFlowVersion.FlowConditionProperty(
11520
12407
  name="name",
@@ -11524,6 +12411,7 @@ class CfnFlowVersion(
11524
12411
  )]
11525
12412
  ),
11526
12413
  input=input,
12414
+ iterator=iterator,
11527
12415
  knowledge_base=bedrock.CfnFlowVersion.KnowledgeBaseFlowNodeConfigurationProperty(
11528
12416
  knowledge_base_id="knowledgeBaseId",
11529
12417
 
@@ -11569,6 +12457,20 @@ class CfnFlowVersion(
11569
12457
  prompt_arn="promptArn"
11570
12458
  )
11571
12459
  )
12460
+ ),
12461
+ retrieval=bedrock.CfnFlowVersion.RetrievalFlowNodeConfigurationProperty(
12462
+ service_configuration=bedrock.CfnFlowVersion.RetrievalFlowNodeServiceConfigurationProperty(
12463
+ s3=bedrock.CfnFlowVersion.RetrievalFlowNodeS3ConfigurationProperty(
12464
+ bucket_name="bucketName"
12465
+ )
12466
+ )
12467
+ ),
12468
+ storage=bedrock.CfnFlowVersion.StorageFlowNodeConfigurationProperty(
12469
+ service_configuration=bedrock.CfnFlowVersion.StorageFlowNodeServiceConfigurationProperty(
12470
+ s3=bedrock.CfnFlowVersion.StorageFlowNodeS3ConfigurationProperty(
12471
+ bucket_name="bucketName"
12472
+ )
12473
+ )
11572
12474
  )
11573
12475
  ),
11574
12476
  inputs=[bedrock.CfnFlowVersion.FlowNodeInputProperty(
@@ -12386,7 +13288,360 @@ class CfnFlowVersion(
12386
13288
  :param top_k: The number of most-likely candidates that the model considers for the next token during generation.
12387
13289
  :param top_p: The percentage of most-likely candidates that the model considers for the next token.
12388
13290
 
12389
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-promptmodelinferenceconfiguration.html
13291
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-promptmodelinferenceconfiguration.html
13292
+ :exampleMetadata: fixture=_generated
13293
+
13294
+ Example::
13295
+
13296
+ # The code below shows an example of how to instantiate this type.
13297
+ # The values are placeholders you should change.
13298
+ from aws_cdk import aws_bedrock as bedrock
13299
+
13300
+ prompt_model_inference_configuration_property = bedrock.CfnFlowVersion.PromptModelInferenceConfigurationProperty(
13301
+ max_tokens=123,
13302
+ stop_sequences=["stopSequences"],
13303
+ temperature=123,
13304
+ top_k=123,
13305
+ top_p=123
13306
+ )
13307
+ '''
13308
+ if __debug__:
13309
+ type_hints = typing.get_type_hints(_typecheckingstub__296008f3af7867aca83108accdbdf386a68d143c6a178bb785d89777bebf4b04)
13310
+ check_type(argname="argument max_tokens", value=max_tokens, expected_type=type_hints["max_tokens"])
13311
+ check_type(argname="argument stop_sequences", value=stop_sequences, expected_type=type_hints["stop_sequences"])
13312
+ check_type(argname="argument temperature", value=temperature, expected_type=type_hints["temperature"])
13313
+ check_type(argname="argument top_k", value=top_k, expected_type=type_hints["top_k"])
13314
+ check_type(argname="argument top_p", value=top_p, expected_type=type_hints["top_p"])
13315
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
13316
+ if max_tokens is not None:
13317
+ self._values["max_tokens"] = max_tokens
13318
+ if stop_sequences is not None:
13319
+ self._values["stop_sequences"] = stop_sequences
13320
+ if temperature is not None:
13321
+ self._values["temperature"] = temperature
13322
+ if top_k is not None:
13323
+ self._values["top_k"] = top_k
13324
+ if top_p is not None:
13325
+ self._values["top_p"] = top_p
13326
+
13327
+ @builtins.property
13328
+ def max_tokens(self) -> typing.Optional[jsii.Number]:
13329
+ '''The maximum number of tokens to return in the response.
13330
+
13331
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-promptmodelinferenceconfiguration.html#cfn-bedrock-flowversion-promptmodelinferenceconfiguration-maxtokens
13332
+ '''
13333
+ result = self._values.get("max_tokens")
13334
+ return typing.cast(typing.Optional[jsii.Number], result)
13335
+
13336
+ @builtins.property
13337
+ def stop_sequences(self) -> typing.Optional[typing.List[builtins.str]]:
13338
+ '''A list of strings that define sequences after which the model will stop generating.
13339
+
13340
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-promptmodelinferenceconfiguration.html#cfn-bedrock-flowversion-promptmodelinferenceconfiguration-stopsequences
13341
+ '''
13342
+ result = self._values.get("stop_sequences")
13343
+ return typing.cast(typing.Optional[typing.List[builtins.str]], result)
13344
+
13345
+ @builtins.property
13346
+ def temperature(self) -> typing.Optional[jsii.Number]:
13347
+ '''Controls the randomness of the response.
13348
+
13349
+ Choose a lower value for more predictable outputs and a higher value for more surprising outputs.
13350
+
13351
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-promptmodelinferenceconfiguration.html#cfn-bedrock-flowversion-promptmodelinferenceconfiguration-temperature
13352
+ '''
13353
+ result = self._values.get("temperature")
13354
+ return typing.cast(typing.Optional[jsii.Number], result)
13355
+
13356
+ @builtins.property
13357
+ def top_k(self) -> typing.Optional[jsii.Number]:
13358
+ '''The number of most-likely candidates that the model considers for the next token during generation.
13359
+
13360
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-promptmodelinferenceconfiguration.html#cfn-bedrock-flowversion-promptmodelinferenceconfiguration-topk
13361
+ '''
13362
+ result = self._values.get("top_k")
13363
+ return typing.cast(typing.Optional[jsii.Number], result)
13364
+
13365
+ @builtins.property
13366
+ def top_p(self) -> typing.Optional[jsii.Number]:
13367
+ '''The percentage of most-likely candidates that the model considers for the next token.
13368
+
13369
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-promptmodelinferenceconfiguration.html#cfn-bedrock-flowversion-promptmodelinferenceconfiguration-topp
13370
+ '''
13371
+ result = self._values.get("top_p")
13372
+ return typing.cast(typing.Optional[jsii.Number], result)
13373
+
13374
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
13375
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
13376
+
13377
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
13378
+ return not (rhs == self)
13379
+
13380
+ def __repr__(self) -> str:
13381
+ return "PromptModelInferenceConfigurationProperty(%s)" % ", ".join(
13382
+ k + "=" + repr(v) for k, v in self._values.items()
13383
+ )
13384
+
13385
+ @jsii.data_type(
13386
+ jsii_type="aws-cdk-lib.aws_bedrock.CfnFlowVersion.PromptTemplateConfigurationProperty",
13387
+ jsii_struct_bases=[],
13388
+ name_mapping={"text": "text"},
13389
+ )
13390
+ class PromptTemplateConfigurationProperty:
13391
+ def __init__(
13392
+ self,
13393
+ *,
13394
+ text: typing.Union[_IResolvable_da3f097b, typing.Union["CfnFlowVersion.TextPromptTemplateConfigurationProperty", typing.Dict[builtins.str, typing.Any]]],
13395
+ ) -> None:
13396
+ '''Contains the message for a prompt.
13397
+
13398
+ For more information, see `Prompt management in Amazon Bedrock <https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-management.html>`_ .
13399
+
13400
+ :param text: Contains configurations for the text in a message for a prompt.
13401
+
13402
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-prompttemplateconfiguration.html
13403
+ :exampleMetadata: fixture=_generated
13404
+
13405
+ Example::
13406
+
13407
+ # The code below shows an example of how to instantiate this type.
13408
+ # The values are placeholders you should change.
13409
+ from aws_cdk import aws_bedrock as bedrock
13410
+
13411
+ prompt_template_configuration_property = bedrock.CfnFlowVersion.PromptTemplateConfigurationProperty(
13412
+ text=bedrock.CfnFlowVersion.TextPromptTemplateConfigurationProperty(
13413
+ text="text",
13414
+
13415
+ # the properties below are optional
13416
+ input_variables=[bedrock.CfnFlowVersion.PromptInputVariableProperty(
13417
+ name="name"
13418
+ )]
13419
+ )
13420
+ )
13421
+ '''
13422
+ if __debug__:
13423
+ type_hints = typing.get_type_hints(_typecheckingstub__cdae5ed58ab50ea65740dfb331694cb5fd8ad547ccbbbedbe809c7f9ff9e72d1)
13424
+ check_type(argname="argument text", value=text, expected_type=type_hints["text"])
13425
+ self._values: typing.Dict[builtins.str, typing.Any] = {
13426
+ "text": text,
13427
+ }
13428
+
13429
+ @builtins.property
13430
+ def text(
13431
+ self,
13432
+ ) -> typing.Union[_IResolvable_da3f097b, "CfnFlowVersion.TextPromptTemplateConfigurationProperty"]:
13433
+ '''Contains configurations for the text in a message for a prompt.
13434
+
13435
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-prompttemplateconfiguration.html#cfn-bedrock-flowversion-prompttemplateconfiguration-text
13436
+ '''
13437
+ result = self._values.get("text")
13438
+ assert result is not None, "Required property 'text' is missing"
13439
+ return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnFlowVersion.TextPromptTemplateConfigurationProperty"], result)
13440
+
13441
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
13442
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
13443
+
13444
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
13445
+ return not (rhs == self)
13446
+
13447
+ def __repr__(self) -> str:
13448
+ return "PromptTemplateConfigurationProperty(%s)" % ", ".join(
13449
+ k + "=" + repr(v) for k, v in self._values.items()
13450
+ )
13451
+
13452
+ @jsii.data_type(
13453
+ jsii_type="aws-cdk-lib.aws_bedrock.CfnFlowVersion.RetrievalFlowNodeConfigurationProperty",
13454
+ jsii_struct_bases=[],
13455
+ name_mapping={"service_configuration": "serviceConfiguration"},
13456
+ )
13457
+ class RetrievalFlowNodeConfigurationProperty:
13458
+ def __init__(
13459
+ self,
13460
+ *,
13461
+ service_configuration: typing.Union[_IResolvable_da3f097b, typing.Union["CfnFlowVersion.RetrievalFlowNodeServiceConfigurationProperty", typing.Dict[builtins.str, typing.Any]]],
13462
+ ) -> None:
13463
+ '''Contains configurations for a Retrieval node in a flow.
13464
+
13465
+ This node retrieves data from the Amazon S3 location that you specify and returns it as the output.
13466
+
13467
+ :param service_configuration: Contains configurations for the service to use for retrieving data to return as the output from the node.
13468
+
13469
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-retrievalflownodeconfiguration.html
13470
+ :exampleMetadata: fixture=_generated
13471
+
13472
+ Example::
13473
+
13474
+ # The code below shows an example of how to instantiate this type.
13475
+ # The values are placeholders you should change.
13476
+ from aws_cdk import aws_bedrock as bedrock
13477
+
13478
+ retrieval_flow_node_configuration_property = bedrock.CfnFlowVersion.RetrievalFlowNodeConfigurationProperty(
13479
+ service_configuration=bedrock.CfnFlowVersion.RetrievalFlowNodeServiceConfigurationProperty(
13480
+ s3=bedrock.CfnFlowVersion.RetrievalFlowNodeS3ConfigurationProperty(
13481
+ bucket_name="bucketName"
13482
+ )
13483
+ )
13484
+ )
13485
+ '''
13486
+ if __debug__:
13487
+ type_hints = typing.get_type_hints(_typecheckingstub__1b2ccf635b97ea636e11b91f8e9192a84ab3e4b666d226ecff9668ddba28f3fc)
13488
+ check_type(argname="argument service_configuration", value=service_configuration, expected_type=type_hints["service_configuration"])
13489
+ self._values: typing.Dict[builtins.str, typing.Any] = {
13490
+ "service_configuration": service_configuration,
13491
+ }
13492
+
13493
+ @builtins.property
13494
+ def service_configuration(
13495
+ self,
13496
+ ) -> typing.Union[_IResolvable_da3f097b, "CfnFlowVersion.RetrievalFlowNodeServiceConfigurationProperty"]:
13497
+ '''Contains configurations for the service to use for retrieving data to return as the output from the node.
13498
+
13499
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-retrievalflownodeconfiguration.html#cfn-bedrock-flowversion-retrievalflownodeconfiguration-serviceconfiguration
13500
+ '''
13501
+ result = self._values.get("service_configuration")
13502
+ assert result is not None, "Required property 'service_configuration' is missing"
13503
+ return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnFlowVersion.RetrievalFlowNodeServiceConfigurationProperty"], result)
13504
+
13505
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
13506
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
13507
+
13508
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
13509
+ return not (rhs == self)
13510
+
13511
+ def __repr__(self) -> str:
13512
+ return "RetrievalFlowNodeConfigurationProperty(%s)" % ", ".join(
13513
+ k + "=" + repr(v) for k, v in self._values.items()
13514
+ )
13515
+
13516
+ @jsii.data_type(
13517
+ jsii_type="aws-cdk-lib.aws_bedrock.CfnFlowVersion.RetrievalFlowNodeS3ConfigurationProperty",
13518
+ jsii_struct_bases=[],
13519
+ name_mapping={"bucket_name": "bucketName"},
13520
+ )
13521
+ class RetrievalFlowNodeS3ConfigurationProperty:
13522
+ def __init__(self, *, bucket_name: builtins.str) -> None:
13523
+ '''Contains configurations for the Amazon S3 location from which to retrieve data to return as the output from the node.
13524
+
13525
+ :param bucket_name: The name of the Amazon S3 bucket from which to retrieve data.
13526
+
13527
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-retrievalflownodes3configuration.html
13528
+ :exampleMetadata: fixture=_generated
13529
+
13530
+ Example::
13531
+
13532
+ # The code below shows an example of how to instantiate this type.
13533
+ # The values are placeholders you should change.
13534
+ from aws_cdk import aws_bedrock as bedrock
13535
+
13536
+ retrieval_flow_node_s3_configuration_property = bedrock.CfnFlowVersion.RetrievalFlowNodeS3ConfigurationProperty(
13537
+ bucket_name="bucketName"
13538
+ )
13539
+ '''
13540
+ if __debug__:
13541
+ type_hints = typing.get_type_hints(_typecheckingstub__d571fce6026f6906d4b9877f76350900eb2d36b8c98f0f49cc0a67b541cd27c7)
13542
+ check_type(argname="argument bucket_name", value=bucket_name, expected_type=type_hints["bucket_name"])
13543
+ self._values: typing.Dict[builtins.str, typing.Any] = {
13544
+ "bucket_name": bucket_name,
13545
+ }
13546
+
13547
+ @builtins.property
13548
+ def bucket_name(self) -> builtins.str:
13549
+ '''The name of the Amazon S3 bucket from which to retrieve data.
13550
+
13551
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-retrievalflownodes3configuration.html#cfn-bedrock-flowversion-retrievalflownodes3configuration-bucketname
13552
+ '''
13553
+ result = self._values.get("bucket_name")
13554
+ assert result is not None, "Required property 'bucket_name' is missing"
13555
+ return typing.cast(builtins.str, result)
13556
+
13557
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
13558
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
13559
+
13560
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
13561
+ return not (rhs == self)
13562
+
13563
+ def __repr__(self) -> str:
13564
+ return "RetrievalFlowNodeS3ConfigurationProperty(%s)" % ", ".join(
13565
+ k + "=" + repr(v) for k, v in self._values.items()
13566
+ )
13567
+
13568
+ @jsii.data_type(
13569
+ jsii_type="aws-cdk-lib.aws_bedrock.CfnFlowVersion.RetrievalFlowNodeServiceConfigurationProperty",
13570
+ jsii_struct_bases=[],
13571
+ name_mapping={"s3": "s3"},
13572
+ )
13573
+ class RetrievalFlowNodeServiceConfigurationProperty:
13574
+ def __init__(
13575
+ self,
13576
+ *,
13577
+ s3: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnFlowVersion.RetrievalFlowNodeS3ConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
13578
+ ) -> None:
13579
+ '''Contains configurations for the service to use for retrieving data to return as the output from the node.
13580
+
13581
+ :param s3: Contains configurations for the Amazon S3 location from which to retrieve data to return as the output from the node.
13582
+
13583
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-retrievalflownodeserviceconfiguration.html
13584
+ :exampleMetadata: fixture=_generated
13585
+
13586
+ Example::
13587
+
13588
+ # The code below shows an example of how to instantiate this type.
13589
+ # The values are placeholders you should change.
13590
+ from aws_cdk import aws_bedrock as bedrock
13591
+
13592
+ retrieval_flow_node_service_configuration_property = bedrock.CfnFlowVersion.RetrievalFlowNodeServiceConfigurationProperty(
13593
+ s3=bedrock.CfnFlowVersion.RetrievalFlowNodeS3ConfigurationProperty(
13594
+ bucket_name="bucketName"
13595
+ )
13596
+ )
13597
+ '''
13598
+ if __debug__:
13599
+ type_hints = typing.get_type_hints(_typecheckingstub__21a7a1c7745fcff35d6a7be6ee612e1ed2dbb49e3565ed086db62ce1bc0649c5)
13600
+ check_type(argname="argument s3", value=s3, expected_type=type_hints["s3"])
13601
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
13602
+ if s3 is not None:
13603
+ self._values["s3"] = s3
13604
+
13605
+ @builtins.property
13606
+ def s3(
13607
+ self,
13608
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnFlowVersion.RetrievalFlowNodeS3ConfigurationProperty"]]:
13609
+ '''Contains configurations for the Amazon S3 location from which to retrieve data to return as the output from the node.
13610
+
13611
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-retrievalflownodeserviceconfiguration.html#cfn-bedrock-flowversion-retrievalflownodeserviceconfiguration-s3
13612
+ '''
13613
+ result = self._values.get("s3")
13614
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnFlowVersion.RetrievalFlowNodeS3ConfigurationProperty"]], result)
13615
+
13616
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
13617
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
13618
+
13619
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
13620
+ return not (rhs == self)
13621
+
13622
+ def __repr__(self) -> str:
13623
+ return "RetrievalFlowNodeServiceConfigurationProperty(%s)" % ", ".join(
13624
+ k + "=" + repr(v) for k, v in self._values.items()
13625
+ )
13626
+
13627
+ @jsii.data_type(
13628
+ jsii_type="aws-cdk-lib.aws_bedrock.CfnFlowVersion.StorageFlowNodeConfigurationProperty",
13629
+ jsii_struct_bases=[],
13630
+ name_mapping={"service_configuration": "serviceConfiguration"},
13631
+ )
13632
+ class StorageFlowNodeConfigurationProperty:
13633
+ def __init__(
13634
+ self,
13635
+ *,
13636
+ service_configuration: typing.Union[_IResolvable_da3f097b, typing.Union["CfnFlowVersion.StorageFlowNodeServiceConfigurationProperty", typing.Dict[builtins.str, typing.Any]]],
13637
+ ) -> None:
13638
+ '''Contains configurations for a Storage node in a flow.
13639
+
13640
+ This node stores the input in an Amazon S3 location that you specify.
13641
+
13642
+ :param service_configuration: Contains configurations for the service to use for storing the input into the node.
13643
+
13644
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-storageflownodeconfiguration.html
12390
13645
  :exampleMetadata: fixture=_generated
12391
13646
 
12392
13647
  Example::
@@ -12395,79 +13650,84 @@ class CfnFlowVersion(
12395
13650
  # The values are placeholders you should change.
12396
13651
  from aws_cdk import aws_bedrock as bedrock
12397
13652
 
12398
- prompt_model_inference_configuration_property = bedrock.CfnFlowVersion.PromptModelInferenceConfigurationProperty(
12399
- max_tokens=123,
12400
- stop_sequences=["stopSequences"],
12401
- temperature=123,
12402
- top_k=123,
12403
- top_p=123
13653
+ storage_flow_node_configuration_property = bedrock.CfnFlowVersion.StorageFlowNodeConfigurationProperty(
13654
+ service_configuration=bedrock.CfnFlowVersion.StorageFlowNodeServiceConfigurationProperty(
13655
+ s3=bedrock.CfnFlowVersion.StorageFlowNodeS3ConfigurationProperty(
13656
+ bucket_name="bucketName"
13657
+ )
13658
+ )
12404
13659
  )
12405
13660
  '''
12406
13661
  if __debug__:
12407
- type_hints = typing.get_type_hints(_typecheckingstub__296008f3af7867aca83108accdbdf386a68d143c6a178bb785d89777bebf4b04)
12408
- check_type(argname="argument max_tokens", value=max_tokens, expected_type=type_hints["max_tokens"])
12409
- check_type(argname="argument stop_sequences", value=stop_sequences, expected_type=type_hints["stop_sequences"])
12410
- check_type(argname="argument temperature", value=temperature, expected_type=type_hints["temperature"])
12411
- check_type(argname="argument top_k", value=top_k, expected_type=type_hints["top_k"])
12412
- check_type(argname="argument top_p", value=top_p, expected_type=type_hints["top_p"])
12413
- self._values: typing.Dict[builtins.str, typing.Any] = {}
12414
- if max_tokens is not None:
12415
- self._values["max_tokens"] = max_tokens
12416
- if stop_sequences is not None:
12417
- self._values["stop_sequences"] = stop_sequences
12418
- if temperature is not None:
12419
- self._values["temperature"] = temperature
12420
- if top_k is not None:
12421
- self._values["top_k"] = top_k
12422
- if top_p is not None:
12423
- self._values["top_p"] = top_p
13662
+ type_hints = typing.get_type_hints(_typecheckingstub__0fddcc2e5093ac996342f42863b40df2e48e76d811a4e482a7f5aea20b4d9627)
13663
+ check_type(argname="argument service_configuration", value=service_configuration, expected_type=type_hints["service_configuration"])
13664
+ self._values: typing.Dict[builtins.str, typing.Any] = {
13665
+ "service_configuration": service_configuration,
13666
+ }
12424
13667
 
12425
13668
  @builtins.property
12426
- def max_tokens(self) -> typing.Optional[jsii.Number]:
12427
- '''The maximum number of tokens to return in the response.
13669
+ def service_configuration(
13670
+ self,
13671
+ ) -> typing.Union[_IResolvable_da3f097b, "CfnFlowVersion.StorageFlowNodeServiceConfigurationProperty"]:
13672
+ '''Contains configurations for the service to use for storing the input into the node.
12428
13673
 
12429
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-promptmodelinferenceconfiguration.html#cfn-bedrock-flowversion-promptmodelinferenceconfiguration-maxtokens
13674
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-storageflownodeconfiguration.html#cfn-bedrock-flowversion-storageflownodeconfiguration-serviceconfiguration
12430
13675
  '''
12431
- result = self._values.get("max_tokens")
12432
- return typing.cast(typing.Optional[jsii.Number], result)
13676
+ result = self._values.get("service_configuration")
13677
+ assert result is not None, "Required property 'service_configuration' is missing"
13678
+ return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnFlowVersion.StorageFlowNodeServiceConfigurationProperty"], result)
12433
13679
 
12434
- @builtins.property
12435
- def stop_sequences(self) -> typing.Optional[typing.List[builtins.str]]:
12436
- '''A list of strings that define sequences after which the model will stop generating.
13680
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
13681
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
12437
13682
 
12438
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-promptmodelinferenceconfiguration.html#cfn-bedrock-flowversion-promptmodelinferenceconfiguration-stopsequences
12439
- '''
12440
- result = self._values.get("stop_sequences")
12441
- return typing.cast(typing.Optional[typing.List[builtins.str]], result)
13683
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
13684
+ return not (rhs == self)
12442
13685
 
12443
- @builtins.property
12444
- def temperature(self) -> typing.Optional[jsii.Number]:
12445
- '''Controls the randomness of the response.
13686
+ def __repr__(self) -> str:
13687
+ return "StorageFlowNodeConfigurationProperty(%s)" % ", ".join(
13688
+ k + "=" + repr(v) for k, v in self._values.items()
13689
+ )
12446
13690
 
12447
- Choose a lower value for more predictable outputs and a higher value for more surprising outputs.
13691
+ @jsii.data_type(
13692
+ jsii_type="aws-cdk-lib.aws_bedrock.CfnFlowVersion.StorageFlowNodeS3ConfigurationProperty",
13693
+ jsii_struct_bases=[],
13694
+ name_mapping={"bucket_name": "bucketName"},
13695
+ )
13696
+ class StorageFlowNodeS3ConfigurationProperty:
13697
+ def __init__(self, *, bucket_name: builtins.str) -> None:
13698
+ '''Contains configurations for the Amazon S3 location in which to store the input into the node.
12448
13699
 
12449
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-promptmodelinferenceconfiguration.html#cfn-bedrock-flowversion-promptmodelinferenceconfiguration-temperature
12450
- '''
12451
- result = self._values.get("temperature")
12452
- return typing.cast(typing.Optional[jsii.Number], result)
13700
+ :param bucket_name: The name of the Amazon S3 bucket in which to store the input into the node.
12453
13701
 
12454
- @builtins.property
12455
- def top_k(self) -> typing.Optional[jsii.Number]:
12456
- '''The number of most-likely candidates that the model considers for the next token during generation.
13702
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-storageflownodes3configuration.html
13703
+ :exampleMetadata: fixture=_generated
12457
13704
 
12458
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-promptmodelinferenceconfiguration.html#cfn-bedrock-flowversion-promptmodelinferenceconfiguration-topk
13705
+ Example::
13706
+
13707
+ # The code below shows an example of how to instantiate this type.
13708
+ # The values are placeholders you should change.
13709
+ from aws_cdk import aws_bedrock as bedrock
13710
+
13711
+ storage_flow_node_s3_configuration_property = bedrock.CfnFlowVersion.StorageFlowNodeS3ConfigurationProperty(
13712
+ bucket_name="bucketName"
13713
+ )
12459
13714
  '''
12460
- result = self._values.get("top_k")
12461
- return typing.cast(typing.Optional[jsii.Number], result)
13715
+ if __debug__:
13716
+ type_hints = typing.get_type_hints(_typecheckingstub__d7b9df955514d0838f602eb6266a08d2ac3018fb4196f94b2dbc2e715b8c4443)
13717
+ check_type(argname="argument bucket_name", value=bucket_name, expected_type=type_hints["bucket_name"])
13718
+ self._values: typing.Dict[builtins.str, typing.Any] = {
13719
+ "bucket_name": bucket_name,
13720
+ }
12462
13721
 
12463
13722
  @builtins.property
12464
- def top_p(self) -> typing.Optional[jsii.Number]:
12465
- '''The percentage of most-likely candidates that the model considers for the next token.
13723
+ def bucket_name(self) -> builtins.str:
13724
+ '''The name of the Amazon S3 bucket in which to store the input into the node.
12466
13725
 
12467
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-promptmodelinferenceconfiguration.html#cfn-bedrock-flowversion-promptmodelinferenceconfiguration-topp
13726
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-storageflownodes3configuration.html#cfn-bedrock-flowversion-storageflownodes3configuration-bucketname
12468
13727
  '''
12469
- result = self._values.get("top_p")
12470
- return typing.cast(typing.Optional[jsii.Number], result)
13728
+ result = self._values.get("bucket_name")
13729
+ assert result is not None, "Required property 'bucket_name' is missing"
13730
+ return typing.cast(builtins.str, result)
12471
13731
 
12472
13732
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
12473
13733
  return isinstance(rhs, self.__class__) and rhs._values == self._values
@@ -12476,28 +13736,26 @@ class CfnFlowVersion(
12476
13736
  return not (rhs == self)
12477
13737
 
12478
13738
  def __repr__(self) -> str:
12479
- return "PromptModelInferenceConfigurationProperty(%s)" % ", ".join(
13739
+ return "StorageFlowNodeS3ConfigurationProperty(%s)" % ", ".join(
12480
13740
  k + "=" + repr(v) for k, v in self._values.items()
12481
13741
  )
12482
13742
 
12483
13743
  @jsii.data_type(
12484
- jsii_type="aws-cdk-lib.aws_bedrock.CfnFlowVersion.PromptTemplateConfigurationProperty",
13744
+ jsii_type="aws-cdk-lib.aws_bedrock.CfnFlowVersion.StorageFlowNodeServiceConfigurationProperty",
12485
13745
  jsii_struct_bases=[],
12486
- name_mapping={"text": "text"},
13746
+ name_mapping={"s3": "s3"},
12487
13747
  )
12488
- class PromptTemplateConfigurationProperty:
13748
+ class StorageFlowNodeServiceConfigurationProperty:
12489
13749
  def __init__(
12490
13750
  self,
12491
13751
  *,
12492
- text: typing.Union[_IResolvable_da3f097b, typing.Union["CfnFlowVersion.TextPromptTemplateConfigurationProperty", typing.Dict[builtins.str, typing.Any]]],
13752
+ s3: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnFlowVersion.StorageFlowNodeS3ConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
12493
13753
  ) -> None:
12494
- '''Contains the message for a prompt.
13754
+ '''Contains configurations for the service to use for storing the input into the node.
12495
13755
 
12496
- For more information, see `Prompt management in Amazon Bedrock <https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-management.html>`_ .
12497
-
12498
- :param text: Contains configurations for the text in a message for a prompt.
13756
+ :param s3: Contains configurations for the Amazon S3 location in which to store the input into the node.
12499
13757
 
12500
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-prompttemplateconfiguration.html
13758
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-storageflownodeserviceconfiguration.html
12501
13759
  :exampleMetadata: fixture=_generated
12502
13760
 
12503
13761
  Example::
@@ -12506,35 +13764,29 @@ class CfnFlowVersion(
12506
13764
  # The values are placeholders you should change.
12507
13765
  from aws_cdk import aws_bedrock as bedrock
12508
13766
 
12509
- prompt_template_configuration_property = bedrock.CfnFlowVersion.PromptTemplateConfigurationProperty(
12510
- text=bedrock.CfnFlowVersion.TextPromptTemplateConfigurationProperty(
12511
- text="text",
12512
-
12513
- # the properties below are optional
12514
- input_variables=[bedrock.CfnFlowVersion.PromptInputVariableProperty(
12515
- name="name"
12516
- )]
13767
+ storage_flow_node_service_configuration_property = bedrock.CfnFlowVersion.StorageFlowNodeServiceConfigurationProperty(
13768
+ s3=bedrock.CfnFlowVersion.StorageFlowNodeS3ConfigurationProperty(
13769
+ bucket_name="bucketName"
12517
13770
  )
12518
13771
  )
12519
13772
  '''
12520
13773
  if __debug__:
12521
- type_hints = typing.get_type_hints(_typecheckingstub__cdae5ed58ab50ea65740dfb331694cb5fd8ad547ccbbbedbe809c7f9ff9e72d1)
12522
- check_type(argname="argument text", value=text, expected_type=type_hints["text"])
12523
- self._values: typing.Dict[builtins.str, typing.Any] = {
12524
- "text": text,
12525
- }
13774
+ type_hints = typing.get_type_hints(_typecheckingstub__000a8a0ee8692fbfb462ce4a24438d150dc2d6b8143c4e68df268bd52edde0f3)
13775
+ check_type(argname="argument s3", value=s3, expected_type=type_hints["s3"])
13776
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
13777
+ if s3 is not None:
13778
+ self._values["s3"] = s3
12526
13779
 
12527
13780
  @builtins.property
12528
- def text(
13781
+ def s3(
12529
13782
  self,
12530
- ) -> typing.Union[_IResolvable_da3f097b, "CfnFlowVersion.TextPromptTemplateConfigurationProperty"]:
12531
- '''Contains configurations for the text in a message for a prompt.
13783
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnFlowVersion.StorageFlowNodeS3ConfigurationProperty"]]:
13784
+ '''Contains configurations for the Amazon S3 location in which to store the input into the node.
12532
13785
 
12533
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-prompttemplateconfiguration.html#cfn-bedrock-flowversion-prompttemplateconfiguration-text
13786
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-storageflownodeserviceconfiguration.html#cfn-bedrock-flowversion-storageflownodeserviceconfiguration-s3
12534
13787
  '''
12535
- result = self._values.get("text")
12536
- assert result is not None, "Required property 'text' is missing"
12537
- return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnFlowVersion.TextPromptTemplateConfigurationProperty"], result)
13788
+ result = self._values.get("s3")
13789
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnFlowVersion.StorageFlowNodeS3ConfigurationProperty"]], result)
12538
13790
 
12539
13791
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
12540
13792
  return isinstance(rhs, self.__class__) and rhs._values == self._values
@@ -12543,7 +13795,7 @@ class CfnFlowVersion(
12543
13795
  return not (rhs == self)
12544
13796
 
12545
13797
  def __repr__(self) -> str:
12546
- return "PromptTemplateConfigurationProperty(%s)" % ", ".join(
13798
+ return "StorageFlowNodeServiceConfigurationProperty(%s)" % ", ".join(
12547
13799
  k + "=" + repr(v) for k, v in self._values.items()
12548
13800
  )
12549
13801
 
@@ -17351,7 +18603,7 @@ class CfnPromptProps:
17351
18603
  )
17352
18604
 
17353
18605
 
17354
- @jsii.implements(_IInspectable_c2943556)
18606
+ @jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
17355
18607
  class CfnPromptVersion(
17356
18608
  _CfnResource_9df397a6,
17357
18609
  metaclass=jsii.JSIIMeta,
@@ -17375,7 +18627,10 @@ class CfnPromptVersion(
17375
18627
  prompt_arn="promptArn",
17376
18628
 
17377
18629
  # the properties below are optional
17378
- description="description"
18630
+ description="description",
18631
+ tags={
18632
+ "tags_key": "tags"
18633
+ }
17379
18634
  )
17380
18635
  '''
17381
18636
 
@@ -17386,18 +18641,22 @@ class CfnPromptVersion(
17386
18641
  *,
17387
18642
  prompt_arn: builtins.str,
17388
18643
  description: typing.Optional[builtins.str] = None,
18644
+ tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
17389
18645
  ) -> None:
17390
18646
  '''
17391
18647
  :param scope: Scope in which this resource is defined.
17392
18648
  :param id: Construct identifier for this resource (unique in its scope).
17393
18649
  :param prompt_arn: The Amazon Resource Name (ARN) of the version of the prompt.
17394
18650
  :param description: The description of the prompt version.
18651
+ :param tags: A map of tag keys and values.
17395
18652
  '''
17396
18653
  if __debug__:
17397
18654
  type_hints = typing.get_type_hints(_typecheckingstub__655fee944eb77092f564ba8ce6cc99b8af558f5e4f24168d280a8d548f092789)
17398
18655
  check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
17399
18656
  check_type(argname="argument id", value=id, expected_type=type_hints["id"])
17400
- props = CfnPromptVersionProps(prompt_arn=prompt_arn, description=description)
18657
+ props = CfnPromptVersionProps(
18658
+ prompt_arn=prompt_arn, description=description, tags=tags
18659
+ )
17401
18660
 
17402
18661
  jsii.create(self.__class__, self, [scope, id, props])
17403
18662
 
@@ -17449,6 +18708,15 @@ class CfnPromptVersion(
17449
18708
  '''
17450
18709
  return typing.cast(builtins.str, jsii.get(self, "attrCreatedAt"))
17451
18710
 
18711
+ @builtins.property
18712
+ @jsii.member(jsii_name="attrCustomerEncryptionKeyArn")
18713
+ def attr_customer_encryption_key_arn(self) -> builtins.str:
18714
+ '''A KMS key ARN.
18715
+
18716
+ :cloudformationAttribute: CustomerEncryptionKeyArn
18717
+ '''
18718
+ return typing.cast(builtins.str, jsii.get(self, "attrCustomerEncryptionKeyArn"))
18719
+
17452
18720
  @builtins.property
17453
18721
  @jsii.member(jsii_name="attrDefaultVariant")
17454
18722
  def attr_default_variant(self) -> builtins.str:
@@ -17505,6 +18773,12 @@ class CfnPromptVersion(
17505
18773
  '''
17506
18774
  return typing.cast(builtins.str, jsii.get(self, "attrVersion"))
17507
18775
 
18776
+ @builtins.property
18777
+ @jsii.member(jsii_name="cdkTagManager")
18778
+ def cdk_tag_manager(self) -> _TagManager_0a598cb3:
18779
+ '''Tag Manager which manages the tags for this resource.'''
18780
+ return typing.cast(_TagManager_0a598cb3, jsii.get(self, "cdkTagManager"))
18781
+
17508
18782
  @builtins.property
17509
18783
  @jsii.member(jsii_name="cfnProperties")
17510
18784
  def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
@@ -17536,6 +18810,22 @@ class CfnPromptVersion(
17536
18810
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
17537
18811
  jsii.set(self, "description", value) # pyright: ignore[reportArgumentType]
17538
18812
 
18813
+ @builtins.property
18814
+ @jsii.member(jsii_name="tags")
18815
+ def tags(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
18816
+ '''A map of tag keys and values.'''
18817
+ return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], jsii.get(self, "tags"))
18818
+
18819
+ @tags.setter
18820
+ def tags(
18821
+ self,
18822
+ value: typing.Optional[typing.Mapping[builtins.str, builtins.str]],
18823
+ ) -> None:
18824
+ if __debug__:
18825
+ type_hints = typing.get_type_hints(_typecheckingstub__9272c7a9663761c48d9f2dd784a0dea11f8f35dbce40fb938036091fd8cf57a0)
18826
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
18827
+ jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
18828
+
17539
18829
  @jsii.data_type(
17540
18830
  jsii_type="aws-cdk-lib.aws_bedrock.CfnPromptVersion.PromptInferenceConfigurationProperty",
17541
18831
  jsii_struct_bases=[],
@@ -18071,7 +19361,11 @@ class CfnPromptVersion(
18071
19361
  @jsii.data_type(
18072
19362
  jsii_type="aws-cdk-lib.aws_bedrock.CfnPromptVersionProps",
18073
19363
  jsii_struct_bases=[],
18074
- name_mapping={"prompt_arn": "promptArn", "description": "description"},
19364
+ name_mapping={
19365
+ "prompt_arn": "promptArn",
19366
+ "description": "description",
19367
+ "tags": "tags",
19368
+ },
18075
19369
  )
18076
19370
  class CfnPromptVersionProps:
18077
19371
  def __init__(
@@ -18079,11 +19373,13 @@ class CfnPromptVersionProps:
18079
19373
  *,
18080
19374
  prompt_arn: builtins.str,
18081
19375
  description: typing.Optional[builtins.str] = None,
19376
+ tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
18082
19377
  ) -> None:
18083
19378
  '''Properties for defining a ``CfnPromptVersion``.
18084
19379
 
18085
19380
  :param prompt_arn: The Amazon Resource Name (ARN) of the version of the prompt.
18086
19381
  :param description: The description of the prompt version.
19382
+ :param tags: A map of tag keys and values.
18087
19383
 
18088
19384
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-promptversion.html
18089
19385
  :exampleMetadata: fixture=_generated
@@ -18098,18 +19394,24 @@ class CfnPromptVersionProps:
18098
19394
  prompt_arn="promptArn",
18099
19395
 
18100
19396
  # the properties below are optional
18101
- description="description"
19397
+ description="description",
19398
+ tags={
19399
+ "tags_key": "tags"
19400
+ }
18102
19401
  )
18103
19402
  '''
18104
19403
  if __debug__:
18105
19404
  type_hints = typing.get_type_hints(_typecheckingstub__96c6f04d4bf0b791d1f12be1ce79f791556638376cf77d3bf64ac4995d21603a)
18106
19405
  check_type(argname="argument prompt_arn", value=prompt_arn, expected_type=type_hints["prompt_arn"])
18107
19406
  check_type(argname="argument description", value=description, expected_type=type_hints["description"])
19407
+ check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
18108
19408
  self._values: typing.Dict[builtins.str, typing.Any] = {
18109
19409
  "prompt_arn": prompt_arn,
18110
19410
  }
18111
19411
  if description is not None:
18112
19412
  self._values["description"] = description
19413
+ if tags is not None:
19414
+ self._values["tags"] = tags
18113
19415
 
18114
19416
  @builtins.property
18115
19417
  def prompt_arn(self) -> builtins.str:
@@ -18130,6 +19432,15 @@ class CfnPromptVersionProps:
18130
19432
  result = self._values.get("description")
18131
19433
  return typing.cast(typing.Optional[builtins.str], result)
18132
19434
 
19435
+ @builtins.property
19436
+ def tags(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
19437
+ '''A map of tag keys and values.
19438
+
19439
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-promptversion.html#cfn-bedrock-promptversion-tags
19440
+ '''
19441
+ result = self._values.get("tags")
19442
+ return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], result)
19443
+
18133
19444
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
18134
19445
  return isinstance(rhs, self.__class__) and rhs._values == self._values
18135
19446
 
@@ -19655,6 +20966,13 @@ def _typecheckingstub__0c8f573e426abfd3b90c4d9ff9fecb4f008835544cca9591251c13879
19655
20966
  """Type checking stubs"""
19656
20967
  pass
19657
20968
 
20969
+ def _typecheckingstub__a835b75c491363488063d3b7d26eef8f2e4a2e2f689eb3676748164e4491c5fe(
20970
+ *,
20971
+ agent_alias_arn: builtins.str,
20972
+ ) -> None:
20973
+ """Type checking stubs"""
20974
+ pass
20975
+
19658
20976
  def _typecheckingstub__dda3f0b71fa4dedd72606bcb4dc1b235e5e8f33ebe66758c36774f374b1f09b1(
19659
20977
  *,
19660
20978
  conditions: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFlow.FlowConditionProperty, typing.Dict[builtins.str, typing.Any]]]]],
@@ -19714,13 +21032,18 @@ def _typecheckingstub__9871e2259e9da04030894d1ca021265a5d802265579dabeef19377844
19714
21032
 
19715
21033
  def _typecheckingstub__425c904db23b9629fe6a830be94d214d112c1a6206b762478fd9e04b551b5552(
19716
21034
  *,
21035
+ agent: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFlow.AgentFlowNodeConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
21036
+ collector: typing.Any = None,
19717
21037
  condition: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFlow.ConditionFlowNodeConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
19718
21038
  input: typing.Any = None,
21039
+ iterator: typing.Any = None,
19719
21040
  knowledge_base: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFlow.KnowledgeBaseFlowNodeConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
19720
21041
  lambda_function: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFlow.LambdaFunctionFlowNodeConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
19721
21042
  lex: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFlow.LexFlowNodeConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
19722
21043
  output: typing.Any = None,
19723
21044
  prompt: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFlow.PromptFlowNodeConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
21045
+ retrieval: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFlow.RetrievalFlowNodeConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
21046
+ storage: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFlow.StorageFlowNodeConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
19724
21047
  ) -> None:
19725
21048
  """Type checking stubs"""
19726
21049
  pass
@@ -19753,6 +21076,13 @@ def _typecheckingstub__3918fc30aa5dc9c688e4ea9c5bf2fb45419e4becfd6e3eccdcd68e52c
19753
21076
  """Type checking stubs"""
19754
21077
  pass
19755
21078
 
21079
+ def _typecheckingstub__3eab89f770734deb893367e044b113c86911377a918b039f1ba9310a34002e30(
21080
+ *,
21081
+ message: builtins.str,
21082
+ ) -> None:
21083
+ """Type checking stubs"""
21084
+ pass
21085
+
19756
21086
  def _typecheckingstub__004ed148a98b01e41f3efd077553224d0e5ce97fd3842fc0c6be6c28accdc6cc(
19757
21087
  *,
19758
21088
  knowledge_base_id: builtins.str,
@@ -19840,6 +21170,27 @@ def _typecheckingstub__5bf1f973d583ea4ef1d4bc5b39d3ee1b4725beaa6d0ec7ffb982b4315
19840
21170
  """Type checking stubs"""
19841
21171
  pass
19842
21172
 
21173
+ def _typecheckingstub__982db19983467a9d8b437235c39ed6a0fbf0e08458563d3e8f78d9a7de277861(
21174
+ *,
21175
+ service_configuration: typing.Union[_IResolvable_da3f097b, typing.Union[CfnFlow.RetrievalFlowNodeServiceConfigurationProperty, typing.Dict[builtins.str, typing.Any]]],
21176
+ ) -> None:
21177
+ """Type checking stubs"""
21178
+ pass
21179
+
21180
+ def _typecheckingstub__cc1fc39971930d3b8f21c48c16cc46f7b6dcac42391342dc2c0b08f3ab2dd6c9(
21181
+ *,
21182
+ bucket_name: builtins.str,
21183
+ ) -> None:
21184
+ """Type checking stubs"""
21185
+ pass
21186
+
21187
+ def _typecheckingstub__71787bd8165076f8853d3c5e8ccf1f76a3ecc1dff4ad49e09330cc7c5fd42328(
21188
+ *,
21189
+ s3: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFlow.RetrievalFlowNodeS3ConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
21190
+ ) -> None:
21191
+ """Type checking stubs"""
21192
+ pass
21193
+
19843
21194
  def _typecheckingstub__05457863dfccc1ba82410713caf4f4f5196707f3818d55f3234a1ee92a836f3a(
19844
21195
  *,
19845
21196
  bucket: builtins.str,
@@ -19849,6 +21200,27 @@ def _typecheckingstub__05457863dfccc1ba82410713caf4f4f5196707f3818d55f3234a1ee92
19849
21200
  """Type checking stubs"""
19850
21201
  pass
19851
21202
 
21203
+ def _typecheckingstub__2947611a82b29854c7efc58b7c733174ecf09a5853484c0d5e8f1ce11289b86a(
21204
+ *,
21205
+ service_configuration: typing.Union[_IResolvable_da3f097b, typing.Union[CfnFlow.StorageFlowNodeServiceConfigurationProperty, typing.Dict[builtins.str, typing.Any]]],
21206
+ ) -> None:
21207
+ """Type checking stubs"""
21208
+ pass
21209
+
21210
+ def _typecheckingstub__4a2fc36b12bce2e01af3c61406e1b388bed1307c7154a5986c5562cc872007f5(
21211
+ *,
21212
+ bucket_name: builtins.str,
21213
+ ) -> None:
21214
+ """Type checking stubs"""
21215
+ pass
21216
+
21217
+ def _typecheckingstub__de8a16140d8aef7030c7580cb53c7b271917f885403ef4e509d2d3eedefafab7(
21218
+ *,
21219
+ s3: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFlow.StorageFlowNodeS3ConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
21220
+ ) -> None:
21221
+ """Type checking stubs"""
21222
+ pass
21223
+
19852
21224
  def _typecheckingstub__a1164d8b76fe518886244583bdf3b7b3822830d9f1ee7bc6beec54ce34c0f455(
19853
21225
  *,
19854
21226
  text: builtins.str,
@@ -19980,6 +21352,13 @@ def _typecheckingstub__7f982c06560684269ac07c3dc57223c48225800eaacbc87f08a51a55e
19980
21352
  """Type checking stubs"""
19981
21353
  pass
19982
21354
 
21355
+ def _typecheckingstub__d2f9b914c5d40c946bff1dbcc6c016aacfab4e4b5c8f2a45cb392c7a1adb7083(
21356
+ *,
21357
+ agent_alias_arn: builtins.str,
21358
+ ) -> None:
21359
+ """Type checking stubs"""
21360
+ pass
21361
+
19983
21362
  def _typecheckingstub__58998504af7a39c970b789ec28fb7e3afe8c42041c2bad9381d2fc98e905dc94(
19984
21363
  *,
19985
21364
  conditions: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFlowVersion.FlowConditionProperty, typing.Dict[builtins.str, typing.Any]]]]],
@@ -20039,13 +21418,18 @@ def _typecheckingstub__8475acb2c15a224f24d256dd7b562970391360b68614b931f44c1e981
20039
21418
 
20040
21419
  def _typecheckingstub__f9cd0cd05b1dd568a6031e23179baa28ec1045e1a40b1eda1f4240278fd28f94(
20041
21420
  *,
21421
+ agent: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFlowVersion.AgentFlowNodeConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
21422
+ collector: typing.Any = None,
20042
21423
  condition: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFlowVersion.ConditionFlowNodeConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
20043
21424
  input: typing.Any = None,
21425
+ iterator: typing.Any = None,
20044
21426
  knowledge_base: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFlowVersion.KnowledgeBaseFlowNodeConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
20045
21427
  lambda_function: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFlowVersion.LambdaFunctionFlowNodeConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
20046
21428
  lex: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFlowVersion.LexFlowNodeConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
20047
21429
  output: typing.Any = None,
20048
21430
  prompt: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFlowVersion.PromptFlowNodeConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
21431
+ retrieval: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFlowVersion.RetrievalFlowNodeConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
21432
+ storage: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFlowVersion.StorageFlowNodeConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
20049
21433
  ) -> None:
20050
21434
  """Type checking stubs"""
20051
21435
  pass
@@ -20165,6 +21549,48 @@ def _typecheckingstub__cdae5ed58ab50ea65740dfb331694cb5fd8ad547ccbbbedbe809c7f9f
20165
21549
  """Type checking stubs"""
20166
21550
  pass
20167
21551
 
21552
+ def _typecheckingstub__1b2ccf635b97ea636e11b91f8e9192a84ab3e4b666d226ecff9668ddba28f3fc(
21553
+ *,
21554
+ service_configuration: typing.Union[_IResolvable_da3f097b, typing.Union[CfnFlowVersion.RetrievalFlowNodeServiceConfigurationProperty, typing.Dict[builtins.str, typing.Any]]],
21555
+ ) -> None:
21556
+ """Type checking stubs"""
21557
+ pass
21558
+
21559
+ def _typecheckingstub__d571fce6026f6906d4b9877f76350900eb2d36b8c98f0f49cc0a67b541cd27c7(
21560
+ *,
21561
+ bucket_name: builtins.str,
21562
+ ) -> None:
21563
+ """Type checking stubs"""
21564
+ pass
21565
+
21566
+ def _typecheckingstub__21a7a1c7745fcff35d6a7be6ee612e1ed2dbb49e3565ed086db62ce1bc0649c5(
21567
+ *,
21568
+ s3: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFlowVersion.RetrievalFlowNodeS3ConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
21569
+ ) -> None:
21570
+ """Type checking stubs"""
21571
+ pass
21572
+
21573
+ def _typecheckingstub__0fddcc2e5093ac996342f42863b40df2e48e76d811a4e482a7f5aea20b4d9627(
21574
+ *,
21575
+ service_configuration: typing.Union[_IResolvable_da3f097b, typing.Union[CfnFlowVersion.StorageFlowNodeServiceConfigurationProperty, typing.Dict[builtins.str, typing.Any]]],
21576
+ ) -> None:
21577
+ """Type checking stubs"""
21578
+ pass
21579
+
21580
+ def _typecheckingstub__d7b9df955514d0838f602eb6266a08d2ac3018fb4196f94b2dbc2e715b8c4443(
21581
+ *,
21582
+ bucket_name: builtins.str,
21583
+ ) -> None:
21584
+ """Type checking stubs"""
21585
+ pass
21586
+
21587
+ def _typecheckingstub__000a8a0ee8692fbfb462ce4a24438d150dc2d6b8143c4e68df268bd52edde0f3(
21588
+ *,
21589
+ s3: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFlowVersion.StorageFlowNodeS3ConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
21590
+ ) -> None:
21591
+ """Type checking stubs"""
21592
+ pass
21593
+
20168
21594
  def _typecheckingstub__ae71846b7aa0cb96d488de8fb8524f13a8239cc97cfb519c31e546c953063339(
20169
21595
  *,
20170
21596
  text: builtins.str,
@@ -20745,6 +22171,7 @@ def _typecheckingstub__655fee944eb77092f564ba8ce6cc99b8af558f5e4f24168d280a8d548
20745
22171
  *,
20746
22172
  prompt_arn: builtins.str,
20747
22173
  description: typing.Optional[builtins.str] = None,
22174
+ tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
20748
22175
  ) -> None:
20749
22176
  """Type checking stubs"""
20750
22177
  pass
@@ -20773,6 +22200,12 @@ def _typecheckingstub__ec4abcbc329aa78e1da7b3e9657d097c8f6506ef57c7cd0271a70014e
20773
22200
  """Type checking stubs"""
20774
22201
  pass
20775
22202
 
22203
+ def _typecheckingstub__9272c7a9663761c48d9f2dd784a0dea11f8f35dbce40fb938036091fd8cf57a0(
22204
+ value: typing.Optional[typing.Mapping[builtins.str, builtins.str]],
22205
+ ) -> None:
22206
+ """Type checking stubs"""
22207
+ pass
22208
+
20776
22209
  def _typecheckingstub__62215d8cc9a7076c41c83c6c84d981ced4f43ba8a60a2dfd544e01c1202d1726(
20777
22210
  *,
20778
22211
  text: typing.Union[_IResolvable_da3f097b, typing.Union[CfnPromptVersion.PromptModelInferenceConfigurationProperty, typing.Dict[builtins.str, typing.Any]]],
@@ -20828,6 +22261,7 @@ def _typecheckingstub__96c6f04d4bf0b791d1f12be1ce79f791556638376cf77d3bf64ac4995
20828
22261
  *,
20829
22262
  prompt_arn: builtins.str,
20830
22263
  description: typing.Optional[builtins.str] = None,
22264
+ tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
20831
22265
  ) -> None:
20832
22266
  """Type checking stubs"""
20833
22267
  pass