pulumi-aws 7.14.0__py3-none-any.whl → 7.15.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.
Files changed (44) hide show
  1. pulumi_aws/__init__.py +8 -0
  2. pulumi_aws/bedrock/_inputs.py +1894 -267
  3. pulumi_aws/bedrock/agent_knowledge_base.py +253 -17
  4. pulumi_aws/bedrock/outputs.py +1571 -199
  5. pulumi_aws/cloudfront/__init__.py +1 -0
  6. pulumi_aws/cloudfront/_inputs.py +199 -0
  7. pulumi_aws/cloudfront/outputs.py +134 -0
  8. pulumi_aws/cloudfront/trust_store.py +497 -0
  9. pulumi_aws/codebuild/_inputs.py +20 -0
  10. pulumi_aws/codebuild/outputs.py +29 -0
  11. pulumi_aws/config/__init__.pyi +5 -0
  12. pulumi_aws/config/vars.py +7 -0
  13. pulumi_aws/datazone/domain.py +28 -0
  14. pulumi_aws/datazone/get_domain.py +15 -1
  15. pulumi_aws/ecs/_inputs.py +6 -6
  16. pulumi_aws/ecs/cluster.py +2 -2
  17. pulumi_aws/ecs/outputs.py +4 -4
  18. pulumi_aws/elasticache/serverless_cache.py +7 -7
  19. pulumi_aws/lambda_/function.py +31 -12
  20. pulumi_aws/networkmanager/_inputs.py +650 -23
  21. pulumi_aws/networkmanager/connect_attachment.py +47 -0
  22. pulumi_aws/networkmanager/connect_peer.py +7 -7
  23. pulumi_aws/networkmanager/dx_gateway_attachment.py +47 -0
  24. pulumi_aws/networkmanager/get_core_network_policy_document.py +37 -1
  25. pulumi_aws/networkmanager/outputs.py +379 -14
  26. pulumi_aws/networkmanager/site_to_site_vpn_attachment.py +47 -0
  27. pulumi_aws/networkmanager/transit_gateway_route_table_attachment.py +47 -0
  28. pulumi_aws/networkmanager/vpc_attachment.py +47 -0
  29. pulumi_aws/odb/get_cloud_vm_cluster.py +23 -1
  30. pulumi_aws/organizations/__init__.py +1 -0
  31. pulumi_aws/organizations/get_account.py +231 -0
  32. pulumi_aws/provider.py +21 -1
  33. pulumi_aws/pulumi-plugin.json +1 -1
  34. pulumi_aws/route53/get_resolver_endpoint.py +29 -1
  35. pulumi_aws/route53/resolver_endpoint.py +97 -3
  36. pulumi_aws/s3/_inputs.py +7 -0
  37. pulumi_aws/s3/outputs.py +4 -0
  38. pulumi_aws/vpclattice/_inputs.py +54 -0
  39. pulumi_aws/vpclattice/outputs.py +51 -0
  40. pulumi_aws/vpclattice/service_network_vpc_association.py +96 -0
  41. {pulumi_aws-7.14.0.dist-info → pulumi_aws-7.15.0.dist-info}/METADATA +1 -1
  42. {pulumi_aws-7.14.0.dist-info → pulumi_aws-7.15.0.dist-info}/RECORD +44 -42
  43. {pulumi_aws-7.14.0.dist-info → pulumi_aws-7.15.0.dist-info}/WHEEL +0 -0
  44. {pulumi_aws-7.14.0.dist-info → pulumi_aws-7.15.0.dist-info}/top_level.txt +0 -0
