aws-cdk-lib 2.187.0__py3-none-any.whl → 2.189.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 (60) hide show
  1. aws_cdk/__init__.py +24 -3
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.187.0.jsii.tgz → aws-cdk-lib@2.189.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_amplify/__init__.py +21 -9
  5. aws_cdk/aws_apigateway/__init__.py +27 -19
  6. aws_cdk/aws_apigatewayv2/__init__.py +170 -0
  7. aws_cdk/aws_appconfig/__init__.py +30 -14
  8. aws_cdk/aws_arczonalshift/__init__.py +4 -4
  9. aws_cdk/aws_batch/__init__.py +2 -0
  10. aws_cdk/aws_bedrock/__init__.py +629 -32
  11. aws_cdk/aws_budgets/__init__.py +8 -8
  12. aws_cdk/aws_cassandra/__init__.py +3 -1
  13. aws_cdk/aws_ce/__init__.py +2 -2
  14. aws_cdk/aws_cloudformation/__init__.py +3 -3
  15. aws_cdk/aws_codebuild/__init__.py +23 -1
  16. aws_cdk/aws_codepipeline/__init__.py +47 -32
  17. aws_cdk/aws_codepipeline_actions/__init__.py +2786 -1042
  18. aws_cdk/aws_codestarnotifications/__init__.py +16 -16
  19. aws_cdk/aws_cognito/__init__.py +8 -2
  20. aws_cdk/aws_dsql/__init__.py +366 -0
  21. aws_cdk/aws_dynamodb/__init__.py +4 -4
  22. aws_cdk/aws_ec2/__init__.py +2130 -237
  23. aws_cdk/aws_eks/__init__.py +112 -10
  24. aws_cdk/aws_events_targets/__init__.py +136 -0
  25. aws_cdk/aws_fsx/__init__.py +2 -8
  26. aws_cdk/aws_gamelift/__init__.py +140 -14
  27. aws_cdk/aws_groundstation/__init__.py +4 -2
  28. aws_cdk/aws_iam/__init__.py +6 -4
  29. aws_cdk/aws_identitystore/__init__.py +15 -13
  30. aws_cdk/aws_kinesisfirehose/__init__.py +38 -0
  31. aws_cdk/aws_lambda_event_sources/__init__.py +22 -22
  32. aws_cdk/aws_lex/__init__.py +21 -17
  33. aws_cdk/aws_logs/__init__.py +18 -0
  34. aws_cdk/aws_logs_destinations/__init__.py +146 -0
  35. aws_cdk/aws_notifications/__init__.py +4 -4
  36. aws_cdk/aws_omics/__init__.py +9 -1
  37. aws_cdk/aws_opensearchserverless/__init__.py +31 -23
  38. aws_cdk/aws_organizations/__init__.py +1 -1
  39. aws_cdk/aws_paymentcryptography/__init__.py +6 -2
  40. aws_cdk/aws_pcaconnectorad/__init__.py +3 -2
  41. aws_cdk/aws_quicksight/__init__.py +35 -22
  42. aws_cdk/aws_rds/__init__.py +84 -0
  43. aws_cdk/aws_redshiftserverless/__init__.py +166 -0
  44. aws_cdk/aws_route53/__init__.py +3 -3
  45. aws_cdk/aws_route53recoverycontrol/__init__.py +4 -6
  46. aws_cdk/aws_rum/__init__.py +13 -10
  47. aws_cdk/aws_s3/__init__.py +3 -6
  48. aws_cdk/aws_sagemaker/__init__.py +41 -0
  49. aws_cdk/aws_ssmincidents/__init__.py +10 -10
  50. aws_cdk/aws_systemsmanagersap/__init__.py +17 -7
  51. aws_cdk/aws_transfer/__init__.py +19 -10
  52. aws_cdk/aws_wafv2/__init__.py +80 -35
  53. aws_cdk/cx_api/__init__.py +23 -2
  54. aws_cdk/pipelines/__init__.py +71 -1
  55. {aws_cdk_lib-2.187.0.dist-info → aws_cdk_lib-2.189.0.dist-info}/METADATA +1 -1
  56. {aws_cdk_lib-2.187.0.dist-info → aws_cdk_lib-2.189.0.dist-info}/RECORD +60 -59
  57. {aws_cdk_lib-2.187.0.dist-info → aws_cdk_lib-2.189.0.dist-info}/LICENSE +0 -0
  58. {aws_cdk_lib-2.187.0.dist-info → aws_cdk_lib-2.189.0.dist-info}/NOTICE +0 -0
  59. {aws_cdk_lib-2.187.0.dist-info → aws_cdk_lib-2.189.0.dist-info}/WHEEL +0 -0
  60. {aws_cdk_lib-2.187.0.dist-info → aws_cdk_lib-2.189.0.dist-info}/top_level.txt +0 -0
@@ -19009,7 +19009,11 @@ class CfnGuardrail(
19009
19009
  filters_config=[bedrock.CfnGuardrail.ContentFilterConfigProperty(
19010
19010
  input_strength="inputStrength",
19011
19011
  output_strength="outputStrength",
19012
- type="type"
19012
+ type="type",
19013
+
19014
+ # the properties below are optional
19015
+ input_modalities=["inputModalities"],
19016
+ output_modalities=["outputModalities"]
19013
19017
  )]
19014
19018
  ),
19015
19019
  contextual_grounding_policy_config=bedrock.CfnGuardrail.ContextualGroundingPolicyConfigProperty(
@@ -19405,6 +19409,8 @@ class CfnGuardrail(
19405
19409
  "input_strength": "inputStrength",
19406
19410
  "output_strength": "outputStrength",
19407
19411
  "type": "type",
19412
+ "input_modalities": "inputModalities",
19413
+ "output_modalities": "outputModalities",
19408
19414
  },
19409
19415
  )
19410
19416
  class ContentFilterConfigProperty:
@@ -19414,6 +19420,8 @@ class CfnGuardrail(
19414
19420
  input_strength: builtins.str,
19415
19421
  output_strength: builtins.str,
19416
19422
  type: builtins.str,
19423
+ input_modalities: typing.Optional[typing.Sequence[builtins.str]] = None,
19424
+ output_modalities: typing.Optional[typing.Sequence[builtins.str]] = None,
19417
19425
  ) -> None:
19418
19426
  '''Contains filter strengths for harmful content.
19419
19427
 
@@ -19431,6 +19439,8 @@ class CfnGuardrail(
19431
19439
  :param input_strength: The strength of the content filter to apply to prompts. As you increase the filter strength, the likelihood of filtering harmful content increases and the probability of seeing harmful content in your application reduces.
19432
19440
  :param output_strength: The strength of the content filter to apply to model responses. As you increase the filter strength, the likelihood of filtering harmful content increases and the probability of seeing harmful content in your application reduces.
19433
19441
  :param type: The harmful category that the content filter is applied to.
19442
+ :param input_modalities: List of modalities.
19443
+ :param output_modalities: List of modalities.
19434
19444
 
19435
19445
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-contentfilterconfig.html
19436
19446
  :exampleMetadata: fixture=_generated
@@ -19444,7 +19454,11 @@ class CfnGuardrail(
19444
19454
  content_filter_config_property = bedrock.CfnGuardrail.ContentFilterConfigProperty(
19445
19455
  input_strength="inputStrength",
19446
19456
  output_strength="outputStrength",
19447
- type="type"
19457
+ type="type",
19458
+
19459
+ # the properties below are optional
19460
+ input_modalities=["inputModalities"],
19461
+ output_modalities=["outputModalities"]
19448
19462
  )
19449
19463
  '''
