Class: AWSCDK::Bedrock::CfnKnowledgeBase::NeptuneAnalyticsConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Bedrock::CfnKnowledgeBase::NeptuneAnalyticsConfigurationProperty
- Defined in:
- bedrock/cfn_knowledge_base.rb
Overview
Contains details about the storage configuration of the knowledge base in Amazon Neptune Analytics.
For more information, see Create a vector index in Amazon Neptune Analytics .
Instance Attribute Summary collapse
-
#field_mapping ⇒ AWSCDK::IResolvable, AWSCDK::Bedrock::CfnKnowledgeBase::NeptuneAnalyticsFieldMappingProperty
readonly
Contains the names of the fields to which to map information about the vector store.
-
#graph_arn ⇒ String
readonly
The Amazon Resource Name (ARN) of the Neptune Analytics vector store.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(field_mapping:, graph_arn:) ⇒ NeptuneAnalyticsConfigurationProperty
constructor
A new instance of NeptuneAnalyticsConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(field_mapping:, graph_arn:) ⇒ NeptuneAnalyticsConfigurationProperty
Returns a new instance of NeptuneAnalyticsConfigurationProperty.
1242 1243 1244 1245 1246 1247 |
# File 'bedrock/cfn_knowledge_base.rb', line 1242 def initialize(field_mapping:, graph_arn:) @field_mapping = field_mapping.is_a?(Hash) ? ::AWSCDK::Bedrock::CfnKnowledgeBase::NeptuneAnalyticsFieldMappingProperty.new(**field_mapping.transform_keys(&:to_sym)) : field_mapping Jsii::Type.check_type(@field_mapping, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19iZWRyb2NrLkNmbktub3dsZWRnZUJhc2UuTmVwdHVuZUFuYWx5dGljc0ZpZWxkTWFwcGluZ1Byb3BlcnR5In1dfX0=")), "fieldMapping") @graph_arn = graph_arn Jsii::Type.check_type(@graph_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "graphArn") end |
Instance Attribute Details
#field_mapping ⇒ AWSCDK::IResolvable, AWSCDK::Bedrock::CfnKnowledgeBase::NeptuneAnalyticsFieldMappingProperty (readonly)
Contains the names of the fields to which to map information about the vector store.
1253 1254 1255 |
# File 'bedrock/cfn_knowledge_base.rb', line 1253 def field_mapping @field_mapping end |
#graph_arn ⇒ String (readonly)
The Amazon Resource Name (ARN) of the Neptune Analytics vector store.
1258 1259 1260 |
# File 'bedrock/cfn_knowledge_base.rb', line 1258 def graph_arn @graph_arn end |
Class Method Details
.jsii_properties ⇒ Object
1260 1261 1262 1263 1264 1265 |
# File 'bedrock/cfn_knowledge_base.rb', line 1260 def self.jsii_properties { :field_mapping => "fieldMapping", :graph_arn => "graphArn", } end |
Instance Method Details
#to_jsii ⇒ Object
1267 1268 1269 1270 1271 1272 1273 1274 |
# File 'bedrock/cfn_knowledge_base.rb', line 1267 def to_jsii result = {} result.merge!({ "fieldMapping" => @field_mapping, "graphArn" => @graph_arn, }) result.compact end |