aws-cdk-lib 2.194.0__py3-none-any.whl → 2.196.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 (108) hide show
  1. aws_cdk/__init__.py +435 -20
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.194.0.jsii.tgz → aws-cdk-lib@2.196.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_acmpca/__init__.py +1 -1
  5. aws_cdk/aws_amazonmq/__init__.py +2 -2
  6. aws_cdk/aws_apigateway/__init__.py +208 -70
  7. aws_cdk/aws_apigatewayv2/__init__.py +155 -24
  8. aws_cdk/aws_appconfig/__init__.py +24 -0
  9. aws_cdk/aws_applicationautoscaling/__init__.py +6 -0
  10. aws_cdk/aws_appmesh/__init__.py +42 -0
  11. aws_cdk/aws_appsync/__init__.py +92 -20
  12. aws_cdk/aws_autoscaling/__init__.py +24 -0
  13. aws_cdk/aws_backup/__init__.py +53 -14
  14. aws_cdk/aws_batch/__init__.py +72 -0
  15. aws_cdk/aws_bedrock/__init__.py +1201 -18
  16. aws_cdk/aws_budgets/__init__.py +569 -0
  17. aws_cdk/aws_certificatemanager/__init__.py +21 -0
  18. aws_cdk/aws_chatbot/__init__.py +6 -0
  19. aws_cdk/aws_cloudfront/__init__.py +277 -120
  20. aws_cdk/aws_cloudfront/experimental/__init__.py +6 -0
  21. aws_cdk/aws_cloudtrail/__init__.py +6 -0
  22. aws_cdk/aws_cloudwatch/__init__.py +18 -0
  23. aws_cdk/aws_cloudwatch_actions/__init__.py +75 -1
  24. aws_cdk/aws_codebuild/__init__.py +48 -0
  25. aws_cdk/aws_codecommit/__init__.py +6 -0
  26. aws_cdk/aws_codedeploy/__init__.py +63 -0
  27. aws_cdk/aws_codeguruprofiler/__init__.py +6 -0
  28. aws_cdk/aws_codepipeline/__init__.py +114 -0
  29. aws_cdk/aws_codepipeline_actions/__init__.py +4 -4
  30. aws_cdk/aws_codestarnotifications/__init__.py +6 -0
  31. aws_cdk/aws_cognito/__init__.py +215 -10
  32. aws_cdk/aws_cognito_identitypool/__init__.py +6 -0
  33. aws_cdk/aws_config/__init__.py +36 -0
  34. aws_cdk/aws_datazone/__init__.py +1013 -100
  35. aws_cdk/aws_docdb/__init__.py +27 -3
  36. aws_cdk/aws_dsql/__init__.py +29 -12
  37. aws_cdk/aws_dynamodb/__init__.py +25 -11
  38. aws_cdk/aws_ec2/__init__.py +408 -23
  39. aws_cdk/aws_ecr/__init__.py +22 -14
  40. aws_cdk/aws_ecr_assets/__init__.py +6 -0
  41. aws_cdk/aws_ecs/__init__.py +116 -34
  42. aws_cdk/aws_ecs_patterns/__init__.py +58 -0
  43. aws_cdk/aws_efs/__init__.py +12 -0
  44. aws_cdk/aws_eks/__init__.py +42 -0
  45. aws_cdk/aws_elasticloadbalancing/__init__.py +6 -0
  46. aws_cdk/aws_elasticloadbalancingv2/__init__.py +112 -9
  47. aws_cdk/aws_elasticsearch/__init__.py +9 -0
  48. aws_cdk/aws_events/__init__.py +36 -0
  49. aws_cdk/aws_events_targets/__init__.py +10 -10
  50. aws_cdk/aws_fsx/__init__.py +8 -3
  51. aws_cdk/aws_globalaccelerator/__init__.py +18 -0
  52. aws_cdk/aws_iam/__init__.py +66 -0
  53. aws_cdk/aws_imagebuilder/__init__.py +181 -26
  54. aws_cdk/aws_inspector/__init__.py +6 -0
  55. aws_cdk/aws_kinesis/__init__.py +19 -1
  56. aws_cdk/aws_kinesisanalytics/__init__.py +7 -7
  57. aws_cdk/aws_kinesisanalyticsv2/__init__.py +7 -7
  58. aws_cdk/aws_kinesisfirehose/__init__.py +6 -0
  59. aws_cdk/aws_kms/__init__.py +16 -4
  60. aws_cdk/aws_lambda/__init__.py +76 -6
  61. aws_cdk/aws_lambda_nodejs/__init__.py +6 -0
  62. aws_cdk/aws_logs/__init__.py +155 -12
  63. aws_cdk/aws_medialive/__init__.py +4 -6
  64. aws_cdk/aws_mediatailor/__init__.py +115 -0
  65. aws_cdk/aws_oam/__init__.py +43 -10
  66. aws_cdk/aws_opensearchservice/__init__.py +12 -0
  67. aws_cdk/aws_qbusiness/__init__.py +2 -2
  68. aws_cdk/aws_quicksight/__init__.py +22 -22
  69. aws_cdk/aws_rds/__init__.py +347 -36
  70. aws_cdk/aws_redshiftserverless/__init__.py +7 -7
  71. aws_cdk/aws_route53/__init__.py +735 -33
  72. aws_cdk/aws_route53_targets/__init__.py +62 -1
  73. aws_cdk/aws_route53profiles/__init__.py +1 -1
  74. aws_cdk/aws_s3/__init__.py +37 -10
  75. aws_cdk/aws_s3_deployment/__init__.py +6 -0
  76. aws_cdk/aws_s3_notifications/__init__.py +5 -5
  77. aws_cdk/aws_sagemaker/__init__.py +452 -8
  78. aws_cdk/aws_scheduler/__init__.py +12 -0
  79. aws_cdk/aws_secretsmanager/__init__.py +24 -0
  80. aws_cdk/aws_servicecatalog/__init__.py +24 -0
  81. aws_cdk/aws_servicediscovery/__init__.py +48 -0
  82. aws_cdk/aws_ses/__init__.py +133 -33
  83. aws_cdk/aws_signer/__init__.py +6 -0
  84. aws_cdk/aws_sns/__init__.py +18 -0
  85. aws_cdk/aws_sns_subscriptions/__init__.py +6 -0
  86. aws_cdk/aws_sqs/__init__.py +12 -0
  87. aws_cdk/aws_ssm/__init__.py +12 -0
  88. aws_cdk/aws_ssmcontacts/__init__.py +53 -2
  89. aws_cdk/aws_ssmguiconnect/__init__.py +544 -0
  90. aws_cdk/aws_stepfunctions/__init__.py +153 -7
  91. aws_cdk/aws_stepfunctions_tasks/__init__.py +46 -10
  92. aws_cdk/aws_synthetics/__init__.py +32 -0
  93. aws_cdk/aws_verifiedpermissions/__init__.py +168 -3
  94. aws_cdk/aws_vpclattice/__init__.py +3 -1
  95. aws_cdk/aws_wisdom/__init__.py +6 -4
  96. aws_cdk/cloud_assembly_schema/__init__.py +7 -1
  97. aws_cdk/custom_resources/__init__.py +18 -0
  98. aws_cdk/cx_api/__init__.py +33 -0
  99. aws_cdk/lambda_layer_awscli/__init__.py +6 -0
  100. aws_cdk/lambda_layer_node_proxy_agent/__init__.py +6 -0
  101. aws_cdk/pipelines/__init__.py +10 -10
  102. aws_cdk/triggers/__init__.py +6 -0
  103. {aws_cdk_lib-2.194.0.dist-info → aws_cdk_lib-2.196.0.dist-info}/METADATA +84 -6
  104. {aws_cdk_lib-2.194.0.dist-info → aws_cdk_lib-2.196.0.dist-info}/RECORD +108 -107
  105. {aws_cdk_lib-2.194.0.dist-info → aws_cdk_lib-2.196.0.dist-info}/LICENSE +0 -0
  106. {aws_cdk_lib-2.194.0.dist-info → aws_cdk_lib-2.196.0.dist-info}/NOTICE +0 -0
  107. {aws_cdk_lib-2.194.0.dist-info → aws_cdk_lib-2.196.0.dist-info}/WHEEL +0 -0
  108. {aws_cdk_lib-2.194.0.dist-info → aws_cdk_lib-2.196.0.dist-info}/top_level.txt +0 -0
@@ -1372,7 +1372,7 @@ class CfnAgent(
1372
1372
  *,
1373
1373
  executor: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnAgent.OrchestrationExecutorProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
1374
1374
  ) -> None:
1375
- '''Details of custom orchestration.
1375
+ '''Contains details of the custom orchestration configured for the agent.
1376
1376
 
1377
1377
  :param executor: The structure of the executor invoking the actions in custom orchestration.
1378
1378
 
@@ -1929,7 +1929,7 @@ class CfnAgent(
1929
1929
  )
1930
1930
  class OrchestrationExecutorProperty:
1931
1931
  def __init__(self, *, lambda_: builtins.str) -> None:
1932
- '''Contains details about the Lambda function containing the orchestration logic carried out upon invoking the custom orchestration.
1932
+ '''The structure of the executor invoking the actions in custom orchestration.
1933
1933
 
1934
1934
  :param lambda_: The Amazon Resource Name (ARN) of the Lambda function containing the business logic that is carried out upon invoking the action.
1935
1935
 
@@ -4409,10 +4409,34 @@ class CfnDataAutomationProject(
4409
4409
  },
4410
4410
  kms_key_id="kmsKeyId",
4411
4411
  override_configuration=bedrock.CfnDataAutomationProject.OverrideConfigurationProperty(
4412
+ audio=bedrock.CfnDataAutomationProject.AudioOverrideConfigurationProperty(
4413
+ modality_processing=bedrock.CfnDataAutomationProject.ModalityProcessingConfigurationProperty(
4414
+ state="state"
4415
+ )
4416
+ ),
4412
4417
  document=bedrock.CfnDataAutomationProject.DocumentOverrideConfigurationProperty(
4418
+ modality_processing=bedrock.CfnDataAutomationProject.ModalityProcessingConfigurationProperty(
4419
+ state="state"
4420
+ ),
4413
4421
  splitter=bedrock.CfnDataAutomationProject.SplitterConfigurationProperty(
4414
4422
  state="state"
4415
4423
  )
4424
+ ),
4425
+ image=bedrock.CfnDataAutomationProject.ImageOverrideConfigurationProperty(
4426
+ modality_processing=bedrock.CfnDataAutomationProject.ModalityProcessingConfigurationProperty(
4427
+ state="state"
4428
+ )
4429
+ ),
4430
+ modality_routing=bedrock.CfnDataAutomationProject.ModalityRoutingConfigurationProperty(
4431
+ jpeg="jpeg",
4432
+ mov="mov",
4433
+ mp4="mp4",
4434
+ png="png"
4435
+ ),
4436
+ video=bedrock.CfnDataAutomationProject.VideoOverrideConfigurationProperty(
4437
+ modality_processing=bedrock.CfnDataAutomationProject.ModalityProcessingConfigurationProperty(
4438
+ state="state"
4439
+ )
4416
4440
  )
4417
4441
  ),