@@ -137,6 +137,22 @@ __all__ = [
137
137
  'AgentFlowDefinitionNodeOutput',
138
138
  'AgentFlowTimeouts',
139
139
  'AgentKnowledgeBaseKnowledgeBaseConfiguration',
140
+ 'AgentKnowledgeBaseKnowledgeBaseConfigurationKendraKnowledgeBaseConfiguration',
141
+ 'AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfiguration',
142
+ 'AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfiguration',
143
+ 'AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfiguration',
144
+ 'AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationProvisionedConfiguration',
145
+ 'AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationProvisionedConfigurationAuthConfiguration',
146
+ 'AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationServerlessConfiguration',
147
+ 'AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationServerlessConfigurationAuthConfiguration',
148
+ 'AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryGenerationConfiguration',
149
+ 'AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryGenerationConfigurationGenerationContext',
150
+ 'AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryGenerationConfigurationGenerationContextCuratedQuery',
151
+ 'AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryGenerationConfigurationGenerationContextTable',
152
+ 'AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryGenerationConfigurationGenerationContextTableColumn',
153
+ 'AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationStorageConfiguration',
154
+ 'AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationStorageConfigurationAwsDataCatalogConfiguration',
155
+ 'AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationStorageConfigurationRedshiftConfiguration',
140
156
  'AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfiguration',
141
157
  'AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationEmbeddingModelConfiguration',
142
158
  'AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationEmbeddingModelConfigurationBedrockEmbeddingModelConfiguration',
@@ -144,6 +160,12 @@ __all__ = [
144
160
  'AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfigurationStorageLocation',
145
161
  'AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfigurationStorageLocationS3Location',
146
162
  'AgentKnowledgeBaseStorageConfiguration',
163
+ 'AgentKnowledgeBaseStorageConfigurationMongoDbAtlasConfiguration',
164
+ 'AgentKnowledgeBaseStorageConfigurationMongoDbAtlasConfigurationFieldMapping',
165
+ 'AgentKnowledgeBaseStorageConfigurationNeptuneAnalyticsConfiguration',
166
+ 'AgentKnowledgeBaseStorageConfigurationNeptuneAnalyticsConfigurationFieldMapping',
167
+ 'AgentKnowledgeBaseStorageConfigurationOpensearchManagedClusterConfiguration',
168
+ 'AgentKnowledgeBaseStorageConfigurationOpensearchManagedClusterConfigurationFieldMapping',
147
169
  'AgentKnowledgeBaseStorageConfigurationOpensearchServerlessConfiguration',
148
170
  'AgentKnowledgeBaseStorageConfigurationOpensearchServerlessConfigurationFieldMapping',
149
171
  'AgentKnowledgeBaseStorageConfigurationPineconeConfiguration',
@@ -152,6 +174,7 @@ __all__ = [
152
174
  'AgentKnowledgeBaseStorageConfigurationRdsConfigurationFieldMapping',
153
175
  'AgentKnowledgeBaseStorageConfigurationRedisEnterpriseCloudConfiguration',
154
176
  'AgentKnowledgeBaseStorageConfigurationRedisEnterpriseCloudConfigurationFieldMapping',
177
+ 'AgentKnowledgeBaseStorageConfigurationS3VectorsConfiguration',
155
178
  'AgentKnowledgeBaseTimeouts',
156
179
  'AgentPromptVariant',
157
180
  'AgentPromptVariantGenAiResource',
@@ -5377,7 +5400,11 @@ class AgentKnowledgeBaseKnowledgeBaseConfiguration(dict):
5377
5400
  @staticmethod
5378
5401
  def __key_warning(key: str):
5379
5402
  suggest = None
5380
- if key == "vectorKnowledgeBaseConfiguration":
5403
+ if key == "kendraKnowledgeBaseConfiguration":
5404
+ suggest = "kendra_knowledge_base_configuration"
5405
+ elif key == "sqlKnowledgeBaseConfiguration":
5406
+ suggest = "sql_knowledge_base_configuration"
5407
+ elif key == "vectorKnowledgeBaseConfiguration":
5381
5408
  suggest = "vector_knowledge_base_configuration"
5382
5409
 
5383
5410
  if suggest:
@@ -5393,12 +5420,20 @@ class AgentKnowledgeBaseKnowledgeBaseConfiguration(dict):
5393
5420
 
5394
5421
  def __init__(__self__, *,
5395
5422
  type: _builtins.str,
5423
+ kendra_knowledge_base_configuration: Optional['outputs.AgentKnowledgeBaseKnowledgeBaseConfigurationKendraKnowledgeBaseConfiguration'] = None,
5424
+ sql_knowledge_base_configuration: Optional['outputs.AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfiguration'] = None,
5396
5425
  vector_knowledge_base_configuration: Optional['outputs.AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfiguration'] = None):
5397
5426
  """
5398
- :param _builtins.str type: Type of data that the data source is converted into for the knowledge base. Valid Values: `VECTOR`.
5399
- :param 'AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationArgs' vector_knowledge_base_configuration: Details about the embeddings model that'sused to convert the data source. See `vector_knowledge_base_configuration` block for details.
5427
+ :param _builtins.str type: Type of data that the data source is converted into for the knowledge base. Valid Values: `VECTOR`, `KENDRA`, `SQL`.
5428
+ :param 'AgentKnowledgeBaseKnowledgeBaseConfigurationKendraKnowledgeBaseConfigurationArgs' kendra_knowledge_base_configuration: Settings for an Amazon Kendra knowledge base. See `kendra_knowledge_base_configuration` block for details.
5429
+ :param 'AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationArgs' sql_knowledge_base_configuration: Configurations for a knowledge base connected to an SQL database. See `sql_knowledge_base_configuration` block for details.
5430
+ :param 'AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationArgs' vector_knowledge_base_configuration: Details about the model that's used to convert the data source into vector embeddings. See `vector_knowledge_base_configuration` block for details.
5400
5431
  """
5401
5432
  pulumi.set(__self__, "type", type)
5433
+ if kendra_knowledge_base_configuration is not None:
5434
+ pulumi.set(__self__, "kendra_knowledge_base_configuration", kendra_knowledge_base_configuration)
5435
+ if sql_knowledge_base_configuration is not None:
5436
+ pulumi.set(__self__, "sql_knowledge_base_configuration", sql_knowledge_base_configuration)
5402
5437
  if vector_knowledge_base_configuration is not None:
5403
5438
  pulumi.set(__self__, "vector_knowledge_base_configuration", vector_knowledge_base_configuration)
5404
5439
 
@@ -5406,354 +5441,1632 @@ class AgentKnowledgeBaseKnowledgeBaseConfiguration(dict):
5406
5441
  @pulumi.getter
5407
5442
  def type(self) -> _builtins.str:
5408
5443
  """
5409
- Type of data that the data source is converted into for the knowledge base. Valid Values: `VECTOR`.
5444
+ Type of data that the data source is converted into for the knowledge base. Valid Values: `VECTOR`, `KENDRA`, `SQL`.
5410
5445
  """
5411
5446
  return pulumi.get(self, "type")
5412
5447
 
5448
+ @_builtins.property
5449
+ @pulumi.getter(name="kendraKnowledgeBaseConfiguration")
5450
+ def kendra_knowledge_base_configuration(self) -> Optional['outputs.AgentKnowledgeBaseKnowledgeBaseConfigurationKendraKnowledgeBaseConfiguration']:
5451
+ """
5452
+ Settings for an Amazon Kendra knowledge base. See `kendra_knowledge_base_configuration` block for details.
5453
+ """
5454
+ return pulumi.get(self, "kendra_knowledge_base_configuration")
5455
+
5456
+ @_builtins.property
5457
+ @pulumi.getter(name="sqlKnowledgeBaseConfiguration")
5458
+ def sql_knowledge_base_configuration(self) -> Optional['outputs.AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfiguration']:
5459
+ """
5460
+ Configurations for a knowledge base connected to an SQL database. See `sql_knowledge_base_configuration` block for details.
5461
+ """
5462
+ return pulumi.get(self, "sql_knowledge_base_configuration")
5463
+
5413
5464
  @_builtins.property
5414
5465
  @pulumi.getter(name="vectorKnowledgeBaseConfiguration")
5415
5466
  def vector_knowledge_base_configuration(self) -> Optional['outputs.AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfiguration']:
5416
5467
  """
5417
- Details about the embeddings model that'sused to convert the data source. See `vector_knowledge_base_configuration` block for details.
5468
+ Details about the model that's used to convert the data source into vector embeddings. See `vector_knowledge_base_configuration` block for details.
5418
5469
  """
5419
5470
  return pulumi.get(self, "vector_knowledge_base_configuration")
5420
5471
 
5421
5472
 
5422
5473
  @pulumi.output_type
5423
- class AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfiguration(dict):
5474
+ class AgentKnowledgeBaseKnowledgeBaseConfigurationKendraKnowledgeBaseConfiguration(dict):
5424
5475
  @staticmethod
5425
5476
  def __key_warning(key: str):
5426
5477
  suggest = None
5427
- if key == "embeddingModelArn":
5428
- suggest = "embedding_model_arn"
5429
- elif key == "embeddingModelConfiguration":
5430
- suggest = "embedding_model_configuration"
5431
- elif key == "supplementalDataStorageConfiguration":
5432
- suggest = "supplemental_data_storage_configuration"
5478
+ if key == "kendraIndexArn":
5479
+ suggest = "kendra_index_arn"
5433
5480
 
5434
5481
  if suggest:
5435
- pulumi.log.warn(f"Key '{key}' not found in AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfiguration. Access the value via the '{suggest}' property getter instead.")
5482
+ pulumi.log.warn(f"Key '{key}' not found in AgentKnowledgeBaseKnowledgeBaseConfigurationKendraKnowledgeBaseConfiguration. Access the value via the '{suggest}' property getter instead.")
5436
5483
 
5437
5484
  def __getitem__(self, key: str) -> Any:
5438
- AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfiguration.__key_warning(key)
5485
+ AgentKnowledgeBaseKnowledgeBaseConfigurationKendraKnowledgeBaseConfiguration.__key_warning(key)
5439
5486
  return super().__getitem__(key)
5440
5487
 
5441
5488
  def get(self, key: str, default = None) -> Any:
5442
- AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfiguration.__key_warning(key)
5489
+ AgentKnowledgeBaseKnowledgeBaseConfigurationKendraKnowledgeBaseConfiguration.__key_warning(key)
5443
5490
  return super().get(key, default)
5444
5491
 
5445
5492
  def __init__(__self__, *,
5446
- embedding_model_arn: _builtins.str,
5447
- embedding_model_configuration: Optional['outputs.AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationEmbeddingModelConfiguration'] = None,
5448
- supplemental_data_storage_configuration: Optional['outputs.AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfiguration'] = None):
5493
+ kendra_index_arn: _builtins.str):
5449
5494
  """
5450
- :param _builtins.str embedding_model_arn: ARN of the model used to create vector embeddings for the knowledge base.
5451
- :param 'AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationEmbeddingModelConfigurationArgs' embedding_model_configuration: The embeddings model configuration details for the vector model used in Knowledge Base. See `embedding_model_configuration` block for details.
5452
- :param 'AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfigurationArgs' supplemental_data_storage_configuration: supplemental_data_storage_configuration. See `supplemental_data_storage_configuration` block for details.
5495
+ :param _builtins.str kendra_index_arn: ARN of the Amazon Kendra index.
5453
5496
  """
5454
- pulumi.set(__self__, "embedding_model_arn", embedding_model_arn)
5455
- if embedding_model_configuration is not None:
5456
- pulumi.set(__self__, "embedding_model_configuration", embedding_model_configuration)
5457
- if supplemental_data_storage_configuration is not None:
5458
- pulumi.set(__self__, "supplemental_data_storage_configuration", supplemental_data_storage_configuration)
5497
+ pulumi.set(__self__, "kendra_index_arn", kendra_index_arn)
5459
5498
 
5460
5499
  @_builtins.property
5461
- @pulumi.getter(name="embeddingModelArn")
5462
- def embedding_model_arn(self) -> _builtins.str:
5500
+ @pulumi.getter(name="kendraIndexArn")
5501
+ def kendra_index_arn(self) -> _builtins.str:
5463
5502
  """
5464
- ARN of the model used to create vector embeddings for the knowledge base.
5503
+ ARN of the Amazon Kendra index.
5465
5504
  """
5466
- return pulumi.get(self, "embedding_model_arn")
5505
+ return pulumi.get(self, "kendra_index_arn")
5506
+
5507
+
5508
+ @pulumi.output_type
5509
+ class AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfiguration(dict):
5510
+ @staticmethod
5511
+ def __key_warning(key: str):
5512
+ suggest = None
5513
+ if key == "redshiftConfiguration":
5514
+ suggest = "redshift_configuration"
5515
+
5516
+ if suggest:
5517
+ pulumi.log.warn(f"Key '{key}' not found in AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfiguration. Access the value via the '{suggest}' property getter instead.")
5518
+
5519
+ def __getitem__(self, key: str) -> Any:
5520
+ AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfiguration.__key_warning(key)
5521
+ return super().__getitem__(key)
5522
+
5523
+ def get(self, key: str, default = None) -> Any:
5524
+ AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfiguration.__key_warning(key)
5525
+ return super().get(key, default)
5526
+
5527
+ def __init__(__self__, *,
5528
+ type: _builtins.str,
5529
+ redshift_configuration: Optional['outputs.AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfiguration'] = None):
5530
+ """
5531
+ :param _builtins.str type: Type of SQL database to connect to the knowledge base. Valid values: `REDSHIFT`.
5532
+ :param 'AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationArgs' redshift_configuration: Configurations for a knowledge base connected to an Amazon Redshift database. See `redshift_configuration` block for details.
5533
+ """
5534
+ pulumi.set(__self__, "type", type)
5535
+ if redshift_configuration is not None:
5536
+ pulumi.set(__self__, "redshift_configuration", redshift_configuration)
5467
5537
 
5468
5538
  @_builtins.property
5469
- @pulumi.getter(name="embeddingModelConfiguration")
5470
- def embedding_model_configuration(self) -> Optional['outputs.AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationEmbeddingModelConfiguration']:
5539
+ @pulumi.getter
5540
+ def type(self) -> _builtins.str:
5471
5541
  """
5472
- The embeddings model configuration details for the vector model used in Knowledge Base. See `embedding_model_configuration` block for details.
5542
+ Type of SQL database to connect to the knowledge base. Valid values: `REDSHIFT`.
5473
5543
  """
5474
- return pulumi.get(self, "embedding_model_configuration")
5544
+ return pulumi.get(self, "type")
5475
5545
 
5476
5546
  @_builtins.property
5477
- @pulumi.getter(name="supplementalDataStorageConfiguration")
5478
- def supplemental_data_storage_configuration(self) -> Optional['outputs.AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfiguration']:
5547
+ @pulumi.getter(name="redshiftConfiguration")
5548
+ def redshift_configuration(self) -> Optional['outputs.AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfiguration']:
5479
5549
  """
5480
- supplemental_data_storage_configuration. See `supplemental_data_storage_configuration` block for details.
5550
+ Configurations for a knowledge base connected to an Amazon Redshift database. See `redshift_configuration` block for details.
5481
5551
  """
5482
- return pulumi.get(self, "supplemental_data_storage_configuration")
5552
+ return pulumi.get(self, "redshift_configuration")
5483
5553
 
5484
5554
 
5485
5555
  @pulumi.output_type
5486
- class AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationEmbeddingModelConfiguration(dict):
5556
+ class AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfiguration(dict):
5487
5557
  @staticmethod
5488
5558
  def __key_warning(key: str):
5489
5559
  suggest = None
5490
- if key == "bedrockEmbeddingModelConfiguration":
5491
- suggest = "bedrock_embedding_model_configuration"
5560
+ if key == "queryEngineConfiguration":
5561
+ suggest = "query_engine_configuration"
5562
+ elif key == "queryGenerationConfiguration":
5563
+ suggest = "query_generation_configuration"
5564
+ elif key == "storageConfiguration":
5565
+ suggest = "storage_configuration"
5492
5566
 
5493
5567
  if suggest:
5494
- pulumi.log.warn(f"Key '{key}' not found in AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationEmbeddingModelConfiguration. Access the value via the '{suggest}' property getter instead.")
5568
+ pulumi.log.warn(f"Key '{key}' not found in AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfiguration. Access the value via the '{suggest}' property getter instead.")
5495
5569
 
5496
5570
  def __getitem__(self, key: str) -> Any:
5497
- AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationEmbeddingModelConfiguration.__key_warning(key)
5571
+ AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfiguration.__key_warning(key)
5498
5572
  return super().__getitem__(key)
5499
5573
 
5500
5574
  def get(self, key: str, default = None) -> Any:
5501
- AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationEmbeddingModelConfiguration.__key_warning(key)
5575
+ AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfiguration.__key_warning(key)
5502
5576
  return super().get(key, default)
5503
5577
 
5504
5578
  def __init__(__self__, *,
5505
- bedrock_embedding_model_configuration: Optional['outputs.AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationEmbeddingModelConfigurationBedrockEmbeddingModelConfiguration'] = None):
5579
+ query_engine_configuration: Optional['outputs.AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfiguration'] = None,
5580
+ query_generation_configuration: Optional['outputs.AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryGenerationConfiguration'] = None,
5581
+ storage_configuration: Optional['outputs.AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationStorageConfiguration'] = None):
5506
5582
  """
5507
- :param 'AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationEmbeddingModelConfigurationBedrockEmbeddingModelConfigurationArgs' bedrock_embedding_model_configuration: The vector configuration details on the Bedrock embeddings model. See `bedrock_embedding_model_configuration` block for details.
5583
+ :param 'AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationArgs' query_engine_configuration: Configurations for an Amazon Redshift query engine. See `query_engine_configuration` block for details.
5584
+ :param 'AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryGenerationConfigurationArgs' query_generation_configuration: Configurations for generating queries. See `query_generation_configuration` block for details.
5585
+ :param 'AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationStorageConfigurationArgs' storage_configuration: Configurations for Amazon Redshift database storage. See `storage_configuration` block for details.
5508
5586
  """
5509
- if bedrock_embedding_model_configuration is not None:
5510
- pulumi.set(__self__, "bedrock_embedding_model_configuration", bedrock_embedding_model_configuration)
5587
+ if query_engine_configuration is not None:
5588
+ pulumi.set(__self__, "query_engine_configuration", query_engine_configuration)
5589
+ if query_generation_configuration is not None:
5590
+ pulumi.set(__self__, "query_generation_configuration", query_generation_configuration)
5591
+ if storage_configuration is not None:
5592
+ pulumi.set(__self__, "storage_configuration", storage_configuration)
5511
5593
 
5512
5594
  @_builtins.property
5513
- @pulumi.getter(name="bedrockEmbeddingModelConfiguration")
5514
- def bedrock_embedding_model_configuration(self) -> Optional['outputs.AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationEmbeddingModelConfigurationBedrockEmbeddingModelConfiguration']:
5595
+ @pulumi.getter(name="queryEngineConfiguration")
5596
+ def query_engine_configuration(self) -> Optional['outputs.AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfiguration']:
5515
5597
  """
5516
- The vector configuration details on the Bedrock embeddings model. See `bedrock_embedding_model_configuration` block for details.
5598
+ Configurations for an Amazon Redshift query engine. See `query_engine_configuration` block for details.
5599
+ """
5600
+ return pulumi.get(self, "query_engine_configuration")
5601
+
5602
+ @_builtins.property
5603
+ @pulumi.getter(name="queryGenerationConfiguration")
5604
+ def query_generation_configuration(self) -> Optional['outputs.AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryGenerationConfiguration']:
5605
+ """
5606
+ Configurations for generating queries. See `query_generation_configuration` block for details.
5607
+ """
5608
+ return pulumi.get(self, "query_generation_configuration")
5609
+
5610
+ @_builtins.property
5611
+ @pulumi.getter(name="storageConfiguration")
5612
+ def storage_configuration(self) -> Optional['outputs.AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationStorageConfiguration']:
5613
+ """
5614
+ Configurations for Amazon Redshift database storage. See `storage_configuration` block for details.
5615
+ """
5616
+ return pulumi.get(self, "storage_configuration")
5617
+
5618
+
5619
+ @pulumi.output_type
5620
+ class AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfiguration(dict):
5621
+ @staticmethod
5622
+ def __key_warning(key: str):
5623
+ suggest = None
5624
+ if key == "provisionedConfiguration":
5625
+ suggest = "provisioned_configuration"
5626
+ elif key == "serverlessConfiguration":
5627
+ suggest = "serverless_configuration"
5628
+
5629
+ if suggest:
5630
+ pulumi.log.warn(f"Key '{key}' not found in AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfiguration. Access the value via the '{suggest}' property getter instead.")
5631
+
5632
+ def __getitem__(self, key: str) -> Any:
5633
+ AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfiguration.__key_warning(key)
5634
+ return super().__getitem__(key)
5635
+
5636
+ def get(self, key: str, default = None) -> Any:
5637
+ AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfiguration.__key_warning(key)
5638
+ return super().get(key, default)
5639
+
5640
+ def __init__(__self__, *,
5641
+ type: _builtins.str,
5642
+ provisioned_configuration: Optional['outputs.AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationProvisionedConfiguration'] = None,
5643
+ serverless_configuration: Optional['outputs.AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationServerlessConfiguration'] = None):
5644
+ """
5645
+ :param _builtins.str type: Type of query engine. Valid values: `SERVERLESS`, `PROVISIONED`.
5646
+ :param 'AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationProvisionedConfigurationArgs' provisioned_configuration: Configurations for a provisioned Amazon Redshift query engine. See `provisioned_configuration` block for details.
5647
+ :param 'AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationServerlessConfigurationArgs' serverless_configuration: Configurations for a serverless Amazon Redshift query engine. See `serverless_configuration` block for details.
5648
+ """
5649
+ pulumi.set(__self__, "type", type)
5650
+ if provisioned_configuration is not None:
5651
+ pulumi.set(__self__, "provisioned_configuration", provisioned_configuration)
5652
+ if serverless_configuration is not None:
5653
+ pulumi.set(__self__, "serverless_configuration", serverless_configuration)
5654
+
5655
+ @_builtins.property
5656
+ @pulumi.getter
5657
+ def type(self) -> _builtins.str:
5658
+ """
5659
+ Type of query engine. Valid values: `SERVERLESS`, `PROVISIONED`.
5660
+ """
5661
+ return pulumi.get(self, "type")
5662
+
5663
+ @_builtins.property
5664
+ @pulumi.getter(name="provisionedConfiguration")
5665
+ def provisioned_configuration(self) -> Optional['outputs.AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationProvisionedConfiguration']:
5666
+ """
5667
+ Configurations for a provisioned Amazon Redshift query engine. See `provisioned_configuration` block for details.
5668
+ """
5669
+ return pulumi.get(self, "provisioned_configuration")
5670
+
5671
+ @_builtins.property
5672
+ @pulumi.getter(name="serverlessConfiguration")
5673
+ def serverless_configuration(self) -> Optional['outputs.AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationServerlessConfiguration']:
5674
+ """
5675
+ Configurations for a serverless Amazon Redshift query engine. See `serverless_configuration` block for details.
5676
+ """
5677
+ return pulumi.get(self, "serverless_configuration")
5678
+
5679
+
5680
+ @pulumi.output_type
5681
+ class AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationProvisionedConfiguration(dict):
5682
+ @staticmethod
5683
+ def __key_warning(key: str):
5684
+ suggest = None
5685
+ if key == "clusterIdentifier":
5686
+ suggest = "cluster_identifier"
5687
+ elif key == "authConfiguration":
5688
+ suggest = "auth_configuration"
5689
+
5690
+ if suggest:
5691
+ pulumi.log.warn(f"Key '{key}' not found in AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationProvisionedConfiguration. Access the value via the '{suggest}' property getter instead.")
5692
+
5693
+ def __getitem__(self, key: str) -> Any:
5694
+ AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationProvisionedConfiguration.__key_warning(key)
5695
+ return super().__getitem__(key)
5696
+
5697
+ def get(self, key: str, default = None) -> Any:
5698
+ AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationProvisionedConfiguration.__key_warning(key)
5699
+ return super().get(key, default)
5700
+
5701
+ def __init__(__self__, *,
5702
+ cluster_identifier: _builtins.str,
5703
+ auth_configuration: Optional['outputs.AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationProvisionedConfigurationAuthConfiguration'] = None):
5704
+ """
5705
+ :param _builtins.str cluster_identifier: ID of the Amazon Redshift cluster.
5706
+ :param 'AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationProvisionedConfigurationAuthConfigurationArgs' auth_configuration: Configurations for authentication to Amazon Redshift. See `auth_configuration` block for details.
5707
+ """
5708
+ pulumi.set(__self__, "cluster_identifier", cluster_identifier)
5709
+ if auth_configuration is not None:
5710
+ pulumi.set(__self__, "auth_configuration", auth_configuration)
5711
+
5712
+ @_builtins.property
5713
+ @pulumi.getter(name="clusterIdentifier")
5714
+ def cluster_identifier(self) -> _builtins.str:
5715
+ """
5716
+ ID of the Amazon Redshift cluster.
5717
+ """
5718
+ return pulumi.get(self, "cluster_identifier")
5719
+
5720
+ @_builtins.property
5721
+ @pulumi.getter(name="authConfiguration")
5722
+ def auth_configuration(self) -> Optional['outputs.AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationProvisionedConfigurationAuthConfiguration']:
5723
+ """
5724
+ Configurations for authentication to Amazon Redshift. See `auth_configuration` block for details.
5725
+ """
5726
+ return pulumi.get(self, "auth_configuration")
5727
+
5728
+
5729
+ @pulumi.output_type
5730
+ class AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationProvisionedConfigurationAuthConfiguration(dict):
5731
+ @staticmethod
5732
+ def __key_warning(key: str):
5733
+ suggest = None
5734
+ if key == "databaseUser":
5735
+ suggest = "database_user"
5736
+ elif key == "usernamePasswordSecretArn":
5737
+ suggest = "username_password_secret_arn"
5738
+
5739
+ if suggest:
5740
+ pulumi.log.warn(f"Key '{key}' not found in AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationProvisionedConfigurationAuthConfiguration. Access the value via the '{suggest}' property getter instead.")
5741
+
5742
+ def __getitem__(self, key: str) -> Any:
5743
+ AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationProvisionedConfigurationAuthConfiguration.__key_warning(key)
5744
+ return super().__getitem__(key)
5745
+
5746
+ def get(self, key: str, default = None) -> Any:
5747
+ AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationProvisionedConfigurationAuthConfiguration.__key_warning(key)
5748
+ return super().get(key, default)
5749
+
5750
+ def __init__(__self__, *,
5751
+ type: _builtins.str,
5752
+ database_user: Optional[_builtins.str] = None,
5753
+ username_password_secret_arn: Optional[_builtins.str] = None):
5754
+ """
5755
+ :param _builtins.str type: Type of authentication to use. Valid values: `IAM`, `USERNAME_PASSWORD`.
5756
+ :param _builtins.str database_user: Database username for authentication to an Amazon Redshift provisioned data warehouse.
5757
+ :param _builtins.str username_password_secret_arn: ARN of a Secrets Manager secret for authentication.
5758
+ """
5759
+ pulumi.set(__self__, "type", type)
5760
+ if database_user is not None:
5761
+ pulumi.set(__self__, "database_user", database_user)
5762
+ if username_password_secret_arn is not None:
5763
+ pulumi.set(__self__, "username_password_secret_arn", username_password_secret_arn)
5764
+
5765
+ @_builtins.property
5766
+ @pulumi.getter
5767
+ def type(self) -> _builtins.str:
5768
+ """
5769
+ Type of authentication to use. Valid values: `IAM`, `USERNAME_PASSWORD`.
5770
+ """
5771
+ return pulumi.get(self, "type")
5772
+
5773
+ @_builtins.property
5774
+ @pulumi.getter(name="databaseUser")
5775
+ def database_user(self) -> Optional[_builtins.str]:
5776
+ """
5777
+ Database username for authentication to an Amazon Redshift provisioned data warehouse.
5778
+ """
5779
+ return pulumi.get(self, "database_user")
5780
+
5781
+ @_builtins.property
5782
+ @pulumi.getter(name="usernamePasswordSecretArn")
5783
+ def username_password_secret_arn(self) -> Optional[_builtins.str]:
5784
+ """
5785
+ ARN of a Secrets Manager secret for authentication.
5786
+ """
5787
+ return pulumi.get(self, "username_password_secret_arn")
5788
+
5789
+
5790
+ @pulumi.output_type
5791
+ class AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationServerlessConfiguration(dict):
5792
+ @staticmethod
5793
+ def __key_warning(key: str):
5794
+ suggest = None
5795
+ if key == "workgroupArn":
5796
+ suggest = "workgroup_arn"
5797
+ elif key == "authConfiguration":
5798
+ suggest = "auth_configuration"
5799
+
5800
+ if suggest:
5801
+ pulumi.log.warn(f"Key '{key}' not found in AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationServerlessConfiguration. Access the value via the '{suggest}' property getter instead.")
5802
+
5803
+ def __getitem__(self, key: str) -> Any:
5804
+ AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationServerlessConfiguration.__key_warning(key)
5805
+ return super().__getitem__(key)
5806
+
5807
+ def get(self, key: str, default = None) -> Any:
5808
+ AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationServerlessConfiguration.__key_warning(key)
5809
+ return super().get(key, default)
5810
+
5811
+ def __init__(__self__, *,
5812
+ workgroup_arn: _builtins.str,
5813
+ auth_configuration: Optional['outputs.AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationServerlessConfigurationAuthConfiguration'] = None):
5814
+ """
5815
+ :param _builtins.str workgroup_arn: ARN of the Amazon Redshift workgroup.
5816
+ :param 'AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationServerlessConfigurationAuthConfigurationArgs' auth_configuration: Configurations for authentication to a Redshift Serverless. See `auth_configuration` block for details.
5817
+ """
5818
+ pulumi.set(__self__, "workgroup_arn", workgroup_arn)
5819
+ if auth_configuration is not None:
5820
+ pulumi.set(__self__, "auth_configuration", auth_configuration)
5821
+
5822
+ @_builtins.property
5823
+ @pulumi.getter(name="workgroupArn")
5824
+ def workgroup_arn(self) -> _builtins.str:
5825
+ """
5826
+ ARN of the Amazon Redshift workgroup.
5827
+ """
5828
+ return pulumi.get(self, "workgroup_arn")
5829
+
5830
+ @_builtins.property
5831
+ @pulumi.getter(name="authConfiguration")
5832
+ def auth_configuration(self) -> Optional['outputs.AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationServerlessConfigurationAuthConfiguration']:
5833
+ """
5834
+ Configurations for authentication to a Redshift Serverless. See `auth_configuration` block for details.
5835
+ """
5836
+ return pulumi.get(self, "auth_configuration")
5837
+
5838
+
5839
+ @pulumi.output_type
5840
+ class AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationServerlessConfigurationAuthConfiguration(dict):
5841
+ @staticmethod
5842
+ def __key_warning(key: str):
5843
+ suggest = None
5844
+ if key == "usernamePasswordSecretArn":
5845
+ suggest = "username_password_secret_arn"
5846
+
5847
+ if suggest:
5848
+ pulumi.log.warn(f"Key '{key}' not found in AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationServerlessConfigurationAuthConfiguration. Access the value via the '{suggest}' property getter instead.")
5849
+
5850
+ def __getitem__(self, key: str) -> Any:
5851
+ AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationServerlessConfigurationAuthConfiguration.__key_warning(key)
5852
+ return super().__getitem__(key)
5853
+
5854
+ def get(self, key: str, default = None) -> Any:
5855
+ AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationServerlessConfigurationAuthConfiguration.__key_warning(key)
5856
+ return super().get(key, default)
5857
+
5858
+ def __init__(__self__, *,
5859
+ type: _builtins.str,
5860
+ username_password_secret_arn: Optional[_builtins.str] = None):
5861
+ """
5862
+ :param _builtins.str type: Type of authentication to use. Valid values: `IAM`, `USERNAME_PASSWORD`.
5863
+ :param _builtins.str username_password_secret_arn: ARN of a Secrets Manager secret for authentication.
5864
+ """
5865
+ pulumi.set(__self__, "type", type)
5866
+ if username_password_secret_arn is not None:
5867
+ pulumi.set(__self__, "username_password_secret_arn", username_password_secret_arn)
5868
+
5869
+ @_builtins.property
5870
+ @pulumi.getter
5871
+ def type(self) -> _builtins.str:
5872
+ """
5873
+ Type of authentication to use. Valid values: `IAM`, `USERNAME_PASSWORD`.
5874
+ """
5875
+ return pulumi.get(self, "type")
5876
+
5877
+ @_builtins.property
5878
+ @pulumi.getter(name="usernamePasswordSecretArn")
5879
+ def username_password_secret_arn(self) -> Optional[_builtins.str]:
5880
+ """
5881
+ ARN of a Secrets Manager secret for authentication.
5882
+ """
5883
+ return pulumi.get(self, "username_password_secret_arn")
5884
+
5885
+
5886
+ @pulumi.output_type
5887
+ class AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryGenerationConfiguration(dict):
5888
+ @staticmethod
5889
+ def __key_warning(key: str):
5890
+ suggest = None
5891
+ if key == "executionTimeoutSeconds":
5892
+ suggest = "execution_timeout_seconds"
5893
+ elif key == "generationContext":
5894
+ suggest = "generation_context"
5895
+
5896
+ if suggest:
5897
+ pulumi.log.warn(f"Key '{key}' not found in AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryGenerationConfiguration. Access the value via the '{suggest}' property getter instead.")
5898
+
5899
+ def __getitem__(self, key: str) -> Any:
5900
+ AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryGenerationConfiguration.__key_warning(key)
5901
+ return super().__getitem__(key)
5902
+
5903
+ def get(self, key: str, default = None) -> Any:
5904
+ AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryGenerationConfiguration.__key_warning(key)
5905
+ return super().get(key, default)
5906
+
5907
+ def __init__(__self__, *,
5908
+ execution_timeout_seconds: Optional[_builtins.int] = None,
5909
+ generation_context: Optional['outputs.AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryGenerationConfigurationGenerationContext'] = None):
5910
+ """
5911
+ :param _builtins.int execution_timeout_seconds: Time after which query generation will time out.
5912
+ :param 'AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryGenerationConfigurationGenerationContextArgs' generation_context: Configurations for context to use during query generation. See `generation_context` block for details.
5913
+ """
5914
+ if execution_timeout_seconds is not None:
5915
+ pulumi.set(__self__, "execution_timeout_seconds", execution_timeout_seconds)
5916
+ if generation_context is not None:
5917
+ pulumi.set(__self__, "generation_context", generation_context)
5918
+
5919
+ @_builtins.property
5920
+ @pulumi.getter(name="executionTimeoutSeconds")
5921
+ def execution_timeout_seconds(self) -> Optional[_builtins.int]:
5922
+ """
5923
+ Time after which query generation will time out.
5924
+ """
5925
+ return pulumi.get(self, "execution_timeout_seconds")
5926
+
5927
+ @_builtins.property
5928
+ @pulumi.getter(name="generationContext")
5929
+ def generation_context(self) -> Optional['outputs.AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryGenerationConfigurationGenerationContext']:
5930
+ """
5931
+ Configurations for context to use during query generation. See `generation_context` block for details.
5932
+ """
5933
+ return pulumi.get(self, "generation_context")
5934
+
5935
+
5936
+ @pulumi.output_type
5937
+ class AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryGenerationConfigurationGenerationContext(dict):
5938
+ @staticmethod
5939
+ def __key_warning(key: str):
5940
+ suggest = None
5941
+ if key == "curatedQueries":
5942
+ suggest = "curated_queries"
5943
+
5944
+ if suggest:
5945
+ pulumi.log.warn(f"Key '{key}' not found in AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryGenerationConfigurationGenerationContext. Access the value via the '{suggest}' property getter instead.")
5946
+
5947
+ def __getitem__(self, key: str) -> Any:
5948
+ AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryGenerationConfigurationGenerationContext.__key_warning(key)
5949
+ return super().__getitem__(key)
5950
+
5951
+ def get(self, key: str, default = None) -> Any:
5952
+ AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryGenerationConfigurationGenerationContext.__key_warning(key)
5953
+ return super().get(key, default)
5954
+
5955
+ def __init__(__self__, *,
5956
+ curated_queries: Optional[Sequence['outputs.AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryGenerationConfigurationGenerationContextCuratedQuery']] = None,
5957
+ tables: Optional[Sequence['outputs.AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryGenerationConfigurationGenerationContextTable']] = None):
5958
+ """
5959
+ :param Sequence['AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryGenerationConfigurationGenerationContextCuratedQueryArgs'] curated_queries: Information about example queries to help the query engine generate appropriate SQL queries. See `curated_query` block for details.
5960
+ :param Sequence['AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryGenerationConfigurationGenerationContextTableArgs'] tables: Information about a table in the database. See `table` block for details.
5961
+ """
5962
+ if curated_queries is not None:
5963
+ pulumi.set(__self__, "curated_queries", curated_queries)
5964
+ if tables is not None:
5965
+ pulumi.set(__self__, "tables", tables)
5966
+
5967
+ @_builtins.property
5968
+ @pulumi.getter(name="curatedQueries")
5969
+ def curated_queries(self) -> Optional[Sequence['outputs.AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryGenerationConfigurationGenerationContextCuratedQuery']]:
5970
+ """
5971
+ Information about example queries to help the query engine generate appropriate SQL queries. See `curated_query` block for details.
5972
+ """
5973
+ return pulumi.get(self, "curated_queries")
5974
+
5975
+ @_builtins.property
5976
+ @pulumi.getter
5977
+ def tables(self) -> Optional[Sequence['outputs.AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryGenerationConfigurationGenerationContextTable']]:
5978
+ """
5979
+ Information about a table in the database. See `table` block for details.
5980
+ """
5981
+ return pulumi.get(self, "tables")
5982
+
5983
+
5984
+ @pulumi.output_type
5985
+ class AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryGenerationConfigurationGenerationContextCuratedQuery(dict):
5986
+ @staticmethod
5987
+ def __key_warning(key: str):
5988
+ suggest = None
5989
+ if key == "naturalLanguage":
5990
+ suggest = "natural_language"
5991
+
5992
+ if suggest:
5993
+ pulumi.log.warn(f"Key '{key}' not found in AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryGenerationConfigurationGenerationContextCuratedQuery. Access the value via the '{suggest}' property getter instead.")
5994
+
5995
+ def __getitem__(self, key: str) -> Any:
5996
+ AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryGenerationConfigurationGenerationContextCuratedQuery.__key_warning(key)
5997
+ return super().__getitem__(key)
5998
+
5999
+ def get(self, key: str, default = None) -> Any:
6000
+ AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryGenerationConfigurationGenerationContextCuratedQuery.__key_warning(key)
6001
+ return super().get(key, default)
6002
+
6003
+ def __init__(__self__, *,
6004
+ natural_language: _builtins.str,
6005
+ sql: _builtins.str):
6006
+ """
6007
+ :param _builtins.str natural_language: Example natural language query.
6008
+ :param _builtins.str sql: SQL equivalent of `natural_language`.
6009
+ """
6010
+ pulumi.set(__self__, "natural_language", natural_language)
6011
+ pulumi.set(__self__, "sql", sql)
6012
+
6013
+ @_builtins.property
6014
+ @pulumi.getter(name="naturalLanguage")
6015
+ def natural_language(self) -> _builtins.str:
6016
+ """
6017
+ Example natural language query.
6018
+ """
6019
+ return pulumi.get(self, "natural_language")
6020
+
6021
+ @_builtins.property
6022
+ @pulumi.getter
6023
+ def sql(self) -> _builtins.str:
6024
+ """
6025
+ SQL equivalent of `natural_language`.
6026
+ """
6027
+ return pulumi.get(self, "sql")
6028
+
6029
+
6030
+ @pulumi.output_type
6031
+ class AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryGenerationConfigurationGenerationContextTable(dict):
6032
+ def __init__(__self__, *,
6033
+ name: _builtins.str,
6034
+ columns: Optional[Sequence['outputs.AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryGenerationConfigurationGenerationContextTableColumn']] = None,
6035
+ description: Optional[_builtins.str] = None,
6036
+ inclusion: Optional[_builtins.str] = None):
6037
+ """
6038
+ :param _builtins.str name: Name of the table for which the other fields in this object apply.
6039
+ :param Sequence['AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryGenerationConfigurationGenerationContextTableColumnArgs'] columns: Information about a column in the table. See `column` block for details.
6040
+ :param _builtins.str description: Description of the table that helps the query engine understand the contents of the table.
6041
+ :param _builtins.str inclusion: Whether to include or exclude the table during query generation. Valid values `INCLUDE`, `EXCLUDE`.
6042
+ """
6043
+ pulumi.set(__self__, "name", name)
6044
+ if columns is not None:
6045
+ pulumi.set(__self__, "columns", columns)
6046
+ if description is not None:
6047
+ pulumi.set(__self__, "description", description)
6048
+ if inclusion is not None:
6049
+ pulumi.set(__self__, "inclusion", inclusion)
6050
+
6051
+ @_builtins.property
6052
+ @pulumi.getter
6053
+ def name(self) -> _builtins.str:
6054
+ """
6055
+ Name of the table for which the other fields in this object apply.
6056
+ """
6057
+ return pulumi.get(self, "name")
6058
+
6059
+ @_builtins.property
6060
+ @pulumi.getter
6061
+ def columns(self) -> Optional[Sequence['outputs.AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryGenerationConfigurationGenerationContextTableColumn']]:
6062
+ """
6063
+ Information about a column in the table. See `column` block for details.
6064
+ """
6065
+ return pulumi.get(self, "columns")
6066
+
6067
+ @_builtins.property
6068
+ @pulumi.getter
6069
+ def description(self) -> Optional[_builtins.str]:
6070
+ """
6071
+ Description of the table that helps the query engine understand the contents of the table.
6072
+ """
6073
+ return pulumi.get(self, "description")
6074
+
6075
+ @_builtins.property
6076
+ @pulumi.getter
6077
+ def inclusion(self) -> Optional[_builtins.str]:
6078
+ """
6079
+ Whether to include or exclude the table during query generation. Valid values `INCLUDE`, `EXCLUDE`.
6080
+ """
6081
+ return pulumi.get(self, "inclusion")
6082
+
6083
+
6084
+ @pulumi.output_type
6085
+ class AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryGenerationConfigurationGenerationContextTableColumn(dict):
6086
+ def __init__(__self__, *,
6087
+ description: Optional[_builtins.str] = None,
6088
+ inclusion: Optional[_builtins.str] = None,
6089
+ name: Optional[_builtins.str] = None):
6090
+ """
6091
+ :param _builtins.str description: Description of the column that helps the query engine understand the contents of the column.
6092
+ :param _builtins.str inclusion: Whether to include or exclude the column during query generation. Valid values `INCLUDE`, `EXCLUDE`.
6093
+ :param _builtins.str name: Name of the column for which the other fields in this object apply.
6094
+ """
6095
+ if description is not None:
6096
+ pulumi.set(__self__, "description", description)
6097
+ if inclusion is not None:
6098
+ pulumi.set(__self__, "inclusion", inclusion)
6099
+ if name is not None:
6100
+ pulumi.set(__self__, "name", name)
6101
+
6102
+ @_builtins.property
6103
+ @pulumi.getter
6104
+ def description(self) -> Optional[_builtins.str]:
6105
+ """
6106
+ Description of the column that helps the query engine understand the contents of the column.
6107
+ """
6108
+ return pulumi.get(self, "description")
6109
+
6110
+ @_builtins.property
6111
+ @pulumi.getter
6112
+ def inclusion(self) -> Optional[_builtins.str]:
6113
+ """
6114
+ Whether to include or exclude the column during query generation. Valid values `INCLUDE`, `EXCLUDE`.
6115
+ """
6116
+ return pulumi.get(self, "inclusion")
6117
+
6118
+ @_builtins.property
6119
+ @pulumi.getter
6120
+ def name(self) -> Optional[_builtins.str]:
6121
+ """
6122
+ Name of the column for which the other fields in this object apply.
6123
+ """
6124
+ return pulumi.get(self, "name")
6125
+
6126
+
6127
+ @pulumi.output_type
6128
+ class AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationStorageConfiguration(dict):
6129
+ @staticmethod
6130
+ def __key_warning(key: str):
6131
+ suggest = None
6132
+ if key == "awsDataCatalogConfiguration":
6133
+ suggest = "aws_data_catalog_configuration"
6134
+ elif key == "redshiftConfiguration":
6135
+ suggest = "redshift_configuration"
6136
+
6137
+ if suggest:
6138
+ pulumi.log.warn(f"Key '{key}' not found in AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationStorageConfiguration. Access the value via the '{suggest}' property getter instead.")
6139
+
6140
+ def __getitem__(self, key: str) -> Any:
6141
+ AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationStorageConfiguration.__key_warning(key)
6142
+ return super().__getitem__(key)
6143
+
6144
+ def get(self, key: str, default = None) -> Any:
6145
+ AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationStorageConfiguration.__key_warning(key)
6146
+ return super().get(key, default)
6147
+
6148
+ def __init__(__self__, *,
6149
+ type: _builtins.str,
6150
+ aws_data_catalog_configuration: Optional['outputs.AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationStorageConfigurationAwsDataCatalogConfiguration'] = None,
6151
+ redshift_configuration: Optional['outputs.AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationStorageConfigurationRedshiftConfiguration'] = None):
6152
+ """
6153
+ :param _builtins.str type: Vector store service in which the knowledge base is stored. Valid Values: `MONGO_DB_ATLAS`, `OPENSEARCH_SERVERLESS`, `OPENSEARCH_MANAGED_CLUSTER`, `PINECONE`, `REDIS_ENTERPRISE_CLOUD`, `RDS`, `S3_VECTORS`, `NEPTUNE_ANALYTICS`.
6154
+ :param 'AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationStorageConfigurationAwsDataCatalogConfigurationArgs' aws_data_catalog_configuration: Configurations for storage in AWS Glue Data Catalog. See `aws_data_catalog_configuration` block for details.
6155
+ :param 'AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationStorageConfigurationRedshiftConfigurationArgs' redshift_configuration: Configurations for storage in Amazon Redshift. See `redshift_configuration` block for details.
6156
+ """
6157
+ pulumi.set(__self__, "type", type)
6158
+ if aws_data_catalog_configuration is not None:
6159
+ pulumi.set(__self__, "aws_data_catalog_configuration", aws_data_catalog_configuration)
6160
+ if redshift_configuration is not None:
6161
+ pulumi.set(__self__, "redshift_configuration", redshift_configuration)
6162
+
6163
+ @_builtins.property
6164
+ @pulumi.getter
6165
+ def type(self) -> _builtins.str:
6166
+ """
6167
+ Vector store service in which the knowledge base is stored. Valid Values: `MONGO_DB_ATLAS`, `OPENSEARCH_SERVERLESS`, `OPENSEARCH_MANAGED_CLUSTER`, `PINECONE`, `REDIS_ENTERPRISE_CLOUD`, `RDS`, `S3_VECTORS`, `NEPTUNE_ANALYTICS`.
6168
+ """
6169
+ return pulumi.get(self, "type")
6170
+
6171
+ @_builtins.property
6172
+ @pulumi.getter(name="awsDataCatalogConfiguration")
6173
+ def aws_data_catalog_configuration(self) -> Optional['outputs.AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationStorageConfigurationAwsDataCatalogConfiguration']:
6174
+ """
6175
+ Configurations for storage in AWS Glue Data Catalog. See `aws_data_catalog_configuration` block for details.
6176
+ """
6177
+ return pulumi.get(self, "aws_data_catalog_configuration")
6178
+
6179
+ @_builtins.property
6180
+ @pulumi.getter(name="redshiftConfiguration")
6181
+ def redshift_configuration(self) -> Optional['outputs.AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationStorageConfigurationRedshiftConfiguration']:
6182
+ """
6183
+ Configurations for storage in Amazon Redshift. See `redshift_configuration` block for details.
6184
+ """
6185
+ return pulumi.get(self, "redshift_configuration")
6186
+
6187
+
6188
+ @pulumi.output_type
6189
+ class AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationStorageConfigurationAwsDataCatalogConfiguration(dict):
6190
+ @staticmethod
6191
+ def __key_warning(key: str):
6192
+ suggest = None
6193
+ if key == "tableNames":
6194
+ suggest = "table_names"
6195
+
6196
+ if suggest:
6197
+ pulumi.log.warn(f"Key '{key}' not found in AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationStorageConfigurationAwsDataCatalogConfiguration. Access the value via the '{suggest}' property getter instead.")
6198
+
6199
+ def __getitem__(self, key: str) -> Any:
6200
+ AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationStorageConfigurationAwsDataCatalogConfiguration.__key_warning(key)
6201
+ return super().__getitem__(key)
6202
+
6203
+ def get(self, key: str, default = None) -> Any:
6204
+ AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationStorageConfigurationAwsDataCatalogConfiguration.__key_warning(key)
6205
+ return super().get(key, default)
6206
+
6207
+ def __init__(__self__, *,
6208
+ table_names: Sequence[_builtins.str]):
6209
+ """
6210
+ :param Sequence[_builtins.str] table_names: List of names of the tables to use.
6211
+ """
6212
+ pulumi.set(__self__, "table_names", table_names)
6213
+
6214
+ @_builtins.property
6215
+ @pulumi.getter(name="tableNames")
6216
+ def table_names(self) -> Sequence[_builtins.str]:
6217
+ """
6218
+ List of names of the tables to use.
6219
+ """
6220
+ return pulumi.get(self, "table_names")
6221
+
6222
+
6223
+ @pulumi.output_type
6224
+ class AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationStorageConfigurationRedshiftConfiguration(dict):
6225
+ @staticmethod
6226
+ def __key_warning(key: str):
6227
+ suggest = None
6228
+ if key == "databaseName":
6229
+ suggest = "database_name"
6230
+
6231
+ if suggest:
6232
+ pulumi.log.warn(f"Key '{key}' not found in AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationStorageConfigurationRedshiftConfiguration. Access the value via the '{suggest}' property getter instead.")
6233
+
6234
+ def __getitem__(self, key: str) -> Any:
6235
+ AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationStorageConfigurationRedshiftConfiguration.__key_warning(key)
6236
+ return super().__getitem__(key)
6237
+
6238
+ def get(self, key: str, default = None) -> Any:
6239
+ AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationStorageConfigurationRedshiftConfiguration.__key_warning(key)
6240
+ return super().get(key, default)
6241
+
6242
+ def __init__(__self__, *,
6243
+ database_name: _builtins.str):
6244
+ """
6245
+ :param _builtins.str database_name: Name of the Amazon Redshift database.
6246
+ """
6247
+ pulumi.set(__self__, "database_name", database_name)
6248
+
6249
+ @_builtins.property
6250
+ @pulumi.getter(name="databaseName")
6251
+ def database_name(self) -> _builtins.str:
6252
+ """
6253
+ Name of the Amazon Redshift database.
6254
+ """
6255
+ return pulumi.get(self, "database_name")
6256
+
6257
+
6258
+ @pulumi.output_type
6259
+ class AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfiguration(dict):
6260
+ @staticmethod
6261
+ def __key_warning(key: str):
6262
+ suggest = None
6263
+ if key == "embeddingModelArn":
6264
+ suggest = "embedding_model_arn"
6265
+ elif key == "embeddingModelConfiguration":
6266
+ suggest = "embedding_model_configuration"
6267
+ elif key == "supplementalDataStorageConfiguration":
6268
+ suggest = "supplemental_data_storage_configuration"
6269
+
6270
+ if suggest:
6271
+ pulumi.log.warn(f"Key '{key}' not found in AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfiguration. Access the value via the '{suggest}' property getter instead.")
6272
+
6273
+ def __getitem__(self, key: str) -> Any:
6274
+ AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfiguration.__key_warning(key)
6275
+ return super().__getitem__(key)
6276
+
6277
+ def get(self, key: str, default = None) -> Any:
6278
+ AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfiguration.__key_warning(key)
6279
+ return super().get(key, default)
6280
+
6281
+ def __init__(__self__, *,
6282
+ embedding_model_arn: _builtins.str,
6283
+ embedding_model_configuration: Optional['outputs.AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationEmbeddingModelConfiguration'] = None,
6284
+ supplemental_data_storage_configuration: Optional['outputs.AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfiguration'] = None):
6285
+ """
6286
+ :param _builtins.str embedding_model_arn: ARN of the model used to create vector embeddings for the knowledge base.
6287
+ :param 'AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationEmbeddingModelConfigurationArgs' embedding_model_configuration: The embeddings model configuration details for the vector model used in Knowledge Base. See `embedding_model_configuration` block for details.
6288
+ :param 'AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfigurationArgs' supplemental_data_storage_configuration: supplemental_data_storage_configuration. See `supplemental_data_storage_configuration` block for details.
6289
+ """
6290
+ pulumi.set(__self__, "embedding_model_arn", embedding_model_arn)
6291
+ if embedding_model_configuration is not None:
6292
+ pulumi.set(__self__, "embedding_model_configuration", embedding_model_configuration)
6293
+ if supplemental_data_storage_configuration is not None:
6294
+ pulumi.set(__self__, "supplemental_data_storage_configuration", supplemental_data_storage_configuration)
6295
+
6296
+ @_builtins.property
6297
+ @pulumi.getter(name="embeddingModelArn")
6298
+ def embedding_model_arn(self) -> _builtins.str:
6299
+ """
6300
+ ARN of the model used to create vector embeddings for the knowledge base.
6301
+ """
6302
+ return pulumi.get(self, "embedding_model_arn")
6303
+
6304
+ @_builtins.property
6305
+ @pulumi.getter(name="embeddingModelConfiguration")
6306
+ def embedding_model_configuration(self) -> Optional['outputs.AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationEmbeddingModelConfiguration']:
6307
+ """
6308
+ The embeddings model configuration details for the vector model used in Knowledge Base. See `embedding_model_configuration` block for details.
6309
+ """
6310
+ return pulumi.get(self, "embedding_model_configuration")
6311
+
6312
+ @_builtins.property
6313
+ @pulumi.getter(name="supplementalDataStorageConfiguration")
6314
+ def supplemental_data_storage_configuration(self) -> Optional['outputs.AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfiguration']:
6315
+ """
6316
+ supplemental_data_storage_configuration. See `supplemental_data_storage_configuration` block for details.
6317
+ """
6318
+ return pulumi.get(self, "supplemental_data_storage_configuration")
6319
+
6320
+
6321
+ @pulumi.output_type
6322
+ class AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationEmbeddingModelConfiguration(dict):
6323
+ @staticmethod
6324
+ def __key_warning(key: str):
6325
+ suggest = None
6326
+ if key == "bedrockEmbeddingModelConfiguration":
6327
+ suggest = "bedrock_embedding_model_configuration"
6328
+
6329
+ if suggest:
6330
+ pulumi.log.warn(f"Key '{key}' not found in AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationEmbeddingModelConfiguration. Access the value via the '{suggest}' property getter instead.")
6331
+
6332
+ def __getitem__(self, key: str) -> Any:
6333
+ AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationEmbeddingModelConfiguration.__key_warning(key)
6334
+ return super().__getitem__(key)
6335
+
6336
+ def get(self, key: str, default = None) -> Any:
6337
+ AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationEmbeddingModelConfiguration.__key_warning(key)
6338
+ return super().get(key, default)
6339
+
6340
+ def __init__(__self__, *,
6341
+ bedrock_embedding_model_configuration: Optional['outputs.AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationEmbeddingModelConfigurationBedrockEmbeddingModelConfiguration'] = None):
6342
+ """
6343
+ :param 'AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationEmbeddingModelConfigurationBedrockEmbeddingModelConfigurationArgs' bedrock_embedding_model_configuration: The vector configuration details on the Bedrock embeddings model. See `bedrock_embedding_model_configuration` block for details.
6344
+ """
6345
+ if bedrock_embedding_model_configuration is not None:
6346
+ pulumi.set(__self__, "bedrock_embedding_model_configuration", bedrock_embedding_model_configuration)
6347
+
6348
+ @_builtins.property
6349
+ @pulumi.getter(name="bedrockEmbeddingModelConfiguration")
6350
+ def bedrock_embedding_model_configuration(self) -> Optional['outputs.AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationEmbeddingModelConfigurationBedrockEmbeddingModelConfiguration']:
6351
+ """
6352
+ The vector configuration details on the Bedrock embeddings model. See `bedrock_embedding_model_configuration` block for details.
6353
+ """
6354
+ return pulumi.get(self, "bedrock_embedding_model_configuration")
6355
+
6356
+
6357
+ @pulumi.output_type
6358
+ class AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationEmbeddingModelConfigurationBedrockEmbeddingModelConfiguration(dict):
6359
+ @staticmethod
6360
+ def __key_warning(key: str):
6361
+ suggest = None
6362
+ if key == "embeddingDataType":
6363
+ suggest = "embedding_data_type"
6364
+
6365
+ if suggest:
6366
+ pulumi.log.warn(f"Key '{key}' not found in AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationEmbeddingModelConfigurationBedrockEmbeddingModelConfiguration. Access the value via the '{suggest}' property getter instead.")
6367
+
6368
+ def __getitem__(self, key: str) -> Any:
6369
+ AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationEmbeddingModelConfigurationBedrockEmbeddingModelConfiguration.__key_warning(key)
6370
+ return super().__getitem__(key)
6371
+
6372
+ def get(self, key: str, default = None) -> Any:
6373
+ AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationEmbeddingModelConfigurationBedrockEmbeddingModelConfiguration.__key_warning(key)
6374
+ return super().get(key, default)
6375
+
6376
+ def __init__(__self__, *,
6377
+ dimensions: Optional[_builtins.int] = None,
6378
+ embedding_data_type: Optional[_builtins.str] = None):
6379
+ """
6380
+ :param _builtins.int dimensions: Dimension details for the vector configuration used on the Bedrock embeddings model.
6381
+ :param _builtins.str embedding_data_type: Data type for the vectors when using a model to convert text into vector embeddings. The model must support the specified data type for vector embeddings. Valid values are `FLOAT32` and `BINARY`.
6382
+ """
6383
+ if dimensions is not None:
6384
+ pulumi.set(__self__, "dimensions", dimensions)
6385
+ if embedding_data_type is not None:
6386
+ pulumi.set(__self__, "embedding_data_type", embedding_data_type)
6387
+
6388
+ @_builtins.property
6389
+ @pulumi.getter
6390
+ def dimensions(self) -> Optional[_builtins.int]:
6391
+ """
6392
+ Dimension details for the vector configuration used on the Bedrock embeddings model.
6393
+ """
6394
+ return pulumi.get(self, "dimensions")
6395
+
6396
+ @_builtins.property
6397
+ @pulumi.getter(name="embeddingDataType")
6398
+ def embedding_data_type(self) -> Optional[_builtins.str]:
6399
+ """
6400
+ Data type for the vectors when using a model to convert text into vector embeddings. The model must support the specified data type for vector embeddings. Valid values are `FLOAT32` and `BINARY`.
6401
+ """
6402
+ return pulumi.get(self, "embedding_data_type")
6403
+
6404
+
6405
+ @pulumi.output_type
6406
+ class AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfiguration(dict):
6407
+ @staticmethod
6408
+ def __key_warning(key: str):
6409
+ suggest = None
6410
+ if key == "storageLocations":
6411
+ suggest = "storage_locations"
6412
+
6413
+ if suggest:
6414
+ pulumi.log.warn(f"Key '{key}' not found in AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfiguration. Access the value via the '{suggest}' property getter instead.")
6415
+
6416
+ def __getitem__(self, key: str) -> Any:
6417
+ AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfiguration.__key_warning(key)
6418
+ return super().__getitem__(key)
6419
+
6420
+ def get(self, key: str, default = None) -> Any:
6421
+ AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfiguration.__key_warning(key)
6422
+ return super().get(key, default)
6423
+
6424
+ def __init__(__self__, *,
6425
+ storage_locations: Optional[Sequence['outputs.AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfigurationStorageLocation']] = None):
6426
+ """
6427
+ :param Sequence['AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfigurationStorageLocationArgs'] storage_locations: A storage location specification for images extracted from multimodal documents in your data source. See `storage_location` block for details.
6428
+ """
6429
+ if storage_locations is not None:
6430
+ pulumi.set(__self__, "storage_locations", storage_locations)
6431
+
6432
+ @_builtins.property
6433
+ @pulumi.getter(name="storageLocations")
6434
+ def storage_locations(self) -> Optional[Sequence['outputs.AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfigurationStorageLocation']]:
6435
+ """
6436
+ A storage location specification for images extracted from multimodal documents in your data source. See `storage_location` block for details.
6437
+ """
6438
+ return pulumi.get(self, "storage_locations")
6439
+
6440
+
6441
+ @pulumi.output_type
6442
+ class AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfigurationStorageLocation(dict):
6443
+ @staticmethod
6444
+ def __key_warning(key: str):
6445
+ suggest = None
6446
+ if key == "s3Location":
6447
+ suggest = "s3_location"
6448
+
6449
+ if suggest:
6450
+ pulumi.log.warn(f"Key '{key}' not found in AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfigurationStorageLocation. Access the value via the '{suggest}' property getter instead.")
6451
+
6452
+ def __getitem__(self, key: str) -> Any:
6453
+ AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfigurationStorageLocation.__key_warning(key)
6454
+ return super().__getitem__(key)
6455
+
6456
+ def get(self, key: str, default = None) -> Any:
6457
+ AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfigurationStorageLocation.__key_warning(key)
6458
+ return super().get(key, default)
6459
+
6460
+ def __init__(__self__, *,
6461
+ type: _builtins.str,
6462
+ s3_location: Optional['outputs.AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfigurationStorageLocationS3Location'] = None):
6463
+ """
6464
+ :param _builtins.str type: Storage service used for this location. `S3` is the only valid value.
6465
+ :param 'AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfigurationStorageLocationS3LocationArgs' s3_location: Contains information about the Amazon S3 location for the extracted images. See `s3_location` block for details.
6466
+ """
6467
+ pulumi.set(__self__, "type", type)
6468
+ if s3_location is not None:
6469
+ pulumi.set(__self__, "s3_location", s3_location)
6470
+
6471
+ @_builtins.property
6472
+ @pulumi.getter
6473
+ def type(self) -> _builtins.str:
6474
+ """
6475
+ Storage service used for this location. `S3` is the only valid value.
6476
+ """
6477
+ return pulumi.get(self, "type")
6478
+
6479
+ @_builtins.property
6480
+ @pulumi.getter(name="s3Location")
6481
+ def s3_location(self) -> Optional['outputs.AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfigurationStorageLocationS3Location']:
6482
+ """
6483
+ Contains information about the Amazon S3 location for the extracted images. See `s3_location` block for details.
6484
+ """
6485
+ return pulumi.get(self, "s3_location")
6486
+
6487
+
6488
+ @pulumi.output_type
6489
+ class AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfigurationStorageLocationS3Location(dict):
6490
+ def __init__(__self__, *,
6491
+ uri: _builtins.str):
6492
+ """
6493
+ :param _builtins.str uri: URI of the location.
6494
+ """
6495
+ pulumi.set(__self__, "uri", uri)
6496
+
6497
+ @_builtins.property
6498
+ @pulumi.getter
6499
+ def uri(self) -> _builtins.str:
6500
+ """
6501
+ URI of the location.
6502
+ """
6503
+ return pulumi.get(self, "uri")
6504
+
6505
+
6506
+ @pulumi.output_type
6507
+ class AgentKnowledgeBaseStorageConfiguration(dict):
6508
+ @staticmethod
6509
+ def __key_warning(key: str):
6510
+ suggest = None
6511
+ if key == "mongoDbAtlasConfiguration":
6512
+ suggest = "mongo_db_atlas_configuration"
6513
+ elif key == "neptuneAnalyticsConfiguration":
6514
+ suggest = "neptune_analytics_configuration"
6515
+ elif key == "opensearchManagedClusterConfiguration":
6516
+ suggest = "opensearch_managed_cluster_configuration"
6517
+ elif key == "opensearchServerlessConfiguration":
6518
+ suggest = "opensearch_serverless_configuration"
6519
+ elif key == "pineconeConfiguration":
6520
+ suggest = "pinecone_configuration"
6521
+ elif key == "rdsConfiguration":
6522
+ suggest = "rds_configuration"
6523
+ elif key == "redisEnterpriseCloudConfiguration":
6524
+ suggest = "redis_enterprise_cloud_configuration"
6525
+ elif key == "s3VectorsConfiguration":
6526
+ suggest = "s3_vectors_configuration"
6527
+
6528
+ if suggest:
6529
+ pulumi.log.warn(f"Key '{key}' not found in AgentKnowledgeBaseStorageConfiguration. Access the value via the '{suggest}' property getter instead.")
6530
+
6531
+ def __getitem__(self, key: str) -> Any:
6532
+ AgentKnowledgeBaseStorageConfiguration.__key_warning(key)
6533
+ return super().__getitem__(key)
6534
+
6535
+ def get(self, key: str, default = None) -> Any:
6536
+ AgentKnowledgeBaseStorageConfiguration.__key_warning(key)
6537
+ return super().get(key, default)
6538
+
6539
+ def __init__(__self__, *,
6540
+ type: _builtins.str,
6541
+ mongo_db_atlas_configuration: Optional['outputs.AgentKnowledgeBaseStorageConfigurationMongoDbAtlasConfiguration'] = None,
6542
+ neptune_analytics_configuration: Optional['outputs.AgentKnowledgeBaseStorageConfigurationNeptuneAnalyticsConfiguration'] = None,
6543
+ opensearch_managed_cluster_configuration: Optional['outputs.AgentKnowledgeBaseStorageConfigurationOpensearchManagedClusterConfiguration'] = None,
6544
+ opensearch_serverless_configuration: Optional['outputs.AgentKnowledgeBaseStorageConfigurationOpensearchServerlessConfiguration'] = None,
6545
+ pinecone_configuration: Optional['outputs.AgentKnowledgeBaseStorageConfigurationPineconeConfiguration'] = None,
6546
+ rds_configuration: Optional['outputs.AgentKnowledgeBaseStorageConfigurationRdsConfiguration'] = None,
6547
+ redis_enterprise_cloud_configuration: Optional['outputs.AgentKnowledgeBaseStorageConfigurationRedisEnterpriseCloudConfiguration'] = None,
6548
+ s3_vectors_configuration: Optional['outputs.AgentKnowledgeBaseStorageConfigurationS3VectorsConfiguration'] = None):
6549
+ """
6550
+ :param _builtins.str type: Vector store service in which the knowledge base is stored. Valid Values: `MONGO_DB_ATLAS`, `OPENSEARCH_SERVERLESS`, `OPENSEARCH_MANAGED_CLUSTER`, `PINECONE`, `REDIS_ENTERPRISE_CLOUD`, `RDS`, `S3_VECTORS`, `NEPTUNE_ANALYTICS`.
6551
+ :param 'AgentKnowledgeBaseStorageConfigurationMongoDbAtlasConfigurationArgs' mongo_db_atlas_configuration: The storage configuration of the knowledge base in MongoDB Atlas. See `mongo_db_atlas_configuration` block for details.
6552
+ :param 'AgentKnowledgeBaseStorageConfigurationNeptuneAnalyticsConfigurationArgs' neptune_analytics_configuration: The storage configuration of the knowledge base in Amazon Neptune Analytics. See `neptune_analytics_configuration` block for details.
6553
+ :param 'AgentKnowledgeBaseStorageConfigurationOpensearchManagedClusterConfigurationArgs' opensearch_managed_cluster_configuration: The storage configuration of the knowledge base in Amazon OpenSearch Service Managed Cluster. See `opensearch_managed_cluster_configuration` block for details.
6554
+ :param 'AgentKnowledgeBaseStorageConfigurationOpensearchServerlessConfigurationArgs' opensearch_serverless_configuration: The storage configuration of the knowledge base in Amazon OpenSearch Service Serverless. See `opensearch_serverless_configuration` block for details.
6555
+ :param 'AgentKnowledgeBaseStorageConfigurationPineconeConfigurationArgs' pinecone_configuration: The storage configuration of the knowledge base in Pinecone. See `pinecone_configuration` block for details.
6556
+ :param 'AgentKnowledgeBaseStorageConfigurationRdsConfigurationArgs' rds_configuration: 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.html). See `rds_configuration` block for details.
6557
+ :param 'AgentKnowledgeBaseStorageConfigurationRedisEnterpriseCloudConfigurationArgs' redis_enterprise_cloud_configuration: The storage configuration of the knowledge base in Redis Enterprise Cloud. See `redis_enterprise_cloud_configuration` block for details.
6558
+ :param 'AgentKnowledgeBaseStorageConfigurationS3VectorsConfigurationArgs' s3_vectors_configuration: The storage configuration of the knowledge base in Amazon S3 Vectors. See `s3_vectors_configuration` block for details.
6559
+ """
6560
+ pulumi.set(__self__, "type", type)
6561
+ if mongo_db_atlas_configuration is not None:
6562
+ pulumi.set(__self__, "mongo_db_atlas_configuration", mongo_db_atlas_configuration)
6563
+ if neptune_analytics_configuration is not None:
6564
+ pulumi.set(__self__, "neptune_analytics_configuration", neptune_analytics_configuration)
6565
+ if opensearch_managed_cluster_configuration is not None:
6566
+ pulumi.set(__self__, "opensearch_managed_cluster_configuration", opensearch_managed_cluster_configuration)
6567
+ if opensearch_serverless_configuration is not None:
6568
+ pulumi.set(__self__, "opensearch_serverless_configuration", opensearch_serverless_configuration)
6569
+ if pinecone_configuration is not None:
6570
+ pulumi.set(__self__, "pinecone_configuration", pinecone_configuration)
6571
+ if rds_configuration is not None:
6572
+ pulumi.set(__self__, "rds_configuration", rds_configuration)
6573
+ if redis_enterprise_cloud_configuration is not None:
6574
+ pulumi.set(__self__, "redis_enterprise_cloud_configuration", redis_enterprise_cloud_configuration)
6575
+ if s3_vectors_configuration is not None:
6576
+ pulumi.set(__self__, "s3_vectors_configuration", s3_vectors_configuration)
6577
+
6578
+ @_builtins.property
6579
+ @pulumi.getter
6580
+ def type(self) -> _builtins.str:
6581
+ """
6582
+ Vector store service in which the knowledge base is stored. Valid Values: `MONGO_DB_ATLAS`, `OPENSEARCH_SERVERLESS`, `OPENSEARCH_MANAGED_CLUSTER`, `PINECONE`, `REDIS_ENTERPRISE_CLOUD`, `RDS`, `S3_VECTORS`, `NEPTUNE_ANALYTICS`.
6583
+ """
6584
+ return pulumi.get(self, "type")
6585
+
6586
+ @_builtins.property
6587
+ @pulumi.getter(name="mongoDbAtlasConfiguration")
6588
+ def mongo_db_atlas_configuration(self) -> Optional['outputs.AgentKnowledgeBaseStorageConfigurationMongoDbAtlasConfiguration']:
6589
+ """
6590
+ The storage configuration of the knowledge base in MongoDB Atlas. See `mongo_db_atlas_configuration` block for details.
6591
+ """
6592
+ return pulumi.get(self, "mongo_db_atlas_configuration")
6593
+
6594
+ @_builtins.property
6595
+ @pulumi.getter(name="neptuneAnalyticsConfiguration")
6596
+ def neptune_analytics_configuration(self) -> Optional['outputs.AgentKnowledgeBaseStorageConfigurationNeptuneAnalyticsConfiguration']:
6597
+ """
6598
+ The storage configuration of the knowledge base in Amazon Neptune Analytics. See `neptune_analytics_configuration` block for details.
6599
+ """
6600
+ return pulumi.get(self, "neptune_analytics_configuration")
6601
+
6602
+ @_builtins.property
6603
+ @pulumi.getter(name="opensearchManagedClusterConfiguration")
6604
+ def opensearch_managed_cluster_configuration(self) -> Optional['outputs.AgentKnowledgeBaseStorageConfigurationOpensearchManagedClusterConfiguration']:
6605
+ """
6606
+ The storage configuration of the knowledge base in Amazon OpenSearch Service Managed Cluster. See `opensearch_managed_cluster_configuration` block for details.
6607
+ """
6608
+ return pulumi.get(self, "opensearch_managed_cluster_configuration")
6609
+
6610
+ @_builtins.property
6611
+ @pulumi.getter(name="opensearchServerlessConfiguration")
6612
+ def opensearch_serverless_configuration(self) -> Optional['outputs.AgentKnowledgeBaseStorageConfigurationOpensearchServerlessConfiguration']:
6613
+ """
6614
+ The storage configuration of the knowledge base in Amazon OpenSearch Service Serverless. See `opensearch_serverless_configuration` block for details.
6615
+ """
6616
+ return pulumi.get(self, "opensearch_serverless_configuration")
6617
+
6618
+ @_builtins.property
6619
+ @pulumi.getter(name="pineconeConfiguration")
6620
+ def pinecone_configuration(self) -> Optional['outputs.AgentKnowledgeBaseStorageConfigurationPineconeConfiguration']:
6621
+ """
6622
+ The storage configuration of the knowledge base in Pinecone. See `pinecone_configuration` block for details.
6623
+ """
6624
+ return pulumi.get(self, "pinecone_configuration")
6625
+
6626
+ @_builtins.property
6627
+ @pulumi.getter(name="rdsConfiguration")
6628
+ def rds_configuration(self) -> Optional['outputs.AgentKnowledgeBaseStorageConfigurationRdsConfiguration']:
6629
+ """
6630
+ 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.html). See `rds_configuration` block for details.
6631
+ """
6632
+ return pulumi.get(self, "rds_configuration")
6633
+
6634
+ @_builtins.property
6635
+ @pulumi.getter(name="redisEnterpriseCloudConfiguration")
6636
+ def redis_enterprise_cloud_configuration(self) -> Optional['outputs.AgentKnowledgeBaseStorageConfigurationRedisEnterpriseCloudConfiguration']:
6637
+ """
6638
+ The storage configuration of the knowledge base in Redis Enterprise Cloud. See `redis_enterprise_cloud_configuration` block for details.
6639
+ """
6640
+ return pulumi.get(self, "redis_enterprise_cloud_configuration")
6641
+
6642
+ @_builtins.property
6643
+ @pulumi.getter(name="s3VectorsConfiguration")
6644
+ def s3_vectors_configuration(self) -> Optional['outputs.AgentKnowledgeBaseStorageConfigurationS3VectorsConfiguration']:
6645
+ """
6646
+ The storage configuration of the knowledge base in Amazon S3 Vectors. See `s3_vectors_configuration` block for details.
6647
+ """
6648
+ return pulumi.get(self, "s3_vectors_configuration")
6649
+
6650
+
6651
+ @pulumi.output_type
6652
+ class AgentKnowledgeBaseStorageConfigurationMongoDbAtlasConfiguration(dict):
6653
+ @staticmethod
6654
+ def __key_warning(key: str):
6655
+ suggest = None
6656
+ if key == "collectionName":
6657
+ suggest = "collection_name"
6658
+ elif key == "credentialsSecretArn":
6659
+ suggest = "credentials_secret_arn"
6660
+ elif key == "databaseName":
6661
+ suggest = "database_name"
6662
+ elif key == "vectorIndexName":
6663
+ suggest = "vector_index_name"
6664
+ elif key == "endpointServiceName":
6665
+ suggest = "endpoint_service_name"
6666
+ elif key == "fieldMapping":
6667
+ suggest = "field_mapping"
6668
+ elif key == "textIndexName":
6669
+ suggest = "text_index_name"
6670
+
6671
+ if suggest:
6672
+ pulumi.log.warn(f"Key '{key}' not found in AgentKnowledgeBaseStorageConfigurationMongoDbAtlasConfiguration. Access the value via the '{suggest}' property getter instead.")
6673
+
6674
+ def __getitem__(self, key: str) -> Any:
6675
+ AgentKnowledgeBaseStorageConfigurationMongoDbAtlasConfiguration.__key_warning(key)
6676
+ return super().__getitem__(key)
6677
+
6678
+ def get(self, key: str, default = None) -> Any:
6679
+ AgentKnowledgeBaseStorageConfigurationMongoDbAtlasConfiguration.__key_warning(key)
6680
+ return super().get(key, default)
6681
+
6682
+ def __init__(__self__, *,
6683
+ collection_name: _builtins.str,
6684
+ credentials_secret_arn: _builtins.str,
6685
+ database_name: _builtins.str,
6686
+ endpoint: _builtins.str,
6687
+ vector_index_name: _builtins.str,
6688
+ endpoint_service_name: Optional[_builtins.str] = None,
6689
+ field_mapping: Optional['outputs.AgentKnowledgeBaseStorageConfigurationMongoDbAtlasConfigurationFieldMapping'] = None,
6690
+ text_index_name: Optional[_builtins.str] = None):
6691
+ """
6692
+ :param _builtins.str collection_name: The name of the collection in the MongoDB Atlas database.
6693
+ :param _builtins.str credentials_secret_arn: The ARN of the secret that you created in AWS Secrets Manager that is linked to your MongoDB Atlas database.
6694
+ :param _builtins.str database_name: The name of the database in the MongoDB Atlas database.
6695
+ :param _builtins.str endpoint: The endpoint URL of the MongoDB Atlas database.
6696
+ :param _builtins.str vector_index_name: The name of the vector index.
6697
+ :param _builtins.str endpoint_service_name: The name of the service that hosts the MongoDB Atlas database.
6698
+ :param 'AgentKnowledgeBaseStorageConfigurationMongoDbAtlasConfigurationFieldMappingArgs' field_mapping: Contains the names of the fields to which to map information about the vector store.
6699
+ :param _builtins.str text_index_name: The name of the vector index.
6700
+ """
6701
+ pulumi.set(__self__, "collection_name", collection_name)
6702
+ pulumi.set(__self__, "credentials_secret_arn", credentials_secret_arn)
6703
+ pulumi.set(__self__, "database_name", database_name)
6704
+ pulumi.set(__self__, "endpoint", endpoint)
6705
+ pulumi.set(__self__, "vector_index_name", vector_index_name)
6706
+ if endpoint_service_name is not None:
6707
+ pulumi.set(__self__, "endpoint_service_name", endpoint_service_name)
6708
+ if field_mapping is not None:
6709
+ pulumi.set(__self__, "field_mapping", field_mapping)
6710
+ if text_index_name is not None:
6711
+ pulumi.set(__self__, "text_index_name", text_index_name)
6712
+
6713
+ @_builtins.property
6714
+ @pulumi.getter(name="collectionName")
6715
+ def collection_name(self) -> _builtins.str:
6716
+ """
6717
+ The name of the collection in the MongoDB Atlas database.
6718
+ """
6719
+ return pulumi.get(self, "collection_name")
6720
+
6721
+ @_builtins.property
6722
+ @pulumi.getter(name="credentialsSecretArn")
6723
+ def credentials_secret_arn(self) -> _builtins.str:
6724
+ """
6725
+ The ARN of the secret that you created in AWS Secrets Manager that is linked to your MongoDB Atlas database.
6726
+ """
6727
+ return pulumi.get(self, "credentials_secret_arn")
6728
+
6729
+ @_builtins.property
6730
+ @pulumi.getter(name="databaseName")
6731
+ def database_name(self) -> _builtins.str:
6732
+ """
6733
+ The name of the database in the MongoDB Atlas database.
6734
+ """
6735
+ return pulumi.get(self, "database_name")
6736
+
6737
+ @_builtins.property
6738
+ @pulumi.getter
6739
+ def endpoint(self) -> _builtins.str:
6740
+ """
6741
+ The endpoint URL of the MongoDB Atlas database.
6742
+ """
6743
+ return pulumi.get(self, "endpoint")
6744
+
6745
+ @_builtins.property
6746
+ @pulumi.getter(name="vectorIndexName")
6747
+ def vector_index_name(self) -> _builtins.str:
6748
+ """
6749
+ The name of the vector index.
6750
+ """
6751
+ return pulumi.get(self, "vector_index_name")
6752
+
6753
+ @_builtins.property
6754
+ @pulumi.getter(name="endpointServiceName")
6755
+ def endpoint_service_name(self) -> Optional[_builtins.str]:
6756
+ """
6757
+ The name of the service that hosts the MongoDB Atlas database.
6758
+ """
6759
+ return pulumi.get(self, "endpoint_service_name")
6760
+
6761
+ @_builtins.property
6762
+ @pulumi.getter(name="fieldMapping")
6763
+ def field_mapping(self) -> Optional['outputs.AgentKnowledgeBaseStorageConfigurationMongoDbAtlasConfigurationFieldMapping']:
6764
+ """
6765
+ Contains the names of the fields to which to map information about the vector store.
6766
+ """
6767
+ return pulumi.get(self, "field_mapping")
6768
+
6769
+ @_builtins.property
6770
+ @pulumi.getter(name="textIndexName")
6771
+ def text_index_name(self) -> Optional[_builtins.str]:
6772
+ """
6773
+ The name of the vector index.
6774
+ """
6775
+ return pulumi.get(self, "text_index_name")
6776
+
6777
+
6778
+ @pulumi.output_type
6779
+ class AgentKnowledgeBaseStorageConfigurationMongoDbAtlasConfigurationFieldMapping(dict):
6780
+ @staticmethod
6781
+ def __key_warning(key: str):
6782
+ suggest = None
6783
+ if key == "metadataField":
6784
+ suggest = "metadata_field"
6785
+ elif key == "textField":
6786
+ suggest = "text_field"
6787
+ elif key == "vectorField":
6788
+ suggest = "vector_field"
6789
+
6790
+ if suggest:
6791
+ pulumi.log.warn(f"Key '{key}' not found in AgentKnowledgeBaseStorageConfigurationMongoDbAtlasConfigurationFieldMapping. Access the value via the '{suggest}' property getter instead.")
6792
+
6793
+ def __getitem__(self, key: str) -> Any:
6794
+ AgentKnowledgeBaseStorageConfigurationMongoDbAtlasConfigurationFieldMapping.__key_warning(key)
6795
+ return super().__getitem__(key)
6796
+
6797
+ def get(self, key: str, default = None) -> Any:
6798
+ AgentKnowledgeBaseStorageConfigurationMongoDbAtlasConfigurationFieldMapping.__key_warning(key)
6799
+ return super().get(key, default)
6800
+
6801
+ def __init__(__self__, *,
6802
+ metadata_field: _builtins.str,
6803
+ text_field: _builtins.str,
6804
+ vector_field: _builtins.str):
6805
+ """
6806
+ :param _builtins.str metadata_field: The name of the field in which Amazon Bedrock stores metadata about the vector store.
6807
+ :param _builtins.str 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.
6808
+ :param _builtins.str vector_field: The name of the field in which Amazon Bedrock stores the vector embeddings for your data sources.
6809
+ """
6810
+ pulumi.set(__self__, "metadata_field", metadata_field)
6811
+ pulumi.set(__self__, "text_field", text_field)
6812
+ pulumi.set(__self__, "vector_field", vector_field)
6813
+
6814
+ @_builtins.property
6815
+ @pulumi.getter(name="metadataField")
6816
+ def metadata_field(self) -> _builtins.str:
6817
+ """
6818
+ The name of the field in which Amazon Bedrock stores metadata about the vector store.
6819
+ """
6820
+ return pulumi.get(self, "metadata_field")
6821
+
6822
+ @_builtins.property
6823
+ @pulumi.getter(name="textField")
6824
+ def text_field(self) -> _builtins.str:
6825
+ """
6826
+ 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.
6827
+ """
6828
+ return pulumi.get(self, "text_field")
6829
+
6830
+ @_builtins.property
6831
+ @pulumi.getter(name="vectorField")
6832
+ def vector_field(self) -> _builtins.str:
6833
+ """
6834
+ The name of the field in which Amazon Bedrock stores the vector embeddings for your data sources.
5517
6835
  """
5518
- return pulumi.get(self, "bedrock_embedding_model_configuration")
6836
+ return pulumi.get(self, "vector_field")
5519
6837
 
5520
6838
 
5521
6839
  @pulumi.output_type
5522
- class AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationEmbeddingModelConfigurationBedrockEmbeddingModelConfiguration(dict):
6840
+ class AgentKnowledgeBaseStorageConfigurationNeptuneAnalyticsConfiguration(dict):
5523
6841
  @staticmethod
5524
6842
  def __key_warning(key: str):
5525
6843
  suggest = None
5526
- if key == "embeddingDataType":
5527
- suggest = "embedding_data_type"
6844
+ if key == "graphArn":
6845
+ suggest = "graph_arn"
6846
+ elif key == "fieldMapping":
6847
+ suggest = "field_mapping"
5528
6848
 
5529
6849
  if suggest:
5530
- pulumi.log.warn(f"Key '{key}' not found in AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationEmbeddingModelConfigurationBedrockEmbeddingModelConfiguration. Access the value via the '{suggest}' property getter instead.")
6850
+ pulumi.log.warn(f"Key '{key}' not found in AgentKnowledgeBaseStorageConfigurationNeptuneAnalyticsConfiguration. Access the value via the '{suggest}' property getter instead.")
5531
6851
 
5532
6852
  def __getitem__(self, key: str) -> Any:
5533
- AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationEmbeddingModelConfigurationBedrockEmbeddingModelConfiguration.__key_warning(key)
6853
+ AgentKnowledgeBaseStorageConfigurationNeptuneAnalyticsConfiguration.__key_warning(key)
5534
6854
  return super().__getitem__(key)
5535
6855
 
5536
6856
  def get(self, key: str, default = None) -> Any:
5537
- AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationEmbeddingModelConfigurationBedrockEmbeddingModelConfiguration.__key_warning(key)
6857
+ AgentKnowledgeBaseStorageConfigurationNeptuneAnalyticsConfiguration.__key_warning(key)
5538
6858
  return super().get(key, default)
5539
6859
 
5540
6860
  def __init__(__self__, *,
5541
- dimensions: Optional[_builtins.int] = None,
5542
- embedding_data_type: Optional[_builtins.str] = None):
6861
+ graph_arn: _builtins.str,
6862
+ field_mapping: Optional['outputs.AgentKnowledgeBaseStorageConfigurationNeptuneAnalyticsConfigurationFieldMapping'] = None):
5543
6863
  """
5544
- :param _builtins.int dimensions: Dimension details for the vector configuration used on the Bedrock embeddings model.
5545
- :param _builtins.str embedding_data_type: Data type for the vectors when using a model to convert text into vector embeddings. The model must support the specified data type for vector embeddings. Valid values are `FLOAT32` and `BINARY`.
6864
+ :param _builtins.str graph_arn: ARN of the Neptune Analytics vector store.
6865
+ :param 'AgentKnowledgeBaseStorageConfigurationNeptuneAnalyticsConfigurationFieldMappingArgs' field_mapping: The names of the fields to which to map information about the vector store. This block supports the following arguments:
5546
6866
  """
