Class: AWSCDK::BedrockAgentCore::CfnMemory::IndexedKeyProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::BedrockAgentCore::CfnMemory::IndexedKeyProperty
- Defined in:
- bedrock_agent_core/cfn_memory.rb
Overview
Instance Attribute Summary collapse
-
#key ⇒ String
readonly
Key name for metadata fields.
-
#type ⇒ String
readonly
Supported data types for metadata values.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(key:, type:) ⇒ IndexedKeyProperty
constructor
A new instance of IndexedKeyProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(key:, type:) ⇒ IndexedKeyProperty
Returns a new instance of IndexedKeyProperty.
1296 1297 1298 1299 1300 1301 |
# File 'bedrock_agent_core/cfn_memory.rb', line 1296 def initialize(key:, type:) @key = key Jsii::Type.check_type(@key, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "key") @type = type Jsii::Type.check_type(@type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "type") end |
Instance Attribute Details
#key ⇒ String (readonly)
Key name for metadata fields.
1307 1308 1309 |
# File 'bedrock_agent_core/cfn_memory.rb', line 1307 def key @key end |
#type ⇒ String (readonly)
Supported data types for metadata values.
1312 1313 1314 |
# File 'bedrock_agent_core/cfn_memory.rb', line 1312 def type @type end |
Class Method Details
.jsii_properties ⇒ Object
1314 1315 1316 1317 1318 1319 |
# File 'bedrock_agent_core/cfn_memory.rb', line 1314 def self.jsii_properties { :key => "key", :type => "type", } end |
Instance Method Details
#to_jsii ⇒ Object
1321 1322 1323 1324 1325 1326 1327 1328 |
# File 'bedrock_agent_core/cfn_memory.rb', line 1321 def to_jsii result = {} result.merge!({ "key" => @key, "type" => @type, }) result.compact end |