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
@@ -257,6 +257,38 @@ __all__ = [
257
257
  'AgentFlowTimeoutsArgsDict',
258
258
  'AgentKnowledgeBaseKnowledgeBaseConfigurationArgs',
259
259
  'AgentKnowledgeBaseKnowledgeBaseConfigurationArgsDict',
260
+ 'AgentKnowledgeBaseKnowledgeBaseConfigurationKendraKnowledgeBaseConfigurationArgs',
261
+ 'AgentKnowledgeBaseKnowledgeBaseConfigurationKendraKnowledgeBaseConfigurationArgsDict',
262
+ 'AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationArgs',
263
+ 'AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationArgsDict',
264
+ 'AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationArgs',
265
+ 'AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationArgsDict',
266
+ 'AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationArgs',
267
+ 'AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationArgsDict',
268
+ 'AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationProvisionedConfigurationArgs',
269
+ 'AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationProvisionedConfigurationArgsDict',
270
+ 'AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationProvisionedConfigurationAuthConfigurationArgs',
271
+ 'AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationProvisionedConfigurationAuthConfigurationArgsDict',
272
+ 'AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationServerlessConfigurationArgs',
273
+ 'AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationServerlessConfigurationArgsDict',
274
+ 'AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationServerlessConfigurationAuthConfigurationArgs',
275
+ 'AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationServerlessConfigurationAuthConfigurationArgsDict',
276
+ 'AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryGenerationConfigurationArgs',
277
+ 'AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryGenerationConfigurationArgsDict',
278
+ 'AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryGenerationConfigurationGenerationContextArgs',
279
+ 'AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryGenerationConfigurationGenerationContextArgsDict',
280
+ 'AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryGenerationConfigurationGenerationContextCuratedQueryArgs',
281
+ 'AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryGenerationConfigurationGenerationContextCuratedQueryArgsDict',
282
+ 'AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryGenerationConfigurationGenerationContextTableArgs',
283
+ 'AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryGenerationConfigurationGenerationContextTableArgsDict',
284
+ 'AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryGenerationConfigurationGenerationContextTableColumnArgs',
285
+ 'AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryGenerationConfigurationGenerationContextTableColumnArgsDict',
286
+ 'AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationStorageConfigurationArgs',
287
+ 'AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationStorageConfigurationArgsDict',
288
+ 'AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationStorageConfigurationAwsDataCatalogConfigurationArgs',
289
+ 'AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationStorageConfigurationAwsDataCatalogConfigurationArgsDict',
290
+ 'AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationStorageConfigurationRedshiftConfigurationArgs',
291
+ 'AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationStorageConfigurationRedshiftConfigurationArgsDict',
260
292
  'AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationArgs',
261
293
  'AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationArgsDict',
262
294
  'AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationEmbeddingModelConfigurationArgs',
@@ -271,6 +303,18 @@ __all__ = [
271
303
  'AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfigurationStorageLocationS3LocationArgsDict',
272
304
  'AgentKnowledgeBaseStorageConfigurationArgs',
273
305
  'AgentKnowledgeBaseStorageConfigurationArgsDict',
306
+ 'AgentKnowledgeBaseStorageConfigurationMongoDbAtlasConfigurationArgs',
307
+ 'AgentKnowledgeBaseStorageConfigurationMongoDbAtlasConfigurationArgsDict',
308
+ 'AgentKnowledgeBaseStorageConfigurationMongoDbAtlasConfigurationFieldMappingArgs',
309
+ 'AgentKnowledgeBaseStorageConfigurationMongoDbAtlasConfigurationFieldMappingArgsDict',
310
+ 'AgentKnowledgeBaseStorageConfigurationNeptuneAnalyticsConfigurationArgs',
311
+ 'AgentKnowledgeBaseStorageConfigurationNeptuneAnalyticsConfigurationArgsDict',
312
+ 'AgentKnowledgeBaseStorageConfigurationNeptuneAnalyticsConfigurationFieldMappingArgs',
313
+ 'AgentKnowledgeBaseStorageConfigurationNeptuneAnalyticsConfigurationFieldMappingArgsDict',
314
+ 'AgentKnowledgeBaseStorageConfigurationOpensearchManagedClusterConfigurationArgs',
315
+ 'AgentKnowledgeBaseStorageConfigurationOpensearchManagedClusterConfigurationArgsDict',
316
+ 'AgentKnowledgeBaseStorageConfigurationOpensearchManagedClusterConfigurationFieldMappingArgs',
317
+ 'AgentKnowledgeBaseStorageConfigurationOpensearchManagedClusterConfigurationFieldMappingArgsDict',
274
318
  'AgentKnowledgeBaseStorageConfigurationOpensearchServerlessConfigurationArgs',
275
319
  'AgentKnowledgeBaseStorageConfigurationOpensearchServerlessConfigurationArgsDict',
276
320
  'AgentKnowledgeBaseStorageConfigurationOpensearchServerlessConfigurationFieldMappingArgs',
@@ -287,6 +331,8 @@ __all__ = [
287
331
  'AgentKnowledgeBaseStorageConfigurationRedisEnterpriseCloudConfigurationArgsDict',
288
332
  'AgentKnowledgeBaseStorageConfigurationRedisEnterpriseCloudConfigurationFieldMappingArgs',
289
333
  'AgentKnowledgeBaseStorageConfigurationRedisEnterpriseCloudConfigurationFieldMappingArgsDict',
334
+ 'AgentKnowledgeBaseStorageConfigurationS3VectorsConfigurationArgs',
335
+ 'AgentKnowledgeBaseStorageConfigurationS3VectorsConfigurationArgsDict',
290
336
  'AgentKnowledgeBaseTimeoutsArgs',
291
337
  'AgentKnowledgeBaseTimeoutsArgsDict',
292
338
  'AgentPromptVariantArgs',
@@ -6819,11 +6865,19 @@ if not MYPY:
6819
6865
  class AgentKnowledgeBaseKnowledgeBaseConfigurationArgsDict(TypedDict):
6820
6866
  type: pulumi.Input[_builtins.str]
6821
6867
  """
6822
- Type of data that the data source is converted into for the knowledge base. Valid Values: `VECTOR`.
6868
+ Type of data that the data source is converted into for the knowledge base. Valid Values: `VECTOR`, `KENDRA`, `SQL`.
6869
+ """
6870
+ kendra_knowledge_base_configuration: NotRequired[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationKendraKnowledgeBaseConfigurationArgsDict']]
6871
+ """
6872
+ Settings for an Amazon Kendra knowledge base. See `kendra_knowledge_base_configuration` block for details.
6873
+ """
6874
+ sql_knowledge_base_configuration: NotRequired[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationArgsDict']]
6875
+ """
6876
+ Configurations for a knowledge base connected to an SQL database. See `sql_knowledge_base_configuration` block for details.
6823
6877
  """
6824
6878
  vector_knowledge_base_configuration: NotRequired[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationArgsDict']]
6825
6879
  """
6826
- Details about the embeddings model that'sused to convert the data source. See `vector_knowledge_base_configuration` block for details.
6880
+ Details about the model that's used to convert the data source into vector embeddings. See `vector_knowledge_base_configuration` block for details.
6827
6881
  """
6828
6882
  elif False:
6829
6883
  AgentKnowledgeBaseKnowledgeBaseConfigurationArgsDict: TypeAlias = Mapping[str, Any]
@@ -6832,12 +6886,20 @@ elif False:
6832
6886
  class AgentKnowledgeBaseKnowledgeBaseConfigurationArgs:
6833
6887
  def __init__(__self__, *,
6834
6888
  type: pulumi.Input[_builtins.str],
6889
+ kendra_knowledge_base_configuration: Optional[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationKendraKnowledgeBaseConfigurationArgs']] = None,
6890
+ sql_knowledge_base_configuration: Optional[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationArgs']] = None,
6835
6891
  vector_knowledge_base_configuration: Optional[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationArgs']] = None):
6836
6892
  """
6837
- :param pulumi.Input[_builtins.str] type: Type of data that the data source is converted into for the knowledge base. Valid Values: `VECTOR`.
6838
- :param pulumi.Input['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.
6893
+ :param pulumi.Input[_builtins.str] type: Type of data that the data source is converted into for the knowledge base. Valid Values: `VECTOR`, `KENDRA`, `SQL`.
6894
+ :param pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationKendraKnowledgeBaseConfigurationArgs'] kendra_knowledge_base_configuration: Settings for an Amazon Kendra knowledge base. See `kendra_knowledge_base_configuration` block for details.
6895
+ :param pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationArgs'] sql_knowledge_base_configuration: Configurations for a knowledge base connected to an SQL database. See `sql_knowledge_base_configuration` block for details.
6896
+ :param pulumi.Input['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.
6839
6897
  """
6840
6898
  pulumi.set(__self__, "type", type)
6899
+ if kendra_knowledge_base_configuration is not None:
6900
+ pulumi.set(__self__, "kendra_knowledge_base_configuration", kendra_knowledge_base_configuration)
6901
+ if sql_knowledge_base_configuration is not None:
6902
+ pulumi.set(__self__, "sql_knowledge_base_configuration", sql_knowledge_base_configuration)
6841
6903
  if vector_knowledge_base_configuration is not None:
6842
6904
  pulumi.set(__self__, "vector_knowledge_base_configuration", vector_knowledge_base_configuration)
6843
6905
 
@@ -6845,7 +6907,7 @@ class AgentKnowledgeBaseKnowledgeBaseConfigurationArgs:
6845
6907
  @pulumi.getter
6846
6908
  def type(self) -> pulumi.Input[_builtins.str]:
6847
6909
  """
6848
- Type of data that the data source is converted into for the knowledge base. Valid Values: `VECTOR`.
6910
+ Type of data that the data source is converted into for the knowledge base. Valid Values: `VECTOR`, `KENDRA`, `SQL`.
6849
6911
  """
6850
6912
  return pulumi.get(self, "type")
6851
6913
 
@@ -6853,11 +6915,35 @@ class AgentKnowledgeBaseKnowledgeBaseConfigurationArgs:
6853
6915
  def type(self, value: pulumi.Input[_builtins.str]):
6854
6916
  pulumi.set(self, "type", value)
6855
6917
 
6918
+ @_builtins.property
6919
+ @pulumi.getter(name="kendraKnowledgeBaseConfiguration")
6920
+ def kendra_knowledge_base_configuration(self) -> Optional[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationKendraKnowledgeBaseConfigurationArgs']]:
6921
+ """
6922
+ Settings for an Amazon Kendra knowledge base. See `kendra_knowledge_base_configuration` block for details.
6923
+ """
6924
+ return pulumi.get(self, "kendra_knowledge_base_configuration")
6925
+
6926
+ @kendra_knowledge_base_configuration.setter
6927
+ def kendra_knowledge_base_configuration(self, value: Optional[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationKendraKnowledgeBaseConfigurationArgs']]):
6928
+ pulumi.set(self, "kendra_knowledge_base_configuration", value)
6929
+
6930
+ @_builtins.property
6931
+ @pulumi.getter(name="sqlKnowledgeBaseConfiguration")
6932
+ def sql_knowledge_base_configuration(self) -> Optional[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationArgs']]:
6933
+ """
6934
+ Configurations for a knowledge base connected to an SQL database. See `sql_knowledge_base_configuration` block for details.
6935
+ """
6936
+ return pulumi.get(self, "sql_knowledge_base_configuration")
6937
+
6938
+ @sql_knowledge_base_configuration.setter
6939
+ def sql_knowledge_base_configuration(self, value: Optional[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationArgs']]):
6940
+ pulumi.set(self, "sql_knowledge_base_configuration", value)
6941
+
6856
6942
  @_builtins.property
6857
6943
  @pulumi.getter(name="vectorKnowledgeBaseConfiguration")
6858
6944
  def vector_knowledge_base_configuration(self) -> Optional[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationArgs']]:
6859
6945
  """
6860
- Details about the embeddings model that'sused to convert the data source. See `vector_knowledge_base_configuration` block for details.
6946
+ Details about the model that's used to convert the data source into vector embeddings. See `vector_knowledge_base_configuration` block for details.
6861
6947
  """
6862
6948
  return pulumi.get(self, "vector_knowledge_base_configuration")
6863
6949
 
@@ -6867,383 +6953,1857 @@ class AgentKnowledgeBaseKnowledgeBaseConfigurationArgs:
6867
6953
 
6868
6954
 
6869
6955
  if not MYPY:
6870
- class AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationArgsDict(TypedDict):
6871
- embedding_model_arn: pulumi.Input[_builtins.str]
6956
+ class AgentKnowledgeBaseKnowledgeBaseConfigurationKendraKnowledgeBaseConfigurationArgsDict(TypedDict):
6957
+ kendra_index_arn: pulumi.Input[_builtins.str]
6872
6958
  """
6873
- ARN of the model used to create vector embeddings for the knowledge base.
6959
+ ARN of the Amazon Kendra index.
6874
6960
  """
6875
- embedding_model_configuration: NotRequired[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationEmbeddingModelConfigurationArgsDict']]
6961
+ elif False:
6962
+ AgentKnowledgeBaseKnowledgeBaseConfigurationKendraKnowledgeBaseConfigurationArgsDict: TypeAlias = Mapping[str, Any]
6963
+
6964
+ @pulumi.input_type
6965
+ class AgentKnowledgeBaseKnowledgeBaseConfigurationKendraKnowledgeBaseConfigurationArgs:
6966
+ def __init__(__self__, *,
6967
+ kendra_index_arn: pulumi.Input[_builtins.str]):
6876
6968
  """
6877
- The embeddings model configuration details for the vector model used in Knowledge Base. See `embedding_model_configuration` block for details.
6969
+ :param pulumi.Input[_builtins.str] kendra_index_arn: ARN of the Amazon Kendra index.
6878
6970
  """
6879
- supplemental_data_storage_configuration: NotRequired[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfigurationArgsDict']]
6971
+ pulumi.set(__self__, "kendra_index_arn", kendra_index_arn)
6972
+
6973
+ @_builtins.property
6974
+ @pulumi.getter(name="kendraIndexArn")
6975
+ def kendra_index_arn(self) -> pulumi.Input[_builtins.str]:
6880
6976
  """
6881
- supplemental_data_storage_configuration. See `supplemental_data_storage_configuration` block for details.
6977
+ ARN of the Amazon Kendra index.
6978
+ """
6979
+ return pulumi.get(self, "kendra_index_arn")
6980
+
6981
+ @kendra_index_arn.setter
6982
+ def kendra_index_arn(self, value: pulumi.Input[_builtins.str]):
6983
+ pulumi.set(self, "kendra_index_arn", value)
6984
+
6985
+
6986
+ if not MYPY:
6987
+ class AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationArgsDict(TypedDict):
6988
+ type: pulumi.Input[_builtins.str]
6989
+ """
6990
+ Type of SQL database to connect to the knowledge base. Valid values: `REDSHIFT`.
6991
+ """
6992
+ redshift_configuration: NotRequired[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationArgsDict']]
6993
+ """
6994
+ Configurations for a knowledge base connected to an Amazon Redshift database. See `redshift_configuration` block for details.
6882
6995
  """
6883
6996
  elif False:
6884
- AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationArgsDict: TypeAlias = Mapping[str, Any]
6997
+ AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationArgsDict: TypeAlias = Mapping[str, Any]
6885
6998
 
6886
6999
  @pulumi.input_type
6887
- class AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationArgs:
7000
+ class AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationArgs:
6888
7001
  def __init__(__self__, *,
6889
- embedding_model_arn: pulumi.Input[_builtins.str],
6890
- embedding_model_configuration: Optional[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationEmbeddingModelConfigurationArgs']] = None,
6891
- supplemental_data_storage_configuration: Optional[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfigurationArgs']] = None):
7002
+ type: pulumi.Input[_builtins.str],
7003
+ redshift_configuration: Optional[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationArgs']] = None):
6892
7004
  """
6893
- :param pulumi.Input[_builtins.str] embedding_model_arn: ARN of the model used to create vector embeddings for the knowledge base.
6894
- :param pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationEmbeddingModelConfigurationArgs'] embedding_model_configuration: The embeddings model configuration details for the vector model used in Knowledge Base. See `embedding_model_configuration` block for details.
6895
- :param pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfigurationArgs'] supplemental_data_storage_configuration: supplemental_data_storage_configuration. See `supplemental_data_storage_configuration` block for details.
7005
+ :param pulumi.Input[_builtins.str] type: Type of SQL database to connect to the knowledge base. Valid values: `REDSHIFT`.
7006
+ :param pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationArgs'] redshift_configuration: Configurations for a knowledge base connected to an Amazon Redshift database. See `redshift_configuration` block for details.
6896
7007
  """
6897
- pulumi.set(__self__, "embedding_model_arn", embedding_model_arn)
6898
- if embedding_model_configuration is not None:
6899
- pulumi.set(__self__, "embedding_model_configuration", embedding_model_configuration)
6900
- if supplemental_data_storage_configuration is not None:
6901
- pulumi.set(__self__, "supplemental_data_storage_configuration", supplemental_data_storage_configuration)
7008
+ pulumi.set(__self__, "type", type)
7009
+ if redshift_configuration is not None:
7010
+ pulumi.set(__self__, "redshift_configuration", redshift_configuration)
6902
7011
 
6903
7012
  @_builtins.property
6904
- @pulumi.getter(name="embeddingModelArn")
6905
- def embedding_model_arn(self) -> pulumi.Input[_builtins.str]:
7013
+ @pulumi.getter
7014
+ def type(self) -> pulumi.Input[_builtins.str]:
6906
7015
  """
6907
- ARN of the model used to create vector embeddings for the knowledge base.
7016
+ Type of SQL database to connect to the knowledge base. Valid values: `REDSHIFT`.
6908
7017
  """
6909
- return pulumi.get(self, "embedding_model_arn")
7018
+ return pulumi.get(self, "type")
6910
7019
 
6911
- @embedding_model_arn.setter
6912
- def embedding_model_arn(self, value: pulumi.Input[_builtins.str]):
6913
- pulumi.set(self, "embedding_model_arn", value)
7020
+ @type.setter
7021
+ def type(self, value: pulumi.Input[_builtins.str]):
7022
+ pulumi.set(self, "type", value)
6914
7023
 
6915
7024
  @_builtins.property
6916
- @pulumi.getter(name="embeddingModelConfiguration")
6917
- def embedding_model_configuration(self) -> Optional[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationEmbeddingModelConfigurationArgs']]:
7025
+ @pulumi.getter(name="redshiftConfiguration")
7026
+ def redshift_configuration(self) -> Optional[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationArgs']]:
6918
7027
  """
6919
- The embeddings model configuration details for the vector model used in Knowledge Base. See `embedding_model_configuration` block for details.
7028
+ Configurations for a knowledge base connected to an Amazon Redshift database. See `redshift_configuration` block for details.
6920
7029
  """
6921
- return pulumi.get(self, "embedding_model_configuration")
7030
+ return pulumi.get(self, "redshift_configuration")
6922
7031
 
6923
- @embedding_model_configuration.setter
6924
- def embedding_model_configuration(self, value: Optional[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationEmbeddingModelConfigurationArgs']]):
6925
- pulumi.set(self, "embedding_model_configuration", value)
7032
+ @redshift_configuration.setter
7033
+ def redshift_configuration(self, value: Optional[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationArgs']]):
7034
+ pulumi.set(self, "redshift_configuration", value)
7035
+
7036
+
7037
+ if not MYPY:
7038
+ class AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationArgsDict(TypedDict):
7039
+ query_engine_configuration: NotRequired[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationArgsDict']]
7040
+ """
7041
+ Configurations for an Amazon Redshift query engine. See `query_engine_configuration` block for details.
7042
+ """
7043
+ query_generation_configuration: NotRequired[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryGenerationConfigurationArgsDict']]
7044
+ """
7045
+ Configurations for generating queries. See `query_generation_configuration` block for details.
7046
+ """
7047
+ storage_configuration: NotRequired[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationStorageConfigurationArgsDict']]
7048
+ """
7049
+ Configurations for Amazon Redshift database storage. See `storage_configuration` block for details.
7050
+ """
7051
+ elif False:
7052
+ AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationArgsDict: TypeAlias = Mapping[str, Any]
7053
+
7054
+ @pulumi.input_type
7055
+ class AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationArgs:
7056
+ def __init__(__self__, *,
7057
+ query_engine_configuration: Optional[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationArgs']] = None,
7058
+ query_generation_configuration: Optional[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryGenerationConfigurationArgs']] = None,
7059
+ storage_configuration: Optional[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationStorageConfigurationArgs']] = None):
7060
+ """
7061
+ :param pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationArgs'] query_engine_configuration: Configurations for an Amazon Redshift query engine. See `query_engine_configuration` block for details.
7062
+ :param pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryGenerationConfigurationArgs'] query_generation_configuration: Configurations for generating queries. See `query_generation_configuration` block for details.
7063
+ :param pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationStorageConfigurationArgs'] storage_configuration: Configurations for Amazon Redshift database storage. See `storage_configuration` block for details.
7064
+ """
7065
+ if query_engine_configuration is not None:
7066
+ pulumi.set(__self__, "query_engine_configuration", query_engine_configuration)
7067
+ if query_generation_configuration is not None:
7068
+ pulumi.set(__self__, "query_generation_configuration", query_generation_configuration)
7069
+ if storage_configuration is not None:
7070
+ pulumi.set(__self__, "storage_configuration", storage_configuration)
6926
7071
 
6927
7072
  @_builtins.property
6928
- @pulumi.getter(name="supplementalDataStorageConfiguration")
6929
- def supplemental_data_storage_configuration(self) -> Optional[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfigurationArgs']]:
7073
+ @pulumi.getter(name="queryEngineConfiguration")
7074
+ def query_engine_configuration(self) -> Optional[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationArgs']]:
6930
7075
  """
6931
- supplemental_data_storage_configuration. See `supplemental_data_storage_configuration` block for details.
7076
+ Configurations for an Amazon Redshift query engine. See `query_engine_configuration` block for details.
6932
7077
  """
6933
- return pulumi.get(self, "supplemental_data_storage_configuration")
7078
+ return pulumi.get(self, "query_engine_configuration")
6934
7079
 
6935
- @supplemental_data_storage_configuration.setter
6936
- def supplemental_data_storage_configuration(self, value: Optional[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfigurationArgs']]):
6937
- pulumi.set(self, "supplemental_data_storage_configuration", value)
7080
+ @query_engine_configuration.setter
7081
+ def query_engine_configuration(self, value: Optional[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationArgs']]):
7082
+ pulumi.set(self, "query_engine_configuration", value)
7083
+
7084
+ @_builtins.property
7085
+ @pulumi.getter(name="queryGenerationConfiguration")
7086
+ def query_generation_configuration(self) -> Optional[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryGenerationConfigurationArgs']]:
7087
+ """
7088
+ Configurations for generating queries. See `query_generation_configuration` block for details.
7089
+ """
7090
+ return pulumi.get(self, "query_generation_configuration")
7091
+
7092
+ @query_generation_configuration.setter
7093
+ def query_generation_configuration(self, value: Optional[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryGenerationConfigurationArgs']]):
7094
+ pulumi.set(self, "query_generation_configuration", value)
7095
+
7096
+ @_builtins.property
7097
+ @pulumi.getter(name="storageConfiguration")
7098
+ def storage_configuration(self) -> Optional[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationStorageConfigurationArgs']]:
7099
+ """
7100
+ Configurations for Amazon Redshift database storage. See `storage_configuration` block for details.
7101
+ """
7102
+ return pulumi.get(self, "storage_configuration")
7103
+
7104
+ @storage_configuration.setter
7105
+ def storage_configuration(self, value: Optional[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationStorageConfigurationArgs']]):
7106
+ pulumi.set(self, "storage_configuration", value)
6938
7107
 
6939
7108
 
6940
7109
  if not MYPY:
6941
- class AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationEmbeddingModelConfigurationArgsDict(TypedDict):
6942
- bedrock_embedding_model_configuration: NotRequired[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationEmbeddingModelConfigurationBedrockEmbeddingModelConfigurationArgsDict']]
7110
+ class AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationArgsDict(TypedDict):
7111
+ type: pulumi.Input[_builtins.str]
6943
7112
  """
6944
- The vector configuration details on the Bedrock embeddings model. See `bedrock_embedding_model_configuration` block for details.
7113
+ Type of query engine. Valid values: `SERVERLESS`, `PROVISIONED`.
7114
+ """
7115
+ provisioned_configuration: NotRequired[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationProvisionedConfigurationArgsDict']]
7116
+ """
7117
+ Configurations for a provisioned Amazon Redshift query engine. See `provisioned_configuration` block for details.
7118
+ """
7119
+ serverless_configuration: NotRequired[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationServerlessConfigurationArgsDict']]
7120
+ """
7121
+ Configurations for a serverless Amazon Redshift query engine. See `serverless_configuration` block for details.
6945
7122
  """
6946
7123
  elif False:
6947
- AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationEmbeddingModelConfigurationArgsDict: TypeAlias = Mapping[str, Any]
7124
+ AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationArgsDict: TypeAlias = Mapping[str, Any]
6948
7125
 
6949
7126
  @pulumi.input_type
6950
- class AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationEmbeddingModelConfigurationArgs:
7127
+ class AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationArgs:
6951
7128
  def __init__(__self__, *,
6952
- bedrock_embedding_model_configuration: Optional[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationEmbeddingModelConfigurationBedrockEmbeddingModelConfigurationArgs']] = None):
7129
+ type: pulumi.Input[_builtins.str],
7130
+ provisioned_configuration: Optional[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationProvisionedConfigurationArgs']] = None,
7131
+ serverless_configuration: Optional[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationServerlessConfigurationArgs']] = None):
6953
7132
  """
6954
- :param pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationEmbeddingModelConfigurationBedrockEmbeddingModelConfigurationArgs'] bedrock_embedding_model_configuration: The vector configuration details on the Bedrock embeddings model. See `bedrock_embedding_model_configuration` block for details.
7133
+ :param pulumi.Input[_builtins.str] type: Type of query engine. Valid values: `SERVERLESS`, `PROVISIONED`.
7134
+ :param pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationProvisionedConfigurationArgs'] provisioned_configuration: Configurations for a provisioned Amazon Redshift query engine. See `provisioned_configuration` block for details.
7135
+ :param pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationServerlessConfigurationArgs'] serverless_configuration: Configurations for a serverless Amazon Redshift query engine. See `serverless_configuration` block for details.
6955
7136
  """
6956
- if bedrock_embedding_model_configuration is not None:
6957
- pulumi.set(__self__, "bedrock_embedding_model_configuration", bedrock_embedding_model_configuration)
7137
+ pulumi.set(__self__, "type", type)
7138
+ if provisioned_configuration is not None:
7139
+ pulumi.set(__self__, "provisioned_configuration", provisioned_configuration)
7140
+ if serverless_configuration is not None:
7141
+ pulumi.set(__self__, "serverless_configuration", serverless_configuration)
6958
7142
 
6959
7143
  @_builtins.property
6960
- @pulumi.getter(name="bedrockEmbeddingModelConfiguration")
6961
- def bedrock_embedding_model_configuration(self) -> Optional[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationEmbeddingModelConfigurationBedrockEmbeddingModelConfigurationArgs']]:
7144
+ @pulumi.getter
7145
+ def type(self) -> pulumi.Input[_builtins.str]:
6962
7146
  """
6963
- The vector configuration details on the Bedrock embeddings model. See `bedrock_embedding_model_configuration` block for details.
7147
+ Type of query engine. Valid values: `SERVERLESS`, `PROVISIONED`.
6964
7148
  """
6965
- return pulumi.get(self, "bedrock_embedding_model_configuration")
7149
+ return pulumi.get(self, "type")
6966
7150
 
6967
- @bedrock_embedding_model_configuration.setter
6968
- def bedrock_embedding_model_configuration(self, value: Optional[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationEmbeddingModelConfigurationBedrockEmbeddingModelConfigurationArgs']]):
6969
- pulumi.set(self, "bedrock_embedding_model_configuration", value)
7151
+ @type.setter
7152
+ def type(self, value: pulumi.Input[_builtins.str]):
7153
+ pulumi.set(self, "type", value)
7154
+
7155
+ @_builtins.property
7156
+ @pulumi.getter(name="provisionedConfiguration")
7157
+ def provisioned_configuration(self) -> Optional[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationProvisionedConfigurationArgs']]:
7158
+ """
7159
+ Configurations for a provisioned Amazon Redshift query engine. See `provisioned_configuration` block for details.
7160
+ """
7161
+ return pulumi.get(self, "provisioned_configuration")
7162
+
7163
+ @provisioned_configuration.setter
7164
+ def provisioned_configuration(self, value: Optional[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationProvisionedConfigurationArgs']]):
7165
+ pulumi.set(self, "provisioned_configuration", value)
7166
+
7167
+ @_builtins.property
7168
+ @pulumi.getter(name="serverlessConfiguration")
7169
+ def serverless_configuration(self) -> Optional[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationServerlessConfigurationArgs']]:
7170
+ """
7171
+ Configurations for a serverless Amazon Redshift query engine. See `serverless_configuration` block for details.
7172
+ """
7173
+ return pulumi.get(self, "serverless_configuration")
7174
+
7175
+ @serverless_configuration.setter
7176
+ def serverless_configuration(self, value: Optional[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationServerlessConfigurationArgs']]):
7177
+ pulumi.set(self, "serverless_configuration", value)
6970
7178
 
6971
7179
 
6972
7180
  if not MYPY:
6973
- class AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationEmbeddingModelConfigurationBedrockEmbeddingModelConfigurationArgsDict(TypedDict):
6974
- dimensions: NotRequired[pulumi.Input[_builtins.int]]
7181
+ class AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationProvisionedConfigurationArgsDict(TypedDict):
7182
+ cluster_identifier: pulumi.Input[_builtins.str]
6975
7183
  """
6976
- Dimension details for the vector configuration used on the Bedrock embeddings model.
7184
+ ID of the Amazon Redshift cluster.
6977
7185
  """
6978
- embedding_data_type: NotRequired[pulumi.Input[_builtins.str]]
7186
+ auth_configuration: NotRequired[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationProvisionedConfigurationAuthConfigurationArgsDict']]
6979
7187
  """
6980
- 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`.
7188
+ Configurations for authentication to Amazon Redshift. See `auth_configuration` block for details.
6981
7189
  """
6982
7190
  elif False:
6983
- AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationEmbeddingModelConfigurationBedrockEmbeddingModelConfigurationArgsDict: TypeAlias = Mapping[str, Any]
7191
+ AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationProvisionedConfigurationArgsDict: TypeAlias = Mapping[str, Any]
6984
7192
 
6985
7193
  @pulumi.input_type
6986
- class AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationEmbeddingModelConfigurationBedrockEmbeddingModelConfigurationArgs:
7194
+ class AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationProvisionedConfigurationArgs:
6987
7195
  def __init__(__self__, *,
6988
- dimensions: Optional[pulumi.Input[_builtins.int]] = None,
6989
- embedding_data_type: Optional[pulumi.Input[_builtins.str]] = None):
7196
+ cluster_identifier: pulumi.Input[_builtins.str],
7197
+ auth_configuration: Optional[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationProvisionedConfigurationAuthConfigurationArgs']] = None):
6990
7198
  """
6991
- :param pulumi.Input[_builtins.int] dimensions: Dimension details for the vector configuration used on the Bedrock embeddings model.
6992
- :param pulumi.Input[_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`.
7199
+ :param pulumi.Input[_builtins.str] cluster_identifier: ID of the Amazon Redshift cluster.
7200
+ :param pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationProvisionedConfigurationAuthConfigurationArgs'] auth_configuration: Configurations for authentication to Amazon Redshift. See `auth_configuration` block for details.
6993
7201
  """
6994
- if dimensions is not None:
6995
- pulumi.set(__self__, "dimensions", dimensions)
6996
- if embedding_data_type is not None:
6997
- pulumi.set(__self__, "embedding_data_type", embedding_data_type)
7202
+ pulumi.set(__self__, "cluster_identifier", cluster_identifier)
7203
+ if auth_configuration is not None:
7204
+ pulumi.set(__self__, "auth_configuration", auth_configuration)
7205
+
7206
+ @_builtins.property
7207
+ @pulumi.getter(name="clusterIdentifier")
7208
+ def cluster_identifier(self) -> pulumi.Input[_builtins.str]:
7209
+ """
7210
+ ID of the Amazon Redshift cluster.
7211
+ """
7212
+ return pulumi.get(self, "cluster_identifier")
7213
+
7214
+ @cluster_identifier.setter
7215
+ def cluster_identifier(self, value: pulumi.Input[_builtins.str]):
7216
+ pulumi.set(self, "cluster_identifier", value)
7217
+
7218
+ @_builtins.property
7219
+ @pulumi.getter(name="authConfiguration")
7220
+ def auth_configuration(self) -> Optional[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationProvisionedConfigurationAuthConfigurationArgs']]:
7221
+ """
7222
+ Configurations for authentication to Amazon Redshift. See `auth_configuration` block for details.
7223
+ """
7224
+ return pulumi.get(self, "auth_configuration")
7225
+
7226
+ @auth_configuration.setter
7227
+ def auth_configuration(self, value: Optional[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationProvisionedConfigurationAuthConfigurationArgs']]):
7228
+ pulumi.set(self, "auth_configuration", value)
7229
+
7230
+
7231
+ if not MYPY:
7232
+ class AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationProvisionedConfigurationAuthConfigurationArgsDict(TypedDict):
7233
+ type: pulumi.Input[_builtins.str]
7234
+ """
7235
+ Type of authentication to use. Valid values: `IAM`, `USERNAME_PASSWORD`.
7236
+ """
7237
+ database_user: NotRequired[pulumi.Input[_builtins.str]]
7238
+ """
7239
+ Database username for authentication to an Amazon Redshift provisioned data warehouse.
7240
+ """
7241
+ username_password_secret_arn: NotRequired[pulumi.Input[_builtins.str]]
7242
+ """
7243
+ ARN of a Secrets Manager secret for authentication.
7244
+ """
7245
+ elif False:
7246
+ AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationProvisionedConfigurationAuthConfigurationArgsDict: TypeAlias = Mapping[str, Any]
7247
+
7248
+ @pulumi.input_type
7249
+ class AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationProvisionedConfigurationAuthConfigurationArgs:
7250
+ def __init__(__self__, *,
7251
+ type: pulumi.Input[_builtins.str],
7252
+ database_user: Optional[pulumi.Input[_builtins.str]] = None,
7253
+ username_password_secret_arn: Optional[pulumi.Input[_builtins.str]] = None):
7254
+ """
7255
+ :param pulumi.Input[_builtins.str] type: Type of authentication to use. Valid values: `IAM`, `USERNAME_PASSWORD`.
7256
+ :param pulumi.Input[_builtins.str] database_user: Database username for authentication to an Amazon Redshift provisioned data warehouse.
7257
+ :param pulumi.Input[_builtins.str] username_password_secret_arn: ARN of a Secrets Manager secret for authentication.
7258
+ """
7259
+ pulumi.set(__self__, "type", type)
7260
+ if database_user is not None:
7261
+ pulumi.set(__self__, "database_user", database_user)
7262
+ if username_password_secret_arn is not None:
7263
+ pulumi.set(__self__, "username_password_secret_arn", username_password_secret_arn)
6998
7264
 
6999
7265
  @_builtins.property
7000
7266
  @pulumi.getter
7001
- def dimensions(self) -> Optional[pulumi.Input[_builtins.int]]:
7267
+ def type(self) -> pulumi.Input[_builtins.str]:
7002
7268
  """
7003
- Dimension details for the vector configuration used on the Bedrock embeddings model.
7269
+ Type of authentication to use. Valid values: `IAM`, `USERNAME_PASSWORD`.
7004
7270
  """
7005
- return pulumi.get(self, "dimensions")
7271
+ return pulumi.get(self, "type")
7006
7272
 
7007
- @dimensions.setter
7008
- def dimensions(self, value: Optional[pulumi.Input[_builtins.int]]):
7009
- pulumi.set(self, "dimensions", value)
7273
+ @type.setter
7274
+ def type(self, value: pulumi.Input[_builtins.str]):
7275
+ pulumi.set(self, "type", value)
7010
7276
 
7011
7277
  @_builtins.property
7012
- @pulumi.getter(name="embeddingDataType")
7013
- def embedding_data_type(self) -> Optional[pulumi.Input[_builtins.str]]:
7278
+ @pulumi.getter(name="databaseUser")
7279
+ def database_user(self) -> Optional[pulumi.Input[_builtins.str]]:
7014
7280
  """
7015
- 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`.
7281
+ Database username for authentication to an Amazon Redshift provisioned data warehouse.
7016
7282
  """
7017
- return pulumi.get(self, "embedding_data_type")
7283
+ return pulumi.get(self, "database_user")
7018
7284
 
7019
- @embedding_data_type.setter
7020
- def embedding_data_type(self, value: Optional[pulumi.Input[_builtins.str]]):
7021
- pulumi.set(self, "embedding_data_type", value)
7285
+ @database_user.setter
7286
+ def database_user(self, value: Optional[pulumi.Input[_builtins.str]]):
7287
+ pulumi.set(self, "database_user", value)
7288
+
7289
+ @_builtins.property
7290
+ @pulumi.getter(name="usernamePasswordSecretArn")
7291
+ def username_password_secret_arn(self) -> Optional[pulumi.Input[_builtins.str]]:
7292
+ """
7293
+ ARN of a Secrets Manager secret for authentication.
7294
+ """
7295
+ return pulumi.get(self, "username_password_secret_arn")
7296
+
7297
+ @username_password_secret_arn.setter
7298
+ def username_password_secret_arn(self, value: Optional[pulumi.Input[_builtins.str]]):
7299
+ pulumi.set(self, "username_password_secret_arn", value)
7022
7300
 
7023
7301
 
7024
7302
  if not MYPY:
7025
- class AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfigurationArgsDict(TypedDict):
7026
- storage_locations: NotRequired[pulumi.Input[Sequence[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfigurationStorageLocationArgsDict']]]]
7303
+ class AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationServerlessConfigurationArgsDict(TypedDict):
7304
+ workgroup_arn: pulumi.Input[_builtins.str]
7027
7305
  """
7028
- A storage location specification for images extracted from multimodal documents in your data source. See `storage_location` block for details.
7306
+ ARN of the Amazon Redshift workgroup.
7307
+ """
7308
+ auth_configuration: NotRequired[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationServerlessConfigurationAuthConfigurationArgsDict']]
7309
+ """
7310
+ Configurations for authentication to a Redshift Serverless. See `auth_configuration` block for details.
7029
7311
  """
7030
7312
  elif False:
7031
- AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfigurationArgsDict: TypeAlias = Mapping[str, Any]
7313
+ AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationServerlessConfigurationArgsDict: TypeAlias = Mapping[str, Any]
7032
7314
 
7033
7315
  @pulumi.input_type
7034
- class AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfigurationArgs:
7316
+ class AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationServerlessConfigurationArgs:
7035
7317
  def __init__(__self__, *,
7036
- storage_locations: Optional[pulumi.Input[Sequence[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfigurationStorageLocationArgs']]]] = None):
7318
+ workgroup_arn: pulumi.Input[_builtins.str],
7319
+ auth_configuration: Optional[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationServerlessConfigurationAuthConfigurationArgs']] = None):
7037
7320
  """
7038
- :param pulumi.Input[Sequence[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfigurationStorageLocationArgs']]] storage_locations: A storage location specification for images extracted from multimodal documents in your data source. See `storage_location` block for details.
7321
+ :param pulumi.Input[_builtins.str] workgroup_arn: ARN of the Amazon Redshift workgroup.
7322
+ :param pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationServerlessConfigurationAuthConfigurationArgs'] auth_configuration: Configurations for authentication to a Redshift Serverless. See `auth_configuration` block for details.
7039
7323
  """
7040
- if storage_locations is not None:
7041
- pulumi.set(__self__, "storage_locations", storage_locations)
7324
+ pulumi.set(__self__, "workgroup_arn", workgroup_arn)
7325
+ if auth_configuration is not None:
7326
+ pulumi.set(__self__, "auth_configuration", auth_configuration)
7042
7327
 
7043
7328
  @_builtins.property
7044
- @pulumi.getter(name="storageLocations")
7045
- def storage_locations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfigurationStorageLocationArgs']]]]:
7329
+ @pulumi.getter(name="workgroupArn")
7330
+ def workgroup_arn(self) -> pulumi.Input[_builtins.str]:
7046
7331
  """
7047
- A storage location specification for images extracted from multimodal documents in your data source. See `storage_location` block for details.
7332
+ ARN of the Amazon Redshift workgroup.
7048
7333
  """
7049
- return pulumi.get(self, "storage_locations")
7334
+ return pulumi.get(self, "workgroup_arn")
7050
7335
 
7051
- @storage_locations.setter
7052
- def storage_locations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfigurationStorageLocationArgs']]]]):
7053
- pulumi.set(self, "storage_locations", value)
7336
+ @workgroup_arn.setter
7337
+ def workgroup_arn(self, value: pulumi.Input[_builtins.str]):
7338
+ pulumi.set(self, "workgroup_arn", value)
7339
+
7340
+ @_builtins.property
7341
+ @pulumi.getter(name="authConfiguration")
7342
+ def auth_configuration(self) -> Optional[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationServerlessConfigurationAuthConfigurationArgs']]:
7343
+ """
7344
+ Configurations for authentication to a Redshift Serverless. See `auth_configuration` block for details.
7345
+ """
7346
+ return pulumi.get(self, "auth_configuration")
7347
+
7348
+ @auth_configuration.setter
7349
+ def auth_configuration(self, value: Optional[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationServerlessConfigurationAuthConfigurationArgs']]):
7350
+ pulumi.set(self, "auth_configuration", value)
7054
7351
 
7055
7352
 
7056
7353
  if not MYPY:
7057
- class AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfigurationStorageLocationArgsDict(TypedDict):
7354
+ class AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationServerlessConfigurationAuthConfigurationArgsDict(TypedDict):
7058
7355
  type: pulumi.Input[_builtins.str]
7059
7356
  """
7060
- Storage service used for this location. `S3` is the only valid value.
7357
+ Type of authentication to use. Valid values: `IAM`, `USERNAME_PASSWORD`.
7061
7358
  """
7062
- s3_location: NotRequired[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfigurationStorageLocationS3LocationArgsDict']]
7359
+ username_password_secret_arn: NotRequired[pulumi.Input[_builtins.str]]
7360
+ """
7361
+ ARN of a Secrets Manager secret for authentication.
7362
+ """
7363
+ elif False:
7364
+ AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationServerlessConfigurationAuthConfigurationArgsDict: TypeAlias = Mapping[str, Any]
7365
+
7366
+ @pulumi.input_type
7367
+ class AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationServerlessConfigurationAuthConfigurationArgs:
7368
+ def __init__(__self__, *,
7369
+ type: pulumi.Input[_builtins.str],
7370
+ username_password_secret_arn: Optional[pulumi.Input[_builtins.str]] = None):
7371
+ """
7372
+ :param pulumi.Input[_builtins.str] type: Type of authentication to use. Valid values: `IAM`, `USERNAME_PASSWORD`.
7373
+ :param pulumi.Input[_builtins.str] username_password_secret_arn: ARN of a Secrets Manager secret for authentication.
7374
+ """
7375
+ pulumi.set(__self__, "type", type)
7376
+ if username_password_secret_arn is not None:
7377
+ pulumi.set(__self__, "username_password_secret_arn", username_password_secret_arn)
7378
+
7379
+ @_builtins.property
7380
+ @pulumi.getter
7381
+ def type(self) -> pulumi.Input[_builtins.str]:
7382
+ """
7383
+ Type of authentication to use. Valid values: `IAM`, `USERNAME_PASSWORD`.
7384
+ """
7385
+ return pulumi.get(self, "type")
7386
+
7387
+ @type.setter
7388
+ def type(self, value: pulumi.Input[_builtins.str]):
7389
+ pulumi.set(self, "type", value)
7390
+
7391
+ @_builtins.property
7392
+ @pulumi.getter(name="usernamePasswordSecretArn")
7393
+ def username_password_secret_arn(self) -> Optional[pulumi.Input[_builtins.str]]:
7394
+ """
7395
+ ARN of a Secrets Manager secret for authentication.
7396
+ """
7397
+ return pulumi.get(self, "username_password_secret_arn")
7398
+
7399
+ @username_password_secret_arn.setter
7400
+ def username_password_secret_arn(self, value: Optional[pulumi.Input[_builtins.str]]):
7401
+ pulumi.set(self, "username_password_secret_arn", value)
7402
+
7403
+
7404
+ if not MYPY:
7405
+ class AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryGenerationConfigurationArgsDict(TypedDict):
7406
+ execution_timeout_seconds: NotRequired[pulumi.Input[_builtins.int]]
7407
+ """
7408
+ Time after which query generation will time out.
7409
+ """
7410
+ generation_context: NotRequired[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryGenerationConfigurationGenerationContextArgsDict']]
7411
+ """
7412
+ Configurations for context to use during query generation. See `generation_context` block for details.
7413
+ """
7414
+ elif False:
7415
+ AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryGenerationConfigurationArgsDict: TypeAlias = Mapping[str, Any]
7416
+
7417
+ @pulumi.input_type
7418
+ class AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryGenerationConfigurationArgs:
7419
+ def __init__(__self__, *,
7420
+ execution_timeout_seconds: Optional[pulumi.Input[_builtins.int]] = None,
7421
+ generation_context: Optional[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryGenerationConfigurationGenerationContextArgs']] = None):
7422
+ """
7423
+ :param pulumi.Input[_builtins.int] execution_timeout_seconds: Time after which query generation will time out.
7424
+ :param pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryGenerationConfigurationGenerationContextArgs'] generation_context: Configurations for context to use during query generation. See `generation_context` block for details.
7425
+ """
7426
+ if execution_timeout_seconds is not None:
7427
+ pulumi.set(__self__, "execution_timeout_seconds", execution_timeout_seconds)
7428
+ if generation_context is not None:
7429
+ pulumi.set(__self__, "generation_context", generation_context)
7430
+
7431
+ @_builtins.property
7432
+ @pulumi.getter(name="executionTimeoutSeconds")
7433
+ def execution_timeout_seconds(self) -> Optional[pulumi.Input[_builtins.int]]:
7434
+ """
7435
+ Time after which query generation will time out.
7436
+ """
7437
+ return pulumi.get(self, "execution_timeout_seconds")
7438
+
7439
+ @execution_timeout_seconds.setter
7440
+ def execution_timeout_seconds(self, value: Optional[pulumi.Input[_builtins.int]]):
7441
+ pulumi.set(self, "execution_timeout_seconds", value)
7442
+
7443
+ @_builtins.property
7444
+ @pulumi.getter(name="generationContext")
7445
+ def generation_context(self) -> Optional[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryGenerationConfigurationGenerationContextArgs']]:
7446
+ """
7447
+ Configurations for context to use during query generation. See `generation_context` block for details.
7448
+ """
7449
+ return pulumi.get(self, "generation_context")
7450
+
7451
+ @generation_context.setter
7452
+ def generation_context(self, value: Optional[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryGenerationConfigurationGenerationContextArgs']]):
7453
+ pulumi.set(self, "generation_context", value)
7454
+
7455
+
7456
+ if not MYPY:
7457
+ class AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryGenerationConfigurationGenerationContextArgsDict(TypedDict):
7458
+ curated_queries: NotRequired[pulumi.Input[Sequence[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryGenerationConfigurationGenerationContextCuratedQueryArgsDict']]]]
7459
+ """
7460
+ Information about example queries to help the query engine generate appropriate SQL queries. See `curated_query` block for details.
7461
+ """
7462
+ tables: NotRequired[pulumi.Input[Sequence[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryGenerationConfigurationGenerationContextTableArgsDict']]]]
7463
+ """
7464
+ Information about a table in the database. See `table` block for details.
7465
+ """
7466
+ elif False:
7467
+ AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryGenerationConfigurationGenerationContextArgsDict: TypeAlias = Mapping[str, Any]
7468
+
7469
+ @pulumi.input_type
7470
+ class AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryGenerationConfigurationGenerationContextArgs:
7471
+ def __init__(__self__, *,
7472
+ curated_queries: Optional[pulumi.Input[Sequence[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryGenerationConfigurationGenerationContextCuratedQueryArgs']]]] = None,
7473
+ tables: Optional[pulumi.Input[Sequence[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryGenerationConfigurationGenerationContextTableArgs']]]] = None):
7474
+ """
7475
+ :param pulumi.Input[Sequence[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryGenerationConfigurationGenerationContextCuratedQueryArgs']]] curated_queries: Information about example queries to help the query engine generate appropriate SQL queries. See `curated_query` block for details.
7476
+ :param pulumi.Input[Sequence[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryGenerationConfigurationGenerationContextTableArgs']]] tables: Information about a table in the database. See `table` block for details.
7477
+ """
7478
+ if curated_queries is not None:
7479
+ pulumi.set(__self__, "curated_queries", curated_queries)
7480
+ if tables is not None:
7481
+ pulumi.set(__self__, "tables", tables)
7482
+
7483
+ @_builtins.property
7484
+ @pulumi.getter(name="curatedQueries")
7485
+ def curated_queries(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryGenerationConfigurationGenerationContextCuratedQueryArgs']]]]:
7486
+ """
7487
+ Information about example queries to help the query engine generate appropriate SQL queries. See `curated_query` block for details.
7488
+ """
7489
+ return pulumi.get(self, "curated_queries")
7490
+
7491
+ @curated_queries.setter
7492
+ def curated_queries(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryGenerationConfigurationGenerationContextCuratedQueryArgs']]]]):
7493
+ pulumi.set(self, "curated_queries", value)
7494
+
7495
+ @_builtins.property
7496
+ @pulumi.getter
7497
+ def tables(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryGenerationConfigurationGenerationContextTableArgs']]]]:
7498
+ """
7499
+ Information about a table in the database. See `table` block for details.
7500
+ """
7501
+ return pulumi.get(self, "tables")
7502
+
7503
+ @tables.setter
7504
+ def tables(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryGenerationConfigurationGenerationContextTableArgs']]]]):
7505
+ pulumi.set(self, "tables", value)
7506
+
7507
+
7508
+ if not MYPY:
7509
+ class AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryGenerationConfigurationGenerationContextCuratedQueryArgsDict(TypedDict):
7510
+ natural_language: pulumi.Input[_builtins.str]
7511
+ """
7512
+ Example natural language query.
7513
+ """
7514
+ sql: pulumi.Input[_builtins.str]
7515
+ """
7516
+ SQL equivalent of `natural_language`.
7517
+ """
7518
+ elif False:
7519
+ AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryGenerationConfigurationGenerationContextCuratedQueryArgsDict: TypeAlias = Mapping[str, Any]
7520
+
7521
+ @pulumi.input_type
7522
+ class AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryGenerationConfigurationGenerationContextCuratedQueryArgs:
7523
+ def __init__(__self__, *,
7524
+ natural_language: pulumi.Input[_builtins.str],
7525
+ sql: pulumi.Input[_builtins.str]):
7526
+ """
7527
+ :param pulumi.Input[_builtins.str] natural_language: Example natural language query.
7528
+ :param pulumi.Input[_builtins.str] sql: SQL equivalent of `natural_language`.
7529
+ """
7530
+ pulumi.set(__self__, "natural_language", natural_language)
7531
+ pulumi.set(__self__, "sql", sql)
7532
+
7533
+ @_builtins.property
7534
+ @pulumi.getter(name="naturalLanguage")
7535
+ def natural_language(self) -> pulumi.Input[_builtins.str]:
7536
+ """
7537
+ Example natural language query.
7538
+ """
7539
+ return pulumi.get(self, "natural_language")
7540
+
7541
+ @natural_language.setter
7542
+ def natural_language(self, value: pulumi.Input[_builtins.str]):
7543
+ pulumi.set(self, "natural_language", value)
7544
+
7545
+ @_builtins.property
7546
+ @pulumi.getter
7547
+ def sql(self) -> pulumi.Input[_builtins.str]:
7548
+ """
7549
+ SQL equivalent of `natural_language`.
7550
+ """
7551
+ return pulumi.get(self, "sql")
7552
+
7553
+ @sql.setter
7554
+ def sql(self, value: pulumi.Input[_builtins.str]):
7555
+ pulumi.set(self, "sql", value)
7556
+
7557
+
7558
+ if not MYPY:
7559
+ class AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryGenerationConfigurationGenerationContextTableArgsDict(TypedDict):
7560
+ name: pulumi.Input[_builtins.str]
7561
+ """
7562
+ Name of the table for which the other fields in this object apply.
7563
+ """
7564
+ columns: NotRequired[pulumi.Input[Sequence[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryGenerationConfigurationGenerationContextTableColumnArgsDict']]]]
7565
+ """
7566
+ Information about a column in the table. See `column` block for details.
7567
+ """
7568
+ description: NotRequired[pulumi.Input[_builtins.str]]
7569
+ """
7570
+ Description of the table that helps the query engine understand the contents of the table.
7571
+ """
7572
+ inclusion: NotRequired[pulumi.Input[_builtins.str]]
7573
+ """
7574
+ Whether to include or exclude the table during query generation. Valid values `INCLUDE`, `EXCLUDE`.
7575
+ """
7576
+ elif False:
7577
+ AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryGenerationConfigurationGenerationContextTableArgsDict: TypeAlias = Mapping[str, Any]
7578
+
7579
+ @pulumi.input_type
7580
+ class AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryGenerationConfigurationGenerationContextTableArgs:
7581
+ def __init__(__self__, *,
7582
+ name: pulumi.Input[_builtins.str],
7583
+ columns: Optional[pulumi.Input[Sequence[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryGenerationConfigurationGenerationContextTableColumnArgs']]]] = None,
7584
+ description: Optional[pulumi.Input[_builtins.str]] = None,
7585
+ inclusion: Optional[pulumi.Input[_builtins.str]] = None):
7586
+ """
7587
+ :param pulumi.Input[_builtins.str] name: Name of the table for which the other fields in this object apply.
7588
+ :param pulumi.Input[Sequence[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryGenerationConfigurationGenerationContextTableColumnArgs']]] columns: Information about a column in the table. See `column` block for details.
7589
+ :param pulumi.Input[_builtins.str] description: Description of the table that helps the query engine understand the contents of the table.
7590
+ :param pulumi.Input[_builtins.str] inclusion: Whether to include or exclude the table during query generation. Valid values `INCLUDE`, `EXCLUDE`.
7591
+ """
7592
+ pulumi.set(__self__, "name", name)
7593
+ if columns is not None:
7594
+ pulumi.set(__self__, "columns", columns)
7595
+ if description is not None:
7596
+ pulumi.set(__self__, "description", description)
7597
+ if inclusion is not None:
7598
+ pulumi.set(__self__, "inclusion", inclusion)
7599
+
7600
+ @_builtins.property
7601
+ @pulumi.getter
7602
+ def name(self) -> pulumi.Input[_builtins.str]:
7603
+ """
7604
+ Name of the table for which the other fields in this object apply.
7605
+ """
7606
+ return pulumi.get(self, "name")
7607
+
7608
+ @name.setter
7609
+ def name(self, value: pulumi.Input[_builtins.str]):
7610
+ pulumi.set(self, "name", value)
7611
+
7612
+ @_builtins.property
7613
+ @pulumi.getter
7614
+ def columns(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryGenerationConfigurationGenerationContextTableColumnArgs']]]]:
7615
+ """
7616
+ Information about a column in the table. See `column` block for details.
7617
+ """
7618
+ return pulumi.get(self, "columns")
7619
+
7620
+ @columns.setter
7621
+ def columns(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryGenerationConfigurationGenerationContextTableColumnArgs']]]]):
7622
+ pulumi.set(self, "columns", value)
7623
+
7624
+ @_builtins.property
7625
+ @pulumi.getter
7626
+ def description(self) -> Optional[pulumi.Input[_builtins.str]]:
7627
+ """
7628
+ Description of the table that helps the query engine understand the contents of the table.
7629
+ """
7630
+ return pulumi.get(self, "description")
7631
+
7632
+ @description.setter
7633
+ def description(self, value: Optional[pulumi.Input[_builtins.str]]):
7634
+ pulumi.set(self, "description", value)
7635
+
7636
+ @_builtins.property
7637
+ @pulumi.getter
7638
+ def inclusion(self) -> Optional[pulumi.Input[_builtins.str]]:
7639
+ """
7640
+ Whether to include or exclude the table during query generation. Valid values `INCLUDE`, `EXCLUDE`.
7641
+ """
7642
+ return pulumi.get(self, "inclusion")
7643
+
7644
+ @inclusion.setter
7645
+ def inclusion(self, value: Optional[pulumi.Input[_builtins.str]]):
7646
+ pulumi.set(self, "inclusion", value)
7647
+
7648
+
7649
+ if not MYPY:
7650
+ class AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryGenerationConfigurationGenerationContextTableColumnArgsDict(TypedDict):
7651
+ description: NotRequired[pulumi.Input[_builtins.str]]
7652
+ """
7653
+ Description of the column that helps the query engine understand the contents of the column.
7654
+ """
7655
+ inclusion: NotRequired[pulumi.Input[_builtins.str]]
7656
+ """
7657
+ Whether to include or exclude the column during query generation. Valid values `INCLUDE`, `EXCLUDE`.
7658
+ """
7659
+ name: NotRequired[pulumi.Input[_builtins.str]]
7660
+ """
7661
+ Name of the column for which the other fields in this object apply.
7662
+ """
7663
+ elif False:
7664
+ AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryGenerationConfigurationGenerationContextTableColumnArgsDict: TypeAlias = Mapping[str, Any]
7665
+
7666
+ @pulumi.input_type
7667
+ class AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryGenerationConfigurationGenerationContextTableColumnArgs:
7668
+ def __init__(__self__, *,
7669
+ description: Optional[pulumi.Input[_builtins.str]] = None,
7670
+ inclusion: Optional[pulumi.Input[_builtins.str]] = None,
7671
+ name: Optional[pulumi.Input[_builtins.str]] = None):
7672
+ """
7673
+ :param pulumi.Input[_builtins.str] description: Description of the column that helps the query engine understand the contents of the column.
7674
+ :param pulumi.Input[_builtins.str] inclusion: Whether to include or exclude the column during query generation. Valid values `INCLUDE`, `EXCLUDE`.
7675
+ :param pulumi.Input[_builtins.str] name: Name of the column for which the other fields in this object apply.
7676
+ """
7677
+ if description is not None:
7678
+ pulumi.set(__self__, "description", description)
7679
+ if inclusion is not None:
7680
+ pulumi.set(__self__, "inclusion", inclusion)
7681
+ if name is not None:
7682
+ pulumi.set(__self__, "name", name)
7683
+
7684
+ @_builtins.property
7685
+ @pulumi.getter
7686
+ def description(self) -> Optional[pulumi.Input[_builtins.str]]:
7687
+ """
7688
+ Description of the column that helps the query engine understand the contents of the column.
7689
+ """
7690
+ return pulumi.get(self, "description")
7691
+
7692
+ @description.setter
7693
+ def description(self, value: Optional[pulumi.Input[_builtins.str]]):
7694
+ pulumi.set(self, "description", value)
7695
+
7696
+ @_builtins.property
7697
+ @pulumi.getter
7698
+ def inclusion(self) -> Optional[pulumi.Input[_builtins.str]]:
7699
+ """
7700
+ Whether to include or exclude the column during query generation. Valid values `INCLUDE`, `EXCLUDE`.
7701
+ """
7702
+ return pulumi.get(self, "inclusion")
7703
+
7704
+ @inclusion.setter
7705
+ def inclusion(self, value: Optional[pulumi.Input[_builtins.str]]):
7706
+ pulumi.set(self, "inclusion", value)
7707
+
7708
+ @_builtins.property
7709
+ @pulumi.getter
7710
+ def name(self) -> Optional[pulumi.Input[_builtins.str]]:
7711
+ """
7712
+ Name of the column for which the other fields in this object apply.
7713
+ """
7714
+ return pulumi.get(self, "name")
7715
+
7716
+ @name.setter
7717
+ def name(self, value: Optional[pulumi.Input[_builtins.str]]):
7718
+ pulumi.set(self, "name", value)
7719
+
7720
+
7721
+ if not MYPY:
7722
+ class AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationStorageConfigurationArgsDict(TypedDict):
7723
+ type: pulumi.Input[_builtins.str]
7724
+ """
7725
+ 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`.
7726
+ """
7727
+ aws_data_catalog_configuration: NotRequired[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationStorageConfigurationAwsDataCatalogConfigurationArgsDict']]
7728
+ """
7729
+ Configurations for storage in AWS Glue Data Catalog. See `aws_data_catalog_configuration` block for details.
7730
+ """
7731
+ redshift_configuration: NotRequired[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationStorageConfigurationRedshiftConfigurationArgsDict']]
7732
+ """
7733
+ Configurations for storage in Amazon Redshift. See `redshift_configuration` block for details.
7734
+ """
7735
+ elif False:
7736
+ AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationStorageConfigurationArgsDict: TypeAlias = Mapping[str, Any]
7737
+
7738
+ @pulumi.input_type
7739
+ class AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationStorageConfigurationArgs:
7740
+ def __init__(__self__, *,
7741
+ type: pulumi.Input[_builtins.str],
7742
+ aws_data_catalog_configuration: Optional[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationStorageConfigurationAwsDataCatalogConfigurationArgs']] = None,
7743
+ redshift_configuration: Optional[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationStorageConfigurationRedshiftConfigurationArgs']] = None):
7744
+ """
7745
+ :param pulumi.Input[_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`.
7746
+ :param pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationStorageConfigurationAwsDataCatalogConfigurationArgs'] aws_data_catalog_configuration: Configurations for storage in AWS Glue Data Catalog. See `aws_data_catalog_configuration` block for details.
7747
+ :param pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationStorageConfigurationRedshiftConfigurationArgs'] redshift_configuration: Configurations for storage in Amazon Redshift. See `redshift_configuration` block for details.
7748
+ """
7749
+ pulumi.set(__self__, "type", type)
7750
+ if aws_data_catalog_configuration is not None:
7751
+ pulumi.set(__self__, "aws_data_catalog_configuration", aws_data_catalog_configuration)
7752
+ if redshift_configuration is not None:
7753
+ pulumi.set(__self__, "redshift_configuration", redshift_configuration)
7754
+
7755
+ @_builtins.property
7756
+ @pulumi.getter
7757
+ def type(self) -> pulumi.Input[_builtins.str]:
7758
+ """
7759
+ 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`.
7760
+ """
7761
+ return pulumi.get(self, "type")
7762
+
7763
+ @type.setter
7764
+ def type(self, value: pulumi.Input[_builtins.str]):
7765
+ pulumi.set(self, "type", value)
7766
+
7767
+ @_builtins.property
7768
+ @pulumi.getter(name="awsDataCatalogConfiguration")
7769
+ def aws_data_catalog_configuration(self) -> Optional[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationStorageConfigurationAwsDataCatalogConfigurationArgs']]:
7770
+ """
7771
+ Configurations for storage in AWS Glue Data Catalog. See `aws_data_catalog_configuration` block for details.
7772
+ """
7773
+ return pulumi.get(self, "aws_data_catalog_configuration")
7774
+
7775
+ @aws_data_catalog_configuration.setter
7776
+ def aws_data_catalog_configuration(self, value: Optional[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationStorageConfigurationAwsDataCatalogConfigurationArgs']]):
7777
+ pulumi.set(self, "aws_data_catalog_configuration", value)
7778
+
7779
+ @_builtins.property
7780
+ @pulumi.getter(name="redshiftConfiguration")
7781
+ def redshift_configuration(self) -> Optional[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationStorageConfigurationRedshiftConfigurationArgs']]:
7782
+ """
7783
+ Configurations for storage in Amazon Redshift. See `redshift_configuration` block for details.
7784
+ """
7785
+ return pulumi.get(self, "redshift_configuration")
7786
+
7787
+ @redshift_configuration.setter
7788
+ def redshift_configuration(self, value: Optional[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationStorageConfigurationRedshiftConfigurationArgs']]):
7789
+ pulumi.set(self, "redshift_configuration", value)
7790
+
7791
+
7792
+ if not MYPY:
7793
+ class AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationStorageConfigurationAwsDataCatalogConfigurationArgsDict(TypedDict):
7794
+ table_names: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]
7795
+ """
7796
+ List of names of the tables to use.
7797
+ """
7798
+ elif False:
7799
+ AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationStorageConfigurationAwsDataCatalogConfigurationArgsDict: TypeAlias = Mapping[str, Any]
7800
+
7801
+ @pulumi.input_type
7802
+ class AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationStorageConfigurationAwsDataCatalogConfigurationArgs:
7803
+ def __init__(__self__, *,
7804
+ table_names: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]):
7805
+ """
7806
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] table_names: List of names of the tables to use.
7807
+ """
7808
+ pulumi.set(__self__, "table_names", table_names)
7809
+
7810
+ @_builtins.property
7811
+ @pulumi.getter(name="tableNames")
7812
+ def table_names(self) -> pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]:
7813
+ """
7814
+ List of names of the tables to use.
7815
+ """
7816
+ return pulumi.get(self, "table_names")
7817
+
7818
+ @table_names.setter
7819
+ def table_names(self, value: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]):
7820
+ pulumi.set(self, "table_names", value)
7821
+
7822
+
7823
+ if not MYPY:
7824
+ class AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationStorageConfigurationRedshiftConfigurationArgsDict(TypedDict):
7825
+ database_name: pulumi.Input[_builtins.str]
7826
+ """
7827
+ Name of the Amazon Redshift database.
7828
+ """
7829
+ elif False:
7830
+ AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationStorageConfigurationRedshiftConfigurationArgsDict: TypeAlias = Mapping[str, Any]
7831
+
7832
+ @pulumi.input_type
7833
+ class AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationStorageConfigurationRedshiftConfigurationArgs:
7834
+ def __init__(__self__, *,
7835
+ database_name: pulumi.Input[_builtins.str]):
7836
+ """
7837
+ :param pulumi.Input[_builtins.str] database_name: Name of the Amazon Redshift database.
7838
+ """
7839
+ pulumi.set(__self__, "database_name", database_name)
7840
+
7841
+ @_builtins.property
7842
+ @pulumi.getter(name="databaseName")
7843
+ def database_name(self) -> pulumi.Input[_builtins.str]:
7844
+ """
7845
+ Name of the Amazon Redshift database.
7846
+ """
7847
+ return pulumi.get(self, "database_name")
7848
+
7849
+ @database_name.setter
7850
+ def database_name(self, value: pulumi.Input[_builtins.str]):
7851
+ pulumi.set(self, "database_name", value)
7852
+
7853
+
7854
+ if not MYPY:
7855
+ class AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationArgsDict(TypedDict):
7856
+ embedding_model_arn: pulumi.Input[_builtins.str]
7857
+ """
7858
+ ARN of the model used to create vector embeddings for the knowledge base.
7859
+ """
7860
+ embedding_model_configuration: NotRequired[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationEmbeddingModelConfigurationArgsDict']]
7861
+ """
7862
+ The embeddings model configuration details for the vector model used in Knowledge Base. See `embedding_model_configuration` block for details.
7863
+ """
7864
+ supplemental_data_storage_configuration: NotRequired[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfigurationArgsDict']]
7865
+ """
7866
+ supplemental_data_storage_configuration. See `supplemental_data_storage_configuration` block for details.
7867
+ """
7868
+ elif False:
7869
+ AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationArgsDict: TypeAlias = Mapping[str, Any]
7870
+
7871
+ @pulumi.input_type
7872
+ class AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationArgs:
7873
+ def __init__(__self__, *,
7874
+ embedding_model_arn: pulumi.Input[_builtins.str],
7875
+ embedding_model_configuration: Optional[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationEmbeddingModelConfigurationArgs']] = None,
7876
+ supplemental_data_storage_configuration: Optional[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfigurationArgs']] = None):
7877
+ """
7878
+ :param pulumi.Input[_builtins.str] embedding_model_arn: ARN of the model used to create vector embeddings for the knowledge base.
7879
+ :param pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationEmbeddingModelConfigurationArgs'] embedding_model_configuration: The embeddings model configuration details for the vector model used in Knowledge Base. See `embedding_model_configuration` block for details.
7880
+ :param pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfigurationArgs'] supplemental_data_storage_configuration: supplemental_data_storage_configuration. See `supplemental_data_storage_configuration` block for details.
7881
+ """
7882
+ pulumi.set(__self__, "embedding_model_arn", embedding_model_arn)
7883
+ if embedding_model_configuration is not None:
7884
+ pulumi.set(__self__, "embedding_model_configuration", embedding_model_configuration)
7885
+ if supplemental_data_storage_configuration is not None:
7886
+ pulumi.set(__self__, "supplemental_data_storage_configuration", supplemental_data_storage_configuration)
7887
+
7888
+ @_builtins.property
7889
+ @pulumi.getter(name="embeddingModelArn")
7890
+ def embedding_model_arn(self) -> pulumi.Input[_builtins.str]:
7891
+ """
7892
+ ARN of the model used to create vector embeddings for the knowledge base.
7893
+ """
7894
+ return pulumi.get(self, "embedding_model_arn")
7895
+
7896
+ @embedding_model_arn.setter
7897
+ def embedding_model_arn(self, value: pulumi.Input[_builtins.str]):
7898
+ pulumi.set(self, "embedding_model_arn", value)
7899
+
7900
+ @_builtins.property
7901
+ @pulumi.getter(name="embeddingModelConfiguration")
7902
+ def embedding_model_configuration(self) -> Optional[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationEmbeddingModelConfigurationArgs']]:
7903
+ """
7904
+ The embeddings model configuration details for the vector model used in Knowledge Base. See `embedding_model_configuration` block for details.
7905
+ """
7906
+ return pulumi.get(self, "embedding_model_configuration")
7907
+
7908
+ @embedding_model_configuration.setter
7909
+ def embedding_model_configuration(self, value: Optional[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationEmbeddingModelConfigurationArgs']]):
7910
+ pulumi.set(self, "embedding_model_configuration", value)
7911
+
7912
+ @_builtins.property
7913
+ @pulumi.getter(name="supplementalDataStorageConfiguration")
7914
+ def supplemental_data_storage_configuration(self) -> Optional[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfigurationArgs']]:
7915
+ """
7916
+ supplemental_data_storage_configuration. See `supplemental_data_storage_configuration` block for details.
7917
+ """
7918
+ return pulumi.get(self, "supplemental_data_storage_configuration")
7919
+
7920
+ @supplemental_data_storage_configuration.setter
7921
+ def supplemental_data_storage_configuration(self, value: Optional[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfigurationArgs']]):
7922
+ pulumi.set(self, "supplemental_data_storage_configuration", value)
7923
+
7924
+
7925
+ if not MYPY:
7926
+ class AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationEmbeddingModelConfigurationArgsDict(TypedDict):
7927
+ bedrock_embedding_model_configuration: NotRequired[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationEmbeddingModelConfigurationBedrockEmbeddingModelConfigurationArgsDict']]
7928
+ """
7929
+ The vector configuration details on the Bedrock embeddings model. See `bedrock_embedding_model_configuration` block for details.
7930
+ """
7931
+ elif False:
7932
+ AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationEmbeddingModelConfigurationArgsDict: TypeAlias = Mapping[str, Any]
7933
+
7934
+ @pulumi.input_type
7935
+ class AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationEmbeddingModelConfigurationArgs:
7936
+ def __init__(__self__, *,
7937
+ bedrock_embedding_model_configuration: Optional[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationEmbeddingModelConfigurationBedrockEmbeddingModelConfigurationArgs']] = None):
7938
+ """
7939
+ :param pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationEmbeddingModelConfigurationBedrockEmbeddingModelConfigurationArgs'] bedrock_embedding_model_configuration: The vector configuration details on the Bedrock embeddings model. See `bedrock_embedding_model_configuration` block for details.
7940
+ """
7941
+ if bedrock_embedding_model_configuration is not None:
7942
+ pulumi.set(__self__, "bedrock_embedding_model_configuration", bedrock_embedding_model_configuration)
7943
+
7944
+ @_builtins.property
7945
+ @pulumi.getter(name="bedrockEmbeddingModelConfiguration")
7946
+ def bedrock_embedding_model_configuration(self) -> Optional[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationEmbeddingModelConfigurationBedrockEmbeddingModelConfigurationArgs']]:
7947
+ """
7948
+ The vector configuration details on the Bedrock embeddings model. See `bedrock_embedding_model_configuration` block for details.
7949
+ """
7950
+ return pulumi.get(self, "bedrock_embedding_model_configuration")
7951
+
7952
+ @bedrock_embedding_model_configuration.setter
7953
+ def bedrock_embedding_model_configuration(self, value: Optional[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationEmbeddingModelConfigurationBedrockEmbeddingModelConfigurationArgs']]):
7954
+ pulumi.set(self, "bedrock_embedding_model_configuration", value)
7955
+
7956
+
7957
+ if not MYPY:
7958
+ class AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationEmbeddingModelConfigurationBedrockEmbeddingModelConfigurationArgsDict(TypedDict):
7959
+ dimensions: NotRequired[pulumi.Input[_builtins.int]]
7960
+ """
7961
+ Dimension details for the vector configuration used on the Bedrock embeddings model.
7962
+ """
7963
+ embedding_data_type: NotRequired[pulumi.Input[_builtins.str]]
7964
+ """
7965
+ 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`.
7966
+ """
7967
+ elif False:
7968
+ AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationEmbeddingModelConfigurationBedrockEmbeddingModelConfigurationArgsDict: TypeAlias = Mapping[str, Any]
7969
+
7970
+ @pulumi.input_type
7971
+ class AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationEmbeddingModelConfigurationBedrockEmbeddingModelConfigurationArgs:
7972
+ def __init__(__self__, *,
7973
+ dimensions: Optional[pulumi.Input[_builtins.int]] = None,
7974
+ embedding_data_type: Optional[pulumi.Input[_builtins.str]] = None):
7975
+ """
7976
+ :param pulumi.Input[_builtins.int] dimensions: Dimension details for the vector configuration used on the Bedrock embeddings model.
7977
+ :param pulumi.Input[_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`.
7978
+ """
7979
+ if dimensions is not None:
7980
+ pulumi.set(__self__, "dimensions", dimensions)
7981
+ if embedding_data_type is not None:
7982
+ pulumi.set(__self__, "embedding_data_type", embedding_data_type)
7983
+
7984
+ @_builtins.property
7985
+ @pulumi.getter
7986
+ def dimensions(self) -> Optional[pulumi.Input[_builtins.int]]:
7987
+ """
7988
+ Dimension details for the vector configuration used on the Bedrock embeddings model.
7989
+ """
7990
+ return pulumi.get(self, "dimensions")
7991
+
7992
+ @dimensions.setter
7993
+ def dimensions(self, value: Optional[pulumi.Input[_builtins.int]]):
7994
+ pulumi.set(self, "dimensions", value)
7995
+
7996
+ @_builtins.property
7997
+ @pulumi.getter(name="embeddingDataType")
7998
+ def embedding_data_type(self) -> Optional[pulumi.Input[_builtins.str]]:
7999
+ """
8000
+ 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`.
8001
+ """
8002
+ return pulumi.get(self, "embedding_data_type")
8003
+
8004
+ @embedding_data_type.setter
8005
+ def embedding_data_type(self, value: Optional[pulumi.Input[_builtins.str]]):
8006
+ pulumi.set(self, "embedding_data_type", value)
8007
+
8008
+
8009
+ if not MYPY:
8010
+ class AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfigurationArgsDict(TypedDict):
8011
+ storage_locations: NotRequired[pulumi.Input[Sequence[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfigurationStorageLocationArgsDict']]]]
8012
+ """
8013
+ A storage location specification for images extracted from multimodal documents in your data source. See `storage_location` block for details.
8014
+ """
8015
+ elif False:
8016
+ AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfigurationArgsDict: TypeAlias = Mapping[str, Any]
8017
+
8018
+ @pulumi.input_type
8019
+ class AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfigurationArgs:
8020
+ def __init__(__self__, *,
8021
+ storage_locations: Optional[pulumi.Input[Sequence[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfigurationStorageLocationArgs']]]] = None):
8022
+ """
8023
+ :param pulumi.Input[Sequence[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfigurationStorageLocationArgs']]] storage_locations: A storage location specification for images extracted from multimodal documents in your data source. See `storage_location` block for details.
8024
+ """
8025
+ if storage_locations is not None:
8026
+ pulumi.set(__self__, "storage_locations", storage_locations)
8027
+
8028
+ @_builtins.property
8029
+ @pulumi.getter(name="storageLocations")
8030
+ def storage_locations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfigurationStorageLocationArgs']]]]:
8031
+ """
8032
+ A storage location specification for images extracted from multimodal documents in your data source. See `storage_location` block for details.
8033
+ """
8034
+ return pulumi.get(self, "storage_locations")
8035
+
8036
+ @storage_locations.setter
8037
+ def storage_locations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfigurationStorageLocationArgs']]]]):
8038
+ pulumi.set(self, "storage_locations", value)
8039
+
8040
+
8041
+ if not MYPY:
8042
+ class AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfigurationStorageLocationArgsDict(TypedDict):
8043
+ type: pulumi.Input[_builtins.str]
8044
+ """
8045
+ Storage service used for this location. `S3` is the only valid value.
8046
+ """
8047
+ s3_location: NotRequired[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfigurationStorageLocationS3LocationArgsDict']]
8048
+ """
8049
+ Contains information about the Amazon S3 location for the extracted images. See `s3_location` block for details.
8050
+ """
8051
+ elif False:
8052
+ AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfigurationStorageLocationArgsDict: TypeAlias = Mapping[str, Any]
8053
+
8054
+ @pulumi.input_type
8055
+ class AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfigurationStorageLocationArgs:
8056
+ def __init__(__self__, *,
8057
+ type: pulumi.Input[_builtins.str],
8058
+ s3_location: Optional[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfigurationStorageLocationS3LocationArgs']] = None):
8059
+ """
8060
+ :param pulumi.Input[_builtins.str] type: Storage service used for this location. `S3` is the only valid value.
8061
+ :param pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfigurationStorageLocationS3LocationArgs'] s3_location: Contains information about the Amazon S3 location for the extracted images. See `s3_location` block for details.
8062
+ """
8063
+ pulumi.set(__self__, "type", type)
8064
+ if s3_location is not None:
8065
+ pulumi.set(__self__, "s3_location", s3_location)
8066
+
8067
+ @_builtins.property
8068
+ @pulumi.getter
8069
+ def type(self) -> pulumi.Input[_builtins.str]:
8070
+ """
8071
+ Storage service used for this location. `S3` is the only valid value.
8072
+ """
8073
+ return pulumi.get(self, "type")
8074
+
8075
+ @type.setter
8076
+ def type(self, value: pulumi.Input[_builtins.str]):
8077
+ pulumi.set(self, "type", value)
8078
+
8079
+ @_builtins.property
8080
+ @pulumi.getter(name="s3Location")
8081
+ def s3_location(self) -> Optional[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfigurationStorageLocationS3LocationArgs']]:
8082
+ """
8083
+ Contains information about the Amazon S3 location for the extracted images. See `s3_location` block for details.
8084
+ """
8085
+ return pulumi.get(self, "s3_location")
8086
+
8087
+ @s3_location.setter
8088
+ def s3_location(self, value: Optional[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfigurationStorageLocationS3LocationArgs']]):
8089
+ pulumi.set(self, "s3_location", value)
8090
+
8091
+
8092
+ if not MYPY:
8093
+ class AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfigurationStorageLocationS3LocationArgsDict(TypedDict):
8094
+ uri: pulumi.Input[_builtins.str]
8095
+ """
8096
+ URI of the location.
8097
+ """
8098
+ elif False:
8099
+ AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfigurationStorageLocationS3LocationArgsDict: TypeAlias = Mapping[str, Any]
8100
+
8101
+ @pulumi.input_type
8102
+ class AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfigurationStorageLocationS3LocationArgs:
8103
+ def __init__(__self__, *,
8104
+ uri: pulumi.Input[_builtins.str]):
8105
+ """
8106
+ :param pulumi.Input[_builtins.str] uri: URI of the location.
8107
+ """
8108
+ pulumi.set(__self__, "uri", uri)
8109
+
8110
+ @_builtins.property
8111
+ @pulumi.getter
8112
+ def uri(self) -> pulumi.Input[_builtins.str]:
8113
+ """
8114
+ URI of the location.
8115
+ """
8116
+ return pulumi.get(self, "uri")
8117
+
8118
+ @uri.setter
8119
+ def uri(self, value: pulumi.Input[_builtins.str]):
8120
+ pulumi.set(self, "uri", value)
8121
+
8122
+
8123
+ if not MYPY:
8124
+ class AgentKnowledgeBaseStorageConfigurationArgsDict(TypedDict):
8125
+ type: pulumi.Input[_builtins.str]
8126
+ """
8127
+ 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`.
8128
+ """
8129
+ mongo_db_atlas_configuration: NotRequired[pulumi.Input['AgentKnowledgeBaseStorageConfigurationMongoDbAtlasConfigurationArgsDict']]
8130
+ """
8131
+ The storage configuration of the knowledge base in MongoDB Atlas. See `mongo_db_atlas_configuration` block for details.
8132
+ """
8133
+ neptune_analytics_configuration: NotRequired[pulumi.Input['AgentKnowledgeBaseStorageConfigurationNeptuneAnalyticsConfigurationArgsDict']]
8134
+ """
8135
+ The storage configuration of the knowledge base in Amazon Neptune Analytics. See `neptune_analytics_configuration` block for details.
8136
+ """
8137
+ opensearch_managed_cluster_configuration: NotRequired[pulumi.Input['AgentKnowledgeBaseStorageConfigurationOpensearchManagedClusterConfigurationArgsDict']]
8138
+ """
8139
+ The storage configuration of the knowledge base in Amazon OpenSearch Service Managed Cluster. See `opensearch_managed_cluster_configuration` block for details.
8140
+ """
8141
+ opensearch_serverless_configuration: NotRequired[pulumi.Input['AgentKnowledgeBaseStorageConfigurationOpensearchServerlessConfigurationArgsDict']]
8142
+ """
8143
+ The storage configuration of the knowledge base in Amazon OpenSearch Service Serverless. See `opensearch_serverless_configuration` block for details.
8144
+ """
8145
+ pinecone_configuration: NotRequired[pulumi.Input['AgentKnowledgeBaseStorageConfigurationPineconeConfigurationArgsDict']]
8146
+ """
8147
+ The storage configuration of the knowledge base in Pinecone. See `pinecone_configuration` block for details.
8148
+ """
8149
+ rds_configuration: NotRequired[pulumi.Input['AgentKnowledgeBaseStorageConfigurationRdsConfigurationArgsDict']]
8150
+ """
8151
+ 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.
8152
+ """
8153
+ redis_enterprise_cloud_configuration: NotRequired[pulumi.Input['AgentKnowledgeBaseStorageConfigurationRedisEnterpriseCloudConfigurationArgsDict']]
8154
+ """
8155
+ The storage configuration of the knowledge base in Redis Enterprise Cloud. See `redis_enterprise_cloud_configuration` block for details.
8156
+ """
8157
+ s3_vectors_configuration: NotRequired[pulumi.Input['AgentKnowledgeBaseStorageConfigurationS3VectorsConfigurationArgsDict']]
8158
+ """
8159
+ The storage configuration of the knowledge base in Amazon S3 Vectors. See `s3_vectors_configuration` block for details.
8160
+ """
8161
+ elif False:
8162
+ AgentKnowledgeBaseStorageConfigurationArgsDict: TypeAlias = Mapping[str, Any]
8163
+
8164
+ @pulumi.input_type
8165
+ class AgentKnowledgeBaseStorageConfigurationArgs:
8166
+ def __init__(__self__, *,
8167
+ type: pulumi.Input[_builtins.str],
8168
+ mongo_db_atlas_configuration: Optional[pulumi.Input['AgentKnowledgeBaseStorageConfigurationMongoDbAtlasConfigurationArgs']] = None,
8169
+ neptune_analytics_configuration: Optional[pulumi.Input['AgentKnowledgeBaseStorageConfigurationNeptuneAnalyticsConfigurationArgs']] = None,
8170
+ opensearch_managed_cluster_configuration: Optional[pulumi.Input['AgentKnowledgeBaseStorageConfigurationOpensearchManagedClusterConfigurationArgs']] = None,
8171
+ opensearch_serverless_configuration: Optional[pulumi.Input['AgentKnowledgeBaseStorageConfigurationOpensearchServerlessConfigurationArgs']] = None,
8172
+ pinecone_configuration: Optional[pulumi.Input['AgentKnowledgeBaseStorageConfigurationPineconeConfigurationArgs']] = None,
8173
+ rds_configuration: Optional[pulumi.Input['AgentKnowledgeBaseStorageConfigurationRdsConfigurationArgs']] = None,
8174
+ redis_enterprise_cloud_configuration: Optional[pulumi.Input['AgentKnowledgeBaseStorageConfigurationRedisEnterpriseCloudConfigurationArgs']] = None,
8175
+ s3_vectors_configuration: Optional[pulumi.Input['AgentKnowledgeBaseStorageConfigurationS3VectorsConfigurationArgs']] = None):
8176
+ """
8177
+ :param pulumi.Input[_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`.
8178
+ :param pulumi.Input['AgentKnowledgeBaseStorageConfigurationMongoDbAtlasConfigurationArgs'] mongo_db_atlas_configuration: The storage configuration of the knowledge base in MongoDB Atlas. See `mongo_db_atlas_configuration` block for details.
8179
+ :param pulumi.Input['AgentKnowledgeBaseStorageConfigurationNeptuneAnalyticsConfigurationArgs'] neptune_analytics_configuration: The storage configuration of the knowledge base in Amazon Neptune Analytics. See `neptune_analytics_configuration` block for details.
8180
+ :param pulumi.Input['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.
8181
+ :param pulumi.Input['AgentKnowledgeBaseStorageConfigurationOpensearchServerlessConfigurationArgs'] opensearch_serverless_configuration: The storage configuration of the knowledge base in Amazon OpenSearch Service Serverless. See `opensearch_serverless_configuration` block for details.
8182
+ :param pulumi.Input['AgentKnowledgeBaseStorageConfigurationPineconeConfigurationArgs'] pinecone_configuration: The storage configuration of the knowledge base in Pinecone. See `pinecone_configuration` block for details.
8183
+ :param pulumi.Input['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.
8184
+ :param pulumi.Input['AgentKnowledgeBaseStorageConfigurationRedisEnterpriseCloudConfigurationArgs'] redis_enterprise_cloud_configuration: The storage configuration of the knowledge base in Redis Enterprise Cloud. See `redis_enterprise_cloud_configuration` block for details.
8185
+ :param pulumi.Input['AgentKnowledgeBaseStorageConfigurationS3VectorsConfigurationArgs'] s3_vectors_configuration: The storage configuration of the knowledge base in Amazon S3 Vectors. See `s3_vectors_configuration` block for details.
8186
+ """
8187
+ pulumi.set(__self__, "type", type)
8188
+ if mongo_db_atlas_configuration is not None:
8189
+ pulumi.set(__self__, "mongo_db_atlas_configuration", mongo_db_atlas_configuration)
8190
+ if neptune_analytics_configuration is not None:
8191
+ pulumi.set(__self__, "neptune_analytics_configuration", neptune_analytics_configuration)
8192
+ if opensearch_managed_cluster_configuration is not None:
8193
+ pulumi.set(__self__, "opensearch_managed_cluster_configuration", opensearch_managed_cluster_configuration)
8194
+ if opensearch_serverless_configuration is not None:
8195
+ pulumi.set(__self__, "opensearch_serverless_configuration", opensearch_serverless_configuration)
8196
+ if pinecone_configuration is not None:
8197
+ pulumi.set(__self__, "pinecone_configuration", pinecone_configuration)
8198
+ if rds_configuration is not None:
8199
+ pulumi.set(__self__, "rds_configuration", rds_configuration)
8200
+ if redis_enterprise_cloud_configuration is not None:
8201
+ pulumi.set(__self__, "redis_enterprise_cloud_configuration", redis_enterprise_cloud_configuration)
8202
+ if s3_vectors_configuration is not None:
8203
+ pulumi.set(__self__, "s3_vectors_configuration", s3_vectors_configuration)
8204
+
8205
+ @_builtins.property
8206
+ @pulumi.getter
8207
+ def type(self) -> pulumi.Input[_builtins.str]:
8208
+ """
8209
+ 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`.
8210
+ """
8211
+ return pulumi.get(self, "type")
8212
+
8213
+ @type.setter
8214
+ def type(self, value: pulumi.Input[_builtins.str]):
8215
+ pulumi.set(self, "type", value)
8216
+
8217
+ @_builtins.property
8218
+ @pulumi.getter(name="mongoDbAtlasConfiguration")
8219
+ def mongo_db_atlas_configuration(self) -> Optional[pulumi.Input['AgentKnowledgeBaseStorageConfigurationMongoDbAtlasConfigurationArgs']]:
8220
+ """
8221
+ The storage configuration of the knowledge base in MongoDB Atlas. See `mongo_db_atlas_configuration` block for details.
8222
+ """
8223
+ return pulumi.get(self, "mongo_db_atlas_configuration")
8224
+
8225
+ @mongo_db_atlas_configuration.setter
8226
+ def mongo_db_atlas_configuration(self, value: Optional[pulumi.Input['AgentKnowledgeBaseStorageConfigurationMongoDbAtlasConfigurationArgs']]):
8227
+ pulumi.set(self, "mongo_db_atlas_configuration", value)
8228
+
8229
+ @_builtins.property
8230
+ @pulumi.getter(name="neptuneAnalyticsConfiguration")
8231
+ def neptune_analytics_configuration(self) -> Optional[pulumi.Input['AgentKnowledgeBaseStorageConfigurationNeptuneAnalyticsConfigurationArgs']]:
8232
+ """
8233
+ The storage configuration of the knowledge base in Amazon Neptune Analytics. See `neptune_analytics_configuration` block for details.
8234
+ """
8235
+ return pulumi.get(self, "neptune_analytics_configuration")
8236
+
8237
+ @neptune_analytics_configuration.setter
8238
+ def neptune_analytics_configuration(self, value: Optional[pulumi.Input['AgentKnowledgeBaseStorageConfigurationNeptuneAnalyticsConfigurationArgs']]):
8239
+ pulumi.set(self, "neptune_analytics_configuration", value)
8240
+
8241
+ @_builtins.property
8242
+ @pulumi.getter(name="opensearchManagedClusterConfiguration")
8243
+ def opensearch_managed_cluster_configuration(self) -> Optional[pulumi.Input['AgentKnowledgeBaseStorageConfigurationOpensearchManagedClusterConfigurationArgs']]:
8244
+ """
8245
+ The storage configuration of the knowledge base in Amazon OpenSearch Service Managed Cluster. See `opensearch_managed_cluster_configuration` block for details.
8246
+ """
8247
+ return pulumi.get(self, "opensearch_managed_cluster_configuration")
8248
+
8249
+ @opensearch_managed_cluster_configuration.setter
8250
+ def opensearch_managed_cluster_configuration(self, value: Optional[pulumi.Input['AgentKnowledgeBaseStorageConfigurationOpensearchManagedClusterConfigurationArgs']]):
8251
+ pulumi.set(self, "opensearch_managed_cluster_configuration", value)
8252
+
8253
+ @_builtins.property
8254
+ @pulumi.getter(name="opensearchServerlessConfiguration")
8255
+ def opensearch_serverless_configuration(self) -> Optional[pulumi.Input['AgentKnowledgeBaseStorageConfigurationOpensearchServerlessConfigurationArgs']]:
8256
+ """
8257
+ The storage configuration of the knowledge base in Amazon OpenSearch Service Serverless. See `opensearch_serverless_configuration` block for details.
8258
+ """
8259
+ return pulumi.get(self, "opensearch_serverless_configuration")
8260
+
8261
+ @opensearch_serverless_configuration.setter
8262
+ def opensearch_serverless_configuration(self, value: Optional[pulumi.Input['AgentKnowledgeBaseStorageConfigurationOpensearchServerlessConfigurationArgs']]):
8263
+ pulumi.set(self, "opensearch_serverless_configuration", value)
8264
+
8265
+ @_builtins.property
8266
+ @pulumi.getter(name="pineconeConfiguration")
8267
+ def pinecone_configuration(self) -> Optional[pulumi.Input['AgentKnowledgeBaseStorageConfigurationPineconeConfigurationArgs']]:
8268
+ """
8269
+ The storage configuration of the knowledge base in Pinecone. See `pinecone_configuration` block for details.
8270
+ """
8271
+ return pulumi.get(self, "pinecone_configuration")
8272
+
8273
+ @pinecone_configuration.setter
8274
+ def pinecone_configuration(self, value: Optional[pulumi.Input['AgentKnowledgeBaseStorageConfigurationPineconeConfigurationArgs']]):
8275
+ pulumi.set(self, "pinecone_configuration", value)
8276
+
8277
+ @_builtins.property
8278
+ @pulumi.getter(name="rdsConfiguration")
8279
+ def rds_configuration(self) -> Optional[pulumi.Input['AgentKnowledgeBaseStorageConfigurationRdsConfigurationArgs']]:
8280
+ """
8281
+ 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.
8282
+ """
8283
+ return pulumi.get(self, "rds_configuration")
8284
+
8285
+ @rds_configuration.setter
8286
+ def rds_configuration(self, value: Optional[pulumi.Input['AgentKnowledgeBaseStorageConfigurationRdsConfigurationArgs']]):
8287
+ pulumi.set(self, "rds_configuration", value)
8288
+
8289
+ @_builtins.property
8290
+ @pulumi.getter(name="redisEnterpriseCloudConfiguration")
8291
+ def redis_enterprise_cloud_configuration(self) -> Optional[pulumi.Input['AgentKnowledgeBaseStorageConfigurationRedisEnterpriseCloudConfigurationArgs']]:
8292
+ """
8293
+ The storage configuration of the knowledge base in Redis Enterprise Cloud. See `redis_enterprise_cloud_configuration` block for details.
8294
+ """
8295
+ return pulumi.get(self, "redis_enterprise_cloud_configuration")
8296
+
8297
+ @redis_enterprise_cloud_configuration.setter
8298
+ def redis_enterprise_cloud_configuration(self, value: Optional[pulumi.Input['AgentKnowledgeBaseStorageConfigurationRedisEnterpriseCloudConfigurationArgs']]):
8299
+ pulumi.set(self, "redis_enterprise_cloud_configuration", value)
8300
+
8301
+ @_builtins.property
8302
+ @pulumi.getter(name="s3VectorsConfiguration")
8303
+ def s3_vectors_configuration(self) -> Optional[pulumi.Input['AgentKnowledgeBaseStorageConfigurationS3VectorsConfigurationArgs']]:
8304
+ """
8305
+ The storage configuration of the knowledge base in Amazon S3 Vectors. See `s3_vectors_configuration` block for details.
8306
+ """
8307
+ return pulumi.get(self, "s3_vectors_configuration")
8308
+
8309
+ @s3_vectors_configuration.setter
8310
+ def s3_vectors_configuration(self, value: Optional[pulumi.Input['AgentKnowledgeBaseStorageConfigurationS3VectorsConfigurationArgs']]):
8311
+ pulumi.set(self, "s3_vectors_configuration", value)
8312
+
8313
+
8314
+ if not MYPY:
8315
+ class AgentKnowledgeBaseStorageConfigurationMongoDbAtlasConfigurationArgsDict(TypedDict):
8316
+ collection_name: pulumi.Input[_builtins.str]
8317
+ """
8318
+ The name of the collection in the MongoDB Atlas database.
8319
+ """
8320
+ credentials_secret_arn: pulumi.Input[_builtins.str]
8321
+ """
8322
+ The ARN of the secret that you created in AWS Secrets Manager that is linked to your MongoDB Atlas database.
8323
+ """
8324
+ database_name: pulumi.Input[_builtins.str]
8325
+ """
8326
+ The name of the database in the MongoDB Atlas database.
8327
+ """
8328
+ endpoint: pulumi.Input[_builtins.str]
8329
+ """
8330
+ The endpoint URL of the MongoDB Atlas database.
8331
+ """
8332
+ vector_index_name: pulumi.Input[_builtins.str]
8333
+ """
8334
+ The name of the vector index.
8335
+ """
8336
+ endpoint_service_name: NotRequired[pulumi.Input[_builtins.str]]
8337
+ """
8338
+ The name of the service that hosts the MongoDB Atlas database.
8339
+ """
8340
+ field_mapping: NotRequired[pulumi.Input['AgentKnowledgeBaseStorageConfigurationMongoDbAtlasConfigurationFieldMappingArgsDict']]
8341
+ """
8342
+ Contains the names of the fields to which to map information about the vector store.
8343
+ """
8344
+ text_index_name: NotRequired[pulumi.Input[_builtins.str]]
8345
+ """
8346
+ The name of the vector index.
8347
+ """
8348
+ elif False:
8349
+ AgentKnowledgeBaseStorageConfigurationMongoDbAtlasConfigurationArgsDict: TypeAlias = Mapping[str, Any]
8350
+
8351
+ @pulumi.input_type
8352
+ class AgentKnowledgeBaseStorageConfigurationMongoDbAtlasConfigurationArgs:
8353
+ def __init__(__self__, *,
8354
+ collection_name: pulumi.Input[_builtins.str],
8355
+ credentials_secret_arn: pulumi.Input[_builtins.str],
8356
+ database_name: pulumi.Input[_builtins.str],
8357
+ endpoint: pulumi.Input[_builtins.str],
8358
+ vector_index_name: pulumi.Input[_builtins.str],
8359
+ endpoint_service_name: Optional[pulumi.Input[_builtins.str]] = None,
8360
+ field_mapping: Optional[pulumi.Input['AgentKnowledgeBaseStorageConfigurationMongoDbAtlasConfigurationFieldMappingArgs']] = None,
8361
+ text_index_name: Optional[pulumi.Input[_builtins.str]] = None):
8362
+ """
8363
+ :param pulumi.Input[_builtins.str] collection_name: The name of the collection in the MongoDB Atlas database.
8364
+ :param pulumi.Input[_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.
8365
+ :param pulumi.Input[_builtins.str] database_name: The name of the database in the MongoDB Atlas database.
8366
+ :param pulumi.Input[_builtins.str] endpoint: The endpoint URL of the MongoDB Atlas database.
8367
+ :param pulumi.Input[_builtins.str] vector_index_name: The name of the vector index.
8368
+ :param pulumi.Input[_builtins.str] endpoint_service_name: The name of the service that hosts the MongoDB Atlas database.
8369
+ :param pulumi.Input['AgentKnowledgeBaseStorageConfigurationMongoDbAtlasConfigurationFieldMappingArgs'] field_mapping: Contains the names of the fields to which to map information about the vector store.
8370
+ :param pulumi.Input[_builtins.str] text_index_name: The name of the vector index.
8371
+ """
8372
+ pulumi.set(__self__, "collection_name", collection_name)
8373
+ pulumi.set(__self__, "credentials_secret_arn", credentials_secret_arn)
8374
+ pulumi.set(__self__, "database_name", database_name)
8375
+ pulumi.set(__self__, "endpoint", endpoint)
8376
+ pulumi.set(__self__, "vector_index_name", vector_index_name)
8377
+ if endpoint_service_name is not None:
8378
+ pulumi.set(__self__, "endpoint_service_name", endpoint_service_name)
8379
+ if field_mapping is not None:
8380
+ pulumi.set(__self__, "field_mapping", field_mapping)
8381
+ if text_index_name is not None:
8382
+ pulumi.set(__self__, "text_index_name", text_index_name)
8383
+
8384
+ @_builtins.property
8385
+ @pulumi.getter(name="collectionName")
8386
+ def collection_name(self) -> pulumi.Input[_builtins.str]:
8387
+ """
8388
+ The name of the collection in the MongoDB Atlas database.
8389
+ """
8390
+ return pulumi.get(self, "collection_name")
8391
+
8392
+ @collection_name.setter
8393
+ def collection_name(self, value: pulumi.Input[_builtins.str]):
8394
+ pulumi.set(self, "collection_name", value)
8395
+
8396
+ @_builtins.property
8397
+ @pulumi.getter(name="credentialsSecretArn")
8398
+ def credentials_secret_arn(self) -> pulumi.Input[_builtins.str]:
8399
+ """
8400
+ The ARN of the secret that you created in AWS Secrets Manager that is linked to your MongoDB Atlas database.
8401
+ """
8402
+ return pulumi.get(self, "credentials_secret_arn")
8403
+
8404
+ @credentials_secret_arn.setter
8405
+ def credentials_secret_arn(self, value: pulumi.Input[_builtins.str]):
8406
+ pulumi.set(self, "credentials_secret_arn", value)
8407
+
8408
+ @_builtins.property
8409
+ @pulumi.getter(name="databaseName")
8410
+ def database_name(self) -> pulumi.Input[_builtins.str]:
8411
+ """
8412
+ The name of the database in the MongoDB Atlas database.
8413
+ """
8414
+ return pulumi.get(self, "database_name")
8415
+
8416
+ @database_name.setter
8417
+ def database_name(self, value: pulumi.Input[_builtins.str]):
8418
+ pulumi.set(self, "database_name", value)
8419
+
8420
+ @_builtins.property
8421
+ @pulumi.getter
8422
+ def endpoint(self) -> pulumi.Input[_builtins.str]:
8423
+ """
8424
+ The endpoint URL of the MongoDB Atlas database.
8425
+ """
8426
+ return pulumi.get(self, "endpoint")
8427
+
8428
+ @endpoint.setter
8429
+ def endpoint(self, value: pulumi.Input[_builtins.str]):
8430
+ pulumi.set(self, "endpoint", value)
8431
+
8432
+ @_builtins.property
8433
+ @pulumi.getter(name="vectorIndexName")
8434
+ def vector_index_name(self) -> pulumi.Input[_builtins.str]:
8435
+ """
8436
+ The name of the vector index.
8437
+ """
8438
+ return pulumi.get(self, "vector_index_name")
8439
+
8440
+ @vector_index_name.setter
8441
+ def vector_index_name(self, value: pulumi.Input[_builtins.str]):
8442
+ pulumi.set(self, "vector_index_name", value)
8443
+
8444
+ @_builtins.property
8445
+ @pulumi.getter(name="endpointServiceName")
8446
+ def endpoint_service_name(self) -> Optional[pulumi.Input[_builtins.str]]:
8447
+ """
8448
+ The name of the service that hosts the MongoDB Atlas database.
8449
+ """
8450
+ return pulumi.get(self, "endpoint_service_name")
8451
+
8452
+ @endpoint_service_name.setter
8453
+ def endpoint_service_name(self, value: Optional[pulumi.Input[_builtins.str]]):
8454
+ pulumi.set(self, "endpoint_service_name", value)
8455
+
8456
+ @_builtins.property
8457
+ @pulumi.getter(name="fieldMapping")
8458
+ def field_mapping(self) -> Optional[pulumi.Input['AgentKnowledgeBaseStorageConfigurationMongoDbAtlasConfigurationFieldMappingArgs']]:
8459
+ """
8460
+ Contains the names of the fields to which to map information about the vector store.
8461
+ """
8462
+ return pulumi.get(self, "field_mapping")
8463
+
8464
+ @field_mapping.setter
8465
+ def field_mapping(self, value: Optional[pulumi.Input['AgentKnowledgeBaseStorageConfigurationMongoDbAtlasConfigurationFieldMappingArgs']]):
8466
+ pulumi.set(self, "field_mapping", value)
8467
+
8468
+ @_builtins.property
8469
+ @pulumi.getter(name="textIndexName")
8470
+ def text_index_name(self) -> Optional[pulumi.Input[_builtins.str]]:
8471
+ """
8472
+ The name of the vector index.
8473
+ """
8474
+ return pulumi.get(self, "text_index_name")
8475
+
8476
+ @text_index_name.setter
8477
+ def text_index_name(self, value: Optional[pulumi.Input[_builtins.str]]):
8478
+ pulumi.set(self, "text_index_name", value)
8479
+
8480
+
8481
+ if not MYPY:
8482
+ class AgentKnowledgeBaseStorageConfigurationMongoDbAtlasConfigurationFieldMappingArgsDict(TypedDict):
8483
+ metadata_field: pulumi.Input[_builtins.str]
8484
+ """
8485
+ The name of the field in which Amazon Bedrock stores metadata about the vector store.
8486
+ """
8487
+ text_field: pulumi.Input[_builtins.str]
8488
+ """
8489
+ 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.
8490
+ """
8491
+ vector_field: pulumi.Input[_builtins.str]
8492
+ """
8493
+ The name of the field in which Amazon Bedrock stores the vector embeddings for your data sources.
8494
+ """
8495
+ elif False:
8496
+ AgentKnowledgeBaseStorageConfigurationMongoDbAtlasConfigurationFieldMappingArgsDict: TypeAlias = Mapping[str, Any]
8497
+
8498
+ @pulumi.input_type
8499
+ class AgentKnowledgeBaseStorageConfigurationMongoDbAtlasConfigurationFieldMappingArgs:
8500
+ def __init__(__self__, *,
8501
+ metadata_field: pulumi.Input[_builtins.str],
8502
+ text_field: pulumi.Input[_builtins.str],
8503
+ vector_field: pulumi.Input[_builtins.str]):
8504
+ """
8505
+ :param pulumi.Input[_builtins.str] metadata_field: The name of the field in which Amazon Bedrock stores metadata about the vector store.
8506
+ :param pulumi.Input[_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.
8507
+ :param pulumi.Input[_builtins.str] vector_field: The name of the field in which Amazon Bedrock stores the vector embeddings for your data sources.
8508
+ """
8509
+ pulumi.set(__self__, "metadata_field", metadata_field)
8510
+ pulumi.set(__self__, "text_field", text_field)
8511
+ pulumi.set(__self__, "vector_field", vector_field)
8512
+
8513
+ @_builtins.property
8514
+ @pulumi.getter(name="metadataField")
8515
+ def metadata_field(self) -> pulumi.Input[_builtins.str]:
8516
+ """
8517
+ The name of the field in which Amazon Bedrock stores metadata about the vector store.
8518
+ """
8519
+ return pulumi.get(self, "metadata_field")
8520
+
8521
+ @metadata_field.setter
8522
+ def metadata_field(self, value: pulumi.Input[_builtins.str]):
8523
+ pulumi.set(self, "metadata_field", value)
8524
+
8525
+ @_builtins.property
8526
+ @pulumi.getter(name="textField")
8527
+ def text_field(self) -> pulumi.Input[_builtins.str]:
8528
+ """
8529
+ 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.
8530
+ """
8531
+ return pulumi.get(self, "text_field")
8532
+
8533
+ @text_field.setter
8534
+ def text_field(self, value: pulumi.Input[_builtins.str]):
8535
+ pulumi.set(self, "text_field", value)
8536
+
8537
+ @_builtins.property
8538
+ @pulumi.getter(name="vectorField")
8539
+ def vector_field(self) -> pulumi.Input[_builtins.str]:
8540
+ """
8541
+ The name of the field in which Amazon Bedrock stores the vector embeddings for your data sources.
8542
+ """
8543
+ return pulumi.get(self, "vector_field")
8544
+
8545
+ @vector_field.setter
8546
+ def vector_field(self, value: pulumi.Input[_builtins.str]):
8547
+ pulumi.set(self, "vector_field", value)
8548
+
8549
+
8550
+ if not MYPY:
8551
+ class AgentKnowledgeBaseStorageConfigurationNeptuneAnalyticsConfigurationArgsDict(TypedDict):
8552
+ graph_arn: pulumi.Input[_builtins.str]
8553
+ """
8554
+ ARN of the Neptune Analytics vector store.
8555
+ """
8556
+ field_mapping: NotRequired[pulumi.Input['AgentKnowledgeBaseStorageConfigurationNeptuneAnalyticsConfigurationFieldMappingArgsDict']]
8557
+ """
8558
+ The names of the fields to which to map information about the vector store. This block supports the following arguments:
8559
+ """
8560
+ elif False:
8561
+ AgentKnowledgeBaseStorageConfigurationNeptuneAnalyticsConfigurationArgsDict: TypeAlias = Mapping[str, Any]
8562
+
8563
+ @pulumi.input_type
8564
+ class AgentKnowledgeBaseStorageConfigurationNeptuneAnalyticsConfigurationArgs:
8565
+ def __init__(__self__, *,
8566
+ graph_arn: pulumi.Input[_builtins.str],
8567
+ field_mapping: Optional[pulumi.Input['AgentKnowledgeBaseStorageConfigurationNeptuneAnalyticsConfigurationFieldMappingArgs']] = None):
8568
+ """
8569
+ :param pulumi.Input[_builtins.str] graph_arn: ARN of the Neptune Analytics vector store.
8570
+ :param pulumi.Input['AgentKnowledgeBaseStorageConfigurationNeptuneAnalyticsConfigurationFieldMappingArgs'] field_mapping: The names of the fields to which to map information about the vector store. This block supports the following arguments:
8571
+ """
8572
+ pulumi.set(__self__, "graph_arn", graph_arn)
8573
+ if field_mapping is not None:
8574
+ pulumi.set(__self__, "field_mapping", field_mapping)
8575
+
8576
+ @_builtins.property
8577
+ @pulumi.getter(name="graphArn")
8578
+ def graph_arn(self) -> pulumi.Input[_builtins.str]:
8579
+ """
8580
+ ARN of the Neptune Analytics vector store.
8581
+ """
8582
+ return pulumi.get(self, "graph_arn")
8583
+
8584
+ @graph_arn.setter
8585
+ def graph_arn(self, value: pulumi.Input[_builtins.str]):
8586
+ pulumi.set(self, "graph_arn", value)
8587
+
8588
+ @_builtins.property
8589
+ @pulumi.getter(name="fieldMapping")
8590
+ def field_mapping(self) -> Optional[pulumi.Input['AgentKnowledgeBaseStorageConfigurationNeptuneAnalyticsConfigurationFieldMappingArgs']]:
8591
+ """
8592
+ The names of the fields to which to map information about the vector store. This block supports the following arguments:
8593
+ """
8594
+ return pulumi.get(self, "field_mapping")
8595
+
8596
+ @field_mapping.setter
8597
+ def field_mapping(self, value: Optional[pulumi.Input['AgentKnowledgeBaseStorageConfigurationNeptuneAnalyticsConfigurationFieldMappingArgs']]):
8598
+ pulumi.set(self, "field_mapping", value)
8599
+
8600
+
8601
+ if not MYPY:
8602
+ class AgentKnowledgeBaseStorageConfigurationNeptuneAnalyticsConfigurationFieldMappingArgsDict(TypedDict):
8603
+ metadata_field: pulumi.Input[_builtins.str]
8604
+ """
8605
+ Name of the field in which Amazon Bedrock stores metadata about the vector store.
8606
+ """
8607
+ text_field: pulumi.Input[_builtins.str]
8608
+ """
8609
+ 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.
8610
+ """
8611
+ elif False:
8612
+ AgentKnowledgeBaseStorageConfigurationNeptuneAnalyticsConfigurationFieldMappingArgsDict: TypeAlias = Mapping[str, Any]
8613
+
8614
+ @pulumi.input_type
8615
+ class AgentKnowledgeBaseStorageConfigurationNeptuneAnalyticsConfigurationFieldMappingArgs:
8616
+ def __init__(__self__, *,
8617
+ metadata_field: pulumi.Input[_builtins.str],
8618
+ text_field: pulumi.Input[_builtins.str]):
8619
+ """
8620
+ :param pulumi.Input[_builtins.str] metadata_field: Name of the field in which Amazon Bedrock stores metadata about the vector store.
8621
+ :param pulumi.Input[_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.
8622
+ """
8623
+ pulumi.set(__self__, "metadata_field", metadata_field)
8624
+ pulumi.set(__self__, "text_field", text_field)
8625
+
8626
+ @_builtins.property
8627
+ @pulumi.getter(name="metadataField")
8628
+ def metadata_field(self) -> pulumi.Input[_builtins.str]:
8629
+ """
8630
+ Name of the field in which Amazon Bedrock stores metadata about the vector store.
8631
+ """
8632
+ return pulumi.get(self, "metadata_field")
8633
+
8634
+ @metadata_field.setter
8635
+ def metadata_field(self, value: pulumi.Input[_builtins.str]):
8636
+ pulumi.set(self, "metadata_field", value)
8637
+
8638
+ @_builtins.property
8639
+ @pulumi.getter(name="textField")
8640
+ def text_field(self) -> pulumi.Input[_builtins.str]:
8641
+ """
8642
+ 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.
8643
+ """
8644
+ return pulumi.get(self, "text_field")
8645
+
8646
+ @text_field.setter
8647
+ def text_field(self, value: pulumi.Input[_builtins.str]):
8648
+ pulumi.set(self, "text_field", value)
8649
+
8650
+
8651
+ if not MYPY:
8652
+ class AgentKnowledgeBaseStorageConfigurationOpensearchManagedClusterConfigurationArgsDict(TypedDict):
8653
+ domain_arn: pulumi.Input[_builtins.str]
8654
+ """
8655
+ ARN of the OpenSearch domain.
8656
+ """
8657
+ domain_endpoint: pulumi.Input[_builtins.str]
8658
+ """
8659
+ Endpoint URL of the OpenSearch domain.
8660
+ """
8661
+ vector_index_name: pulumi.Input[_builtins.str]
8662
+ """
8663
+ Name of the vector store.
8664
+ """
8665
+ field_mapping: NotRequired[pulumi.Input['AgentKnowledgeBaseStorageConfigurationOpensearchManagedClusterConfigurationFieldMappingArgsDict']]
7063
8666
  """
7064
- Contains information about the Amazon S3 location for the extracted images. See `s3_location` block for details.
8667
+ The names of the fields to which to map information about the vector store. This block supports the following arguments:
7065
8668
  """
7066
8669
  elif False:
7067
- AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfigurationStorageLocationArgsDict: TypeAlias = Mapping[str, Any]
8670
+ AgentKnowledgeBaseStorageConfigurationOpensearchManagedClusterConfigurationArgsDict: TypeAlias = Mapping[str, Any]
7068
8671
 
7069
8672
  @pulumi.input_type
7070
- class AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfigurationStorageLocationArgs:
8673
+ class AgentKnowledgeBaseStorageConfigurationOpensearchManagedClusterConfigurationArgs:
7071
8674
  def __init__(__self__, *,
7072
- type: pulumi.Input[_builtins.str],
7073
- s3_location: Optional[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfigurationStorageLocationS3LocationArgs']] = None):
8675
+ domain_arn: pulumi.Input[_builtins.str],
8676
+ domain_endpoint: pulumi.Input[_builtins.str],
8677
+ vector_index_name: pulumi.Input[_builtins.str],
8678
+ field_mapping: Optional[pulumi.Input['AgentKnowledgeBaseStorageConfigurationOpensearchManagedClusterConfigurationFieldMappingArgs']] = None):
7074
8679
  """
7075
- :param pulumi.Input[_builtins.str] type: Storage service used for this location. `S3` is the only valid value.
7076
- :param pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfigurationStorageLocationS3LocationArgs'] s3_location: Contains information about the Amazon S3 location for the extracted images. See `s3_location` block for details.
8680
+ :param pulumi.Input[_builtins.str] domain_arn: ARN of the OpenSearch domain.
8681
+ :param pulumi.Input[_builtins.str] domain_endpoint: Endpoint URL of the OpenSearch domain.
8682
+ :param pulumi.Input[_builtins.str] vector_index_name: Name of the vector store.
8683
+ :param pulumi.Input['AgentKnowledgeBaseStorageConfigurationOpensearchManagedClusterConfigurationFieldMappingArgs'] field_mapping: The names of the fields to which to map information about the vector store. This block supports the following arguments:
7077
8684
  """
7078
- pulumi.set(__self__, "type", type)
7079
- if s3_location is not None:
7080
- pulumi.set(__self__, "s3_location", s3_location)
8685
+ pulumi.set(__self__, "domain_arn", domain_arn)
8686
+ pulumi.set(__self__, "domain_endpoint", domain_endpoint)
8687
+ pulumi.set(__self__, "vector_index_name", vector_index_name)
8688
+ if field_mapping is not None:
8689
+ pulumi.set(__self__, "field_mapping", field_mapping)
7081
8690
 
7082
8691
  @_builtins.property
7083
- @pulumi.getter
7084
- def type(self) -> pulumi.Input[_builtins.str]:
8692
+ @pulumi.getter(name="domainArn")
8693
+ def domain_arn(self) -> pulumi.Input[_builtins.str]:
7085
8694
  """
7086
- Storage service used for this location. `S3` is the only valid value.
8695
+ ARN of the OpenSearch domain.
7087
8696
  """
7088
- return pulumi.get(self, "type")
8697
+ return pulumi.get(self, "domain_arn")
7089
8698
 
7090
- @type.setter
7091
- def type(self, value: pulumi.Input[_builtins.str]):
7092
- pulumi.set(self, "type", value)
8699
+ @domain_arn.setter
8700
+ def domain_arn(self, value: pulumi.Input[_builtins.str]):
8701
+ pulumi.set(self, "domain_arn", value)
7093
8702
 
7094
8703
  @_builtins.property
7095
- @pulumi.getter(name="s3Location")
7096
- def s3_location(self) -> Optional[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfigurationStorageLocationS3LocationArgs']]:
8704
+ @pulumi.getter(name="domainEndpoint")
8705
+ def domain_endpoint(self) -> pulumi.Input[_builtins.str]:
7097
8706
  """
7098
- Contains information about the Amazon S3 location for the extracted images. See `s3_location` block for details.
8707
+ Endpoint URL of the OpenSearch domain.
7099
8708
  """
7100
- return pulumi.get(self, "s3_location")
7101
-
7102
- @s3_location.setter
7103
- def s3_location(self, value: Optional[pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfigurationStorageLocationS3LocationArgs']]):
7104
- pulumi.set(self, "s3_location", value)
8709
+ return pulumi.get(self, "domain_endpoint")
7105
8710
 
8711
+ @domain_endpoint.setter
8712
+ def domain_endpoint(self, value: pulumi.Input[_builtins.str]):
8713
+ pulumi.set(self, "domain_endpoint", value)
7106
8714
 
7107
- if not MYPY:
7108
- class AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfigurationStorageLocationS3LocationArgsDict(TypedDict):
7109
- uri: pulumi.Input[_builtins.str]
8715
+ @_builtins.property
8716
+ @pulumi.getter(name="vectorIndexName")
8717
+ def vector_index_name(self) -> pulumi.Input[_builtins.str]:
7110
8718
  """
7111
- URI of the location.
8719
+ Name of the vector store.
7112
8720
  """
7113
- elif False:
7114
- AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfigurationStorageLocationS3LocationArgsDict: TypeAlias = Mapping[str, Any]
8721
+ return pulumi.get(self, "vector_index_name")
7115
8722
 
7116
- @pulumi.input_type
7117
- class AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationSupplementalDataStorageConfigurationStorageLocationS3LocationArgs:
7118
- def __init__(__self__, *,
7119
- uri: pulumi.Input[_builtins.str]):
7120
- """
7121
- :param pulumi.Input[_builtins.str] uri: URI of the location.
7122
- """
7123
- pulumi.set(__self__, "uri", uri)
8723
+ @vector_index_name.setter
8724
+ def vector_index_name(self, value: pulumi.Input[_builtins.str]):
8725
+ pulumi.set(self, "vector_index_name", value)
7124
8726
 
7125
8727
  @_builtins.property
7126
- @pulumi.getter
7127
- def uri(self) -> pulumi.Input[_builtins.str]:
8728
+ @pulumi.getter(name="fieldMapping")
8729
+ def field_mapping(self) -> Optional[pulumi.Input['AgentKnowledgeBaseStorageConfigurationOpensearchManagedClusterConfigurationFieldMappingArgs']]:
7128
8730
  """
7129
- URI of the location.
8731
+ The names of the fields to which to map information about the vector store. This block supports the following arguments:
7130
8732
  """
7131
- return pulumi.get(self, "uri")
8733
+ return pulumi.get(self, "field_mapping")
7132
8734
 
7133
- @uri.setter
7134
- def uri(self, value: pulumi.Input[_builtins.str]):
7135
- pulumi.set(self, "uri", value)
8735
+ @field_mapping.setter
8736
+ def field_mapping(self, value: Optional[pulumi.Input['AgentKnowledgeBaseStorageConfigurationOpensearchManagedClusterConfigurationFieldMappingArgs']]):
8737
+ pulumi.set(self, "field_mapping", value)
7136
8738
 
7137
8739
 
7138
8740
  if not MYPY:
7139
- class AgentKnowledgeBaseStorageConfigurationArgsDict(TypedDict):
7140
- type: pulumi.Input[_builtins.str]
7141
- """
7142
- Vector store service in which the knowledge base is stored. Valid Values: `OPENSEARCH_SERVERLESS`, `PINECONE`, `REDIS_ENTERPRISE_CLOUD`, `RDS`.
7143
- """
7144
- opensearch_serverless_configuration: NotRequired[pulumi.Input['AgentKnowledgeBaseStorageConfigurationOpensearchServerlessConfigurationArgsDict']]
7145
- """
7146
- The storage configuration of the knowledge base in Amazon OpenSearch Service. See `opensearch_serverless_configuration` block for details.
7147
- """
7148
- pinecone_configuration: NotRequired[pulumi.Input['AgentKnowledgeBaseStorageConfigurationPineconeConfigurationArgsDict']]
8741
+ class AgentKnowledgeBaseStorageConfigurationOpensearchManagedClusterConfigurationFieldMappingArgsDict(TypedDict):
8742
+ metadata_field: pulumi.Input[_builtins.str]
7149
8743
  """
7150
- The storage configuration of the knowledge base in Pinecone. See `pinecone_configuration` block for details.
8744
+ Name of the field in which Amazon Bedrock stores metadata about the vector store.
7151
8745
  """
7152
- rds_configuration: NotRequired[pulumi.Input['AgentKnowledgeBaseStorageConfigurationRdsConfigurationArgsDict']]
8746
+ text_field: pulumi.Input[_builtins.str]
7153
8747
  """
7154
- 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.
8748
+ 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.
7155
8749
  """
7156
- redis_enterprise_cloud_configuration: NotRequired[pulumi.Input['AgentKnowledgeBaseStorageConfigurationRedisEnterpriseCloudConfigurationArgsDict']]
8750
+ vector_field: pulumi.Input[_builtins.str]
7157
8751
  """
7158
- The storage configuration of the knowledge base in Redis Enterprise Cloud. See `redis_enterprise_cloud_configuration` block for details.
8752
+ Name of the field in which Amazon Bedrock stores the vector embeddings for your data sources.
7159
8753
  """
7160
8754
  elif False:
7161
- AgentKnowledgeBaseStorageConfigurationArgsDict: TypeAlias = Mapping[str, Any]
8755
+ AgentKnowledgeBaseStorageConfigurationOpensearchManagedClusterConfigurationFieldMappingArgsDict: TypeAlias = Mapping[str, Any]
7162
8756
 
7163
8757
  @pulumi.input_type
7164
- class AgentKnowledgeBaseStorageConfigurationArgs:
8758
+ class AgentKnowledgeBaseStorageConfigurationOpensearchManagedClusterConfigurationFieldMappingArgs:
7165
8759
  def __init__(__self__, *,
7166
- type: pulumi.Input[_builtins.str],
7167
- opensearch_serverless_configuration: Optional[pulumi.Input['AgentKnowledgeBaseStorageConfigurationOpensearchServerlessConfigurationArgs']] = None,
7168
- pinecone_configuration: Optional[pulumi.Input['AgentKnowledgeBaseStorageConfigurationPineconeConfigurationArgs']] = None,
7169
- rds_configuration: Optional[pulumi.Input['AgentKnowledgeBaseStorageConfigurationRdsConfigurationArgs']] = None,
7170
- redis_enterprise_cloud_configuration: Optional[pulumi.Input['AgentKnowledgeBaseStorageConfigurationRedisEnterpriseCloudConfigurationArgs']] = None):
7171
- """
7172
- :param pulumi.Input[_builtins.str] type: Vector store service in which the knowledge base is stored. Valid Values: `OPENSEARCH_SERVERLESS`, `PINECONE`, `REDIS_ENTERPRISE_CLOUD`, `RDS`.
7173
- :param pulumi.Input['AgentKnowledgeBaseStorageConfigurationOpensearchServerlessConfigurationArgs'] opensearch_serverless_configuration: The storage configuration of the knowledge base in Amazon OpenSearch Service. See `opensearch_serverless_configuration` block for details.
7174
- :param pulumi.Input['AgentKnowledgeBaseStorageConfigurationPineconeConfigurationArgs'] pinecone_configuration: The storage configuration of the knowledge base in Pinecone. See `pinecone_configuration` block for details.
7175
- :param pulumi.Input['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.
7176
- :param pulumi.Input['AgentKnowledgeBaseStorageConfigurationRedisEnterpriseCloudConfigurationArgs'] redis_enterprise_cloud_configuration: The storage configuration of the knowledge base in Redis Enterprise Cloud. See `redis_enterprise_cloud_configuration` block for details.
7177
- """
7178
- pulumi.set(__self__, "type", type)
7179
- if opensearch_serverless_configuration is not None:
7180
- pulumi.set(__self__, "opensearch_serverless_configuration", opensearch_serverless_configuration)
7181
- if pinecone_configuration is not None:
7182
- pulumi.set(__self__, "pinecone_configuration", pinecone_configuration)
7183
- if rds_configuration is not None:
7184
- pulumi.set(__self__, "rds_configuration", rds_configuration)
7185
- if redis_enterprise_cloud_configuration is not None:
7186
- pulumi.set(__self__, "redis_enterprise_cloud_configuration", redis_enterprise_cloud_configuration)
7187
-
7188
- @_builtins.property
7189
- @pulumi.getter
7190
- def type(self) -> pulumi.Input[_builtins.str]:
7191
- """
7192
- Vector store service in which the knowledge base is stored. Valid Values: `OPENSEARCH_SERVERLESS`, `PINECONE`, `REDIS_ENTERPRISE_CLOUD`, `RDS`.
7193
- """
7194
- return pulumi.get(self, "type")
7195
-
7196
- @type.setter
7197
- def type(self, value: pulumi.Input[_builtins.str]):
7198
- pulumi.set(self, "type", value)
7199
-
7200
- @_builtins.property
7201
- @pulumi.getter(name="opensearchServerlessConfiguration")
7202
- def opensearch_serverless_configuration(self) -> Optional[pulumi.Input['AgentKnowledgeBaseStorageConfigurationOpensearchServerlessConfigurationArgs']]:
8760
+ metadata_field: pulumi.Input[_builtins.str],
8761
+ text_field: pulumi.Input[_builtins.str],
8762
+ vector_field: pulumi.Input[_builtins.str]):
7203
8763
  """
7204
- The storage configuration of the knowledge base in Amazon OpenSearch Service. See `opensearch_serverless_configuration` block for details.
8764
+ :param pulumi.Input[_builtins.str] metadata_field: Name of the field in which Amazon Bedrock stores metadata about the vector store.
8765
+ :param pulumi.Input[_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.
8766
+ :param pulumi.Input[_builtins.str] vector_field: Name of the field in which Amazon Bedrock stores the vector embeddings for your data sources.
7205
8767
  """
7206
- return pulumi.get(self, "opensearch_serverless_configuration")
7207
-
7208
- @opensearch_serverless_configuration.setter
7209
- def opensearch_serverless_configuration(self, value: Optional[pulumi.Input['AgentKnowledgeBaseStorageConfigurationOpensearchServerlessConfigurationArgs']]):
7210
- pulumi.set(self, "opensearch_serverless_configuration", value)
8768
+ pulumi.set(__self__, "metadata_field", metadata_field)
8769
+ pulumi.set(__self__, "text_field", text_field)
8770
+ pulumi.set(__self__, "vector_field", vector_field)
7211
8771
 
7212
8772
  @_builtins.property
7213
- @pulumi.getter(name="pineconeConfiguration")
7214
- def pinecone_configuration(self) -> Optional[pulumi.Input['AgentKnowledgeBaseStorageConfigurationPineconeConfigurationArgs']]:
8773
+ @pulumi.getter(name="metadataField")
8774
+ def metadata_field(self) -> pulumi.Input[_builtins.str]:
7215
8775
  """
7216
- The storage configuration of the knowledge base in Pinecone. See `pinecone_configuration` block for details.
8776
+ Name of the field in which Amazon Bedrock stores metadata about the vector store.
7217
8777
  """
7218
- return pulumi.get(self, "pinecone_configuration")
8778
+ return pulumi.get(self, "metadata_field")
7219
8779
 
7220
- @pinecone_configuration.setter
7221
- def pinecone_configuration(self, value: Optional[pulumi.Input['AgentKnowledgeBaseStorageConfigurationPineconeConfigurationArgs']]):
7222
- pulumi.set(self, "pinecone_configuration", value)
8780
+ @metadata_field.setter
8781
+ def metadata_field(self, value: pulumi.Input[_builtins.str]):
8782
+ pulumi.set(self, "metadata_field", value)
7223
8783
 
7224
8784
  @_builtins.property
7225
- @pulumi.getter(name="rdsConfiguration")
7226
- def rds_configuration(self) -> Optional[pulumi.Input['AgentKnowledgeBaseStorageConfigurationRdsConfigurationArgs']]:
8785
+ @pulumi.getter(name="textField")
8786
+ def text_field(self) -> pulumi.Input[_builtins.str]:
7227
8787
  """
7228
- 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.
8788
+ 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.
7229
8789
  """
7230
- return pulumi.get(self, "rds_configuration")
8790
+ return pulumi.get(self, "text_field")
7231
8791
 
7232
- @rds_configuration.setter
7233
- def rds_configuration(self, value: Optional[pulumi.Input['AgentKnowledgeBaseStorageConfigurationRdsConfigurationArgs']]):
7234
- pulumi.set(self, "rds_configuration", value)
8792
+ @text_field.setter
8793
+ def text_field(self, value: pulumi.Input[_builtins.str]):
8794
+ pulumi.set(self, "text_field", value)
7235
8795
 
7236
8796
  @_builtins.property
7237
- @pulumi.getter(name="redisEnterpriseCloudConfiguration")
7238
- def redis_enterprise_cloud_configuration(self) -> Optional[pulumi.Input['AgentKnowledgeBaseStorageConfigurationRedisEnterpriseCloudConfigurationArgs']]:
8797
+ @pulumi.getter(name="vectorField")
8798
+ def vector_field(self) -> pulumi.Input[_builtins.str]:
7239
8799
  """
7240
- The storage configuration of the knowledge base in Redis Enterprise Cloud. See `redis_enterprise_cloud_configuration` block for details.
8800
+ Name of the field in which Amazon Bedrock stores the vector embeddings for your data sources.
7241
8801
  """
7242
- return pulumi.get(self, "redis_enterprise_cloud_configuration")
8802
+ return pulumi.get(self, "vector_field")
7243
8803
 
7244
- @redis_enterprise_cloud_configuration.setter
7245
- def redis_enterprise_cloud_configuration(self, value: Optional[pulumi.Input['AgentKnowledgeBaseStorageConfigurationRedisEnterpriseCloudConfigurationArgs']]):
7246
- pulumi.set(self, "redis_enterprise_cloud_configuration", value)
8804
+ @vector_field.setter
8805
+ def vector_field(self, value: pulumi.Input[_builtins.str]):
8806
+ pulumi.set(self, "vector_field", value)
7247
8807
 
7248
8808
 
7249
8809
  if not MYPY:
@@ -7318,15 +8878,15 @@ class AgentKnowledgeBaseStorageConfigurationOpensearchServerlessConfigurationArg
7318
8878
 
7319
8879
  if not MYPY:
7320
8880
  class AgentKnowledgeBaseStorageConfigurationOpensearchServerlessConfigurationFieldMappingArgsDict(TypedDict):
7321
- metadata_field: NotRequired[pulumi.Input[_builtins.str]]
8881
+ metadata_field: pulumi.Input[_builtins.str]
7322
8882
  """
7323
8883
  Name of the field in which Amazon Bedrock stores metadata about the vector store.
7324
8884
  """
7325
- text_field: NotRequired[pulumi.Input[_builtins.str]]
8885
+ text_field: pulumi.Input[_builtins.str]
7326
8886
  """
7327
8887
  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.
7328
8888
  """
7329
- vector_field: NotRequired[pulumi.Input[_builtins.str]]
8889
+ vector_field: pulumi.Input[_builtins.str]
7330
8890
  """
7331
8891
  Name of the field in which Amazon Bedrock stores the vector embeddings for your data sources.
7332
8892
  """
@@ -7336,55 +8896,52 @@ elif False:
7336
8896
  @pulumi.input_type
7337
8897
  class AgentKnowledgeBaseStorageConfigurationOpensearchServerlessConfigurationFieldMappingArgs:
7338
8898
  def __init__(__self__, *,
7339
- metadata_field: Optional[pulumi.Input[_builtins.str]] = None,
7340
- text_field: Optional[pulumi.Input[_builtins.str]] = None,
7341
- vector_field: Optional[pulumi.Input[_builtins.str]] = None):
8899
+ metadata_field: pulumi.Input[_builtins.str],
8900
+ text_field: pulumi.Input[_builtins.str],
8901
+ vector_field: pulumi.Input[_builtins.str]):
7342
8902
  """
7343
8903
  :param pulumi.Input[_builtins.str] metadata_field: Name of the field in which Amazon Bedrock stores metadata about the vector store.
7344
8904
  :param pulumi.Input[_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.
7345
8905
  :param pulumi.Input[_builtins.str] vector_field: Name of the field in which Amazon Bedrock stores the vector embeddings for your data sources.
7346
8906
  """
7347
- if metadata_field is not None:
7348
- pulumi.set(__self__, "metadata_field", metadata_field)
7349
- if text_field is not None:
7350
- pulumi.set(__self__, "text_field", text_field)
7351
- if vector_field is not None:
7352
- pulumi.set(__self__, "vector_field", vector_field)
8907
+ pulumi.set(__self__, "metadata_field", metadata_field)
8908
+ pulumi.set(__self__, "text_field", text_field)
8909
+ pulumi.set(__self__, "vector_field", vector_field)
7353
8910
 
7354
8911
  @_builtins.property
7355
8912
  @pulumi.getter(name="metadataField")
7356
- def metadata_field(self) -> Optional[pulumi.Input[_builtins.str]]:
8913
+ def metadata_field(self) -> pulumi.Input[_builtins.str]:
7357
8914
  """
7358
8915
  Name of the field in which Amazon Bedrock stores metadata about the vector store.
7359
8916
  """
7360
8917
  return pulumi.get(self, "metadata_field")
7361
8918
 
7362
8919
  @metadata_field.setter
7363
- def metadata_field(self, value: Optional[pulumi.Input[_builtins.str]]):
8920
+ def metadata_field(self, value: pulumi.Input[_builtins.str]):
7364
8921
  pulumi.set(self, "metadata_field", value)
7365
8922
 
7366
8923
  @_builtins.property
7367
8924
  @pulumi.getter(name="textField")
7368
- def text_field(self) -> Optional[pulumi.Input[_builtins.str]]:
8925
+ def text_field(self) -> pulumi.Input[_builtins.str]:
7369
8926
  """
7370
8927
  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.
7371
8928
  """
7372
8929
  return pulumi.get(self, "text_field")
7373
8930
 
7374
8931
  @text_field.setter
7375
- def text_field(self, value: Optional[pulumi.Input[_builtins.str]]):
8932
+ def text_field(self, value: pulumi.Input[_builtins.str]):
7376
8933
  pulumi.set(self, "text_field", value)
7377
8934
 
7378
8935
  @_builtins.property
7379
8936
  @pulumi.getter(name="vectorField")
7380
- def vector_field(self) -> Optional[pulumi.Input[_builtins.str]]:
8937
+ def vector_field(self) -> pulumi.Input[_builtins.str]:
7381
8938
  """
7382
8939
  Name of the field in which Amazon Bedrock stores the vector embeddings for your data sources.
7383
8940
  """
7384
8941
  return pulumi.get(self, "vector_field")
7385
8942
 
7386
8943
  @vector_field.setter
7387
- def vector_field(self, value: Optional[pulumi.Input[_builtins.str]]):
8944
+ def vector_field(self, value: pulumi.Input[_builtins.str]):
7388
8945
  pulumi.set(self, "vector_field", value)
7389
8946
 
7390
8947
 
@@ -7480,11 +9037,11 @@ class AgentKnowledgeBaseStorageConfigurationPineconeConfigurationArgs:
7480
9037
 
7481
9038
  if not MYPY:
7482
9039
  class AgentKnowledgeBaseStorageConfigurationPineconeConfigurationFieldMappingArgsDict(TypedDict):
7483
- metadata_field: NotRequired[pulumi.Input[_builtins.str]]
9040
+ metadata_field: pulumi.Input[_builtins.str]
7484
9041
  """
7485
9042
  Name of the field in which Amazon Bedrock stores metadata about the vector store.
7486
9043
  """
7487
- text_field: NotRequired[pulumi.Input[_builtins.str]]
9044
+ text_field: pulumi.Input[_builtins.str]
7488
9045
  """
7489
9046
  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.
7490
9047
  """
@@ -7494,39 +9051,37 @@ elif False:
7494
9051
  @pulumi.input_type
7495
9052
  class AgentKnowledgeBaseStorageConfigurationPineconeConfigurationFieldMappingArgs:
7496
9053
  def __init__(__self__, *,
7497
- metadata_field: Optional[pulumi.Input[_builtins.str]] = None,
7498
- text_field: Optional[pulumi.Input[_builtins.str]] = None):
9054
+ metadata_field: pulumi.Input[_builtins.str],
9055
+ text_field: pulumi.Input[_builtins.str]):
7499
9056
  """
7500
9057
  :param pulumi.Input[_builtins.str] metadata_field: Name of the field in which Amazon Bedrock stores metadata about the vector store.
7501
9058
  :param pulumi.Input[_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.
7502
9059
  """
7503
- if metadata_field is not None:
7504
- pulumi.set(__self__, "metadata_field", metadata_field)
7505
- if text_field is not None:
7506
- pulumi.set(__self__, "text_field", text_field)
9060
+ pulumi.set(__self__, "metadata_field", metadata_field)
9061
+ pulumi.set(__self__, "text_field", text_field)
7507
9062
 
7508
9063
  @_builtins.property
7509
9064
  @pulumi.getter(name="metadataField")
7510
- def metadata_field(self) -> Optional[pulumi.Input[_builtins.str]]:
9065
+ def metadata_field(self) -> pulumi.Input[_builtins.str]:
7511
9066
  """
7512
9067
  Name of the field in which Amazon Bedrock stores metadata about the vector store.
7513
9068
  """
7514
9069
  return pulumi.get(self, "metadata_field")
7515
9070
 
7516
9071
  @metadata_field.setter
7517
- def metadata_field(self, value: Optional[pulumi.Input[_builtins.str]]):
9072
+ def metadata_field(self, value: pulumi.Input[_builtins.str]):
7518
9073
  pulumi.set(self, "metadata_field", value)
7519
9074
 
7520
9075
  @_builtins.property
7521
9076
  @pulumi.getter(name="textField")
7522
- def text_field(self) -> Optional[pulumi.Input[_builtins.str]]:
9077
+ def text_field(self) -> pulumi.Input[_builtins.str]:
7523
9078
  """
7524
9079
  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.
7525
9080
  """
7526
9081
  return pulumi.get(self, "text_field")
7527
9082
 
7528
9083
  @text_field.setter
7529
- def text_field(self, value: Optional[pulumi.Input[_builtins.str]]):
9084
+ def text_field(self, value: pulumi.Input[_builtins.str]):
7530
9085
  pulumi.set(self, "text_field", value)
7531
9086
 
7532
9087
 
@@ -7907,6 +9462,78 @@ class AgentKnowledgeBaseStorageConfigurationRedisEnterpriseCloudConfigurationFie
7907
9462
  pulumi.set(self, "vector_field", value)
7908
9463
 
7909
9464
 
9465
+ if not MYPY:
9466
+ class AgentKnowledgeBaseStorageConfigurationS3VectorsConfigurationArgsDict(TypedDict):
9467
+ index_arn: NotRequired[pulumi.Input[_builtins.str]]
9468
+ """
9469
+ ARN of the S3 Vectors index. Conflicts with `index_name` and `vector_bucket_arn`.
9470
+ """
9471
+ index_name: NotRequired[pulumi.Input[_builtins.str]]
9472
+ """
9473
+ Name of the S3 Vectors index. Must be specified with `vector_bucket_arn`. Conflicts with `index_arn`.
9474
+ """
9475
+ vector_bucket_arn: NotRequired[pulumi.Input[_builtins.str]]
9476
+ """
9477
+ ARN of the S3 Vectors vector bucket. Must be specified with `index_name`. Conflicts with `index_arn`.
9478
+ """
9479
+ elif False:
9480
+ AgentKnowledgeBaseStorageConfigurationS3VectorsConfigurationArgsDict: TypeAlias = Mapping[str, Any]
9481
+
9482
+ @pulumi.input_type
9483
+ class AgentKnowledgeBaseStorageConfigurationS3VectorsConfigurationArgs:
9484
+ def __init__(__self__, *,
9485
+ index_arn: Optional[pulumi.Input[_builtins.str]] = None,
9486
+ index_name: Optional[pulumi.Input[_builtins.str]] = None,
9487
+ vector_bucket_arn: Optional[pulumi.Input[_builtins.str]] = None):
9488
+ """
9489
+ :param pulumi.Input[_builtins.str] index_arn: ARN of the S3 Vectors index. Conflicts with `index_name` and `vector_bucket_arn`.
9490
+ :param pulumi.Input[_builtins.str] index_name: Name of the S3 Vectors index. Must be specified with `vector_bucket_arn`. Conflicts with `index_arn`.
9491
+ :param pulumi.Input[_builtins.str] vector_bucket_arn: ARN of the S3 Vectors vector bucket. Must be specified with `index_name`. Conflicts with `index_arn`.
9492
+ """
9493
+ if index_arn is not None:
9494
+ pulumi.set(__self__, "index_arn", index_arn)
9495
+ if index_name is not None:
9496
+ pulumi.set(__self__, "index_name", index_name)
9497
+ if vector_bucket_arn is not None:
9498
+ pulumi.set(__self__, "vector_bucket_arn", vector_bucket_arn)
9499
+
9500
+ @_builtins.property
9501
+ @pulumi.getter(name="indexArn")
9502
+ def index_arn(self) -> Optional[pulumi.Input[_builtins.str]]:
9503
+ """
9504
+ ARN of the S3 Vectors index. Conflicts with `index_name` and `vector_bucket_arn`.
9505
+ """
9506
+ return pulumi.get(self, "index_arn")
9507
+
9508
+ @index_arn.setter
9509
+ def index_arn(self, value: Optional[pulumi.Input[_builtins.str]]):
9510
+ pulumi.set(self, "index_arn", value)
9511
+
9512
+ @_builtins.property
9513
+ @pulumi.getter(name="indexName")
9514
+ def index_name(self) -> Optional[pulumi.Input[_builtins.str]]:
9515
+ """
9516
+ Name of the S3 Vectors index. Must be specified with `vector_bucket_arn`. Conflicts with `index_arn`.
9517
+ """
9518
+ return pulumi.get(self, "index_name")
9519
+
9520
+ @index_name.setter
9521
+ def index_name(self, value: Optional[pulumi.Input[_builtins.str]]):
9522
+ pulumi.set(self, "index_name", value)
9523
+
9524
+ @_builtins.property
9525
+ @pulumi.getter(name="vectorBucketArn")
9526
+ def vector_bucket_arn(self) -> Optional[pulumi.Input[_builtins.str]]:
9527
+ """
9528
+ ARN of the S3 Vectors vector bucket. Must be specified with `index_name`. Conflicts with `index_arn`.
9529
+ """
9530
+ return pulumi.get(self, "vector_bucket_arn")
9531
+
9532
+ @vector_bucket_arn.setter
9533
+ def vector_bucket_arn(self, value: Optional[pulumi.Input[_builtins.str]]):
9534
+ pulumi.set(self, "vector_bucket_arn", value)
9535
+
9536
+
7910
9537
  if not MYPY:
7911
9538
  class AgentKnowledgeBaseTimeoutsArgsDict(TypedDict):
7912
9539
  create: NotRequired[pulumi.Input[_builtins.str]]