5547
- if dimensions is not None:
5548
- pulumi.set(__self__, "dimensions", dimensions)
5549
- if embedding_data_type is not None:
5550
- pulumi.set(__self__, "embedding_data_type", embedding_data_type)
6867
+ pulumi.set(__self__, "graph_arn", graph_arn)
6868
+ if field_mapping is not None:
6869
+ pulumi.set(__self__, "field_mapping", field_mapping)
5551
6870
 
5552
6871
  @_builtins.property
5553
- @pulumi.getter
5554
- def dimensions(self) -> Optional[_builtins.int]:
6872
+ @pulumi.getter(name="graphArn")
6873
+ def graph_arn(self) -> _builtins.str:
5555
6874
  """
5556
- Dimension details for the vector configuration used on the Bedrock embeddings model.
6875
+ ARN of the Neptune Analytics vector store.
5557
6876
  """
5558
- return pulumi.get(self, "dimensions")
6877
+ return pulumi.get(self, "graph_arn")
5559
6878
 
5560
6879
  @_builtins.property
5561
- @pulumi.getter(name="embeddingDataType")
5562
- def embedding_data_type(self) -> Optional[_builtins.str]:
6880
+ @pulumi.getter(name="fieldMapping")
6881
+ def field_mapping(self) -> Optional['outputs.AgentKnowledgeBaseStorageConfigurationNeptuneAnalyticsConfigurationFieldMapping']:
5563
6882
  """
5564
- Data type for the vectors when using a model to convert text into vector embeddings. The model must support the specified data type for vector embeddings. Valid values are `FLOAT32` and `BINARY`.
6883
+ The names of the fields to which to map information about the vector store. This block supports the following arguments:
5565
6884
  """