19450
19464
  if __debug__:
@@ -19452,11 +19466,17 @@ class CfnGuardrail(
19452
19466
  check_type(argname="argument input_strength", value=input_strength, expected_type=type_hints["input_strength"])
19453
19467
  check_type(argname="argument output_strength", value=output_strength, expected_type=type_hints["output_strength"])
19454
19468
  check_type(argname="argument type", value=type, expected_type=type_hints["type"])
19469
+ check_type(argname="argument input_modalities", value=input_modalities, expected_type=type_hints["input_modalities"])
19470
+ check_type(argname="argument output_modalities", value=output_modalities, expected_type=type_hints["output_modalities"])
19455
19471
  self._values: typing.Dict[builtins.str, typing.Any] = {
19456
19472
  "input_strength": input_strength,
19457
19473
  "output_strength": output_strength,
19458
19474
  "type": type,
19459
19475
  }
19476
+ if input_modalities is not None:
19477
+ self._values["input_modalities"] = input_modalities
19478
+ if output_modalities is not None:
19479
+ self._values["output_modalities"] = output_modalities
19460
19480
 
19461
19481
  @builtins.property
19462
19482
  def input_strength(self) -> builtins.str:
@@ -19492,6 +19512,24 @@ class CfnGuardrail(
19492
19512
  assert result is not None, "Required property 'type' is missing"
19493
19513
  return typing.cast(builtins.str, result)
19494
19514
 
19515
+ @builtins.property
19516
+ def input_modalities(self) -> typing.Optional[typing.List[builtins.str]]:
19517
+ '''List of modalities.
19518
+
19519
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-contentfilterconfig.html#cfn-bedrock-guardrail-contentfilterconfig-inputmodalities
19520
+ '''
19521
+ result = self._values.get("input_modalities")
19522
+ return typing.cast(typing.Optional[typing.List[builtins.str]], result)
19523
+
19524
+ @builtins.property
19525
+ def output_modalities(self) -> typing.Optional[typing.List[builtins.str]]:
19526
+ '''List of modalities.
19527
+
19528
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-contentfilterconfig.html#cfn-bedrock-guardrail-contentfilterconfig-outputmodalities
19529
+ '''
19530
+ result = self._values.get("output_modalities")
19531
+ return typing.cast(typing.Optional[typing.List[builtins.str]], result)
19532
+
19495
19533
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
19496
19534
  return isinstance(rhs, self.__class__) and rhs._values == self._values
19497
19535
 
@@ -19531,7 +19569,11 @@ class CfnGuardrail(
19531
19569
  filters_config=[bedrock.CfnGuardrail.ContentFilterConfigProperty(
19532
19570
  input_strength="inputStrength",
19533
19571
  output_strength="outputStrength",
19534
- type="type"
19572
+ type="type",
19573
+
19574
+ # the properties below are optional
19575
+ input_modalities=["inputModalities"],
19576
+ output_modalities=["outputModalities"]
19535
19577
  )]
19536
19578
  )
19537
19579
  '''
@@ -20519,7 +20561,11 @@ class CfnGuardrailProps:
20519
20561
  filters_config=[bedrock.CfnGuardrail.ContentFilterConfigProperty(
20520
20562
  input_strength="inputStrength",
20521
20563
  output_strength="outputStrength",
20522
- type="type"
20564
+ type="type",
20565
+
20566
+ # the properties below are optional
20567
+ input_modalities=["inputModalities"],
20568
+ output_modalities=["outputModalities"]
20523
20569
  )]
20524
20570
  ),
20525
20571
  contextual_grounding_policy_config=bedrock.CfnGuardrail.ContextualGroundingPolicyConfigProperty(
@@ -21084,6 +21130,28 @@ class CfnKnowledgeBase(
21084
21130
  type="type",
21085
21131
 
21086
21132
  # the properties below are optional
21133
+ mongo_db_atlas_configuration=bedrock.CfnKnowledgeBase.MongoDbAtlasConfigurationProperty(
21134
+ collection_name="collectionName",
21135
+ credentials_secret_arn="credentialsSecretArn",
21136
+ database_name="databaseName",
21137
+ endpoint="endpoint",
21138
+ field_mapping=bedrock.CfnKnowledgeBase.MongoDbAtlasFieldMappingProperty(
21139
+ metadata_field="metadataField",
21140
+ text_field="textField",
21141
+ vector_field="vectorField"
21142
+ ),
21143
+ vector_index_name="vectorIndexName",
21144
+
21145
+ # the properties below are optional
21146
+ endpoint_service_name="endpointServiceName"
21147
+ ),
21148
+ neptune_analytics_configuration=bedrock.CfnKnowledgeBase.NeptuneAnalyticsConfigurationProperty(
21149
+ field_mapping=bedrock.CfnKnowledgeBase.NeptuneAnalyticsFieldMappingProperty(
21150
+ metadata_field="metadataField",
21151
+ text_field="textField"
21152
+ ),
21153
+ graph_arn="graphArn"
21154
+ ),
21087
21155
  opensearch_serverless_configuration=bedrock.CfnKnowledgeBase.OpenSearchServerlessConfigurationProperty(
21088
21156
  collection_arn="collectionArn",
21089
21157
  field_mapping=bedrock.CfnKnowledgeBase.OpenSearchServerlessFieldMappingProperty(
@@ -21811,6 +21879,411 @@ class CfnKnowledgeBase(
21811
21879
  k + "=" + repr(v) for k, v in self._values.items()
21812
21880
  )
21813
21881
 
21882
+ @jsii.data_type(
21883
+ jsii_type="aws-cdk-lib.aws_bedrock.CfnKnowledgeBase.MongoDbAtlasConfigurationProperty",
21884
+ jsii_struct_bases=[],
21885
+ name_mapping={
21886
+ "collection_name": "collectionName",
21887
+ "credentials_secret_arn": "credentialsSecretArn",
21888
+ "database_name": "databaseName",
21889
+ "endpoint": "endpoint",
21890
+ "field_mapping": "fieldMapping",
21891
+ "vector_index_name": "vectorIndexName",
21892
+ "endpoint_service_name": "endpointServiceName",
21893
+ },
21894
+ )
21895
+ class MongoDbAtlasConfigurationProperty:
21896
+ def __init__(
21897
+ self,
21898
+ *,
21899
+ collection_name: builtins.str,
21900
+ credentials_secret_arn: builtins.str,
21901
+ database_name: builtins.str,
21902
+ endpoint: builtins.str,
21903
+ field_mapping: typing.Union[_IResolvable_da3f097b, typing.Union["CfnKnowledgeBase.MongoDbAtlasFieldMappingProperty", typing.Dict[builtins.str, typing.Any]]],
21904
+ vector_index_name: builtins.str,
21905
+ endpoint_service_name: typing.Optional[builtins.str] = None,
21906
+ ) -> None:
21907
+ '''Contains details about the storage configuration of the knowledge base in MongoDB Atlas.
21908
+
21909
+ :param collection_name: The collection name of the knowledge base in MongoDB Atlas.
21910
+ :param credentials_secret_arn: The Amazon Resource Name (ARN) of the secret that you created in AWS Secrets Manager that contains user credentials for your MongoDB Atlas cluster.
21911
+ :param database_name: The database name in your MongoDB Atlas cluster for your knowledge base.
21912
+ :param endpoint: The endpoint URL of your MongoDB Atlas cluster for your knowledge base.
21913
+ :param field_mapping: Contains the names of the fields to which to map information about the vector store.
21914
+ :param vector_index_name: The name of the MongoDB Atlas vector search index.
21915
+ :param endpoint_service_name: The name of the VPC endpoint service in your account that is connected to your MongoDB Atlas cluster.
21916
+
21917
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-mongodbatlasconfiguration.html
21918
+ :exampleMetadata: fixture=_generated
21919
+
21920
+ Example::
21921
+
21922
+ # The code below shows an example of how to instantiate this type.
21923
+ # The values are placeholders you should change.
21924
+ from aws_cdk import aws_bedrock as bedrock
21925
+
21926
+ mongo_db_atlas_configuration_property = bedrock.CfnKnowledgeBase.MongoDbAtlasConfigurationProperty(
21927
+ collection_name="collectionName",
21928
+ credentials_secret_arn="credentialsSecretArn",
21929
+ database_name="databaseName",
21930
+ endpoint="endpoint",
21931
+ field_mapping=bedrock.CfnKnowledgeBase.MongoDbAtlasFieldMappingProperty(
21932
+ metadata_field="metadataField",
21933
+ text_field="textField",
21934
+ vector_field="vectorField"
21935
+ ),
21936
+ vector_index_name="vectorIndexName",
21937
+
21938
+ # the properties below are optional
21939
+ endpoint_service_name="endpointServiceName"
21940
+ )
21941
+ '''
21942
+ if __debug__:
21943
+ type_hints = typing.get_type_hints(_typecheckingstub__e9aab84c59bbcca474a92e8e14d567a83b0356b2c00acd482f24dc540e68e9eb)
21944
+ check_type(argname="argument collection_name", value=collection_name, expected_type=type_hints["collection_name"])
21945
+ check_type(argname="argument credentials_secret_arn", value=credentials_secret_arn, expected_type=type_hints["credentials_secret_arn"])
21946
+ check_type(argname="argument database_name", value=database_name, expected_type=type_hints["database_name"])
21947
+ check_type(argname="argument endpoint", value=endpoint, expected_type=type_hints["endpoint"])
21948
+ check_type(argname="argument field_mapping", value=field_mapping, expected_type=type_hints["field_mapping"])
21949
+ check_type(argname="argument vector_index_name", value=vector_index_name, expected_type=type_hints["vector_index_name"])
21950
+ check_type(argname="argument endpoint_service_name", value=endpoint_service_name, expected_type=type_hints["endpoint_service_name"])
21951
+ self._values: typing.Dict[builtins.str, typing.Any] = {
21952
+ "collection_name": collection_name,
21953
+ "credentials_secret_arn": credentials_secret_arn,
21954
+ "database_name": database_name,
21955
+ "endpoint": endpoint,
21956
+ "field_mapping": field_mapping,
21957
+ "vector_index_name": vector_index_name,
21958
+ }
21959
+ if endpoint_service_name is not None:
21960
+ self._values["endpoint_service_name"] = endpoint_service_name
21961
+
21962
+ @builtins.property
21963
+ def collection_name(self) -> builtins.str:
21964
+ '''The collection name of the knowledge base in MongoDB Atlas.
21965
+
21966
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-mongodbatlasconfiguration.html#cfn-bedrock-knowledgebase-mongodbatlasconfiguration-collectionname
21967
+ '''
21968
+ result = self._values.get("collection_name")
21969
+ assert result is not None, "Required property 'collection_name' is missing"
21970
+ return typing.cast(builtins.str, result)
21971
+
21972
+ @builtins.property
21973
+ def credentials_secret_arn(self) -> builtins.str:
21974
+ '''The Amazon Resource Name (ARN) of the secret that you created in AWS Secrets Manager that contains user credentials for your MongoDB Atlas cluster.
21975
+
21976
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-mongodbatlasconfiguration.html#cfn-bedrock-knowledgebase-mongodbatlasconfiguration-credentialssecretarn
21977
+ '''
21978
+ result = self._values.get("credentials_secret_arn")
21979
+ assert result is not None, "Required property 'credentials_secret_arn' is missing"
21980
+ return typing.cast(builtins.str, result)
21981
+
21982
+ @builtins.property
21983
+ def database_name(self) -> builtins.str:
21984
+ '''The database name in your MongoDB Atlas cluster for your knowledge base.
21985
+
21986
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-mongodbatlasconfiguration.html#cfn-bedrock-knowledgebase-mongodbatlasconfiguration-databasename
21987
+ '''
21988
+ result = self._values.get("database_name")
21989
+ assert result is not None, "Required property 'database_name' is missing"
21990
+ return typing.cast(builtins.str, result)
21991
+
21992
+ @builtins.property
21993
+ def endpoint(self) -> builtins.str:
21994
+ '''The endpoint URL of your MongoDB Atlas cluster for your knowledge base.
21995
+
21996
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-mongodbatlasconfiguration.html#cfn-bedrock-knowledgebase-mongodbatlasconfiguration-endpoint
21997
+ '''
21998
+ result = self._values.get("endpoint")
21999
+ assert result is not None, "Required property 'endpoint' is missing"
22000
+ return typing.cast(builtins.str, result)
22001
+
22002
+ @builtins.property
22003
+ def field_mapping(
22004
+ self,
22005
+ ) -> typing.Union[_IResolvable_da3f097b, "CfnKnowledgeBase.MongoDbAtlasFieldMappingProperty"]:
22006
+ '''Contains the names of the fields to which to map information about the vector store.
22007
+
22008
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-mongodbatlasconfiguration.html#cfn-bedrock-knowledgebase-mongodbatlasconfiguration-fieldmapping
22009
+ '''
22010
+ result = self._values.get("field_mapping")
22011
+ assert result is not None, "Required property 'field_mapping' is missing"
22012
+ return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnKnowledgeBase.MongoDbAtlasFieldMappingProperty"], result)
22013
+
22014
+ @builtins.property
22015
+ def vector_index_name(self) -> builtins.str:
22016
+ '''The name of the MongoDB Atlas vector search index.
22017
+
22018
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-mongodbatlasconfiguration.html#cfn-bedrock-knowledgebase-mongodbatlasconfiguration-vectorindexname
22019
+ '''
22020
+ result = self._values.get("vector_index_name")
22021
+ assert result is not None, "Required property 'vector_index_name' is missing"
22022
+ return typing.cast(builtins.str, result)
22023
+
22024
+ @builtins.property
22025
+ def endpoint_service_name(self) -> typing.Optional[builtins.str]:
22026
+ '''The name of the VPC endpoint service in your account that is connected to your MongoDB Atlas cluster.
22027
+
22028
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-mongodbatlasconfiguration.html#cfn-bedrock-knowledgebase-mongodbatlasconfiguration-endpointservicename
22029
+ '''
22030
+ result = self._values.get("endpoint_service_name")
22031
+ return typing.cast(typing.Optional[builtins.str], result)
22032
+
22033
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
22034
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
22035
+
22036
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
22037
+ return not (rhs == self)
22038
+
22039
+ def __repr__(self) -> str:
22040
+ return "MongoDbAtlasConfigurationProperty(%s)" % ", ".join(
22041
+ k + "=" + repr(v) for k, v in self._values.items()
22042
+ )
22043
+
22044
+ @jsii.data_type(
22045
+ jsii_type="aws-cdk-lib.aws_bedrock.CfnKnowledgeBase.MongoDbAtlasFieldMappingProperty",
22046
+ jsii_struct_bases=[],
22047
+ name_mapping={
22048
+ "metadata_field": "metadataField",
22049
+ "text_field": "textField",
22050
+ "vector_field": "vectorField",
22051
+ },
22052
+ )
22053
+ class MongoDbAtlasFieldMappingProperty:
22054
+ def __init__(
22055
+ self,
22056
+ *,
22057
+ metadata_field: builtins.str,
22058
+ text_field: builtins.str,
22059
+ vector_field: builtins.str,
22060
+ ) -> None:
22061
+ '''Contains the names of the fields to which to map information about the vector store.
22062
+
22063
+ :param metadata_field: The name of the field in which Amazon Bedrock stores metadata about the vector store.
22064
+ :param text_field: The name of the field in which Amazon Bedrock stores the raw text from your data. The text is split according to the chunking strategy you choose.
22065
+ :param vector_field: The name of the field in which Amazon Bedrock stores the vector embeddings for your data sources.
22066
+
22067
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-mongodbatlasfieldmapping.html
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
+ mongo_db_atlas_field_mapping_property = bedrock.CfnKnowledgeBase.MongoDbAtlasFieldMappingProperty(
22077
+ metadata_field="metadataField",
22078
+ text_field="textField",
22079
+ vector_field="vectorField"
22080
+ )
22081
+ '''
22082
+ if __debug__:
22083
+ type_hints = typing.get_type_hints(_typecheckingstub__f282a9abca5decd69046535588b0259c474f2c6fc5ff2d8dc73f747b8db614e8)
22084
+ check_type(argname="argument metadata_field", value=metadata_field, expected_type=type_hints["metadata_field"])
22085
+ check_type(argname="argument text_field", value=text_field, expected_type=type_hints["text_field"])
22086
+ check_type(argname="argument vector_field", value=vector_field, expected_type=type_hints["vector_field"])
22087
+ self._values: typing.Dict[builtins.str, typing.Any] = {
22088
+ "metadata_field": metadata_field,
22089
+ "text_field": text_field,
22090
+ "vector_field": vector_field,
22091
+ }
22092
+
22093
+ @builtins.property
22094
+ def metadata_field(self) -> builtins.str:
22095
+ '''The name of the field in which Amazon Bedrock stores metadata about the vector store.
22096
+
22097
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-mongodbatlasfieldmapping.html#cfn-bedrock-knowledgebase-mongodbatlasfieldmapping-metadatafield
22098
+ '''
22099
+ result = self._values.get("metadata_field")
22100
+ assert result is not None, "Required property 'metadata_field' is missing"
22101
+ return typing.cast(builtins.str, result)
22102
+
22103
+ @builtins.property
22104
+ def text_field(self) -> builtins.str:
22105
+ '''The name of the field in which Amazon Bedrock stores the raw text from your data.
22106
+
22107
+ The text is split according to the chunking strategy you choose.
22108
+
22109
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-mongodbatlasfieldmapping.html#cfn-bedrock-knowledgebase-mongodbatlasfieldmapping-textfield
22110
+ '''
22111
+ result = self._values.get("text_field")
22112
+ assert result is not None, "Required property 'text_field' is missing"
22113
+ return typing.cast(builtins.str, result)
22114
+
22115
+ @builtins.property
22116
+ def vector_field(self) -> builtins.str:
22117
+ '''The name of the field in which Amazon Bedrock stores the vector embeddings for your data sources.
22118
+
22119
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-mongodbatlasfieldmapping.html#cfn-bedrock-knowledgebase-mongodbatlasfieldmapping-vectorfield
22120
+ '''
22121
+ result = self._values.get("vector_field")
22122
+ assert result is not None, "Required property 'vector_field' is missing"
22123
+ return typing.cast(builtins.str, result)
22124
+
22125
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
22126
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
22127
+
22128
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
22129
+ return not (rhs == self)
22130
+
22131
+ def __repr__(self) -> str:
22132
+ return "MongoDbAtlasFieldMappingProperty(%s)" % ", ".join(
22133
+ k + "=" + repr(v) for k, v in self._values.items()
22134
+ )
22135
+
22136
+ @jsii.data_type(
22137
+ jsii_type="aws-cdk-lib.aws_bedrock.CfnKnowledgeBase.NeptuneAnalyticsConfigurationProperty",
22138
+ jsii_struct_bases=[],
22139
+ name_mapping={"field_mapping": "fieldMapping", "graph_arn": "graphArn"},
22140
+ )
22141
+ class NeptuneAnalyticsConfigurationProperty:
22142
+ def __init__(
22143
+ self,
22144
+ *,
22145
+ field_mapping: typing.Union[_IResolvable_da3f097b, typing.Union["CfnKnowledgeBase.NeptuneAnalyticsFieldMappingProperty", typing.Dict[builtins.str, typing.Any]]],
22146
+ graph_arn: builtins.str,
22147
+ ) -> None:
22148
+ '''Contains details about the storage configuration of the knowledge base in Amazon Neptune Analytics.
22149
+
22150
+ For more information, see `Create a vector index in Amazon Neptune Analytics <https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup-neptune.html>`_ .
22151
+
22152
+ :param field_mapping: Contains the names of the fields to which to map information about the vector store.
22153
+ :param graph_arn: The Amazon Resource Name (ARN) of the Neptune Analytics vector store.
22154
+
22155
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-neptuneanalyticsconfiguration.html
22156
+ :exampleMetadata: fixture=_generated
22157
+
22158
+ Example::
22159
+
22160
+ # The code below shows an example of how to instantiate this type.
22161
+ # The values are placeholders you should change.
22162
+ from aws_cdk import aws_bedrock as bedrock
22163
+
22164
+ neptune_analytics_configuration_property = bedrock.CfnKnowledgeBase.NeptuneAnalyticsConfigurationProperty(
22165
+ field_mapping=bedrock.CfnKnowledgeBase.NeptuneAnalyticsFieldMappingProperty(
22166
+ metadata_field="metadataField",
22167
+ text_field="textField"
22168
+ ),
22169
+ graph_arn="graphArn"
22170
+ )
22171
+ '''
22172
+ if __debug__:
22173
+ type_hints = typing.get_type_hints(_typecheckingstub__10a48ae87585ff3681b23b0ef2d755d1b9f2c138e4661f1417b3e939b8fcb5aa)
22174
+ check_type(argname="argument field_mapping", value=field_mapping, expected_type=type_hints["field_mapping"])
22175
+ check_type(argname="argument graph_arn", value=graph_arn, expected_type=type_hints["graph_arn"])
22176
+ self._values: typing.Dict[builtins.str, typing.Any] = {
22177
+ "field_mapping": field_mapping,
22178
+ "graph_arn": graph_arn,
22179
+ }
22180
+
22181
+ @builtins.property
22182
+ def field_mapping(
22183
+ self,
22184
+ ) -> typing.Union[_IResolvable_da3f097b, "CfnKnowledgeBase.NeptuneAnalyticsFieldMappingProperty"]:
22185
+ '''Contains the names of the fields to which to map information about the vector store.
22186
+
22187
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-neptuneanalyticsconfiguration.html#cfn-bedrock-knowledgebase-neptuneanalyticsconfiguration-fieldmapping
22188
+ '''
22189
+ result = self._values.get("field_mapping")
22190
+ assert result is not None, "Required property 'field_mapping' is missing"
22191
+ return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnKnowledgeBase.NeptuneAnalyticsFieldMappingProperty"], result)
22192
+
22193
+ @builtins.property
22194
+ def graph_arn(self) -> builtins.str:
22195
+ '''The Amazon Resource Name (ARN) of the Neptune Analytics vector store.
22196
+
22197
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-neptuneanalyticsconfiguration.html#cfn-bedrock-knowledgebase-neptuneanalyticsconfiguration-grapharn
22198
+ '''
22199
+ result = self._values.get("graph_arn")
22200
+ assert result is not None, "Required property 'graph_arn' is missing"
22201
+ return typing.cast(builtins.str, result)
22202
+
22203
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
22204
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
22205
+
22206
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
22207
+ return not (rhs == self)
22208
+
22209
+ def __repr__(self) -> str:
22210
+ return "NeptuneAnalyticsConfigurationProperty(%s)" % ", ".join(
22211
+ k + "=" + repr(v) for k, v in self._values.items()
22212
+ )
22213
+
22214
+ @jsii.data_type(
22215
+ jsii_type="aws-cdk-lib.aws_bedrock.CfnKnowledgeBase.NeptuneAnalyticsFieldMappingProperty",
22216
+ jsii_struct_bases=[],
22217
+ name_mapping={"metadata_field": "metadataField", "text_field": "textField"},
22218
+ )
22219
+ class NeptuneAnalyticsFieldMappingProperty:
22220
+ def __init__(
22221
+ self,
22222
+ *,
22223
+ metadata_field: builtins.str,
22224
+ text_field: builtins.str,
22225
+ ) -> None:
22226
+ '''Contains the names of the fields to which to map information about the vector store.
22227
+
22228
+ :param metadata_field: The name of the field in which Amazon Bedrock stores metadata about the vector store.
22229
+ :param text_field: The name of the field in which Amazon Bedrock stores the raw text from your data. The text is split according to the chunking strategy you choose.
22230
+
22231
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-neptuneanalyticsfieldmapping.html
22232
+ :exampleMetadata: fixture=_generated
22233
+
22234
+ Example::
22235
+
22236
+ # The code below shows an example of how to instantiate this type.
22237
+ # The values are placeholders you should change.
22238
+ from aws_cdk import aws_bedrock as bedrock
22239
+
22240
+ neptune_analytics_field_mapping_property = bedrock.CfnKnowledgeBase.NeptuneAnalyticsFieldMappingProperty(
22241
+ metadata_field="metadataField",
22242
+ text_field="textField"
22243
+ )
22244
+ '''
22245
+ if __debug__:
22246
+ type_hints = typing.get_type_hints(_typecheckingstub__149760cb1c54680bfaffb4cbd878a103bd98758e30835dd86bdc5ae4a53edc8b)
22247
+ check_type(argname="argument metadata_field", value=metadata_field, expected_type=type_hints["metadata_field"])
22248
+ check_type(argname="argument text_field", value=text_field, expected_type=type_hints["text_field"])
22249
+ self._values: typing.Dict[builtins.str, typing.Any] = {
22250
+ "metadata_field": metadata_field,
22251
+ "text_field": text_field,
22252
+ }
22253
+
22254
+ @builtins.property
22255
+ def metadata_field(self) -> builtins.str:
22256
+ '''The name of the field in which Amazon Bedrock stores metadata about the vector store.
22257
+
22258
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-neptuneanalyticsfieldmapping.html#cfn-bedrock-knowledgebase-neptuneanalyticsfieldmapping-metadatafield
22259
+ '''
22260
+ result = self._values.get("metadata_field")
22261
+ assert result is not None, "Required property 'metadata_field' is missing"
22262
+ return typing.cast(builtins.str, result)
22263
+
22264
+ @builtins.property
22265
+ def text_field(self) -> builtins.str:
22266
+ '''The name of the field in which Amazon Bedrock stores the raw text from your data.
22267
+
22268
+ The text is split according to the chunking strategy you choose.
22269
+
22270
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-neptuneanalyticsfieldmapping.html#cfn-bedrock-knowledgebase-neptuneanalyticsfieldmapping-textfield
22271
+ '''
22272
+ result = self._values.get("text_field")
22273
+ assert result is not None, "Required property 'text_field' is missing"
22274
+ return typing.cast(builtins.str, result)
22275
+
22276
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
22277
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
22278
+
22279
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
22280
+ return not (rhs == self)
22281
+
22282
+ def __repr__(self) -> str:
22283
+ return "NeptuneAnalyticsFieldMappingProperty(%s)" % ", ".join(
22284
+ k + "=" + repr(v) for k, v in self._values.items()
22285
+ )
22286
+
21814
22287
  @jsii.data_type(
21815
22288
  jsii_type="aws-cdk-lib.aws_bedrock.CfnKnowledgeBase.OpenSearchServerlessConfigurationProperty",
21816
22289
  jsii_struct_bases=[],
@@ -23824,6 +24297,8 @@ class CfnKnowledgeBase(
23824
24297
  jsii_struct_bases=[],
23825
24298
  name_mapping={
23826
24299
  "type": "type",
24300
+ "mongo_db_atlas_configuration": "mongoDbAtlasConfiguration",
24301
+ "neptune_analytics_configuration": "neptuneAnalyticsConfiguration",
23827
24302
  "opensearch_serverless_configuration": "opensearchServerlessConfiguration",
23828
24303
  "pinecone_configuration": "pineconeConfiguration",
23829
24304
  "rds_configuration": "rdsConfiguration",
@@ -23834,6 +24309,8 @@ class CfnKnowledgeBase(
23834
24309
  self,
23835
24310
  *,
23836
24311
  type: builtins.str,
24312
+ mongo_db_atlas_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnKnowledgeBase.MongoDbAtlasConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
24313
+ neptune_analytics_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnKnowledgeBase.NeptuneAnalyticsConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
23837
24314
  opensearch_serverless_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnKnowledgeBase.OpenSearchServerlessConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
23838
24315
  pinecone_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnKnowledgeBase.PineconeConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
23839
24316
  rds_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnKnowledgeBase.RdsConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
@@ -23841,6 +24318,8 @@ class CfnKnowledgeBase(
23841
24318
  '''Contains the storage configuration of the knowledge base.
23842
24319
 
23843
24320
  :param type: The vector store service in which the knowledge base is stored.
24321
+ :param mongo_db_atlas_configuration: Contains the storage configuration of the knowledge base in MongoDB Atlas.
24322
+ :param neptune_analytics_configuration: Contains details about the Neptune Analytics configuration of the knowledge base in Amazon Neptune. For more information, see `Create a vector index in Amazon Neptune Analytics. <https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup-neptune.html>`_ .
23844
24323
  :param opensearch_serverless_configuration: Contains the storage configuration of the knowledge base in Amazon OpenSearch Service.
23845
24324
  :param pinecone_configuration: Contains the storage configuration of the knowledge base in Pinecone.
23846
24325
  :param rds_configuration: Contains details about the storage configuration of the knowledge base in Amazon RDS. For more information, see `Create a vector index in Amazon RDS <https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup-rds.html>`_ .
@@ -23858,6 +24337,28 @@ class CfnKnowledgeBase(
23858
24337
  type="type",
23859
24338
 
23860
24339
  # the properties below are optional
24340
+ mongo_db_atlas_configuration=bedrock.CfnKnowledgeBase.MongoDbAtlasConfigurationProperty(
24341
+ collection_name="collectionName",
24342
+ credentials_secret_arn="credentialsSecretArn",
24343
+ database_name="databaseName",
24344
+ endpoint="endpoint",
24345
+ field_mapping=bedrock.CfnKnowledgeBase.MongoDbAtlasFieldMappingProperty(
24346
+ metadata_field="metadataField",
24347
+ text_field="textField",
24348
+ vector_field="vectorField"
24349
+ ),
24350
+ vector_index_name="vectorIndexName",
24351
+
24352
+ # the properties below are optional
24353
+ endpoint_service_name="endpointServiceName"
24354
+ ),
24355
+ neptune_analytics_configuration=bedrock.CfnKnowledgeBase.NeptuneAnalyticsConfigurationProperty(
24356
+ field_mapping=bedrock.CfnKnowledgeBase.NeptuneAnalyticsFieldMappingProperty(
24357
+ metadata_field="metadataField",
24358
+ text_field="textField"
24359
+ ),
24360
+ graph_arn="graphArn"
24361
+ ),
23861
24362
  opensearch_serverless_configuration=bedrock.CfnKnowledgeBase.OpenSearchServerlessConfigurationProperty(
23862
24363
  collection_arn="collectionArn",
23863
24364
  field_mapping=bedrock.CfnKnowledgeBase.OpenSearchServerlessFieldMappingProperty(
@@ -23895,12 +24396,18 @@ class CfnKnowledgeBase(
23895
24396
  if __debug__:
23896
24397
  type_hints = typing.get_type_hints(_typecheckingstub__fa4cccae88d65689f5f3cabcb8393a082af16eb90d7613332a03867c32272af4)
23897
24398
  check_type(argname="argument type", value=type, expected_type=type_hints["type"])
24399
+ check_type(argname="argument mongo_db_atlas_configuration", value=mongo_db_atlas_configuration, expected_type=type_hints["mongo_db_atlas_configuration"])
24400
+ check_type(argname="argument neptune_analytics_configuration", value=neptune_analytics_configuration, expected_type=type_hints["neptune_analytics_configuration"])
23898
24401
  check_type(argname="argument opensearch_serverless_configuration", value=opensearch_serverless_configuration, expected_type=type_hints["opensearch_serverless_configuration"])
23899
24402
  check_type(argname="argument pinecone_configuration", value=pinecone_configuration, expected_type=type_hints["pinecone_configuration"])
23900
24403
  check_type(argname="argument rds_configuration", value=rds_configuration, expected_type=type_hints["rds_configuration"])
23901
24404
  self._values: typing.Dict[builtins.str, typing.Any] = {
23902
24405
  "type": type,
23903
24406
  }
24407
+ if mongo_db_atlas_configuration is not None:
24408
+ self._values["mongo_db_atlas_configuration"] = mongo_db_atlas_configuration
24409
+ if neptune_analytics_configuration is not None:
24410
+ self._values["neptune_analytics_configuration"] = neptune_analytics_configuration
23904
24411
  if opensearch_serverless_configuration is not None:
23905
24412
  self._values["opensearch_serverless_configuration"] = opensearch_serverless_configuration
23906
24413
  if pinecone_configuration is not None:
@@ -23918,6 +24425,30 @@ class CfnKnowledgeBase(
23918
24425
  assert result is not None, "Required property 'type' is missing"
23919
24426
  return typing.cast(builtins.str, result)
23920
24427
 
24428
+ @builtins.property
24429
+ def mongo_db_atlas_configuration(
24430
+ self,
24431
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnKnowledgeBase.MongoDbAtlasConfigurationProperty"]]:
24432
+ '''Contains the storage configuration of the knowledge base in MongoDB Atlas.
24433
+
24434
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-storageconfiguration.html#cfn-bedrock-knowledgebase-storageconfiguration-mongodbatlasconfiguration
24435
+ '''
24436
+ result = self._values.get("mongo_db_atlas_configuration")
24437
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnKnowledgeBase.MongoDbAtlasConfigurationProperty"]], result)
24438
+
24439
+ @builtins.property
24440
+ def neptune_analytics_configuration(
24441
+ self,
24442
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnKnowledgeBase.NeptuneAnalyticsConfigurationProperty"]]:
24443
+ '''Contains details about the Neptune Analytics configuration of the knowledge base in Amazon Neptune.
24444
+
24445
+ For more information, see `Create a vector index in Amazon Neptune Analytics. <https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup-neptune.html>`_ .
24446
+
24447
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-storageconfiguration.html#cfn-bedrock-knowledgebase-storageconfiguration-neptuneanalyticsconfiguration
24448
+ '''
24449
+ result = self._values.get("neptune_analytics_configuration")
24450
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnKnowledgeBase.NeptuneAnalyticsConfigurationProperty"]], result)
24451
+
23921
24452
  @builtins.property
23922
24453
  def opensearch_serverless_configuration(
23923
24454
  self,
@@ -24371,6 +24902,28 @@ class CfnKnowledgeBaseProps:
24371
24902
  type="type",
24372
24903
 
24373
24904
  # the properties below are optional
24905
+ mongo_db_atlas_configuration=bedrock.CfnKnowledgeBase.MongoDbAtlasConfigurationProperty(
24906
+ collection_name="collectionName",
24907
+ credentials_secret_arn="credentialsSecretArn",
24908
+ database_name="databaseName",
24909
+ endpoint="endpoint",
24910
+ field_mapping=bedrock.CfnKnowledgeBase.MongoDbAtlasFieldMappingProperty(
24911
+ metadata_field="metadataField",
24912
+ text_field="textField",
24913
+ vector_field="vectorField"
24914
+ ),
24915
+ vector_index_name="vectorIndexName",
24916
+
24917
+ # the properties below are optional
24918
+ endpoint_service_name="endpointServiceName"
24919
+ ),
24920
+ neptune_analytics_configuration=bedrock.CfnKnowledgeBase.NeptuneAnalyticsConfigurationProperty(
24921
+ field_mapping=bedrock.CfnKnowledgeBase.NeptuneAnalyticsFieldMappingProperty(
24922
+ metadata_field="metadataField",
24923
+ text_field="textField"
24924
+ ),
24925
+ graph_arn="graphArn"
24926
+ ),
24374
24927
  opensearch_serverless_configuration=bedrock.CfnKnowledgeBase.OpenSearchServerlessConfigurationProperty(
24375
24928
  collection_arn="collectionArn",
24376
24929
  field_mapping=bedrock.CfnKnowledgeBase.OpenSearchServerlessFieldMappingProperty(
@@ -24852,11 +25405,9 @@ class CfnPrompt(
24852
25405
  )
24853
25406
  class CachePointBlockProperty:
24854
25407
  def __init__(self, *, type: builtins.str) -> None:
24855
- '''Indicates where a cache checkpoint is located.
25408
+ '''Defines a section of content to be cached for reuse in subsequent API calls.
24856
25409
 
24857
- All information before this checkpoint is cached to be accessed on subsequent requests.
24858
-
24859
- :param type: Indicates that the CachePointBlock is of the default type.
25410
+ :param type: Specifies the type of cache point within the CachePointBlock.
24860
25411
 
24861
25412
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-prompt-cachepointblock.html
24862
25413
  :exampleMetadata: fixture=_generated
@@ -24880,7 +25431,7 @@ class CfnPrompt(
24880
25431
 
24881
25432
  @builtins.property
24882
25433
  def type(self) -> builtins.str:
24883
- '''Indicates that the CachePointBlock is of the default type.
25434
+ '''Specifies the type of cache point within the CachePointBlock.
24884
25435
 
24885
25436
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-prompt-cachepointblock.html#cfn-bedrock-prompt-cachepointblock-type
24886
25437
  '''
@@ -25074,7 +25625,7 @@ class CfnPrompt(
25074
25625
  ) -> None:
25075
25626
  '''A block of content for a message that you pass to, or receive from, a model with the `Converse <https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_Converse.html>`_ or `ConverseStream <https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_ConverseStream.html>`_ API operations.
25076
25627
 
25077
- :param cache_point: Creates a cache checkpoint within a message.
25628
+ :param cache_point: CachePoint to include in the message.
25078
25629
  :param text: Text to include in the message.
25079
25630
 
25080
25631
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-prompt-contentblock.html
@@ -25107,7 +25658,7 @@ class CfnPrompt(
25107
25658
  def cache_point(
25108
25659
  self,
25109
25660
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnPrompt.CachePointBlockProperty"]]:
25110
- '''Creates a cache checkpoint within a message.
25661
+ '''CachePoint to include in the message.
25111
25662
 
25112
25663
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-prompt-contentblock.html#cfn-bedrock-prompt-contentblock-cachepoint
25113
25664
  '''
@@ -26042,7 +26593,7 @@ class CfnPrompt(
26042
26593
  For example, ``{"tool" : {"name" : "Your tool name"}}`` . For more information, see `Call a tool with the Converse API <https://docs.aws.amazon.com/bedrock/latest/userguide/tool-use.html>`_ in the Amazon Bedrock User Guide
26043
26594
  .. epigraph::
26044
26595
 
26045
- This field is only supported by Amazon Nova models and Anthropic Claude 3 models.
26596
+ This field is only supported by Anthropic Claude 3 models.
26046
26597
 
26047
26598
  :param name: The name of the tool that the model must request.
26048
26599
 
@@ -26103,7 +26654,7 @@ class CfnPrompt(
26103
26654
 
26104
26655
  To learn more, see `Using the Converse API <https://docs.aws.amazon.com/bedrock/latest/userguide/conversation-inference-call.html>`_ .
26105
26656
 
26106
- :param cache_point: Creates a cache checkpoint within a tool designation.
26657
+ :param cache_point: CachePoint to include in the system prompt.
26107
26658
  :param text: A system prompt for the model.
26108
26659
 
26109
26660
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-prompt-systemcontentblock.html
@@ -26136,7 +26687,7 @@ class CfnPrompt(
26136
26687
  def cache_point(
26137
26688
  self,
26138
26689
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnPrompt.CachePointBlockProperty"]]:
26139
- '''Creates a cache checkpoint within a tool designation.
26690
+ '''CachePoint to include in the system prompt.
26140
26691
 
26141
26692
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-prompt-systemcontentblock.html#cfn-bedrock-prompt-systemcontentblock-cachepoint
26142
26693
  '''
@@ -26393,7 +26944,7 @@ class CfnPrompt(
26393
26944
 
26394
26945
  :param any: The model must request at least one tool (no text is generated).
26395
26946
  :param auto: (Default). The Model automatically decides if a tool should be called or whether to generate text instead.
26396
- :param tool: The Model must request the specified tool. Only supported by Amazon Nova models and Anthropic Claude 3 models.
26947
+ :param tool: The Model must request the specified tool. Only supported by Anthropic Claude 3 models.
26397
26948
 
26398
26949
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-prompt-toolchoice.html
26399
26950
  :exampleMetadata: fixture=_generated
@@ -26454,7 +27005,7 @@ class CfnPrompt(
26454
27005
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnPrompt.SpecificToolChoiceProperty"]]:
26455
27006
  '''The Model must request the specified tool.
26456
27007
 
26457
- Only supported by Amazon Nova models and Anthropic Claude 3 models.
27008
+ Only supported by Anthropic Claude 3 models.
26458
27009
 
26459
27010
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-prompt-toolchoice.html#cfn-bedrock-prompt-toolchoice-tool
26460
27011
  '''
@@ -26648,7 +27199,7 @@ class CfnPrompt(
26648
27199
 
26649
27200
  For more information, see `Call a tool with the Converse API <https://docs.aws.amazon.com/bedrock/latest/userguide/tool-use.html>`_ in the Amazon Bedrock User Guide.
26650
27201
 
26651
- :param cache_point: Creates a cache checkpoint within a tool designation.
27202
+ :param cache_point: CachePoint to include in the tool configuration.
26652
27203
  :param tool_spec: The specfication for the tool.
26653
27204
 
26654
27205
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-prompt-tool.html
@@ -26691,7 +27242,7 @@ class CfnPrompt(
26691
27242
  def cache_point(
26692
27243
  self,
26693
27244
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnPrompt.CachePointBlockProperty"]]:
26694
- '''Creates a cache checkpoint within a tool designation.
27245
+ '''CachePoint to include in the tool configuration.
26695
27246
 
26696
27247
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-prompt-tool.html#cfn-bedrock-prompt-tool-cachepoint
26697
27248
  '''
@@ -27295,11 +27846,9 @@ class CfnPromptVersion(
27295
27846
  )
27296
27847
  class CachePointBlockProperty:
27297
27848
  def __init__(self, *, type: builtins.str) -> None:
27298
- '''Indicates where a cache checkpoint is located.
27299
-
27300
- All information before this checkpoint is cached to be accessed on subsequent requests.
27849
+ '''Defines a section of content to be cached for reuse in subsequent API calls.
27301
27850
 
27302
- :param type: Indicates that the CachePointBlock is of the default type.
27851
+ :param type: Specifies the type of cache point within the CachePointBlock.
27303
27852
 
27304
27853
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-promptversion-cachepointblock.html
27305
27854
  :exampleMetadata: fixture=_generated
@@ -27323,7 +27872,7 @@ class CfnPromptVersion(
27323
27872
 
27324
27873
  @builtins.property
27325
27874
  def type(self) -> builtins.str:
27326
- '''Indicates that the CachePointBlock is of the default type.
27875
+ '''Specifies the type of cache point within the CachePointBlock.
27327
27876
 
27328
27877
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-promptversion-cachepointblock.html#cfn-bedrock-promptversion-cachepointblock-type
27329
27878
  '''
@@ -27517,7 +28066,7 @@ class CfnPromptVersion(
27517
28066
  ) -> None:
27518
28067
  '''A block of content for a message that you pass to, or receive from, a model with the `Converse <https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_Converse.html>`_ or `ConverseStream <https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_ConverseStream.html>`_ API operations.
27519
28068
 
27520
- :param cache_point: Creates a cache checkpoint within a message.
28069
+ :param cache_point: CachePoint to include in the message.
27521
28070
  :param text: Text to include in the message.
27522
28071
 
27523
28072
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-promptversion-contentblock.html
@@ -27550,7 +28099,7 @@ class CfnPromptVersion(
27550
28099
  def cache_point(
27551
28100
  self,
27552
28101
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnPromptVersion.CachePointBlockProperty"]]:
27553
- '''Creates a cache checkpoint within a message.
28102
+ '''CachePoint to include in the message.
27554
28103
 
27555
28104
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-promptversion-contentblock.html#cfn-bedrock-promptversion-contentblock-cachepoint
27556
28105
  '''
@@ -28475,7 +29024,7 @@ class CfnPromptVersion(
28475
29024
  For example, ``{"tool" : {"name" : "Your tool name"}}`` . For more information, see `Call a tool with the Converse API <https://docs.aws.amazon.com/bedrock/latest/userguide/tool-use.html>`_ in the Amazon Bedrock User Guide
28476
29025
  .. epigraph::
28477
29026
 
28478
- This field is only supported by Amazon Nova models and Anthropic Claude 3 models.
29027
+ This field is only supported by Anthropic Claude 3 models.
28479
29028
 
28480
29029
  :param name: The name of the tool that the model must request.
28481
29030
 
@@ -28536,7 +29085,7 @@ class CfnPromptVersion(
28536
29085
 
28537
29086
  To learn more, see `Using the Converse API <https://docs.aws.amazon.com/bedrock/latest/userguide/conversation-inference-call.html>`_ .
28538
29087
 
28539
- :param cache_point: Creates a cache checkpoint within a tool designation.
29088
+ :param cache_point: CachePoint to include in the system prompt.
28540
29089
  :param text: A system prompt for the model.
28541
29090
 
28542
29091
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-promptversion-systemcontentblock.html
@@ -28569,7 +29118,7 @@ class CfnPromptVersion(
28569
29118
  def cache_point(
28570
29119
  self,
28571
29120
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnPromptVersion.CachePointBlockProperty"]]:
28572
- '''Creates a cache checkpoint within a tool designation.
29121
+ '''CachePoint to include in the system prompt.
28573
29122
 
28574
29123
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-promptversion-systemcontentblock.html#cfn-bedrock-promptversion-systemcontentblock-cachepoint
28575
29124
  '''
@@ -28717,7 +29266,7 @@ class CfnPromptVersion(
28717
29266
 
28718
29267
  :param any: The model must request at least one tool (no text is generated).
28719
29268
  :param auto: (Default). The Model automatically decides if a tool should be called or whether to generate text instead.
28720
- :param tool: The Model must request the specified tool. Only supported by Amazon Nova models and Anthropic Claude 3 models.
29269
+ :param tool: The Model must request the specified tool. Only supported by Anthropic Claude 3 models.
28721
29270
 
28722
29271
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-promptversion-toolchoice.html
28723
29272
  :exampleMetadata: fixture=_generated
@@ -28778,7 +29327,7 @@ class CfnPromptVersion(
28778
29327
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnPromptVersion.SpecificToolChoiceProperty"]]:
28779
29328
  '''The Model must request the specified tool.
28780
29329
 
28781
- Only supported by Amazon Nova models and Anthropic Claude 3 models.
29330
+ Only supported by Anthropic Claude 3 models.
28782
29331
 
28783
29332
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-promptversion-toolchoice.html#cfn-bedrock-promptversion-toolchoice-tool
28784
29333
  '''
@@ -28972,7 +29521,7 @@ class CfnPromptVersion(
28972
29521
 
28973
29522
  For more information, see `Call a tool with the Converse API <https://docs.aws.amazon.com/bedrock/latest/userguide/tool-use.html>`_ in the Amazon Bedrock User Guide.
28974
29523
 
28975
- :param cache_point: Creates a cache checkpoint within a tool designation.
29524
+ :param cache_point: CachePoint to include in the tool configuration.
28976
29525
  :param tool_spec: The specfication for the tool.
28977
29526
 
28978
29527
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-promptversion-tool.html
@@ -29015,7 +29564,7 @@ class CfnPromptVersion(
29015
29564
  def cache_point(
29016
29565
  self,
29017
29566
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnPromptVersion.CachePointBlockProperty"]]:
29018
- '''Creates a cache checkpoint within a tool designation.
29567
+ '''CachePoint to include in the tool configuration.
29019
29568
 
29020
29569
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-promptversion-tool.html#cfn-bedrock-promptversion-tool-cachepoint
29021
29570
  '''
@@ -29416,6 +29965,12 @@ class FoundationModelIdentifier(
29416
29965
  '''Base model "amazon.nova-reel-v1:0".'''
29417
29966
  return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "AMAZON_NOVA_REEL_V1_0"))
29418
29967
 
29968
+ @jsii.python.classproperty
29969
+ @jsii.member(jsii_name="AMAZON_NOVA_REEL_V1_1")
29970
+ def AMAZON_NOVA_REEL_V1_1(cls) -> "FoundationModelIdentifier":
29971
+ '''Base model "amazon.nova-reel-v1:1".'''
29972
+ return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "AMAZON_NOVA_REEL_V1_1"))
29973
+
29419
29974
  @jsii.python.classproperty
29420
29975
  @jsii.member(jsii_name="AMAZON_RERANK_V1")
29421
29976
  def AMAZON_RERANK_V1(cls) -> "FoundationModelIdentifier":
@@ -32451,6 +33006,8 @@ def _typecheckingstub__e931f7f6b53869d60aab0ecda0e56f276982aaf3a1ee755be3434f26d
32451
33006
  input_strength: builtins.str,
32452
33007
  output_strength: builtins.str,
32453
33008
  type: builtins.str,
33009
+ input_modalities: typing.Optional[typing.Sequence[builtins.str]] = None,
33010
+ output_modalities: typing.Optional[typing.Sequence[builtins.str]] = None,
32454
33011
  ) -> None:
32455
33012
  """Type checking stubs"""
32456
33013
  pass
@@ -32703,6 +33260,44 @@ def _typecheckingstub__f2ca26f28cc4cf3a289e62f58643faf6a7d98ea3e55e7ff4f0f77530f
32703
33260
  """Type checking stubs"""
32704
33261
  pass
32705
33262
 
33263
+ def _typecheckingstub__e9aab84c59bbcca474a92e8e14d567a83b0356b2c00acd482f24dc540e68e9eb(
33264
+ *,
33265
+ collection_name: builtins.str,
33266
+ credentials_secret_arn: builtins.str,
33267
+ database_name: builtins.str,
33268
+ endpoint: builtins.str,
33269
+ field_mapping: typing.Union[_IResolvable_da3f097b, typing.Union[CfnKnowledgeBase.MongoDbAtlasFieldMappingProperty, typing.Dict[builtins.str, typing.Any]]],
33270
+ vector_index_name: builtins.str,
33271
+ endpoint_service_name: typing.Optional[builtins.str] = None,
33272
+ ) -> None:
33273
+ """Type checking stubs"""
33274
+ pass
33275
+
33276
+ def _typecheckingstub__f282a9abca5decd69046535588b0259c474f2c6fc5ff2d8dc73f747b8db614e8(
33277
+ *,
33278
+ metadata_field: builtins.str,
33279
+ text_field: builtins.str,
33280
+ vector_field: builtins.str,
33281
+ ) -> None:
33282
+ """Type checking stubs"""
33283
+ pass
33284
+
33285
+ def _typecheckingstub__10a48ae87585ff3681b23b0ef2d755d1b9f2c138e4661f1417b3e939b8fcb5aa(
33286
+ *,
33287
+ field_mapping: typing.Union[_IResolvable_da3f097b, typing.Union[CfnKnowledgeBase.NeptuneAnalyticsFieldMappingProperty, typing.Dict[builtins.str, typing.Any]]],
33288
+ graph_arn: builtins.str,
33289
+ ) -> None:
33290
+ """Type checking stubs"""
33291
+ pass
33292
+
33293
+ def _typecheckingstub__149760cb1c54680bfaffb4cbd878a103bd98758e30835dd86bdc5ae4a53edc8b(
33294
+ *,
33295
+ metadata_field: builtins.str,
33296
+ text_field: builtins.str,
33297
+ ) -> None:
33298
+ """Type checking stubs"""
33299
+ pass
33300
+
32706
33301
  def _typecheckingstub__ebf20de0b58d579ecbd2aeccf094bb6c29ae3627a2b4628485b0235e33626d24(
32707
33302
  *,
32708
33303
  collection_arn: builtins.str,
@@ -32887,6 +33482,8 @@ def _typecheckingstub__859a2388b8dce18b70af579c281f226f3fd2e03785d55377afa53e160
32887
33482
  def _typecheckingstub__fa4cccae88d65689f5f3cabcb8393a082af16eb90d7613332a03867c32272af4(
32888
33483
  *,
32889
33484
  type: builtins.str,
33485
+ mongo_db_atlas_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnKnowledgeBase.MongoDbAtlasConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
33486
+ neptune_analytics_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnKnowledgeBase.NeptuneAnalyticsConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
32890
33487
  opensearch_serverless_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnKnowledgeBase.OpenSearchServerlessConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
32891
33488
  pinecone_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnKnowledgeBase.PineconeConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
32892
33489
  rds_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnKnowledgeBase.RdsConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,