Class: AWSCDK::BedrockAgentCore::CfnGateway::StreamingConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::BedrockAgentCore::CfnGateway::StreamingConfigurationProperty
- Defined in:
- bedrock_agent_core/cfn_gateway.rb
Overview
Instance Attribute Summary collapse
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(enable_response_streaming: nil) ⇒ StreamingConfigurationProperty
constructor
A new instance of StreamingConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(enable_response_streaming: nil) ⇒ StreamingConfigurationProperty
Returns a new instance of StreamingConfigurationProperty.
1253 1254 1255 1256 |
# File 'bedrock_agent_core/cfn_gateway.rb', line 1253 def initialize(enable_response_streaming: nil) @enable_response_streaming = enable_response_streaming Jsii::Type.check_type(@enable_response_streaming, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "enableResponseStreaming") unless @enable_response_streaming.nil? end |
Instance Attribute Details
#enable_response_streaming ⇒ Boolean, ... (readonly)
1260 1261 1262 |
# File 'bedrock_agent_core/cfn_gateway.rb', line 1260 def enable_response_streaming @enable_response_streaming end |
Class Method Details
.jsii_properties ⇒ Object
1262 1263 1264 1265 1266 |
# File 'bedrock_agent_core/cfn_gateway.rb', line 1262 def self.jsii_properties { :enable_response_streaming => "enableResponseStreaming", } end |
Instance Method Details
#to_jsii ⇒ Object
1268 1269 1270 1271 1272 1273 1274 |
# File 'bedrock_agent_core/cfn_gateway.rb', line 1268 def to_jsii result = {} result.merge!({ "enableResponseStreaming" => @enable_response_streaming, }) result.compact end |