5566
- return pulumi.get(self, "embedding_data_type")
6885
+ return pulumi.get(self, "field_mapping")
5567
6886
 
5568
6887
 
5569
6888
  @pulumi.output_type
5570
- class AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfiguration(dict):
6889
+ class AgentKnowledgeBaseStorageConfigurationNeptuneAnalyticsConfigurationFieldMapping(dict):
5571
6890
  @staticmethod
5572
6891
  def __key_warning(key: str):
5573
6892
  suggest = None
5574
- if key == "storageLocations":
5575
- suggest = "storage_locations"
6893
+ if key == "metadataField":
6894
+ suggest = "metadata_field"
6895
+ elif key == "textField":
6896
+ suggest = "text_field"
5576
6897
 
5577
6898
  if suggest:
5578
- pulumi.log.warn(f"Key '{key}' not found in AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfiguration. Access the value via the '{suggest}' property getter instead.")
6899
+ pulumi.log.warn(f"Key '{key}' not found in AgentKnowledgeBaseStorageConfigurationNeptuneAnalyticsConfigurationFieldMapping. Access the value via the '{suggest}' property getter instead.")
5579
6900
 
5580
6901
  def __getitem__(self, key: str) -> Any:
5581
- AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfiguration.__key_warning(key)
6902
+ AgentKnowledgeBaseStorageConfigurationNeptuneAnalyticsConfigurationFieldMapping.__key_warning(key)
5582
6903
  return super().__getitem__(key)