4418
4442
  project_description="projectDescription",
@@ -4826,6 +4850,67 @@ class CfnDataAutomationProject(
4826
4850
  k + "=" + repr(v) for k, v in self._values.items()
4827
4851
  )
4828
4852
 
4853
+ @jsii.data_type(
4854
+ jsii_type="aws-cdk-lib.aws_bedrock.CfnDataAutomationProject.AudioOverrideConfigurationProperty",
4855
+ jsii_struct_bases=[],
4856
+ name_mapping={"modality_processing": "modalityProcessing"},
4857
+ )
4858
+ class AudioOverrideConfigurationProperty:
4859
+ def __init__(
4860
+ self,
4861
+ *,
4862
+ modality_processing: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDataAutomationProject.ModalityProcessingConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
4863
+ ) -> None:
4864
+ '''Sets whether your project will process audio or not.
4865
+
4866
+ :param modality_processing: Sets modality processing for audio files. All modalities are enabled by default.
4867
+
4868
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-dataautomationproject-audiooverrideconfiguration.html
4869
+ :exampleMetadata: fixture=_generated
4870
+
4871
+ Example::
4872
+
4873
+ # The code below shows an example of how to instantiate this type.
4874
+ # The values are placeholders you should change.
4875
+ from aws_cdk import aws_bedrock as bedrock
4876
+
4877
+ audio_override_configuration_property = bedrock.CfnDataAutomationProject.AudioOverrideConfigurationProperty(
4878
+ modality_processing=bedrock.CfnDataAutomationProject.ModalityProcessingConfigurationProperty(
4879
+ state="state"
4880
+ )
4881
+ )
4882
+ '''
4883
+ if __debug__:
4884
+ type_hints = typing.get_type_hints(_typecheckingstub__9fa0ddf34ba99d172292ec01a5b59e05e41939ae214f174146b2d694461955ce)
4885
+ check_type(argname="argument modality_processing", value=modality_processing, expected_type=type_hints["modality_processing"])
4886
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
4887
+ if modality_processing is not None:
4888
+ self._values["modality_processing"] = modality_processing
4889
+
4890
+ @builtins.property
4891
+ def modality_processing(
4892
+ self,
4893
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDataAutomationProject.ModalityProcessingConfigurationProperty"]]:
4894
+ '''Sets modality processing for audio files.
4895
+
4896
+ All modalities are enabled by default.
4897
+
4898
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-dataautomationproject-audiooverrideconfiguration.html#cfn-bedrock-dataautomationproject-audiooverrideconfiguration-modalityprocessing
4899
+ '''
4900
+ result = self._values.get("modality_processing")
4901
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDataAutomationProject.ModalityProcessingConfigurationProperty"]], result)
4902
+
4903
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
4904
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
4905
+
4906
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
4907
+ return not (rhs == self)
4908
+
4909
+ def __repr__(self) -> str:
4910
+ return "AudioOverrideConfigurationProperty(%s)" % ", ".join(
4911
+ k + "=" + repr(v) for k, v in self._values.items()
4912
+ )
4913
+
4829
4914
  @jsii.data_type(
4830
4915
  jsii_type="aws-cdk-lib.aws_bedrock.CfnDataAutomationProject.AudioStandardExtractionProperty",
4831
4916
  jsii_struct_bases=[],
@@ -5505,16 +5590,21 @@ class CfnDataAutomationProject(
5505
5590
  @jsii.data_type(
5506
5591
  jsii_type="aws-cdk-lib.aws_bedrock.CfnDataAutomationProject.DocumentOverrideConfigurationProperty",
5507
5592
  jsii_struct_bases=[],
5508
- name_mapping={"splitter": "splitter"},
5593
+ name_mapping={
5594
+ "modality_processing": "modalityProcessing",
5595
+ "splitter": "splitter",
5596
+ },
5509
5597
  )
5510
5598
  class DocumentOverrideConfigurationProperty:
5511
5599
  def __init__(
5512
5600
  self,
5513
5601
  *,
5602
+ modality_processing: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDataAutomationProject.ModalityProcessingConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
5514
5603
  splitter: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDataAutomationProject.SplitterConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
5515
5604
  ) -> None:
5516
5605
  '''Additional settings for a project.
5517
5606
 
5607
+ :param modality_processing: Sets modality processing for document files. All modalities are enabled by default.
5518
5608
  :param splitter: Whether document splitter is enabled for a project.
5519
5609
 
5520
5610
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-dataautomationproject-documentoverrideconfiguration.html
@@ -5527,6 +5617,9 @@ class CfnDataAutomationProject(
5527
5617
  from aws_cdk import aws_bedrock as bedrock
5528
5618
 
5529
5619
  document_override_configuration_property = bedrock.CfnDataAutomationProject.DocumentOverrideConfigurationProperty(
5620
+ modality_processing=bedrock.CfnDataAutomationProject.ModalityProcessingConfigurationProperty(
5621
+ state="state"
5622
+ ),
5530
5623
  splitter=bedrock.CfnDataAutomationProject.SplitterConfigurationProperty(
5531
5624
  state="state"
5532
5625
  )
@@ -5534,11 +5627,27 @@ class CfnDataAutomationProject(
5534
5627
  '''
5535
5628
  if __debug__:
5536
5629
  type_hints = typing.get_type_hints(_typecheckingstub__ce28bbcdad808c3d79746aae815f4706b7c664e45cfa21e90b91fef9b498a905)
5630
+ check_type(argname="argument modality_processing", value=modality_processing, expected_type=type_hints["modality_processing"])
5537
5631
  check_type(argname="argument splitter", value=splitter, expected_type=type_hints["splitter"])
5538
5632
  self._values: typing.Dict[builtins.str, typing.Any] = {}
5633
+ if modality_processing is not None:
5634
+ self._values["modality_processing"] = modality_processing
5539
5635
  if splitter is not None:
5540
5636
  self._values["splitter"] = splitter
5541
5637
 
5638
+ @builtins.property
5639
+ def modality_processing(
5640
+ self,
5641
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDataAutomationProject.ModalityProcessingConfigurationProperty"]]:
5642
+ '''Sets modality processing for document files.
5643
+
5644
+ All modalities are enabled by default.
5645
+
5646
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-dataautomationproject-documentoverrideconfiguration.html#cfn-bedrock-dataautomationproject-documentoverrideconfiguration-modalityprocessing
5647
+ '''
5648
+ result = self._values.get("modality_processing")
5649
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDataAutomationProject.ModalityProcessingConfigurationProperty"]], result)
5650
+
5542
5651
  @builtins.property
5543
5652
  def splitter(
5544
5653
  self,
@@ -5928,6 +6037,67 @@ class CfnDataAutomationProject(
5928
6037
  k + "=" + repr(v) for k, v in self._values.items()
5929
6038
  )
5930
6039
 
6040
+ @jsii.data_type(
6041
+ jsii_type="aws-cdk-lib.aws_bedrock.CfnDataAutomationProject.ImageOverrideConfigurationProperty",
6042
+ jsii_struct_bases=[],
6043
+ name_mapping={"modality_processing": "modalityProcessing"},
6044
+ )
6045
+ class ImageOverrideConfigurationProperty:
6046
+ def __init__(
6047
+ self,
6048
+ *,
6049
+ modality_processing: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDataAutomationProject.ModalityProcessingConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
6050
+ ) -> None:
6051
+ '''Sets whether your project will process images or not.
6052
+
6053
+ :param modality_processing: Sets modality processing for image files. All modalities are enabled by default.
6054
+
6055
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-dataautomationproject-imageoverrideconfiguration.html
6056
+ :exampleMetadata: fixture=_generated
6057
+
6058
+ Example::
6059
+
6060
+ # The code below shows an example of how to instantiate this type.
6061
+ # The values are placeholders you should change.
6062
+ from aws_cdk import aws_bedrock as bedrock
6063
+
6064
+ image_override_configuration_property = bedrock.CfnDataAutomationProject.ImageOverrideConfigurationProperty(
6065
+ modality_processing=bedrock.CfnDataAutomationProject.ModalityProcessingConfigurationProperty(
6066
+ state="state"
6067
+ )
6068
+ )
6069
+ '''
6070
+ if __debug__:
6071
+ type_hints = typing.get_type_hints(_typecheckingstub__34a681e35d658a2a736af34f5e6af8631d8d4b6f6f0a517e671c60fc315ac32b)
6072
+ check_type(argname="argument modality_processing", value=modality_processing, expected_type=type_hints["modality_processing"])
6073
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
6074
+ if modality_processing is not None:
6075
+ self._values["modality_processing"] = modality_processing
6076
+
6077
+ @builtins.property
6078
+ def modality_processing(
6079
+ self,
6080
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDataAutomationProject.ModalityProcessingConfigurationProperty"]]:
6081
+ '''Sets modality processing for image files.
6082
+
6083
+ All modalities are enabled by default.
6084
+
6085
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-dataautomationproject-imageoverrideconfiguration.html#cfn-bedrock-dataautomationproject-imageoverrideconfiguration-modalityprocessing
6086
+ '''
6087
+ result = self._values.get("modality_processing")
6088
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDataAutomationProject.ModalityProcessingConfigurationProperty"]], result)
6089
+
6090
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
6091
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
6092
+
6093
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
6094
+ return not (rhs == self)
6095
+
6096
+ def __repr__(self) -> str:
6097
+ return "ImageOverrideConfigurationProperty(%s)" % ", ".join(
6098
+ k + "=" + repr(v) for k, v in self._values.items()
6099
+ )
6100
+
5931
6101
  @jsii.data_type(
5932
6102
  jsii_type="aws-cdk-lib.aws_bedrock.CfnDataAutomationProject.ImageStandardExtractionProperty",
5933
6103
  jsii_struct_bases=[],
@@ -6175,20 +6345,189 @@ class CfnDataAutomationProject(
6175
6345
  k + "=" + repr(v) for k, v in self._values.items()
6176
6346
  )
6177
6347
 
6348
+ @jsii.data_type(
6349
+ jsii_type="aws-cdk-lib.aws_bedrock.CfnDataAutomationProject.ModalityProcessingConfigurationProperty",
6350
+ jsii_struct_bases=[],
6351
+ name_mapping={"state": "state"},
6352
+ )
6353
+ class ModalityProcessingConfigurationProperty:
6354
+ def __init__(self, *, state: typing.Optional[builtins.str] = None) -> None:
6355
+ '''This element is used to determine if the modality it is associated with is enabled or disabled.
6356
+
6357
+ All modalities are enabled by default.
6358
+
6359
+ :param state: Stores the state of the modality for your project, set to either enabled or disabled.
6360
+
6361
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-dataautomationproject-modalityprocessingconfiguration.html
6362
+ :exampleMetadata: fixture=_generated
6363
+
6364
+ Example::
6365
+
6366
+ # The code below shows an example of how to instantiate this type.
6367
+ # The values are placeholders you should change.
6368
+ from aws_cdk import aws_bedrock as bedrock
6369
+
6370
+ modality_processing_configuration_property = bedrock.CfnDataAutomationProject.ModalityProcessingConfigurationProperty(
6371
+ state="state"
6372
+ )
6373
+ '''
6374
+ if __debug__:
6375
+ type_hints = typing.get_type_hints(_typecheckingstub__11b9621807c12ab2ce46c77ab801b225eb4ba5af317edcb4c0a41ab32f060903)
6376
+ check_type(argname="argument state", value=state, expected_type=type_hints["state"])
6377
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
6378
+ if state is not None:
6379
+ self._values["state"] = state
6380
+
6381
+ @builtins.property
6382
+ def state(self) -> typing.Optional[builtins.str]:
6383
+ '''Stores the state of the modality for your project, set to either enabled or disabled.
6384
+
6385
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-dataautomationproject-modalityprocessingconfiguration.html#cfn-bedrock-dataautomationproject-modalityprocessingconfiguration-state
6386
+ '''
6387
+ result = self._values.get("state")
6388
+ return typing.cast(typing.Optional[builtins.str], result)
6389
+
6390
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
6391
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
6392
+
6393
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
6394
+ return not (rhs == self)
6395
+
6396
+ def __repr__(self) -> str:
6397
+ return "ModalityProcessingConfigurationProperty(%s)" % ", ".join(
6398
+ k + "=" + repr(v) for k, v in self._values.items()
6399
+ )
6400
+
6401
+ @jsii.data_type(
6402
+ jsii_type="aws-cdk-lib.aws_bedrock.CfnDataAutomationProject.ModalityRoutingConfigurationProperty",
6403
+ jsii_struct_bases=[],
6404
+ name_mapping={"jpeg": "jpeg", "mov": "mov", "mp4": "mp4", "png": "png"},
6405
+ )
6406
+ class ModalityRoutingConfigurationProperty:
6407
+ def __init__(
6408
+ self,
6409
+ *,
6410
+ jpeg: typing.Optional[builtins.str] = None,
6411
+ mov: typing.Optional[builtins.str] = None,
6412
+ mp4: typing.Optional[builtins.str] = None,
6413
+ png: typing.Optional[builtins.str] = None,
6414
+ ) -> None:
6415
+ '''This element allows you to set up where JPEG, PNG, MOV, and MP4 files get routed to for processing.
6416
+
6417
+ JPEG routing applies to both "JPEG" and "JPG" file extensions.
6418
+
6419
+ :param jpeg: Sets whether JPEG files are routed to document or image processing.
6420
+ :param mov: Sets whether MOV files are routed to audio or video processing.
6421
+ :param mp4: Sets whether MP4 files are routed to audio or video processing.
6422
+ :param png: Sets whether PNG files are routed to document or image processing.
6423
+
6424
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-dataautomationproject-modalityroutingconfiguration.html
6425
+ :exampleMetadata: fixture=_generated
6426
+
6427
+ Example::
6428
+
6429
+ # The code below shows an example of how to instantiate this type.
6430
+ # The values are placeholders you should change.
6431
+ from aws_cdk import aws_bedrock as bedrock
6432
+
6433
+ modality_routing_configuration_property = bedrock.CfnDataAutomationProject.ModalityRoutingConfigurationProperty(
6434
+ jpeg="jpeg",
6435
+ mov="mov",
6436
+ mp4="mp4",
6437
+ png="png"
6438
+ )
6439
+ '''
6440
+ if __debug__:
6441
+ type_hints = typing.get_type_hints(_typecheckingstub__18c2866282470eccc145ca7febde2b3deb2fecf2300c6b32965aa4899588a3a4)
6442
+ check_type(argname="argument jpeg", value=jpeg, expected_type=type_hints["jpeg"])
6443
+ check_type(argname="argument mov", value=mov, expected_type=type_hints["mov"])
6444
+ check_type(argname="argument mp4", value=mp4, expected_type=type_hints["mp4"])
6445
+ check_type(argname="argument png", value=png, expected_type=type_hints["png"])
6446
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
6447
+ if jpeg is not None:
6448
+ self._values["jpeg"] = jpeg
6449
+ if mov is not None:
6450
+ self._values["mov"] = mov
6451
+ if mp4 is not None:
6452
+ self._values["mp4"] = mp4
6453
+ if png is not None:
6454
+ self._values["png"] = png
6455
+
6456
+ @builtins.property
6457
+ def jpeg(self) -> typing.Optional[builtins.str]:
6458
+ '''Sets whether JPEG files are routed to document or image processing.
6459
+
6460
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-dataautomationproject-modalityroutingconfiguration.html#cfn-bedrock-dataautomationproject-modalityroutingconfiguration-jpeg
6461
+ '''
6462
+ result = self._values.get("jpeg")
6463
+ return typing.cast(typing.Optional[builtins.str], result)
6464
+
6465
+ @builtins.property
6466
+ def mov(self) -> typing.Optional[builtins.str]:
6467
+ '''Sets whether MOV files are routed to audio or video processing.
6468
+
6469
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-dataautomationproject-modalityroutingconfiguration.html#cfn-bedrock-dataautomationproject-modalityroutingconfiguration-mov
6470
+ '''
6471
+ result = self._values.get("mov")
6472
+ return typing.cast(typing.Optional[builtins.str], result)
6473
+
6474
+ @builtins.property
6475
+ def mp4(self) -> typing.Optional[builtins.str]:
6476
+ '''Sets whether MP4 files are routed to audio or video processing.
6477
+
6478
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-dataautomationproject-modalityroutingconfiguration.html#cfn-bedrock-dataautomationproject-modalityroutingconfiguration-mp4
6479
+ '''
6480
+ result = self._values.get("mp4")
6481
+ return typing.cast(typing.Optional[builtins.str], result)
6482
+
6483
+ @builtins.property
6484
+ def png(self) -> typing.Optional[builtins.str]:
6485
+ '''Sets whether PNG files are routed to document or image processing.
6486
+
6487
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-dataautomationproject-modalityroutingconfiguration.html#cfn-bedrock-dataautomationproject-modalityroutingconfiguration-png
6488
+ '''
6489
+ result = self._values.get("png")
6490
+ return typing.cast(typing.Optional[builtins.str], result)
6491
+
6492
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
6493
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
6494
+
6495
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
6496
+ return not (rhs == self)
6497
+
6498
+ def __repr__(self) -> str:
6499
+ return "ModalityRoutingConfigurationProperty(%s)" % ", ".join(
6500
+ k + "=" + repr(v) for k, v in self._values.items()
6501
+ )
6502
+
6178
6503
  @jsii.data_type(
6179
6504
  jsii_type="aws-cdk-lib.aws_bedrock.CfnDataAutomationProject.OverrideConfigurationProperty",
6180
6505
  jsii_struct_bases=[],
6181
- name_mapping={"document": "document"},
6506
+ name_mapping={
6507
+ "audio": "audio",
6508
+ "document": "document",
6509
+ "image": "image",
6510
+ "modality_routing": "modalityRouting",
6511
+ "video": "video",
6512
+ },
6182
6513
  )
6183
6514
  class OverrideConfigurationProperty:
6184
6515
  def __init__(
6185
6516
  self,
6186
6517
  *,
6518
+ audio: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDataAutomationProject.AudioOverrideConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
6187
6519
  document: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDataAutomationProject.DocumentOverrideConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
6520
+ image: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDataAutomationProject.ImageOverrideConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
6521
+ modality_routing: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDataAutomationProject.ModalityRoutingConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
6522
+ video: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDataAutomationProject.VideoOverrideConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
6188
6523
  ) -> None:
6189
6524
  '''Additional settings for a project.
6190
6525
 
6526
+ :param audio: This element declares whether your project will process audio files.
6191
6527
  :param document: Additional settings for a project.
6528
+ :param image: This element declares whether your project will process image files.
6529
+ :param modality_routing: Lets you set which modalities certain file types are processed as.
6530
+ :param video: This element declares whether your project will process video files.
6192
6531
 
6193
6532
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-dataautomationproject-overrideconfiguration.html
6194
6533
  :exampleMetadata: fixture=_generated
@@ -6200,19 +6539,66 @@ class CfnDataAutomationProject(
6200
6539
  from aws_cdk import aws_bedrock as bedrock
6201
6540
 
6202
6541
  override_configuration_property = bedrock.CfnDataAutomationProject.OverrideConfigurationProperty(
6542
+ audio=bedrock.CfnDataAutomationProject.AudioOverrideConfigurationProperty(
6543
+ modality_processing=bedrock.CfnDataAutomationProject.ModalityProcessingConfigurationProperty(
6544
+ state="state"
6545
+ )
6546
+ ),
6203
6547
  document=bedrock.CfnDataAutomationProject.DocumentOverrideConfigurationProperty(
6548
+ modality_processing=bedrock.CfnDataAutomationProject.ModalityProcessingConfigurationProperty(
6549
+ state="state"
6550
+ ),
6204
6551
  splitter=bedrock.CfnDataAutomationProject.SplitterConfigurationProperty(
6205
6552
  state="state"
6206
6553
  )
6554
+ ),
6555
+ image=bedrock.CfnDataAutomationProject.ImageOverrideConfigurationProperty(
6556
+ modality_processing=bedrock.CfnDataAutomationProject.ModalityProcessingConfigurationProperty(
6557
+ state="state"
6558
+ )
6559
+ ),
6560
+ modality_routing=bedrock.CfnDataAutomationProject.ModalityRoutingConfigurationProperty(
6561
+ jpeg="jpeg",
6562
+ mov="mov",
6563
+ mp4="mp4",
6564
+ png="png"
6565
+ ),
6566
+ video=bedrock.CfnDataAutomationProject.VideoOverrideConfigurationProperty(
6567
+ modality_processing=bedrock.CfnDataAutomationProject.ModalityProcessingConfigurationProperty(
6568
+ state="state"
6569
+ )
6207
6570
  )
6208
6571
  )
6209
6572
  '''
6210
6573
  if __debug__:
6211
6574
  type_hints = typing.get_type_hints(_typecheckingstub__400a92e228907b33f71ad10276a9ad472a21d517da3941d1621dda605806343e)
6575
+ check_type(argname="argument audio", value=audio, expected_type=type_hints["audio"])
6212
6576
  check_type(argname="argument document", value=document, expected_type=type_hints["document"])
6577
+ check_type(argname="argument image", value=image, expected_type=type_hints["image"])
6578
+ check_type(argname="argument modality_routing", value=modality_routing, expected_type=type_hints["modality_routing"])
6579
+ check_type(argname="argument video", value=video, expected_type=type_hints["video"])
6213
6580
  self._values: typing.Dict[builtins.str, typing.Any] = {}
6581
+ if audio is not None:
6582
+ self._values["audio"] = audio
6214
6583
  if document is not None:
6215
6584
  self._values["document"] = document
6585
+ if image is not None:
6586
+ self._values["image"] = image
6587
+ if modality_routing is not None:
6588
+ self._values["modality_routing"] = modality_routing
6589
+ if video is not None:
6590
+ self._values["video"] = video
6591
+
6592
+ @builtins.property
6593
+ def audio(
6594
+ self,
6595
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDataAutomationProject.AudioOverrideConfigurationProperty"]]:
6596
+ '''This element declares whether your project will process audio files.
6597
+
6598
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-dataautomationproject-overrideconfiguration.html#cfn-bedrock-dataautomationproject-overrideconfiguration-audio
6599
+ '''
6600
+ result = self._values.get("audio")
6601
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDataAutomationProject.AudioOverrideConfigurationProperty"]], result)
6216
6602
 
6217
6603
  @builtins.property
6218
6604
  def document(
@@ -6225,6 +6611,39 @@ class CfnDataAutomationProject(
6225
6611
  result = self._values.get("document")
6226
6612
  return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDataAutomationProject.DocumentOverrideConfigurationProperty"]], result)
6227
6613
 
6614
+ @builtins.property
6615
+ def image(
6616
+ self,
6617
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDataAutomationProject.ImageOverrideConfigurationProperty"]]:
6618
+ '''This element declares whether your project will process image files.
6619
+
6620
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-dataautomationproject-overrideconfiguration.html#cfn-bedrock-dataautomationproject-overrideconfiguration-image
6621
+ '''
6622
+ result = self._values.get("image")
6623
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDataAutomationProject.ImageOverrideConfigurationProperty"]], result)
6624
+
6625
+ @builtins.property
6626
+ def modality_routing(
6627
+ self,
6628
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDataAutomationProject.ModalityRoutingConfigurationProperty"]]:
6629
+ '''Lets you set which modalities certain file types are processed as.
6630
+
6631
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-dataautomationproject-overrideconfiguration.html#cfn-bedrock-dataautomationproject-overrideconfiguration-modalityrouting
6632
+ '''
6633
+ result = self._values.get("modality_routing")
6634
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDataAutomationProject.ModalityRoutingConfigurationProperty"]], result)
6635
+
6636
+ @builtins.property
6637
+ def video(
6638
+ self,
6639
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDataAutomationProject.VideoOverrideConfigurationProperty"]]:
6640
+ '''This element declares whether your project will process video files.
6641
+
6642
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-dataautomationproject-overrideconfiguration.html#cfn-bedrock-dataautomationproject-overrideconfiguration-video
6643
+ '''
6644
+ result = self._values.get("video")
6645
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDataAutomationProject.VideoOverrideConfigurationProperty"]], result)
6646
+
6228
6647
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
6229
6648
  return isinstance(rhs, self.__class__) and rhs._values == self._values
6230
6649
 
@@ -6598,6 +7017,67 @@ class CfnDataAutomationProject(
6598
7017
  k + "=" + repr(v) for k, v in self._values.items()
6599
7018
  )
6600
7019
 
7020
+ @jsii.data_type(
7021
+ jsii_type="aws-cdk-lib.aws_bedrock.CfnDataAutomationProject.VideoOverrideConfigurationProperty",
7022
+ jsii_struct_bases=[],
7023
+ name_mapping={"modality_processing": "modalityProcessing"},
7024
+ )
7025
+ class VideoOverrideConfigurationProperty:
7026
+ def __init__(
7027
+ self,
7028
+ *,
7029
+ modality_processing: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDataAutomationProject.ModalityProcessingConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
7030
+ ) -> None:
7031
+ '''Sets whether your project will process videos or not.
7032
+
7033
+ :param modality_processing: Sets modality processing for video files. All modalities are enabled by default.
7034
+
7035
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-dataautomationproject-videooverrideconfiguration.html
7036
+ :exampleMetadata: fixture=_generated
7037
+
7038
+ Example::
7039
+
7040
+ # The code below shows an example of how to instantiate this type.
7041
+ # The values are placeholders you should change.
7042
+ from aws_cdk import aws_bedrock as bedrock
7043
+
7044
+ video_override_configuration_property = bedrock.CfnDataAutomationProject.VideoOverrideConfigurationProperty(
7045
+ modality_processing=bedrock.CfnDataAutomationProject.ModalityProcessingConfigurationProperty(
7046
+ state="state"
7047
+ )
7048
+ )
7049
+ '''
7050
+ if __debug__:
7051
+ type_hints = typing.get_type_hints(_typecheckingstub__d7326051e3b843174754054dc13d916d949edba4f6f11b266a8a0efb8d081b53)
7052
+ check_type(argname="argument modality_processing", value=modality_processing, expected_type=type_hints["modality_processing"])
7053
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
7054
+ if modality_processing is not None:
7055
+ self._values["modality_processing"] = modality_processing
7056
+
7057
+ @builtins.property
7058
+ def modality_processing(
7059
+ self,
7060
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDataAutomationProject.ModalityProcessingConfigurationProperty"]]:
7061
+ '''Sets modality processing for video files.
7062
+
7063
+ All modalities are enabled by default.
7064
+
7065
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-dataautomationproject-videooverrideconfiguration.html#cfn-bedrock-dataautomationproject-videooverrideconfiguration-modalityprocessing
7066
+ '''
7067
+ result = self._values.get("modality_processing")
7068
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDataAutomationProject.ModalityProcessingConfigurationProperty"]], result)
7069
+
7070
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
7071
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
7072
+
7073
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
7074
+ return not (rhs == self)
7075
+
7076
+ def __repr__(self) -> str:
7077
+ return "VideoOverrideConfigurationProperty(%s)" % ", ".join(
7078
+ k + "=" + repr(v) for k, v in self._values.items()
7079
+ )
7080
+
6601
7081
  @jsii.data_type(
6602
7082
  jsii_type="aws-cdk-lib.aws_bedrock.CfnDataAutomationProject.VideoStandardExtractionProperty",
6603
7083
  jsii_struct_bases=[],
@@ -6911,10 +7391,34 @@ class CfnDataAutomationProjectProps:
6911
7391
  },
6912
7392
  kms_key_id="kmsKeyId",
6913
7393
  override_configuration=bedrock.CfnDataAutomationProject.OverrideConfigurationProperty(
7394
+ audio=bedrock.CfnDataAutomationProject.AudioOverrideConfigurationProperty(
7395
+ modality_processing=bedrock.CfnDataAutomationProject.ModalityProcessingConfigurationProperty(
7396
+ state="state"
7397
+ )
7398
+ ),
6914
7399
  document=bedrock.CfnDataAutomationProject.DocumentOverrideConfigurationProperty(
7400
+ modality_processing=bedrock.CfnDataAutomationProject.ModalityProcessingConfigurationProperty(
7401
+ state="state"
7402
+ ),
6915
7403
  splitter=bedrock.CfnDataAutomationProject.SplitterConfigurationProperty(
6916
7404
  state="state"
6917
7405
  )
7406
+ ),
7407
+ image=bedrock.CfnDataAutomationProject.ImageOverrideConfigurationProperty(
7408
+ modality_processing=bedrock.CfnDataAutomationProject.ModalityProcessingConfigurationProperty(
7409
+ state="state"
7410
+ )
7411
+ ),
7412
+ modality_routing=bedrock.CfnDataAutomationProject.ModalityRoutingConfigurationProperty(
7413
+ jpeg="jpeg",
7414
+ mov="mov",
7415
+ mp4="mp4",
7416
+ png="png"
7417
+ ),
7418
+ video=bedrock.CfnDataAutomationProject.VideoOverrideConfigurationProperty(
7419
+ modality_processing=bedrock.CfnDataAutomationProject.ModalityProcessingConfigurationProperty(
7420
+ state="state"
7421
+ )
6918
7422
  )
6919
7423
  ),
6920
7424
  project_description="projectDescription",
@@ -9532,7 +10036,7 @@ class CfnDataSource(
9532
10036
  )
9533
10037
  class S3LocationProperty:
9534
10038
  def __init__(self, *, uri: builtins.str) -> None:
9535
- '''A storage location in an S3 bucket.
10039
+ '''A storage location in an Amazon S3 bucket.
9536
10040
 
9537
10041
  :param uri: An object URI starting with ``s3://`` .
9538
10042
 
@@ -12797,7 +13301,7 @@ class CfnFlow(
12797
13301
 
12798
13302
  :param agent: Contains configurations for an agent node in your flow. Invokes an alias of an agent and returns the response.
12799
13303
  :param collector: Contains configurations for a collector node in your flow. Collects an iteration of inputs and consolidates them into an array of outputs.
12800
- :param condition: Contains configurations for a Condition node in your flow. Defines conditions that lead to different branches of the flow.
13304
+ :param condition: Contains configurations for a condition node in your flow. Defines conditions that lead to different branches of the flow.
12801
13305
  :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.
12802
13306
  :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.
12803
13307
  :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.
@@ -12805,8 +13309,8 @@ class CfnFlow(
12805
13309
  :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.
12806
13310
  :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.
12807
13311
  :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.
12808
- :param retrieval: Contains configurations for a Retrieval node in your flow. Retrieves data from an Amazon S3 location and returns it as the output.
12809
- :param storage: Contains configurations for a Storage node in your flow. Stores an input in an Amazon S3 location.
13312
+ :param retrieval: Contains configurations for a retrieval node in your flow. Retrieves data from an Amazon S3 location and returns it as the output.
13313
+ :param storage: Contains configurations for a storage node in your flow. Stores an input in an Amazon S3 location.
12810
13314
 
12811
13315
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-flownodeconfiguration.html
12812
13316
  :exampleMetadata: fixture=_generated
@@ -12976,7 +13480,7 @@ class CfnFlow(
12976
13480
  def condition(
12977
13481
  self,
12978
13482
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnFlow.ConditionFlowNodeConfigurationProperty"]]:
12979
- '''Contains configurations for a Condition node in your flow.
13483
+ '''Contains configurations for a condition node in your flow.
12980
13484
 
12981
13485
  Defines conditions that lead to different branches of the flow.
12982
13486
 
@@ -13076,7 +13580,7 @@ class CfnFlow(
13076
13580
  def retrieval(
13077
13581
  self,
13078
13582
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnFlow.RetrievalFlowNodeConfigurationProperty"]]:
13079
- '''Contains configurations for a Retrieval node in your flow.
13583
+ '''Contains configurations for a retrieval node in your flow.
13080
13584
 
13081
13585
  Retrieves data from an Amazon S3 location and returns it as the output.
13082
13586
 
@@ -13089,7 +13593,7 @@ class CfnFlow(
13089
13593
  def storage(
13090
13594
  self,
13091
13595
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnFlow.StorageFlowNodeConfigurationProperty"]]:
13092
- '''Contains configurations for a Storage node in your flow.
13596
+ '''Contains configurations for a storage node in your flow.
13093
13597
 
13094
13598
  Stores an input in an Amazon S3 location.
13095
13599
 
@@ -16787,7 +17291,7 @@ class CfnFlowVersion(
16787
17291
 
16788
17292
  :param agent: Contains configurations for an agent node in your flow. Invokes an alias of an agent and returns the response.
16789
17293
  :param collector: Contains configurations for a collector node in your flow. Collects an iteration of inputs and consolidates them into an array of outputs.
16790
- :param condition: Contains configurations for a Condition node in your flow. Defines conditions that lead to different branches of the flow.
17294
+ :param condition: Contains configurations for a condition node in your flow. Defines conditions that lead to different branches of the flow.
16791
17295
  :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.
16792
17296
  :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.
16793
17297
  :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.
@@ -16795,8 +17299,8 @@ class CfnFlowVersion(
16795
17299
  :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.
16796
17300
  :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.
16797
17301
  :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.
16798
- :param retrieval: Contains configurations for a Retrieval node in your flow. Retrieves data from an Amazon S3 location and returns it as the output.
16799
- :param storage: Contains configurations for a Storage node in your flow. Stores an input in an Amazon S3 location.
17302
+ :param retrieval: Contains configurations for a retrieval node in your flow. Retrieves data from an Amazon S3 location and returns it as the output.
17303
+ :param storage: Contains configurations for a storage node in your flow. Stores an input in an Amazon S3 location.
16800
17304
 
16801
17305
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-flownodeconfiguration.html
16802
17306
  :exampleMetadata: fixture=_generated
@@ -16966,7 +17470,7 @@ class CfnFlowVersion(
16966
17470
  def condition(
16967
17471
  self,
16968
17472
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnFlowVersion.ConditionFlowNodeConfigurationProperty"]]:
16969
- '''Contains configurations for a Condition node in your flow.
17473
+ '''Contains configurations for a condition node in your flow.
16970
17474
 
16971
17475
  Defines conditions that lead to different branches of the flow.
16972
17476
 
@@ -17066,7 +17570,7 @@ class CfnFlowVersion(
17066
17570
  def retrieval(
17067
17571
  self,
17068
17572
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnFlowVersion.RetrievalFlowNodeConfigurationProperty"]]:
17069
- '''Contains configurations for a Retrieval node in your flow.
17573
+ '''Contains configurations for a retrieval node in your flow.
17070
17574
 
17071
17575
  Retrieves data from an Amazon S3 location and returns it as the output.
17072
17576
 
@@ -17079,7 +17583,7 @@ class CfnFlowVersion(
17079
17583
  def storage(
17080
17584
  self,
17081
17585
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnFlowVersion.StorageFlowNodeConfigurationProperty"]]:
17082
- '''Contains configurations for a Storage node in your flow.
17586
+ '''Contains configurations for a storage node in your flow.
17083
17587
 
17084
17588
  Stores an input in an Amazon S3 location.
17085
17589
 
@@ -21551,6 +22055,522 @@ class CfnGuardrailVersionProps:
21551
22055
  )
21552
22056
 
21553
22057
 
22058
+ @jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
22059
+ class CfnIntelligentPromptRouter(
22060
+ _CfnResource_9df397a6,
22061
+ metaclass=jsii.JSIIMeta,
22062
+ jsii_type="aws-cdk-lib.aws_bedrock.CfnIntelligentPromptRouter",
22063
+ ):
22064
+ '''Definition of AWS::Bedrock::IntelligentPromptRouter Resource Type.
22065
+
22066
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-intelligentpromptrouter.html
22067
+ :cloudformationResource: AWS::Bedrock::IntelligentPromptRouter
22068
+ :exampleMetadata: fixture=_generated
22069
+
22070
+ Example::
22071
+
22072
+ # The code below shows an example of how to instantiate this type.
22073
+ # The values are placeholders you should change.
22074
+ from aws_cdk import aws_bedrock as bedrock
22075
+
22076
+ cfn_intelligent_prompt_router = bedrock.CfnIntelligentPromptRouter(self, "MyCfnIntelligentPromptRouter",
22077
+ fallback_model=bedrock.CfnIntelligentPromptRouter.PromptRouterTargetModelProperty(
22078
+ model_arn="modelArn"
22079
+ ),
22080
+ models=[bedrock.CfnIntelligentPromptRouter.PromptRouterTargetModelProperty(
22081
+ model_arn="modelArn"
22082
+ )],
22083
+ prompt_router_name="promptRouterName",
22084
+ routing_criteria=bedrock.CfnIntelligentPromptRouter.RoutingCriteriaProperty(
22085
+ response_quality_difference=123
22086
+ ),
22087
+
22088
+ # the properties below are optional
22089
+ description="description",
22090
+ tags=[CfnTag(
22091
+ key="key",
22092
+ value="value"
22093
+ )]
22094
+ )
22095
+ '''
22096
+
22097
+ def __init__(
22098
+ self,
22099
+ scope: _constructs_77d1e7e8.Construct,
22100
+ id: builtins.str,
22101
+ *,
22102
+ fallback_model: typing.Union[_IResolvable_da3f097b, typing.Union["CfnIntelligentPromptRouter.PromptRouterTargetModelProperty", typing.Dict[builtins.str, typing.Any]]],
22103
+ models: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnIntelligentPromptRouter.PromptRouterTargetModelProperty", typing.Dict[builtins.str, typing.Any]]]]],
22104
+ prompt_router_name: builtins.str,
22105
+ routing_criteria: typing.Union[_IResolvable_da3f097b, typing.Union["CfnIntelligentPromptRouter.RoutingCriteriaProperty", typing.Dict[builtins.str, typing.Any]]],
22106
+ description: typing.Optional[builtins.str] = None,
22107
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
22108
+ ) -> None:
22109
+ '''
22110
+ :param scope: Scope in which this resource is defined.
22111
+ :param id: Construct identifier for this resource (unique in its scope).
22112
+ :param fallback_model: Model configuration.
22113
+ :param models: List of model configuration.
22114
+ :param prompt_router_name: Name of the Prompt Router.
22115
+ :param routing_criteria: Routing criteria for a prompt router.
22116
+ :param description: Description of the Prompt Router.
22117
+ :param tags: List of Tags.
22118
+ '''
22119
+ if __debug__:
22120
+ type_hints = typing.get_type_hints(_typecheckingstub__a5d2e514af9553d15e3be6a1c57dd1062d7a60fee139dbca24ce0ced551672eb)
22121
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
22122
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
22123
+ props = CfnIntelligentPromptRouterProps(
22124
+ fallback_model=fallback_model,
22125
+ models=models,
22126
+ prompt_router_name=prompt_router_name,
22127
+ routing_criteria=routing_criteria,
22128
+ description=description,
22129
+ tags=tags,
22130
+ )
22131
+
22132
+ jsii.create(self.__class__, self, [scope, id, props])
22133
+
22134
+ @jsii.member(jsii_name="inspect")
22135
+ def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
22136
+ '''Examines the CloudFormation resource and discloses attributes.
22137
+
22138
+ :param inspector: tree inspector to collect and process attributes.
22139
+ '''
22140
+ if __debug__:
22141
+ type_hints = typing.get_type_hints(_typecheckingstub__03b0b2936dfa8c510b4e2f9e5f7110304e75b128876e0272df9b9ac91dd26930)
22142
+ check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
22143
+ return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
22144
+
22145
+ @jsii.member(jsii_name="renderProperties")
22146
+ def _render_properties(
22147
+ self,
22148
+ props: typing.Mapping[builtins.str, typing.Any],
22149
+ ) -> typing.Mapping[builtins.str, typing.Any]:
22150
+ '''
22151
+ :param props: -
22152
+ '''
22153
+ if __debug__:
22154
+ type_hints = typing.get_type_hints(_typecheckingstub__9feb5c424ea1c452676a08cce16f75eb90f9235e27c9bfc0b9cbd839871891f3)
22155
+ check_type(argname="argument props", value=props, expected_type=type_hints["props"])
22156
+ return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
22157
+
22158
+ @jsii.python.classproperty
22159
+ @jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
22160
+ def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
22161
+ '''The CloudFormation resource type name for this resource class.'''
22162
+ return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
22163
+
22164
+ @builtins.property
22165
+ @jsii.member(jsii_name="attrCreatedAt")
22166
+ def attr_created_at(self) -> builtins.str:
22167
+ '''Time Stamp.
22168
+
22169
+ :cloudformationAttribute: CreatedAt
22170
+ '''
22171
+ return typing.cast(builtins.str, jsii.get(self, "attrCreatedAt"))
22172
+
22173
+ @builtins.property
22174
+ @jsii.member(jsii_name="attrPromptRouterArn")
22175
+ def attr_prompt_router_arn(self) -> builtins.str:
22176
+ '''Arn of the Prompt Router.
22177
+
22178
+ :cloudformationAttribute: PromptRouterArn
22179
+ '''
22180
+ return typing.cast(builtins.str, jsii.get(self, "attrPromptRouterArn"))
22181
+
22182
+ @builtins.property
22183
+ @jsii.member(jsii_name="attrStatus")
22184
+ def attr_status(self) -> builtins.str:
22185
+ '''Status of a PromptRouter.
22186
+
22187
+ :cloudformationAttribute: Status
22188
+ '''
22189
+ return typing.cast(builtins.str, jsii.get(self, "attrStatus"))
22190
+
22191
+ @builtins.property
22192
+ @jsii.member(jsii_name="attrType")
22193
+ def attr_type(self) -> builtins.str:
22194
+ '''Type of a Prompt Router.
22195
+
22196
+ :cloudformationAttribute: Type
22197
+ '''
22198
+ return typing.cast(builtins.str, jsii.get(self, "attrType"))
22199
+
22200
+ @builtins.property
22201
+ @jsii.member(jsii_name="attrUpdatedAt")
22202
+ def attr_updated_at(self) -> builtins.str:
22203
+ '''Time Stamp.
22204
+
22205
+ :cloudformationAttribute: UpdatedAt
22206
+ '''
22207
+ return typing.cast(builtins.str, jsii.get(self, "attrUpdatedAt"))
22208
+
22209
+ @builtins.property
22210
+ @jsii.member(jsii_name="cdkTagManager")
22211
+ def cdk_tag_manager(self) -> _TagManager_0a598cb3:
22212
+ '''Tag Manager which manages the tags for this resource.'''
22213
+ return typing.cast(_TagManager_0a598cb3, jsii.get(self, "cdkTagManager"))
22214
+
22215
+ @builtins.property
22216
+ @jsii.member(jsii_name="cfnProperties")
22217
+ def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
22218
+ return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
22219
+
22220
+ @builtins.property
22221
+ @jsii.member(jsii_name="fallbackModel")
22222
+ def fallback_model(
22223
+ self,
22224
+ ) -> typing.Union[_IResolvable_da3f097b, "CfnIntelligentPromptRouter.PromptRouterTargetModelProperty"]:
22225
+ '''Model configuration.'''
22226
+ return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnIntelligentPromptRouter.PromptRouterTargetModelProperty"], jsii.get(self, "fallbackModel"))
22227
+
22228
+ @fallback_model.setter
22229
+ def fallback_model(
22230
+ self,
22231
+ value: typing.Union[_IResolvable_da3f097b, "CfnIntelligentPromptRouter.PromptRouterTargetModelProperty"],
22232
+ ) -> None:
22233
+ if __debug__:
22234
+ type_hints = typing.get_type_hints(_typecheckingstub__cd80df76a813246a8e4277e3bc440f0bd9af1683df43577473a9071026d3b6bf)
22235
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
22236
+ jsii.set(self, "fallbackModel", value) # pyright: ignore[reportArgumentType]
22237
+
22238
+ @builtins.property
22239
+ @jsii.member(jsii_name="models")
22240
+ def models(
22241
+ self,
22242
+ ) -> typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnIntelligentPromptRouter.PromptRouterTargetModelProperty"]]]:
22243
+ '''List of model configuration.'''
22244
+ return typing.cast(typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnIntelligentPromptRouter.PromptRouterTargetModelProperty"]]], jsii.get(self, "models"))
22245
+
22246
+ @models.setter
22247
+ def models(
22248
+ self,
22249
+ value: typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnIntelligentPromptRouter.PromptRouterTargetModelProperty"]]],
22250
+ ) -> None:
22251
+ if __debug__:
22252
+ type_hints = typing.get_type_hints(_typecheckingstub__a25f72fc5023b70494fc722f22f88047d6a2c0242e2e3e9faf9709606670791a)
22253
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
22254
+ jsii.set(self, "models", value) # pyright: ignore[reportArgumentType]
22255
+
22256
+ @builtins.property
22257
+ @jsii.member(jsii_name="promptRouterName")
22258
+ def prompt_router_name(self) -> builtins.str:
22259
+ '''Name of the Prompt Router.'''
22260
+ return typing.cast(builtins.str, jsii.get(self, "promptRouterName"))
22261
+
22262
+ @prompt_router_name.setter
22263
+ def prompt_router_name(self, value: builtins.str) -> None:
22264
+ if __debug__:
22265
+ type_hints = typing.get_type_hints(_typecheckingstub__ec21107d1eca7e309bcd9f3df4a7749c2b99c2f6c11a70183255fce541a6087f)
22266
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
22267
+ jsii.set(self, "promptRouterName", value) # pyright: ignore[reportArgumentType]
22268
+
22269
+ @builtins.property
22270
+ @jsii.member(jsii_name="routingCriteria")
22271
+ def routing_criteria(
22272
+ self,
22273
+ ) -> typing.Union[_IResolvable_da3f097b, "CfnIntelligentPromptRouter.RoutingCriteriaProperty"]:
22274
+ '''Routing criteria for a prompt router.'''
22275
+ return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnIntelligentPromptRouter.RoutingCriteriaProperty"], jsii.get(self, "routingCriteria"))
22276
+
22277
+ @routing_criteria.setter
22278
+ def routing_criteria(
22279
+ self,
22280
+ value: typing.Union[_IResolvable_da3f097b, "CfnIntelligentPromptRouter.RoutingCriteriaProperty"],
22281
+ ) -> None:
22282
+ if __debug__:
22283
+ type_hints = typing.get_type_hints(_typecheckingstub__803bc18993ea7d90a900939d6578f087141fb630c6e5d87b74ad4e7fa6b91af8)
22284
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
22285
+ jsii.set(self, "routingCriteria", value) # pyright: ignore[reportArgumentType]
22286
+
22287
+ @builtins.property
22288
+ @jsii.member(jsii_name="description")
22289
+ def description(self) -> typing.Optional[builtins.str]:
22290
+ '''Description of the Prompt Router.'''
22291
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "description"))
22292
+
22293
+ @description.setter
22294
+ def description(self, value: typing.Optional[builtins.str]) -> None:
22295
+ if __debug__:
22296
+ type_hints = typing.get_type_hints(_typecheckingstub__08709ed1bc4a3037160cec605e0b1bd4113b22ec101704d31096b5c625a9d9cf)
22297
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
22298
+ jsii.set(self, "description", value) # pyright: ignore[reportArgumentType]
22299
+
22300
+ @builtins.property
22301
+ @jsii.member(jsii_name="tags")
22302
+ def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
22303
+ '''List of Tags.'''
22304
+ return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
22305
+
22306
+ @tags.setter
22307
+ def tags(self, value: typing.Optional[typing.List[_CfnTag_f6864754]]) -> None:
22308
+ if __debug__:
22309
+ type_hints = typing.get_type_hints(_typecheckingstub__3c6153dd14f4fef3c8f916f48185faa26c1372a89eb9c48120b46b15741ed8d3)
22310
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
22311
+ jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
22312
+
22313
+ @jsii.data_type(
22314
+ jsii_type="aws-cdk-lib.aws_bedrock.CfnIntelligentPromptRouter.PromptRouterTargetModelProperty",
22315
+ jsii_struct_bases=[],
22316
+ name_mapping={"model_arn": "modelArn"},
22317
+ )
22318
+ class PromptRouterTargetModelProperty:
22319
+ def __init__(self, *, model_arn: builtins.str) -> None:
22320
+ '''The target model for a prompt router.
22321
+
22322
+ :param model_arn: The target model's ARN.
22323
+
22324
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-intelligentpromptrouter-promptroutertargetmodel.html
22325
+ :exampleMetadata: fixture=_generated
22326
+
22327
+ Example::
22328
+
22329
+ # The code below shows an example of how to instantiate this type.
22330
+ # The values are placeholders you should change.
22331
+ from aws_cdk import aws_bedrock as bedrock
22332
+
22333
+ prompt_router_target_model_property = bedrock.CfnIntelligentPromptRouter.PromptRouterTargetModelProperty(
22334
+ model_arn="modelArn"
22335
+ )
22336
+ '''
22337
+ if __debug__:
22338
+ type_hints = typing.get_type_hints(_typecheckingstub__f13c2a7cb42b0b44b093f57856aeb21f6e80f9a98941ae4c0bcca2d340bc4c74)
22339
+ check_type(argname="argument model_arn", value=model_arn, expected_type=type_hints["model_arn"])
22340
+ self._values: typing.Dict[builtins.str, typing.Any] = {
22341
+ "model_arn": model_arn,
22342
+ }
22343
+
22344
+ @builtins.property
22345
+ def model_arn(self) -> builtins.str:
22346
+ '''The target model's ARN.
22347
+
22348
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-intelligentpromptrouter-promptroutertargetmodel.html#cfn-bedrock-intelligentpromptrouter-promptroutertargetmodel-modelarn
22349
+ '''
22350
+ result = self._values.get("model_arn")
22351
+ assert result is not None, "Required property 'model_arn' is missing"
22352
+ return typing.cast(builtins.str, result)
22353
+
22354
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
22355
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
22356
+
22357
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
22358
+ return not (rhs == self)
22359
+
22360
+ def __repr__(self) -> str:
22361
+ return "PromptRouterTargetModelProperty(%s)" % ", ".join(
22362
+ k + "=" + repr(v) for k, v in self._values.items()
22363
+ )
22364
+
22365
+ @jsii.data_type(
22366
+ jsii_type="aws-cdk-lib.aws_bedrock.CfnIntelligentPromptRouter.RoutingCriteriaProperty",
22367
+ jsii_struct_bases=[],
22368
+ name_mapping={"response_quality_difference": "responseQualityDifference"},
22369
+ )
22370
+ class RoutingCriteriaProperty:
22371
+ def __init__(self, *, response_quality_difference: jsii.Number) -> None:
22372
+ '''Routing criteria for a prompt router.
22373
+
22374
+ :param response_quality_difference: The criteria's response quality difference.
22375
+
22376
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-intelligentpromptrouter-routingcriteria.html
22377
+ :exampleMetadata: fixture=_generated
22378
+
22379
+ Example::
22380
+
22381
+ # The code below shows an example of how to instantiate this type.
22382
+ # The values are placeholders you should change.
22383
+ from aws_cdk import aws_bedrock as bedrock
22384
+
22385
+ routing_criteria_property = bedrock.CfnIntelligentPromptRouter.RoutingCriteriaProperty(
22386
+ response_quality_difference=123
22387
+ )
22388
+ '''
22389
+ if __debug__:
22390
+ type_hints = typing.get_type_hints(_typecheckingstub__7b122742002952822ca4101c16f95952147a47cfb8a5ad666e4a2aa644ea2023)
22391
+ check_type(argname="argument response_quality_difference", value=response_quality_difference, expected_type=type_hints["response_quality_difference"])
22392
+ self._values: typing.Dict[builtins.str, typing.Any] = {
22393
+ "response_quality_difference": response_quality_difference,
22394
+ }
22395
+
22396
+ @builtins.property
22397
+ def response_quality_difference(self) -> jsii.Number:
22398
+ '''The criteria's response quality difference.
22399
+
22400
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-intelligentpromptrouter-routingcriteria.html#cfn-bedrock-intelligentpromptrouter-routingcriteria-responsequalitydifference
22401
+ '''
22402
+ result = self._values.get("response_quality_difference")
22403
+ assert result is not None, "Required property 'response_quality_difference' is missing"
22404
+ return typing.cast(jsii.Number, result)
22405
+
22406
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
22407
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
22408
+
22409
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
22410
+ return not (rhs == self)
22411
+
22412
+ def __repr__(self) -> str:
22413
+ return "RoutingCriteriaProperty(%s)" % ", ".join(
22414
+ k + "=" + repr(v) for k, v in self._values.items()
22415
+ )
22416
+
22417
+
22418
+ @jsii.data_type(
22419
+ jsii_type="aws-cdk-lib.aws_bedrock.CfnIntelligentPromptRouterProps",
22420
+ jsii_struct_bases=[],
22421
+ name_mapping={
22422
+ "fallback_model": "fallbackModel",
22423
+ "models": "models",
22424
+ "prompt_router_name": "promptRouterName",
22425
+ "routing_criteria": "routingCriteria",
22426
+ "description": "description",
22427
+ "tags": "tags",
22428
+ },
22429
+ )
22430
+ class CfnIntelligentPromptRouterProps:
22431
+ def __init__(
22432
+ self,
22433
+ *,
22434
+ fallback_model: typing.Union[_IResolvable_da3f097b, typing.Union[CfnIntelligentPromptRouter.PromptRouterTargetModelProperty, typing.Dict[builtins.str, typing.Any]]],
22435
+ models: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnIntelligentPromptRouter.PromptRouterTargetModelProperty, typing.Dict[builtins.str, typing.Any]]]]],
22436
+ prompt_router_name: builtins.str,
22437
+ routing_criteria: typing.Union[_IResolvable_da3f097b, typing.Union[CfnIntelligentPromptRouter.RoutingCriteriaProperty, typing.Dict[builtins.str, typing.Any]]],
22438
+ description: typing.Optional[builtins.str] = None,
22439
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
22440
+ ) -> None:
22441
+ '''Properties for defining a ``CfnIntelligentPromptRouter``.
22442
+
22443
+ :param fallback_model: Model configuration.
22444
+ :param models: List of model configuration.
22445
+ :param prompt_router_name: Name of the Prompt Router.
22446
+ :param routing_criteria: Routing criteria for a prompt router.
22447
+ :param description: Description of the Prompt Router.
22448
+ :param tags: List of Tags.
22449
+
22450
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-intelligentpromptrouter.html
22451
+ :exampleMetadata: fixture=_generated
22452
+
22453
+ Example::
22454
+
22455
+ # The code below shows an example of how to instantiate this type.
22456
+ # The values are placeholders you should change.
22457
+ from aws_cdk import aws_bedrock as bedrock
22458
+
22459
+ cfn_intelligent_prompt_router_props = bedrock.CfnIntelligentPromptRouterProps(
22460
+ fallback_model=bedrock.CfnIntelligentPromptRouter.PromptRouterTargetModelProperty(
22461
+ model_arn="modelArn"
22462
+ ),
22463
+ models=[bedrock.CfnIntelligentPromptRouter.PromptRouterTargetModelProperty(
22464
+ model_arn="modelArn"
22465
+ )],
22466
+ prompt_router_name="promptRouterName",
22467
+ routing_criteria=bedrock.CfnIntelligentPromptRouter.RoutingCriteriaProperty(
22468
+ response_quality_difference=123
22469
+ ),
22470
+
22471
+ # the properties below are optional
22472
+ description="description",
22473
+ tags=[CfnTag(
22474
+ key="key",
22475
+ value="value"
22476
+ )]
22477
+ )
22478
+ '''
22479
+ if __debug__:
22480
+ type_hints = typing.get_type_hints(_typecheckingstub__ac97327bebd43ad8b942919c24917e1378d3c55caa8d2363928873ac029be7da)
22481
+ check_type(argname="argument fallback_model", value=fallback_model, expected_type=type_hints["fallback_model"])
22482
+ check_type(argname="argument models", value=models, expected_type=type_hints["models"])
22483
+ check_type(argname="argument prompt_router_name", value=prompt_router_name, expected_type=type_hints["prompt_router_name"])
22484
+ check_type(argname="argument routing_criteria", value=routing_criteria, expected_type=type_hints["routing_criteria"])
22485
+ check_type(argname="argument description", value=description, expected_type=type_hints["description"])
22486
+ check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
22487
+ self._values: typing.Dict[builtins.str, typing.Any] = {
22488
+ "fallback_model": fallback_model,
22489
+ "models": models,
22490
+ "prompt_router_name": prompt_router_name,
22491
+ "routing_criteria": routing_criteria,
22492
+ }
22493
+ if description is not None:
22494
+ self._values["description"] = description
22495
+ if tags is not None:
22496
+ self._values["tags"] = tags
22497
+
22498
+ @builtins.property
22499
+ def fallback_model(
22500
+ self,
22501
+ ) -> typing.Union[_IResolvable_da3f097b, CfnIntelligentPromptRouter.PromptRouterTargetModelProperty]:
22502
+ '''Model configuration.
22503
+
22504
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-intelligentpromptrouter.html#cfn-bedrock-intelligentpromptrouter-fallbackmodel
22505
+ '''
22506
+ result = self._values.get("fallback_model")
22507
+ assert result is not None, "Required property 'fallback_model' is missing"
22508
+ return typing.cast(typing.Union[_IResolvable_da3f097b, CfnIntelligentPromptRouter.PromptRouterTargetModelProperty], result)
22509
+
22510
+ @builtins.property
22511
+ def models(
22512
+ self,
22513
+ ) -> typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnIntelligentPromptRouter.PromptRouterTargetModelProperty]]]:
22514
+ '''List of model configuration.
22515
+
22516
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-intelligentpromptrouter.html#cfn-bedrock-intelligentpromptrouter-models
22517
+ '''
22518
+ result = self._values.get("models")
22519
+ assert result is not None, "Required property 'models' is missing"
22520
+ return typing.cast(typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnIntelligentPromptRouter.PromptRouterTargetModelProperty]]], result)
22521
+
22522
+ @builtins.property
22523
+ def prompt_router_name(self) -> builtins.str:
22524
+ '''Name of the Prompt Router.
22525
+
22526
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-intelligentpromptrouter.html#cfn-bedrock-intelligentpromptrouter-promptroutername
22527
+ '''
22528
+ result = self._values.get("prompt_router_name")
22529
+ assert result is not None, "Required property 'prompt_router_name' is missing"
22530
+ return typing.cast(builtins.str, result)
22531
+
22532
+ @builtins.property
22533
+ def routing_criteria(
22534
+ self,
22535
+ ) -> typing.Union[_IResolvable_da3f097b, CfnIntelligentPromptRouter.RoutingCriteriaProperty]:
22536
+ '''Routing criteria for a prompt router.
22537
+
22538
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-intelligentpromptrouter.html#cfn-bedrock-intelligentpromptrouter-routingcriteria
22539
+ '''
22540
+ result = self._values.get("routing_criteria")
22541
+ assert result is not None, "Required property 'routing_criteria' is missing"
22542
+ return typing.cast(typing.Union[_IResolvable_da3f097b, CfnIntelligentPromptRouter.RoutingCriteriaProperty], result)
22543
+
22544
+ @builtins.property
22545
+ def description(self) -> typing.Optional[builtins.str]:
22546
+ '''Description of the Prompt Router.
22547
+
22548
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-intelligentpromptrouter.html#cfn-bedrock-intelligentpromptrouter-description
22549
+ '''
22550
+ result = self._values.get("description")
22551
+ return typing.cast(typing.Optional[builtins.str], result)
22552
+
22553
+ @builtins.property
22554
+ def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
22555
+ '''List of Tags.
22556
+
22557
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-intelligentpromptrouter.html#cfn-bedrock-intelligentpromptrouter-tags
22558
+ '''
22559
+ result = self._values.get("tags")
22560
+ return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
22561
+
22562
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
22563
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
22564
+
22565
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
22566
+ return not (rhs == self)
22567
+
22568
+ def __repr__(self) -> str:
22569
+ return "CfnIntelligentPromptRouterProps(%s)" % ", ".join(
22570
+ k + "=" + repr(v) for k, v in self._values.items()
22571
+ )
22572
+
22573
+
21554
22574
  @jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
21555
22575
  class CfnKnowledgeBase(
21556
22576
  _CfnResource_9df397a6,
@@ -24925,7 +25945,7 @@ class CfnKnowledgeBase(
24925
25945
  )
24926
25946
  class S3LocationProperty:
24927
25947
  def __init__(self, *, uri: builtins.str) -> None:
24928
- '''A storage location in an S3 bucket.
25948
+ '''A storage location in an Amazon S3 bucket.
24929
25949
 
24930
25950
  :param uri: An object URI starting with ``s3://`` .
24931
25951
 
@@ -30811,6 +31831,12 @@ class FoundationModelIdentifier(
30811
31831
  '''Base model "amazon.nova-micro-v1:0:128k".'''
30812
31832
  return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "AMAZON_NOVA_MICRO_V1_0_128_K"))
30813
31833
 
31834
+ @jsii.python.classproperty
31835
+ @jsii.member(jsii_name="AMAZON_NOVA_PREMIER_V1_0")
31836
+ def AMAZON_NOVA_PREMIER_V1_0(cls) -> "FoundationModelIdentifier":
31837
+ '''Base model "amazon.nova-premier-v1:0".'''
31838
+ return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "AMAZON_NOVA_PREMIER_V1_0"))
31839
+
30814
31840
  @jsii.python.classproperty
30815
31841
  @jsii.member(jsii_name="AMAZON_NOVA_PRO_V1_0")
30816
31842
  def AMAZON_NOVA_PRO_V1_0(cls) -> "FoundationModelIdentifier":
@@ -31424,6 +32450,18 @@ class FoundationModelIdentifier(
31424
32450
  '''Base model "meta.llama3-8b-instruct-v1:0".'''
31425
32451
  return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "META_LLAMA_3_8B_INSTRUCT_V1"))
31426
32452
 
32453
+ @jsii.python.classproperty
32454
+ @jsii.member(jsii_name="META_LLAMA_4_MAVERICK_17B_INSTRUCT_V1_0")
32455
+ def META_LLAMA_4_MAVERICK_17_B_INSTRUCT_V1_0(cls) -> "FoundationModelIdentifier":
32456
+ '''Base model "meta.llama4-maverick-17b-instruct-v1:0".'''
32457
+ return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "META_LLAMA_4_MAVERICK_17B_INSTRUCT_V1_0"))
32458
+
32459
+ @jsii.python.classproperty
32460
+ @jsii.member(jsii_name="META_LLAMA_4_SCOUT_17B_INSTRUCT_V1_0")
32461
+ def META_LLAMA_4_SCOUT_17_B_INSTRUCT_V1_0(cls) -> "FoundationModelIdentifier":
32462
+ '''Base model "meta.llama4-scout-17b-instruct-v1:0".'''
32463
+ return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "META_LLAMA_4_SCOUT_17B_INSTRUCT_V1_0"))
32464
+
31427
32465
  @jsii.python.classproperty
31428
32466
  @jsii.member(jsii_name="MISTRAL_LARGE_2_V0_1")
31429
32467
  def MISTRAL_LARGE_2_V0_1(cls) -> "FoundationModelIdentifier":
@@ -31540,6 +32578,18 @@ class FoundationModelIdentifier(
31540
32578
  '''Base model "stability.stable-image-ultra-v1:1".'''
31541
32579
  return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "STABILITY_STABLE_IMAGE_ULTRA_V1_1"))
31542
32580
 
32581
+ @jsii.python.classproperty
32582
+ @jsii.member(jsii_name="WRITER_PALMYRA_X4_V1_0")
32583
+ def WRITER_PALMYRA_X4_V1_0(cls) -> "FoundationModelIdentifier":
32584
+ '''Base model "writer.palmyra-x4-v1:0".'''
32585
+ return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "WRITER_PALMYRA_X4_V1_0"))
32586
+
32587
+ @jsii.python.classproperty
32588
+ @jsii.member(jsii_name="WRITER_PALMYRA_X5_V1_0")
32589
+ def WRITER_PALMYRA_X5_V1_0(cls) -> "FoundationModelIdentifier":
32590
+ '''Base model "writer.palmyra-x5-v1:0".'''
32591
+ return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "WRITER_PALMYRA_X5_V1_0"))
32592
+
31543
32593
  @builtins.property
31544
32594
  @jsii.member(jsii_name="modelId")
31545
32595
  def model_id(self) -> builtins.str:
@@ -31726,6 +32776,8 @@ __all__ = [
31726
32776
  "CfnGuardrailProps",
31727
32777
  "CfnGuardrailVersion",
31728
32778
  "CfnGuardrailVersionProps",
32779
+ "CfnIntelligentPromptRouter",
32780
+ "CfnIntelligentPromptRouterProps",
31729
32781
  "CfnKnowledgeBase",
31730
32782
  "CfnKnowledgeBaseProps",
31731
32783
  "CfnPrompt",
@@ -32399,6 +33451,13 @@ def _typecheckingstub__17b4067ba061b31b33f6982f8b1ce49b15211698a89239a94ac83de6e
32399
33451
  """Type checking stubs"""
32400
33452
  pass
32401
33453
 
33454
+ def _typecheckingstub__9fa0ddf34ba99d172292ec01a5b59e05e41939ae214f174146b2d694461955ce(
33455
+ *,
33456
+ modality_processing: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDataAutomationProject.ModalityProcessingConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
33457
+ ) -> None:
33458
+ """Type checking stubs"""
33459
+ pass
33460
+
32402
33461
  def _typecheckingstub__0cd729d92f87cc8b9ea825fd9aba3f8ad84df311b23d20555e9348067db7ca2d(
32403
33462
  *,
32404
33463
  category: typing.Union[_IResolvable_da3f097b, typing.Union[CfnDataAutomationProject.AudioExtractionCategoryProperty, typing.Dict[builtins.str, typing.Any]]],
@@ -32476,6 +33535,7 @@ def _typecheckingstub__b22792c9c0de4d07e8431f8ac3df8e64d6ae45cf4035db3f065789509
32476
33535
 
32477
33536
  def _typecheckingstub__ce28bbcdad808c3d79746aae815f4706b7c664e45cfa21e90b91fef9b498a905(
32478
33537
  *,
33538
+ modality_processing: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDataAutomationProject.ModalityProcessingConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
32479
33539
  splitter: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDataAutomationProject.SplitterConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
32480
33540
  ) -> None:
32481
33541
  """Type checking stubs"""
@@ -32520,6 +33580,13 @@ def _typecheckingstub__b889c5cec633874cf38a0cca25d340045efc344323f8c1f47b451c984
32520
33580
  """Type checking stubs"""
32521
33581
  pass
32522
33582
 
33583
+ def _typecheckingstub__34a681e35d658a2a736af34f5e6af8631d8d4b6f6f0a517e671c60fc315ac32b(
33584
+ *,
33585
+ modality_processing: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDataAutomationProject.ModalityProcessingConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
33586
+ ) -> None:
33587
+ """Type checking stubs"""
33588
+ pass
33589
+
32523
33590
  def _typecheckingstub__8509438c1738f2f2a62b74a8b21ad5bb1255f5b381218f083f1a15d23550dae1(
32524
33591
  *,
32525
33592
  bounding_box: typing.Union[_IResolvable_da3f097b, typing.Union[CfnDataAutomationProject.ImageBoundingBoxProperty, typing.Dict[builtins.str, typing.Any]]],
@@ -32544,9 +33611,30 @@ def _typecheckingstub__cd2e094ff92095348e69264bdb8606dc0cb4bbaca0f0e5bb44b408709
32544
33611
  """Type checking stubs"""
32545
33612
  pass
32546
33613
 
33614
+ def _typecheckingstub__11b9621807c12ab2ce46c77ab801b225eb4ba5af317edcb4c0a41ab32f060903(
33615
+ *,
33616
+ state: typing.Optional[builtins.str] = None,
33617
+ ) -> None:
33618
+ """Type checking stubs"""
33619
+ pass
33620
+
33621
+ def _typecheckingstub__18c2866282470eccc145ca7febde2b3deb2fecf2300c6b32965aa4899588a3a4(
33622
+ *,
33623
+ jpeg: typing.Optional[builtins.str] = None,
33624
+ mov: typing.Optional[builtins.str] = None,
33625
+ mp4: typing.Optional[builtins.str] = None,
33626
+ png: typing.Optional[builtins.str] = None,
33627
+ ) -> None:
33628
+ """Type checking stubs"""
33629
+ pass
33630
+
32547
33631
  def _typecheckingstub__400a92e228907b33f71ad10276a9ad472a21d517da3941d1621dda605806343e(
32548
33632
  *,
33633
+ audio: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDataAutomationProject.AudioOverrideConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
32549
33634
  document: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDataAutomationProject.DocumentOverrideConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
33635
+ image: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDataAutomationProject.ImageOverrideConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
33636
+ modality_routing: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDataAutomationProject.ModalityRoutingConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
33637
+ video: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDataAutomationProject.VideoOverrideConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
32550
33638
  ) -> None:
32551
33639
  """Type checking stubs"""
32552
33640
  pass
@@ -32583,6 +33671,13 @@ def _typecheckingstub__e8ab6d9031c06e119e307ce6230035cf42009ab028973d67c75234758
32583
33671
  """Type checking stubs"""
32584
33672
  pass
32585
33673
 
33674
+ def _typecheckingstub__d7326051e3b843174754054dc13d916d949edba4f6f11b266a8a0efb8d081b53(
33675
+ *,
33676
+ modality_processing: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDataAutomationProject.ModalityProcessingConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
33677
+ ) -> None:
33678
+ """Type checking stubs"""
33679
+ pass
33680
+
32586
33681
  def _typecheckingstub__170ed1a2312358b299f6226d2957f47b82b01af6cc40af84f66e89a6c1490049(
32587
33682
  *,
32588
33683
  bounding_box: typing.Union[_IResolvable_da3f097b, typing.Union[CfnDataAutomationProject.VideoBoundingBoxProperty, typing.Dict[builtins.str, typing.Any]]],
@@ -34060,6 +35155,94 @@ def _typecheckingstub__e07f1ed805e6d73c6e83274e605414f148ca0a10b6065c654e3b54502
34060
35155
  """Type checking stubs"""
34061
35156
  pass
34062
35157
 
35158
+ def _typecheckingstub__a5d2e514af9553d15e3be6a1c57dd1062d7a60fee139dbca24ce0ced551672eb(
35159
+ scope: _constructs_77d1e7e8.Construct,
35160
+ id: builtins.str,
35161
+ *,
35162
+ fallback_model: typing.Union[_IResolvable_da3f097b, typing.Union[CfnIntelligentPromptRouter.PromptRouterTargetModelProperty, typing.Dict[builtins.str, typing.Any]]],
35163
+ models: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnIntelligentPromptRouter.PromptRouterTargetModelProperty, typing.Dict[builtins.str, typing.Any]]]]],
35164
+ prompt_router_name: builtins.str,
35165
+ routing_criteria: typing.Union[_IResolvable_da3f097b, typing.Union[CfnIntelligentPromptRouter.RoutingCriteriaProperty, typing.Dict[builtins.str, typing.Any]]],
35166
+ description: typing.Optional[builtins.str] = None,
35167
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
35168
+ ) -> None:
35169
+ """Type checking stubs"""
35170
+ pass
35171
+
35172
+ def _typecheckingstub__03b0b2936dfa8c510b4e2f9e5f7110304e75b128876e0272df9b9ac91dd26930(
35173
+ inspector: _TreeInspector_488e0dd5,
35174
+ ) -> None:
35175
+ """Type checking stubs"""
35176
+ pass
35177
+
35178
+ def _typecheckingstub__9feb5c424ea1c452676a08cce16f75eb90f9235e27c9bfc0b9cbd839871891f3(
35179
+ props: typing.Mapping[builtins.str, typing.Any],
35180
+ ) -> None:
35181
+ """Type checking stubs"""
35182
+ pass
35183
+
35184
+ def _typecheckingstub__cd80df76a813246a8e4277e3bc440f0bd9af1683df43577473a9071026d3b6bf(
35185
+ value: typing.Union[_IResolvable_da3f097b, CfnIntelligentPromptRouter.PromptRouterTargetModelProperty],
35186
+ ) -> None:
35187
+ """Type checking stubs"""
35188
+ pass
35189
+
35190
+ def _typecheckingstub__a25f72fc5023b70494fc722f22f88047d6a2c0242e2e3e9faf9709606670791a(
35191
+ value: typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnIntelligentPromptRouter.PromptRouterTargetModelProperty]]],
35192
+ ) -> None:
35193
+ """Type checking stubs"""
35194
+ pass
35195
+
35196
+ def _typecheckingstub__ec21107d1eca7e309bcd9f3df4a7749c2b99c2f6c11a70183255fce541a6087f(
35197
+ value: builtins.str,
35198
+ ) -> None:
35199
+ """Type checking stubs"""
35200
+ pass
35201
+
35202
+ def _typecheckingstub__803bc18993ea7d90a900939d6578f087141fb630c6e5d87b74ad4e7fa6b91af8(
35203
+ value: typing.Union[_IResolvable_da3f097b, CfnIntelligentPromptRouter.RoutingCriteriaProperty],
35204
+ ) -> None:
35205
+ """Type checking stubs"""
35206
+ pass
35207
+
35208
+ def _typecheckingstub__08709ed1bc4a3037160cec605e0b1bd4113b22ec101704d31096b5c625a9d9cf(
35209
+ value: typing.Optional[builtins.str],
35210
+ ) -> None:
35211
+ """Type checking stubs"""
35212
+ pass
35213
+
35214
+ def _typecheckingstub__3c6153dd14f4fef3c8f916f48185faa26c1372a89eb9c48120b46b15741ed8d3(
35215
+ value: typing.Optional[typing.List[_CfnTag_f6864754]],
35216
+ ) -> None:
35217
+ """Type checking stubs"""
35218
+ pass
35219
+
35220
+ def _typecheckingstub__f13c2a7cb42b0b44b093f57856aeb21f6e80f9a98941ae4c0bcca2d340bc4c74(
35221
+ *,
35222
+ model_arn: builtins.str,
35223
+ ) -> None:
35224
+ """Type checking stubs"""
35225
+ pass
35226
+
35227
+ def _typecheckingstub__7b122742002952822ca4101c16f95952147a47cfb8a5ad666e4a2aa644ea2023(
35228
+ *,
35229
+ response_quality_difference: jsii.Number,
35230
+ ) -> None:
35231
+ """Type checking stubs"""
35232
+ pass
35233
+
35234
+ def _typecheckingstub__ac97327bebd43ad8b942919c24917e1378d3c55caa8d2363928873ac029be7da(
35235
+ *,
35236
+ fallback_model: typing.Union[_IResolvable_da3f097b, typing.Union[CfnIntelligentPromptRouter.PromptRouterTargetModelProperty, typing.Dict[builtins.str, typing.Any]]],
35237
+ models: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnIntelligentPromptRouter.PromptRouterTargetModelProperty, typing.Dict[builtins.str, typing.Any]]]]],
35238
+ prompt_router_name: builtins.str,
35239
+ routing_criteria: typing.Union[_IResolvable_da3f097b, typing.Union[CfnIntelligentPromptRouter.RoutingCriteriaProperty, typing.Dict[builtins.str, typing.Any]]],
35240
+ description: typing.Optional[builtins.str] = None,
35241
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
35242
+ ) -> None:
35243
+ """Type checking stubs"""
35244
+ pass
35245
+
34063
35246
  def _typecheckingstub__6ef81b8dcbedbd76b5a39a6fd5a967ba49aa887b63aad45e2bc246c96c7abcec(
34064
35247
  scope: _constructs_77d1e7e8.Construct,
34065
35248
  id: builtins.str,