Class: AWSCDK::BedrockAgentCore::CfnMemory::KinesisResourceProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::BedrockAgentCore::CfnMemory::KinesisResourceProperty
- Defined in:
- bedrock_agent_core/cfn_memory.rb
Overview
Instance Attribute Summary collapse
- #content_configurations ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::BedrockAgentCore::CfnMemory::ContentConfigurationProperty> readonly
-
#data_stream_arn ⇒ String
readonly
ARN format.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(content_configurations:, data_stream_arn:) ⇒ KinesisResourceProperty
constructor
A new instance of KinesisResourceProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(content_configurations:, data_stream_arn:) ⇒ KinesisResourceProperty
Returns a new instance of KinesisResourceProperty.
1380 1381 1382 1383 1384 1385 |
# File 'bedrock_agent_core/cfn_memory.rb', line 1380 def initialize(content_configurations:, data_stream_arn:) @content_configurations = content_configurations Jsii::Type.check_type(@content_configurations, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfYmVkcm9ja2FnZW50Y29yZS5DZm5NZW1vcnkuQ29udGVudENvbmZpZ3VyYXRpb25Qcm9wZXJ0eSJ9XX19LCJraW5kIjoiYXJyYXkifX1dfX0=")), "contentConfigurations") @data_stream_arn = data_stream_arn Jsii::Type.check_type(@data_stream_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "dataStreamArn") end |
Instance Attribute Details
#content_configurations ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::BedrockAgentCore::CfnMemory::ContentConfigurationProperty> (readonly)
1389 1390 1391 |
# File 'bedrock_agent_core/cfn_memory.rb', line 1389 def content_configurations @content_configurations end |
#data_stream_arn ⇒ String (readonly)
ARN format.
1394 1395 1396 |
# File 'bedrock_agent_core/cfn_memory.rb', line 1394 def data_stream_arn @data_stream_arn end |
Class Method Details
.jsii_properties ⇒ Object
1396 1397 1398 1399 1400 1401 |
# File 'bedrock_agent_core/cfn_memory.rb', line 1396 def self.jsii_properties { :content_configurations => "contentConfigurations", :data_stream_arn => "dataStreamArn", } end |
Instance Method Details
#to_jsii ⇒ Object
1403 1404 1405 1406 1407 1408 1409 1410 |
# File 'bedrock_agent_core/cfn_memory.rb', line 1403 def to_jsii result = {} result.merge!({ "contentConfigurations" => @content_configurations, "dataStreamArn" => @data_stream_arn, }) result.compact end |