5583
6904
 
5584
6905
  def get(self, key: str, default = None) -> Any:
5585
- AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfiguration.__key_warning(key)
6906
+ AgentKnowledgeBaseStorageConfigurationNeptuneAnalyticsConfigurationFieldMapping.__key_warning(key)
5586
6907
  return super().get(key, default)
5587
6908
 
5588
6909
  def __init__(__self__, *,
5589
- storage_locations: Optional[Sequence['outputs.AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfigurationStorageLocation']] = None):
6910
+ metadata_field: _builtins.str,
6911
+ text_field: _builtins.str):
5590
6912
  """
5591
- :param Sequence['AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfigurationStorageLocationArgs'] storage_locations: A storage location specification for images extracted from multimodal documents in your data source. See `storage_location` block for details.
6913
+ :param _builtins.str metadata_field: Name of the field in which Amazon Bedrock stores metadata about the vector store.
6914
+ :param _builtins.str text_field: 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.
5592
6915
  """
5593
- if storage_locations is not None:
5594
- pulumi.set(__self__, "storage_locations", storage_locations)
6916
+ pulumi.set(__self__, "metadata_field", metadata_field)
6917
+ pulumi.set(__self__, "text_field", text_field)
5595
6918
 
5596
6919
  @_builtins.property
5597
- @pulumi.getter(name="storageLocations")
5598
- def storage_locations(self) -> Optional[Sequence['outputs.AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfigurationStorageLocation']]:
6920
+ @pulumi.getter(name="metadataField")
6921
+ def metadata_field(self) -> _builtins.str:
5599
6922
  """
5600
- A storage location specification for images extracted from multimodal documents in your data source. See `storage_location` block for details.
6923
+ Name of the field in which Amazon Bedrock stores metadata about the vector store.
5601
6924
  """
