Class: AWSCDK::BedrockAgentCore::CfnMemory::MemoryRecordSchemaProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
bedrock_agent_core/cfn_memory.rb

Overview

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(metadata_schema: nil) ⇒ MemoryRecordSchemaProperty

Returns a new instance of MemoryRecordSchemaProperty.

Parameters:



1467
1468
1469
1470
# File 'bedrock_agent_core/cfn_memory.rb', line 1467

def initialize(metadata_schema: nil)
  @metadata_schema = 
  Jsii::Type.check_type(@metadata_schema, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfYmVkcm9ja2FnZW50Y29yZS5DZm5NZW1vcnkuTWV0YWRhdGFTY2hlbWFFbnRyeVByb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "metadataSchema") unless @metadata_schema.nil?
end

Instance Attribute Details

#metadata_schemaAWSCDK::IResolvable, ... (readonly)

List of metadata schema entries.



1476
1477
1478
# File 'bedrock_agent_core/cfn_memory.rb', line 1476

def 
  @metadata_schema
end

Class Method Details

.jsii_propertiesObject



1478
1479
1480
1481
1482
# File 'bedrock_agent_core/cfn_memory.rb', line 1478

def self.jsii_properties
  {
    :metadata_schema => "metadataSchema",
  }
end

Instance Method Details

#to_jsiiObject



1484
1485
1486
1487
1488
1489
1490
# File 'bedrock_agent_core/cfn_memory.rb', line 1484

def to_jsii
  result = {}
  result.merge!({
    "metadataSchema" => @metadata_schema,
  })
  result.compact
end