aws-cdk-lib 2.189.0__py3-none-any.whl → 2.190.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.
- aws_cdk/__init__.py +16 -2
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.189.0.jsii.tgz → aws-cdk-lib@2.190.0.jsii.tgz} +0 -0
- aws_cdk/aws_acmpca/__init__.py +6 -6
- aws_cdk/aws_apigatewayv2/__init__.py +374 -6
- aws_cdk/aws_applicationautoscaling/__init__.py +16 -10
- aws_cdk/aws_applicationsignals/__init__.py +204 -31
- aws_cdk/aws_backup/__init__.py +0 -41
- aws_cdk/aws_batch/__init__.py +215 -0
- aws_cdk/aws_bedrock/__init__.py +287 -0
- aws_cdk/aws_cleanrooms/__init__.py +1392 -78
- aws_cdk/aws_cloudfront/__init__.py +1 -0
- aws_cdk/aws_cloudtrail/__init__.py +24 -26
- aws_cdk/aws_codebuild/__init__.py +59 -7
- aws_cdk/aws_dms/__init__.py +43 -0
- aws_cdk/aws_ec2/__init__.py +364 -30
- aws_cdk/aws_ecs/__init__.py +36 -5
- aws_cdk/aws_eks/__init__.py +2 -100
- aws_cdk/aws_elasticache/__init__.py +6 -11
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +341 -0
- aws_cdk/aws_events/__init__.py +67 -13
- aws_cdk/aws_fsx/__init__.py +9 -21
- aws_cdk/aws_iam/__init__.py +1 -1
- aws_cdk/aws_iot/__init__.py +6 -6
- aws_cdk/aws_kafkaconnect/__init__.py +2 -2
- aws_cdk/aws_kinesis/__init__.py +44 -0
- aws_cdk/aws_lex/__init__.py +615 -39
- aws_cdk/aws_location/__init__.py +4 -4
- aws_cdk/aws_macie/__init__.py +14 -3
- aws_cdk/aws_memorydb/__init__.py +87 -0
- aws_cdk/aws_msk/__init__.py +226 -127
- aws_cdk/aws_neptune/__init__.py +0 -8
- aws_cdk/aws_opensearchservice/__init__.py +64 -56
- aws_cdk/aws_paymentcryptography/__init__.py +41 -0
- aws_cdk/aws_qbusiness/__init__.py +175 -3
- aws_cdk/aws_quicksight/__init__.py +393 -0
- aws_cdk/aws_rds/__init__.py +113 -120
- aws_cdk/aws_redshiftserverless/__init__.py +4 -14
- aws_cdk/aws_route53resolver/__init__.py +60 -9
- aws_cdk/aws_s3/__init__.py +34 -1
- aws_cdk/aws_s3_deployment/__init__.py +202 -5
- aws_cdk/aws_sagemaker/__init__.py +40 -40
- aws_cdk/aws_ssmquicksetup/__init__.py +3 -3
- aws_cdk/aws_stepfunctions/__init__.py +720 -45
- aws_cdk/aws_transfer/__init__.py +55 -2
- aws_cdk/custom_resources/__init__.py +5 -5
- aws_cdk/pipelines/__init__.py +1 -2
- {aws_cdk_lib-2.189.0.dist-info → aws_cdk_lib-2.190.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.189.0.dist-info → aws_cdk_lib-2.190.0.dist-info}/RECORD +53 -53
- {aws_cdk_lib-2.189.0.dist-info → aws_cdk_lib-2.190.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.189.0.dist-info → aws_cdk_lib-2.190.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.189.0.dist-info → aws_cdk_lib-2.190.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.189.0.dist-info → aws_cdk_lib-2.190.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_bedrock/__init__.py
CHANGED
|
@@ -21152,6 +21152,16 @@ class CfnKnowledgeBase(
|
|
|
21152
21152
|
),
|
|
21153
21153
|
graph_arn="graphArn"
|
|
21154
21154
|
),
|
|
21155
|
+
opensearch_managed_cluster_configuration=bedrock.CfnKnowledgeBase.OpenSearchManagedClusterConfigurationProperty(
|
|
21156
|
+
domain_arn="domainArn",
|
|
21157
|
+
domain_endpoint="domainEndpoint",
|
|
21158
|
+
field_mapping=bedrock.CfnKnowledgeBase.OpenSearchManagedClusterFieldMappingProperty(
|
|
21159
|
+
metadata_field="metadataField",
|
|
21160
|
+
text_field="textField",
|
|
21161
|
+
vector_field="vectorField"
|
|
21162
|
+
),
|
|
21163
|
+
vector_index_name="vectorIndexName"
|
|
21164
|
+
),
|
|
21155
21165
|
opensearch_serverless_configuration=bedrock.CfnKnowledgeBase.OpenSearchServerlessConfigurationProperty(
|
|
21156
21166
|
collection_arn="collectionArn",
|
|
21157
21167
|
field_mapping=bedrock.CfnKnowledgeBase.OpenSearchServerlessFieldMappingProperty(
|
|
@@ -22284,6 +22294,212 @@ class CfnKnowledgeBase(
|
|
|
22284
22294
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
22285
22295
|
)
|
|
22286
22296
|
|
|
22297
|
+
@jsii.data_type(
|
|
22298
|
+
jsii_type="aws-cdk-lib.aws_bedrock.CfnKnowledgeBase.OpenSearchManagedClusterConfigurationProperty",
|
|
22299
|
+
jsii_struct_bases=[],
|
|
22300
|
+
name_mapping={
|
|
22301
|
+
"domain_arn": "domainArn",
|
|
22302
|
+
"domain_endpoint": "domainEndpoint",
|
|
22303
|
+
"field_mapping": "fieldMapping",
|
|
22304
|
+
"vector_index_name": "vectorIndexName",
|
|
22305
|
+
},
|
|
22306
|
+
)
|
|
22307
|
+
class OpenSearchManagedClusterConfigurationProperty:
|
|
22308
|
+
def __init__(
|
|
22309
|
+
self,
|
|
22310
|
+
*,
|
|
22311
|
+
domain_arn: builtins.str,
|
|
22312
|
+
domain_endpoint: builtins.str,
|
|
22313
|
+
field_mapping: typing.Union[_IResolvable_da3f097b, typing.Union["CfnKnowledgeBase.OpenSearchManagedClusterFieldMappingProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
22314
|
+
vector_index_name: builtins.str,
|
|
22315
|
+
) -> None:
|
|
22316
|
+
'''Contains details about the Managed Cluster configuration of the knowledge base in Amazon OpenSearch Service.
|
|
22317
|
+
|
|
22318
|
+
For more information, see `Create a vector index in OpenSearch Managed Cluster <https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup-osm.html>`_ .
|
|
22319
|
+
|
|
22320
|
+
:param domain_arn: The Amazon Resource Name (ARN) of the OpenSearch domain.
|
|
22321
|
+
:param domain_endpoint: The endpoint URL the OpenSearch domain.
|
|
22322
|
+
:param field_mapping: Contains the names of the fields to which to map information about the vector store.
|
|
22323
|
+
:param vector_index_name: The name of the vector store.
|
|
22324
|
+
|
|
22325
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-opensearchmanagedclusterconfiguration.html
|
|
22326
|
+
:exampleMetadata: fixture=_generated
|
|
22327
|
+
|
|
22328
|
+
Example::
|
|
22329
|
+
|
|
22330
|
+
# The code below shows an example of how to instantiate this type.
|
|
22331
|
+
# The values are placeholders you should change.
|
|
22332
|
+
from aws_cdk import aws_bedrock as bedrock
|
|
22333
|
+
|
|
22334
|
+
open_search_managed_cluster_configuration_property = bedrock.CfnKnowledgeBase.OpenSearchManagedClusterConfigurationProperty(
|
|
22335
|
+
domain_arn="domainArn",
|
|
22336
|
+
domain_endpoint="domainEndpoint",
|
|
22337
|
+
field_mapping=bedrock.CfnKnowledgeBase.OpenSearchManagedClusterFieldMappingProperty(
|
|
22338
|
+
metadata_field="metadataField",
|
|
22339
|
+
text_field="textField",
|
|
22340
|
+
vector_field="vectorField"
|
|
22341
|
+
),
|
|
22342
|
+
vector_index_name="vectorIndexName"
|
|
22343
|
+
)
|
|
22344
|
+
'''
|
|
22345
|
+
if __debug__:
|
|
22346
|
+
type_hints = typing.get_type_hints(_typecheckingstub__77ab2dae3099f1c889647634c63a030007003a0498f422d8e929fff3bf4b4f5f)
|
|
22347
|
+
check_type(argname="argument domain_arn", value=domain_arn, expected_type=type_hints["domain_arn"])
|
|
22348
|
+
check_type(argname="argument domain_endpoint", value=domain_endpoint, expected_type=type_hints["domain_endpoint"])
|
|
22349
|
+
check_type(argname="argument field_mapping", value=field_mapping, expected_type=type_hints["field_mapping"])
|
|
22350
|
+
check_type(argname="argument vector_index_name", value=vector_index_name, expected_type=type_hints["vector_index_name"])
|
|
22351
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
22352
|
+
"domain_arn": domain_arn,
|
|
22353
|
+
"domain_endpoint": domain_endpoint,
|
|
22354
|
+
"field_mapping": field_mapping,
|
|
22355
|
+
"vector_index_name": vector_index_name,
|
|
22356
|
+
}
|
|
22357
|
+
|
|
22358
|
+
@builtins.property
|
|
22359
|
+
def domain_arn(self) -> builtins.str:
|
|
22360
|
+
'''The Amazon Resource Name (ARN) of the OpenSearch domain.
|
|
22361
|
+
|
|
22362
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-opensearchmanagedclusterconfiguration.html#cfn-bedrock-knowledgebase-opensearchmanagedclusterconfiguration-domainarn
|
|
22363
|
+
'''
|
|
22364
|
+
result = self._values.get("domain_arn")
|
|
22365
|
+
assert result is not None, "Required property 'domain_arn' is missing"
|
|
22366
|
+
return typing.cast(builtins.str, result)
|
|
22367
|
+
|
|
22368
|
+
@builtins.property
|
|
22369
|
+
def domain_endpoint(self) -> builtins.str:
|
|
22370
|
+
'''The endpoint URL the OpenSearch domain.
|
|
22371
|
+
|
|
22372
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-opensearchmanagedclusterconfiguration.html#cfn-bedrock-knowledgebase-opensearchmanagedclusterconfiguration-domainendpoint
|
|
22373
|
+
'''
|
|
22374
|
+
result = self._values.get("domain_endpoint")
|
|
22375
|
+
assert result is not None, "Required property 'domain_endpoint' is missing"
|
|
22376
|
+
return typing.cast(builtins.str, result)
|
|
22377
|
+
|
|
22378
|
+
@builtins.property
|
|
22379
|
+
def field_mapping(
|
|
22380
|
+
self,
|
|
22381
|
+
) -> typing.Union[_IResolvable_da3f097b, "CfnKnowledgeBase.OpenSearchManagedClusterFieldMappingProperty"]:
|
|
22382
|
+
'''Contains the names of the fields to which to map information about the vector store.
|
|
22383
|
+
|
|
22384
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-opensearchmanagedclusterconfiguration.html#cfn-bedrock-knowledgebase-opensearchmanagedclusterconfiguration-fieldmapping
|
|
22385
|
+
'''
|
|
22386
|
+
result = self._values.get("field_mapping")
|
|
22387
|
+
assert result is not None, "Required property 'field_mapping' is missing"
|
|
22388
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnKnowledgeBase.OpenSearchManagedClusterFieldMappingProperty"], result)
|
|
22389
|
+
|
|
22390
|
+
@builtins.property
|
|
22391
|
+
def vector_index_name(self) -> builtins.str:
|
|
22392
|
+
'''The name of the vector store.
|
|
22393
|
+
|
|
22394
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-opensearchmanagedclusterconfiguration.html#cfn-bedrock-knowledgebase-opensearchmanagedclusterconfiguration-vectorindexname
|
|
22395
|
+
'''
|
|
22396
|
+
result = self._values.get("vector_index_name")
|
|
22397
|
+
assert result is not None, "Required property 'vector_index_name' is missing"
|
|
22398
|
+
return typing.cast(builtins.str, result)
|
|
22399
|
+
|
|
22400
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
22401
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
22402
|
+
|
|
22403
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
22404
|
+
return not (rhs == self)
|
|
22405
|
+
|
|
22406
|
+
def __repr__(self) -> str:
|
|
22407
|
+
return "OpenSearchManagedClusterConfigurationProperty(%s)" % ", ".join(
|
|
22408
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
22409
|
+
)
|
|
22410
|
+
|
|
22411
|
+
@jsii.data_type(
|
|
22412
|
+
jsii_type="aws-cdk-lib.aws_bedrock.CfnKnowledgeBase.OpenSearchManagedClusterFieldMappingProperty",
|
|
22413
|
+
jsii_struct_bases=[],
|
|
22414
|
+
name_mapping={
|
|
22415
|
+
"metadata_field": "metadataField",
|
|
22416
|
+
"text_field": "textField",
|
|
22417
|
+
"vector_field": "vectorField",
|
|
22418
|
+
},
|
|
22419
|
+
)
|
|
22420
|
+
class OpenSearchManagedClusterFieldMappingProperty:
|
|
22421
|
+
def __init__(
|
|
22422
|
+
self,
|
|
22423
|
+
*,
|
|
22424
|
+
metadata_field: builtins.str,
|
|
22425
|
+
text_field: builtins.str,
|
|
22426
|
+
vector_field: builtins.str,
|
|
22427
|
+
) -> None:
|
|
22428
|
+
'''Contains the names of the fields to which to map information about the vector store.
|
|
22429
|
+
|
|
22430
|
+
:param metadata_field: The name of the field in which Amazon Bedrock stores metadata about the vector store.
|
|
22431
|
+
: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.
|
|
22432
|
+
:param vector_field: The name of the field in which Amazon Bedrock stores the vector embeddings for your data sources.
|
|
22433
|
+
|
|
22434
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-opensearchmanagedclusterfieldmapping.html
|
|
22435
|
+
:exampleMetadata: fixture=_generated
|
|
22436
|
+
|
|
22437
|
+
Example::
|
|
22438
|
+
|
|
22439
|
+
# The code below shows an example of how to instantiate this type.
|
|
22440
|
+
# The values are placeholders you should change.
|
|
22441
|
+
from aws_cdk import aws_bedrock as bedrock
|
|
22442
|
+
|
|
22443
|
+
open_search_managed_cluster_field_mapping_property = bedrock.CfnKnowledgeBase.OpenSearchManagedClusterFieldMappingProperty(
|
|
22444
|
+
metadata_field="metadataField",
|
|
22445
|
+
text_field="textField",
|
|
22446
|
+
vector_field="vectorField"
|
|
22447
|
+
)
|
|
22448
|
+
'''
|
|
22449
|
+
if __debug__:
|
|
22450
|
+
type_hints = typing.get_type_hints(_typecheckingstub__fd4510ecacbaa448fcef8e2957d1a39c4ddd45ead28ad6a622eb470a3dc834b5)
|
|
22451
|
+
check_type(argname="argument metadata_field", value=metadata_field, expected_type=type_hints["metadata_field"])
|
|
22452
|
+
check_type(argname="argument text_field", value=text_field, expected_type=type_hints["text_field"])
|
|
22453
|
+
check_type(argname="argument vector_field", value=vector_field, expected_type=type_hints["vector_field"])
|
|
22454
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
22455
|
+
"metadata_field": metadata_field,
|
|
22456
|
+
"text_field": text_field,
|
|
22457
|
+
"vector_field": vector_field,
|
|
22458
|
+
}
|
|
22459
|
+
|
|
22460
|
+
@builtins.property
|
|
22461
|
+
def metadata_field(self) -> builtins.str:
|
|
22462
|
+
'''The name of the field in which Amazon Bedrock stores metadata about the vector store.
|
|
22463
|
+
|
|
22464
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-opensearchmanagedclusterfieldmapping.html#cfn-bedrock-knowledgebase-opensearchmanagedclusterfieldmapping-metadatafield
|
|
22465
|
+
'''
|
|
22466
|
+
result = self._values.get("metadata_field")
|
|
22467
|
+
assert result is not None, "Required property 'metadata_field' is missing"
|
|
22468
|
+
return typing.cast(builtins.str, result)
|
|
22469
|
+
|
|
22470
|
+
@builtins.property
|
|
22471
|
+
def text_field(self) -> builtins.str:
|
|
22472
|
+
'''The name of the field in which Amazon Bedrock stores the raw text from your data.
|
|
22473
|
+
|
|
22474
|
+
The text is split according to the chunking strategy you choose.
|
|
22475
|
+
|
|
22476
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-opensearchmanagedclusterfieldmapping.html#cfn-bedrock-knowledgebase-opensearchmanagedclusterfieldmapping-textfield
|
|
22477
|
+
'''
|
|
22478
|
+
result = self._values.get("text_field")
|
|
22479
|
+
assert result is not None, "Required property 'text_field' is missing"
|
|
22480
|
+
return typing.cast(builtins.str, result)
|
|
22481
|
+
|
|
22482
|
+
@builtins.property
|
|
22483
|
+
def vector_field(self) -> builtins.str:
|
|
22484
|
+
'''The name of the field in which Amazon Bedrock stores the vector embeddings for your data sources.
|
|
22485
|
+
|
|
22486
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-opensearchmanagedclusterfieldmapping.html#cfn-bedrock-knowledgebase-opensearchmanagedclusterfieldmapping-vectorfield
|
|
22487
|
+
'''
|
|
22488
|
+
result = self._values.get("vector_field")
|
|
22489
|
+
assert result is not None, "Required property 'vector_field' is missing"
|
|
22490
|
+
return typing.cast(builtins.str, result)
|
|
22491
|
+
|
|
22492
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
22493
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
22494
|
+
|
|
22495
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
22496
|
+
return not (rhs == self)
|
|
22497
|
+
|
|
22498
|
+
def __repr__(self) -> str:
|
|
22499
|
+
return "OpenSearchManagedClusterFieldMappingProperty(%s)" % ", ".join(
|
|
22500
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
22501
|
+
)
|
|
22502
|
+
|
|
22287
22503
|
@jsii.data_type(
|
|
22288
22504
|
jsii_type="aws-cdk-lib.aws_bedrock.CfnKnowledgeBase.OpenSearchServerlessConfigurationProperty",
|
|
22289
22505
|
jsii_struct_bases=[],
|
|
@@ -24299,6 +24515,7 @@ class CfnKnowledgeBase(
|
|
|
24299
24515
|
"type": "type",
|
|
24300
24516
|
"mongo_db_atlas_configuration": "mongoDbAtlasConfiguration",
|
|
24301
24517
|
"neptune_analytics_configuration": "neptuneAnalyticsConfiguration",
|
|
24518
|
+
"opensearch_managed_cluster_configuration": "opensearchManagedClusterConfiguration",
|
|
24302
24519
|
"opensearch_serverless_configuration": "opensearchServerlessConfiguration",
|
|
24303
24520
|
"pinecone_configuration": "pineconeConfiguration",
|
|
24304
24521
|
"rds_configuration": "rdsConfiguration",
|
|
@@ -24311,6 +24528,7 @@ class CfnKnowledgeBase(
|
|
|
24311
24528
|
type: builtins.str,
|
|
24312
24529
|
mongo_db_atlas_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnKnowledgeBase.MongoDbAtlasConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
24313
24530
|
neptune_analytics_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnKnowledgeBase.NeptuneAnalyticsConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
24531
|
+
opensearch_managed_cluster_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnKnowledgeBase.OpenSearchManagedClusterConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
24314
24532
|
opensearch_serverless_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnKnowledgeBase.OpenSearchServerlessConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
24315
24533
|
pinecone_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnKnowledgeBase.PineconeConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
24316
24534
|
rds_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnKnowledgeBase.RdsConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -24320,6 +24538,7 @@ class CfnKnowledgeBase(
|
|
|
24320
24538
|
:param type: The vector store service in which the knowledge base is stored.
|
|
24321
24539
|
:param mongo_db_atlas_configuration: Contains the storage configuration of the knowledge base in MongoDB Atlas.
|
|
24322
24540
|
: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>`_ .
|
|
24541
|
+
:param opensearch_managed_cluster_configuration: Contains details about the storage configuration of the knowledge base in OpenSearch Managed Cluster. For more information, see `Create a vector index in Amazon OpenSearch Service <https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup-osm.html>`_ .
|
|
24323
24542
|
:param opensearch_serverless_configuration: Contains the storage configuration of the knowledge base in Amazon OpenSearch Service.
|
|
24324
24543
|
:param pinecone_configuration: Contains the storage configuration of the knowledge base in Pinecone.
|
|
24325
24544
|
: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>`_ .
|
|
@@ -24359,6 +24578,16 @@ class CfnKnowledgeBase(
|
|
|
24359
24578
|
),
|
|
24360
24579
|
graph_arn="graphArn"
|
|
24361
24580
|
),
|
|
24581
|
+
opensearch_managed_cluster_configuration=bedrock.CfnKnowledgeBase.OpenSearchManagedClusterConfigurationProperty(
|
|
24582
|
+
domain_arn="domainArn",
|
|
24583
|
+
domain_endpoint="domainEndpoint",
|
|
24584
|
+
field_mapping=bedrock.CfnKnowledgeBase.OpenSearchManagedClusterFieldMappingProperty(
|
|
24585
|
+
metadata_field="metadataField",
|
|
24586
|
+
text_field="textField",
|
|
24587
|
+
vector_field="vectorField"
|
|
24588
|
+
),
|
|
24589
|
+
vector_index_name="vectorIndexName"
|
|
24590
|
+
),
|
|
24362
24591
|
opensearch_serverless_configuration=bedrock.CfnKnowledgeBase.OpenSearchServerlessConfigurationProperty(
|
|
24363
24592
|
collection_arn="collectionArn",
|
|
24364
24593
|
field_mapping=bedrock.CfnKnowledgeBase.OpenSearchServerlessFieldMappingProperty(
|
|
@@ -24398,6 +24627,7 @@ class CfnKnowledgeBase(
|
|
|
24398
24627
|
check_type(argname="argument type", value=type, expected_type=type_hints["type"])
|
|
24399
24628
|
check_type(argname="argument mongo_db_atlas_configuration", value=mongo_db_atlas_configuration, expected_type=type_hints["mongo_db_atlas_configuration"])
|
|
24400
24629
|
check_type(argname="argument neptune_analytics_configuration", value=neptune_analytics_configuration, expected_type=type_hints["neptune_analytics_configuration"])
|
|
24630
|
+
check_type(argname="argument opensearch_managed_cluster_configuration", value=opensearch_managed_cluster_configuration, expected_type=type_hints["opensearch_managed_cluster_configuration"])
|
|
24401
24631
|
check_type(argname="argument opensearch_serverless_configuration", value=opensearch_serverless_configuration, expected_type=type_hints["opensearch_serverless_configuration"])
|
|
24402
24632
|
check_type(argname="argument pinecone_configuration", value=pinecone_configuration, expected_type=type_hints["pinecone_configuration"])
|
|
24403
24633
|
check_type(argname="argument rds_configuration", value=rds_configuration, expected_type=type_hints["rds_configuration"])
|
|
@@ -24408,6 +24638,8 @@ class CfnKnowledgeBase(
|
|
|
24408
24638
|
self._values["mongo_db_atlas_configuration"] = mongo_db_atlas_configuration
|
|
24409
24639
|
if neptune_analytics_configuration is not None:
|
|
24410
24640
|
self._values["neptune_analytics_configuration"] = neptune_analytics_configuration
|
|
24641
|
+
if opensearch_managed_cluster_configuration is not None:
|
|
24642
|
+
self._values["opensearch_managed_cluster_configuration"] = opensearch_managed_cluster_configuration
|
|
24411
24643
|
if opensearch_serverless_configuration is not None:
|
|
24412
24644
|
self._values["opensearch_serverless_configuration"] = opensearch_serverless_configuration
|
|
24413
24645
|
if pinecone_configuration is not None:
|
|
@@ -24449,6 +24681,19 @@ class CfnKnowledgeBase(
|
|
|
24449
24681
|
result = self._values.get("neptune_analytics_configuration")
|
|
24450
24682
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnKnowledgeBase.NeptuneAnalyticsConfigurationProperty"]], result)
|
|
24451
24683
|
|
|
24684
|
+
@builtins.property
|
|
24685
|
+
def opensearch_managed_cluster_configuration(
|
|
24686
|
+
self,
|
|
24687
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnKnowledgeBase.OpenSearchManagedClusterConfigurationProperty"]]:
|
|
24688
|
+
'''Contains details about the storage configuration of the knowledge base in OpenSearch Managed Cluster.
|
|
24689
|
+
|
|
24690
|
+
For more information, see `Create a vector index in Amazon OpenSearch Service <https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup-osm.html>`_ .
|
|
24691
|
+
|
|
24692
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-storageconfiguration.html#cfn-bedrock-knowledgebase-storageconfiguration-opensearchmanagedclusterconfiguration
|
|
24693
|
+
'''
|
|
24694
|
+
result = self._values.get("opensearch_managed_cluster_configuration")
|
|
24695
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnKnowledgeBase.OpenSearchManagedClusterConfigurationProperty"]], result)
|
|
24696
|
+
|
|
24452
24697
|
@builtins.property
|
|
24453
24698
|
def opensearch_serverless_configuration(
|
|
24454
24699
|
self,
|
|
@@ -24924,6 +25169,16 @@ class CfnKnowledgeBaseProps:
|
|
|
24924
25169
|
),
|
|
24925
25170
|
graph_arn="graphArn"
|
|
24926
25171
|
),
|
|
25172
|
+
opensearch_managed_cluster_configuration=bedrock.CfnKnowledgeBase.OpenSearchManagedClusterConfigurationProperty(
|
|
25173
|
+
domain_arn="domainArn",
|
|
25174
|
+
domain_endpoint="domainEndpoint",
|
|
25175
|
+
field_mapping=bedrock.CfnKnowledgeBase.OpenSearchManagedClusterFieldMappingProperty(
|
|
25176
|
+
metadata_field="metadataField",
|
|
25177
|
+
text_field="textField",
|
|
25178
|
+
vector_field="vectorField"
|
|
25179
|
+
),
|
|
25180
|
+
vector_index_name="vectorIndexName"
|
|
25181
|
+
),
|
|
24927
25182
|
opensearch_serverless_configuration=bedrock.CfnKnowledgeBase.OpenSearchServerlessConfigurationProperty(
|
|
24928
25183
|
collection_arn="collectionArn",
|
|
24929
25184
|
field_mapping=bedrock.CfnKnowledgeBase.OpenSearchServerlessFieldMappingProperty(
|
|
@@ -29971,6 +30226,12 @@ class FoundationModelIdentifier(
|
|
|
29971
30226
|
'''Base model "amazon.nova-reel-v1:1".'''
|
|
29972
30227
|
return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "AMAZON_NOVA_REEL_V1_1"))
|
|
29973
30228
|
|
|
30229
|
+
@jsii.python.classproperty
|
|
30230
|
+
@jsii.member(jsii_name="AMAZON_NOVA_SONIC_V1_0")
|
|
30231
|
+
def AMAZON_NOVA_SONIC_V1_0(cls) -> "FoundationModelIdentifier":
|
|
30232
|
+
'''Base model "amazon.nova-sonic-v1:0".'''
|
|
30233
|
+
return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "AMAZON_NOVA_SONIC_V1_0"))
|
|
30234
|
+
|
|
29974
30235
|
@jsii.python.classproperty
|
|
29975
30236
|
@jsii.member(jsii_name="AMAZON_RERANK_V1")
|
|
29976
30237
|
def AMAZON_RERANK_V1(cls) -> "FoundationModelIdentifier":
|
|
@@ -30578,6 +30839,12 @@ class FoundationModelIdentifier(
|
|
|
30578
30839
|
'''Base model "mistral.mixtral-8x7b-instruct-v0:1".'''
|
|
30579
30840
|
return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "MISTRAL_MIXTRAL_8X7B_INSTRUCT_V0_1"))
|
|
30580
30841
|
|
|
30842
|
+
@jsii.python.classproperty
|
|
30843
|
+
@jsii.member(jsii_name="MISTRAL_PIXTRAL_LARGE_2502_V1_0")
|
|
30844
|
+
def MISTRAL_PIXTRAL_LARGE_2502_V1_0(cls) -> "FoundationModelIdentifier":
|
|
30845
|
+
'''Base model "mistral.pixtral-large-2502-v1:0".'''
|
|
30846
|
+
return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "MISTRAL_PIXTRAL_LARGE_2502_V1_0"))
|
|
30847
|
+
|
|
30581
30848
|
@jsii.python.classproperty
|
|
30582
30849
|
@jsii.member(jsii_name="MISTRAL_SMALL_V0_1")
|
|
30583
30850
|
def MISTRAL_SMALL_V0_1(cls) -> "FoundationModelIdentifier":
|
|
@@ -33298,6 +33565,25 @@ def _typecheckingstub__149760cb1c54680bfaffb4cbd878a103bd98758e30835dd86bdc5ae4a
|
|
|
33298
33565
|
"""Type checking stubs"""
|
|
33299
33566
|
pass
|
|
33300
33567
|
|
|
33568
|
+
def _typecheckingstub__77ab2dae3099f1c889647634c63a030007003a0498f422d8e929fff3bf4b4f5f(
|
|
33569
|
+
*,
|
|
33570
|
+
domain_arn: builtins.str,
|
|
33571
|
+
domain_endpoint: builtins.str,
|
|
33572
|
+
field_mapping: typing.Union[_IResolvable_da3f097b, typing.Union[CfnKnowledgeBase.OpenSearchManagedClusterFieldMappingProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
33573
|
+
vector_index_name: builtins.str,
|
|
33574
|
+
) -> None:
|
|
33575
|
+
"""Type checking stubs"""
|
|
33576
|
+
pass
|
|
33577
|
+
|
|
33578
|
+
def _typecheckingstub__fd4510ecacbaa448fcef8e2957d1a39c4ddd45ead28ad6a622eb470a3dc834b5(
|
|
33579
|
+
*,
|
|
33580
|
+
metadata_field: builtins.str,
|
|
33581
|
+
text_field: builtins.str,
|
|
33582
|
+
vector_field: builtins.str,
|
|
33583
|
+
) -> None:
|
|
33584
|
+
"""Type checking stubs"""
|
|
33585
|
+
pass
|
|
33586
|
+
|
|
33301
33587
|
def _typecheckingstub__ebf20de0b58d579ecbd2aeccf094bb6c29ae3627a2b4628485b0235e33626d24(
|
|
33302
33588
|
*,
|
|
33303
33589
|
collection_arn: builtins.str,
|
|
@@ -33484,6 +33770,7 @@ def _typecheckingstub__fa4cccae88d65689f5f3cabcb8393a082af16eb90d7613332a03867c3
|
|
|
33484
33770
|
type: builtins.str,
|
|
33485
33771
|
mongo_db_atlas_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnKnowledgeBase.MongoDbAtlasConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
33486
33772
|
neptune_analytics_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnKnowledgeBase.NeptuneAnalyticsConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
33773
|
+
opensearch_managed_cluster_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnKnowledgeBase.OpenSearchManagedClusterConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
33487
33774
|
opensearch_serverless_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnKnowledgeBase.OpenSearchServerlessConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
33488
33775
|
pinecone_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnKnowledgeBase.PineconeConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
33489
33776
|
rds_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnKnowledgeBase.RdsConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|