5602
- return pulumi.get(self, "storage_locations")
6925
+ return pulumi.get(self, "metadata_field")
6926
+
6927
+ @_builtins.property
6928
+ @pulumi.getter(name="textField")
6929
+ def text_field(self) -> _builtins.str:
6930
+ """
6931
+ 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.
6932
+ """
6933
+ return pulumi.get(self, "text_field")
5603
6934
 
5604
6935
 
5605
6936
  @pulumi.output_type
5606
- class AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfigurationStorageLocation(dict):
6937
+ class AgentKnowledgeBaseStorageConfigurationOpensearchManagedClusterConfiguration(dict):
5607
6938
  @staticmethod
5608
6939
  def __key_warning(key: str):
5609
6940
  suggest = None
5610
- if key == "s3Location":
5611
- suggest = "s3_location"
6941
+ if key == "domainArn":
6942
+ suggest = "domain_arn"
6943
+ elif key == "domainEndpoint":
6944
+ suggest = "domain_endpoint"
6945
+ elif key == "vectorIndexName":
6946
+ suggest = "vector_index_name"
6947
+ elif key == "fieldMapping":
6948
+ suggest = "field_mapping"
5612
6949
 
5613
6950
  if suggest:
5614
- pulumi.log.warn(f"Key '{key}' not found in AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfigurationStorageLocation. Access the value via the '{suggest}' property getter instead.")
6951
+ pulumi.log.warn(f"Key '{key}' not found in AgentKnowledgeBaseStorageConfigurationOpensearchManagedClusterConfiguration. Access the value via the '{suggest}' property getter instead.")
5615
6952
 
5616
6953
  def __getitem__(self, key: str) -> Any:
5617
- AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfigurationStorageLocation.__key_warning(key)
6954
+ AgentKnowledgeBaseStorageConfigurationOpensearchManagedClusterConfiguration.__key_warning(key)
5618
6955
  return super().__getitem__(key)
5619
6956
 
5620
6957
  def get(self, key: str, default = None) -> Any:
5621
- AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfigurationStorageLocation.__key_warning(key)
6958
+ AgentKnowledgeBaseStorageConfigurationOpensearchManagedClusterConfiguration.__key_warning(key)
5622
6959
  return super().get(key, default)
5623
6960
 
5624
6961
  def __init__(__self__, *,
5625
- type: _builtins.str,
5626
- s3_location: Optional['outputs.AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfigurationStorageLocationS3Location'] = None):
6962
+ domain_arn: _builtins.str,
6963
+ domain_endpoint: _builtins.str,
6964
+ vector_index_name: _builtins.str,
6965
+ field_mapping: Optional['outputs.AgentKnowledgeBaseStorageConfigurationOpensearchManagedClusterConfigurationFieldMapping'] = None):
5627
6966
  """
5628
- :param _builtins.str type: Storage service used for this location. `S3` is the only valid value.
5629
- :param 'AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfigurationStorageLocationS3LocationArgs' s3_location: Contains information about the Amazon S3 location for the extracted images. See `s3_location` block for details.
6967
+ :param _builtins.str domain_arn: ARN of the OpenSearch domain.
6968
+ :param _builtins.str domain_endpoint: Endpoint URL of the OpenSearch domain.
6969
+ :param _builtins.str vector_index_name: Name of the vector store.
6970
+ :param 'AgentKnowledgeBaseStorageConfigurationOpensearchManagedClusterConfigurationFieldMappingArgs' field_mapping: The names of the fields to which to map information about the vector store. This block supports the following arguments:
5630
6971
  """
5631
- pulumi.set(__self__, "type", type)
5632
- if s3_location is not None:
5633
- pulumi.set(__self__, "s3_location", s3_location)
6972
+ pulumi.set(__self__, "domain_arn", domain_arn)
6973
+ pulumi.set(__self__, "domain_endpoint", domain_endpoint)
6974
+ pulumi.set(__self__, "vector_index_name", vector_index_name)
6975
+ if field_mapping is not None:
6976
+ pulumi.set(__self__, "field_mapping", field_mapping)
5634
6977
 
5635
6978
  @_builtins.property
5636
- @pulumi.getter
5637
- def type(self) -> _builtins.str:
6979
+ @pulumi.getter(name="domainArn")
6980
+ def domain_arn(self) -> _builtins.str:
5638
6981
  """
5639
- Storage service used for this location. `S3` is the only valid value.
6982
+ ARN of the OpenSearch domain.
5640
6983
  """
5641
- return pulumi.get(self, "type")
6984
+ return pulumi.get(self, "domain_arn")
5642
6985
 
5643
6986
  @_builtins.property
5644
- @pulumi.getter(name="s3Location")
5645
- def s3_location(self) -> Optional['outputs.AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfigurationStorageLocationS3Location']:
6987
+ @pulumi.getter(name="domainEndpoint")
6988
+ def domain_endpoint(self) -> _builtins.str:
5646
6989
  """
5647
- Contains information about the Amazon S3 location for the extracted images. See `s3_location` block for details.
6990
+ Endpoint URL of the OpenSearch domain.
5648
6991
  """
5649
- return pulumi.get(self, "s3_location")
6992
+ return pulumi.get(self, "domain_endpoint")
5650
6993
 
5651
-
5652
- @pulumi.output_type
5653
- class AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfigurationStorageLocationS3Location(dict):
5654
- def __init__(__self__, *,
5655
- uri: _builtins.str):
6994
+ @_builtins.property
6995
+ @pulumi.getter(name="vectorIndexName")
6996
+ def vector_index_name(self) -> _builtins.str:
5656
6997
  """
5657
- :param _builtins.str uri: URI of the location.
6998
+ Name of the vector store.
5658
6999
  """
5659
- pulumi.set(__self__, "uri", uri)
7000
+ return pulumi.get(self, "vector_index_name")
5660
7001
 
5661
7002
  @_builtins.property
5662
- @pulumi.getter
5663
- def uri(self) -> _builtins.str:
7003
+ @pulumi.getter(name="fieldMapping")
7004
+ def field_mapping(self) -> Optional['outputs.AgentKnowledgeBaseStorageConfigurationOpensearchManagedClusterConfigurationFieldMapping']:
5664
7005
  """
5665
- URI of the location.
7006
+ The names of the fields to which to map information about the vector store. This block supports the following arguments:
5666
7007
  """
5667
- return pulumi.get(self, "uri")
7008
+ return pulumi.get(self, "field_mapping")
5668
7009
 
5669
7010
 
5670
7011
  @pulumi.output_type
5671
- class AgentKnowledgeBaseStorageConfiguration(dict):
7012
+ class AgentKnowledgeBaseStorageConfigurationOpensearchManagedClusterConfigurationFieldMapping(dict):
5672
7013
  @staticmethod
5673
7014
  def __key_warning(key: str):
5674
7015
  suggest = None
5675
- if key == "opensearchServerlessConfiguration":
5676
- suggest = "opensearch_serverless_configuration"
5677
- elif key == "pineconeConfiguration":
5678
- suggest = "pinecone_configuration"
5679
- elif key == "rdsConfiguration":
5680
- suggest = "rds_configuration"
5681
- elif key == "redisEnterpriseCloudConfiguration":
5682
- suggest = "redis_enterprise_cloud_configuration"
7016
+ if key == "metadataField":
7017
+ suggest = "metadata_field"
7018
+ elif key == "textField":
7019
+ suggest = "text_field"
7020
+ elif key == "vectorField":
7021
+ suggest = "vector_field"
5683
7022
 
5684
7023
  if suggest:
5685
- pulumi.log.warn(f"Key '{key}' not found in AgentKnowledgeBaseStorageConfiguration. Access the value via the '{suggest}' property getter instead.")
7024
+ pulumi.log.warn(f"Key '{key}' not found in AgentKnowledgeBaseStorageConfigurationOpensearchManagedClusterConfigurationFieldMapping. Access the value via the '{suggest}' property getter instead.")
5686
7025
 
5687
7026
  def __getitem__(self, key: str) -> Any:
5688
- AgentKnowledgeBaseStorageConfiguration.__key_warning(key)
7027
+ AgentKnowledgeBaseStorageConfigurationOpensearchManagedClusterConfigurationFieldMapping.__key_warning(key)
5689
7028
  return super().__getitem__(key)
5690
7029
 
5691
7030
  def get(self, key: str, default = None) -> Any:
5692
- AgentKnowledgeBaseStorageConfiguration.__key_warning(key)
7031
+ AgentKnowledgeBaseStorageConfigurationOpensearchManagedClusterConfigurationFieldMapping.__key_warning(key)
5693
7032
  return super().get(key, default)
5694
7033
 
5695
7034
  def __init__(__self__, *,
5696
- type: _builtins.str,
5697
- opensearch_serverless_configuration: Optional['outputs.AgentKnowledgeBaseStorageConfigurationOpensearchServerlessConfiguration'] = None,
5698
- pinecone_configuration: Optional['outputs.AgentKnowledgeBaseStorageConfigurationPineconeConfiguration'] = None,
5699
- rds_configuration: Optional['outputs.AgentKnowledgeBaseStorageConfigurationRdsConfiguration'] = None,
5700
- redis_enterprise_cloud_configuration: Optional['outputs.AgentKnowledgeBaseStorageConfigurationRedisEnterpriseCloudConfiguration'] = None):
5701
- """
5702
- :param _builtins.str type: Vector store service in which the knowledge base is stored. Valid Values: `OPENSEARCH_SERVERLESS`, `PINECONE`, `REDIS_ENTERPRISE_CLOUD`, `RDS`.
5703
- :param 'AgentKnowledgeBaseStorageConfigurationOpensearchServerlessConfigurationArgs' opensearch_serverless_configuration: The storage configuration of the knowledge base in Amazon OpenSearch Service. See `opensearch_serverless_configuration` block for details.
5704
- :param 'AgentKnowledgeBaseStorageConfigurationPineconeConfigurationArgs' pinecone_configuration: The storage configuration of the knowledge base in Pinecone. See `pinecone_configuration` block for details.
5705
- :param 'AgentKnowledgeBaseStorageConfigurationRdsConfigurationArgs' rds_configuration: 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.html). See `rds_configuration` block for details.
5706
- :param 'AgentKnowledgeBaseStorageConfigurationRedisEnterpriseCloudConfigurationArgs' redis_enterprise_cloud_configuration: The storage configuration of the knowledge base in Redis Enterprise Cloud. See `redis_enterprise_cloud_configuration` block for details.
5707
- """
5708
- pulumi.set(__self__, "type", type)
5709
- if opensearch_serverless_configuration is not None:
5710
- pulumi.set(__self__, "opensearch_serverless_configuration", opensearch_serverless_configuration)
5711
- if pinecone_configuration is not None:
5712
- pulumi.set(__self__, "pinecone_configuration", pinecone_configuration)
5713
- if rds_configuration is not None:
5714
- pulumi.set(__self__, "rds_configuration", rds_configuration)
5715
- if redis_enterprise_cloud_configuration is not None:
5716
- pulumi.set(__self__, "redis_enterprise_cloud_configuration", redis_enterprise_cloud_configuration)
5717
-
5718
- @_builtins.property
5719
- @pulumi.getter
5720
- def type(self) -> _builtins.str:
5721
- """
5722
- Vector store service in which the knowledge base is stored. Valid Values: `OPENSEARCH_SERVERLESS`, `PINECONE`, `REDIS_ENTERPRISE_CLOUD`, `RDS`.
5723
- """
5724
- return pulumi.get(self, "type")
5725
-
5726
- @_builtins.property
5727
- @pulumi.getter(name="opensearchServerlessConfiguration")
5728
- def opensearch_serverless_configuration(self) -> Optional['outputs.AgentKnowledgeBaseStorageConfigurationOpensearchServerlessConfiguration']:
7035
+ metadata_field: _builtins.str,
7036
+ text_field: _builtins.str,
7037
+ vector_field: _builtins.str):
5729
7038
  """
5730
- The storage configuration of the knowledge base in Amazon OpenSearch Service. See `opensearch_serverless_configuration` block for details.
7039
+ :param _builtins.str metadata_field: Name of the field in which Amazon Bedrock stores metadata about the vector store.
7040
+ :param _builtins.str text_field: 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.
7041
+ :param _builtins.str vector_field: Name of the field in which Amazon Bedrock stores the vector embeddings for your data sources.
5731
7042
  """
5732
- return pulumi.get(self, "opensearch_serverless_configuration")
7043
+ pulumi.set(__self__, "metadata_field", metadata_field)
7044
+ pulumi.set(__self__, "text_field", text_field)
7045
+ pulumi.set(__self__, "vector_field", vector_field)
5733
7046
 
5734
7047
  @_builtins.property
5735
- @pulumi.getter(name="pineconeConfiguration")
5736
- def pinecone_configuration(self) -> Optional['outputs.AgentKnowledgeBaseStorageConfigurationPineconeConfiguration']:
7048
+ @pulumi.getter(name="metadataField")
7049
+ def metadata_field(self) -> _builtins.str:
5737
7050
  """
5738
- The storage configuration of the knowledge base in Pinecone. See `pinecone_configuration` block for details.
7051
+ Name of the field in which Amazon Bedrock stores metadata about the vector store.
5739
7052
  """
5740
- return pulumi.get(self, "pinecone_configuration")
7053
+ return pulumi.get(self, "metadata_field")
5741
7054
 
5742
7055
  @_builtins.property
5743
- @pulumi.getter(name="rdsConfiguration")
5744
- def rds_configuration(self) -> Optional['outputs.AgentKnowledgeBaseStorageConfigurationRdsConfiguration']:
7056
+ @pulumi.getter(name="textField")
7057
+ def text_field(self) -> _builtins.str:
5745
7058
  """
5746
- 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.html). See `rds_configuration` block for details.
7059
+ 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.
5747
7060
  """
5748
- return pulumi.get(self, "rds_configuration")
7061
+ return pulumi.get(self, "text_field")
5749
7062
 
5750
7063
  @_builtins.property
5751
- @pulumi.getter(name="redisEnterpriseCloudConfiguration")
5752
- def redis_enterprise_cloud_configuration(self) -> Optional['outputs.AgentKnowledgeBaseStorageConfigurationRedisEnterpriseCloudConfiguration']:
7064
+ @pulumi.getter(name="vectorField")
7065
+ def vector_field(self) -> _builtins.str:
5753
7066
  """
5754
- The storage configuration of the knowledge base in Redis Enterprise Cloud. See `redis_enterprise_cloud_configuration` block for details.
7067
+ Name of the field in which Amazon Bedrock stores the vector embeddings for your data sources.
5755
7068
  """
5756
- return pulumi.get(self, "redis_enterprise_cloud_configuration")
7069
+ return pulumi.get(self, "vector_field")
5757
7070
 
5758
7071
 
5759
7072
  @pulumi.output_type
@@ -5842,24 +7155,21 @@ class AgentKnowledgeBaseStorageConfigurationOpensearchServerlessConfigurationFie
5842
7155
  return super().get(key, default)
5843
7156
 
5844
7157
  def __init__(__self__, *,
5845
- metadata_field: Optional[_builtins.str] = None,
5846
- text_field: Optional[_builtins.str] = None,
5847
- vector_field: Optional[_builtins.str] = None):
7158
+ metadata_field: _builtins.str,
7159
+ text_field: _builtins.str,
7160
+ vector_field: _builtins.str):
5848
7161
  """
5849
7162
  :param _builtins.str metadata_field: Name of the field in which Amazon Bedrock stores metadata about the vector store.
5850
7163
  :param _builtins.str text_field: 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.
5851
7164
  :param _builtins.str vector_field: Name of the field in which Amazon Bedrock stores the vector embeddings for your data sources.
5852
7165
  """
5853
- if metadata_field is not None:
5854
- pulumi.set(__self__, "metadata_field", metadata_field)
5855
- if text_field is not None:
5856
- pulumi.set(__self__, "text_field", text_field)
5857
- if vector_field is not None:
5858
- pulumi.set(__self__, "vector_field", vector_field)
7166
+ pulumi.set(__self__, "metadata_field", metadata_field)
7167
+ pulumi.set(__self__, "text_field", text_field)
7168
+ pulumi.set(__self__, "vector_field", vector_field)
5859
7169
 
5860
7170
  @_builtins.property
5861
7171
  @pulumi.getter(name="metadataField")
5862
- def metadata_field(self) -> Optional[_builtins.str]:
7172
+ def metadata_field(self) -> _builtins.str:
5863
7173
  """
5864
7174
  Name of the field in which Amazon Bedrock stores metadata about the vector store.
5865
7175
  """
@@ -5867,7 +7177,7 @@ class AgentKnowledgeBaseStorageConfigurationOpensearchServerlessConfigurationFie
5867
7177
 
5868
7178
  @_builtins.property
5869
7179
  @pulumi.getter(name="textField")
5870
- def text_field(self) -> Optional[_builtins.str]:
7180
+ def text_field(self) -> _builtins.str:
5871
7181
  """
5872
7182
  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.
5873
7183
  """
@@ -5875,7 +7185,7 @@ class AgentKnowledgeBaseStorageConfigurationOpensearchServerlessConfigurationFie
5875
7185
 
5876
7186
  @_builtins.property
5877
7187
  @pulumi.getter(name="vectorField")
5878
- def vector_field(self) -> Optional[_builtins.str]:
7188
+ def vector_field(self) -> _builtins.str:
5879
7189
  """
5880
7190
  Name of the field in which Amazon Bedrock stores the vector embeddings for your data sources.
5881
7191
  """
@@ -5978,20 +7288,18 @@ class AgentKnowledgeBaseStorageConfigurationPineconeConfigurationFieldMapping(di
5978
7288
  return super().get(key, default)
5979
7289
 
5980
7290
  def __init__(__self__, *,
5981
- metadata_field: Optional[_builtins.str] = None,
5982
- text_field: Optional[_builtins.str] = None):
7291
+ metadata_field: _builtins.str,
7292
+ text_field: _builtins.str):
5983
7293
  """
5984
7294
  :param _builtins.str metadata_field: Name of the field in which Amazon Bedrock stores metadata about the vector store.
5985
7295
  :param _builtins.str text_field: 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.
5986
7296
  """
5987
- if metadata_field is not None:
5988
- pulumi.set(__self__, "metadata_field", metadata_field)
5989
- if text_field is not None:
5990
- pulumi.set(__self__, "text_field", text_field)
7297
+ pulumi.set(__self__, "metadata_field", metadata_field)
7298
+ pulumi.set(__self__, "text_field", text_field)
5991
7299
 
5992
7300
  @_builtins.property
5993
7301
  @pulumi.getter(name="metadataField")
5994
- def metadata_field(self) -> Optional[_builtins.str]:
7302
+ def metadata_field(self) -> _builtins.str:
5995
7303
  """
5996
7304
  Name of the field in which Amazon Bedrock stores metadata about the vector store.
5997
7305
  """
@@ -5999,7 +7307,7 @@ class AgentKnowledgeBaseStorageConfigurationPineconeConfigurationFieldMapping(di
5999
7307
 
6000
7308
  @_builtins.property
6001
7309
  @pulumi.getter(name="textField")
6002
- def text_field(self) -> Optional[_builtins.str]:
7310
+ def text_field(self) -> _builtins.str:
6003
7311
  """
6004
7312
  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.
6005
7313
  """
@@ -6319,6 +7627,70 @@ class AgentKnowledgeBaseStorageConfigurationRedisEnterpriseCloudConfigurationFie
6319
7627
  return pulumi.get(self, "vector_field")
6320
7628
 
6321
7629
 
7630
+ @pulumi.output_type
7631
+ class AgentKnowledgeBaseStorageConfigurationS3VectorsConfiguration(dict):
7632
+ @staticmethod
7633
+ def __key_warning(key: str):
7634
+ suggest = None
7635
+ if key == "indexArn":
7636
+ suggest = "index_arn"
7637
+ elif key == "indexName":
7638
+ suggest = "index_name"
7639
+ elif key == "vectorBucketArn":
7640
+ suggest = "vector_bucket_arn"
7641
+
7642
+ if suggest:
7643
+ pulumi.log.warn(f"Key '{key}' not found in AgentKnowledgeBaseStorageConfigurationS3VectorsConfiguration. Access the value via the '{suggest}' property getter instead.")
7644
+
7645
+ def __getitem__(self, key: str) -> Any:
7646
+ AgentKnowledgeBaseStorageConfigurationS3VectorsConfiguration.__key_warning(key)
7647
+ return super().__getitem__(key)
7648
+
7649
+ def get(self, key: str, default = None) -> Any:
7650
+ AgentKnowledgeBaseStorageConfigurationS3VectorsConfiguration.__key_warning(key)
7651
+ return super().get(key, default)
7652
+
7653
+ def __init__(__self__, *,
7654
+ index_arn: Optional[_builtins.str] = None,
7655
+ index_name: Optional[_builtins.str] = None,
7656
+ vector_bucket_arn: Optional[_builtins.str] = None):
7657
+ """
7658
+ :param _builtins.str index_arn: ARN of the S3 Vectors index. Conflicts with `index_name` and `vector_bucket_arn`.
7659
+ :param _builtins.str index_name: Name of the S3 Vectors index. Must be specified with `vector_bucket_arn`. Conflicts with `index_arn`.
7660
+ :param _builtins.str vector_bucket_arn: ARN of the S3 Vectors vector bucket. Must be specified with `index_name`. Conflicts with `index_arn`.
7661
+ """
7662
+ if index_arn is not None:
7663
+ pulumi.set(__self__, "index_arn", index_arn)
7664
+ if index_name is not None:
7665
+ pulumi.set(__self__, "index_name", index_name)
7666
+ if vector_bucket_arn is not None:
7667
+ pulumi.set(__self__, "vector_bucket_arn", vector_bucket_arn)
7668
+
7669
+ @_builtins.property
7670
+ @pulumi.getter(name="indexArn")
7671
+ def index_arn(self) -> Optional[_builtins.str]:
7672
+ """
7673
+ ARN of the S3 Vectors index. Conflicts with `index_name` and `vector_bucket_arn`.
7674
+ """
7675
+ return pulumi.get(self, "index_arn")
7676
+
7677
+ @_builtins.property
7678
+ @pulumi.getter(name="indexName")
7679
+ def index_name(self) -> Optional[_builtins.str]:
7680
+ """
7681
+ Name of the S3 Vectors index. Must be specified with `vector_bucket_arn`. Conflicts with `index_arn`.
7682
+ """
7683
+ return pulumi.get(self, "index_name")
7684
+
7685
+ @_builtins.property
7686
+ @pulumi.getter(name="vectorBucketArn")
7687
+ def vector_bucket_arn(self) -> Optional[_builtins.str]:
7688
+ """
7689
+ ARN of the S3 Vectors vector bucket. Must be specified with `index_name`. Conflicts with `index_arn`.
7690
+ """
7691
+ return pulumi.get(self, "vector_bucket_arn")
7692
+
7693
+
6322
7694
  @pulumi.output_type
6323
7695
  class AgentKnowledgeBaseTimeouts(dict):
6324
7696
  def __init__(__self__, *,