Class: AWSCDK::BedrockAgentCore::CfnGatewayTarget::HttpTargetConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::BedrockAgentCore::CfnGatewayTarget::HttpTargetConfigurationProperty
- Defined in:
- bedrock_agent_core/cfn_gateway_target.rb
Overview
Instance Attribute Summary collapse
- #agentcore_runtime ⇒ AWSCDK::IResolvable, ... readonly
- #passthrough ⇒ AWSCDK::IResolvable, ... readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(agentcore_runtime: nil, passthrough: nil) ⇒ HttpTargetConfigurationProperty
constructor
A new instance of HttpTargetConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(agentcore_runtime: nil, passthrough: nil) ⇒ HttpTargetConfigurationProperty
Returns a new instance of HttpTargetConfigurationProperty.
1242 1243 1244 1245 1246 1247 |
# File 'bedrock_agent_core/cfn_gateway_target.rb', line 1242 def initialize(agentcore_runtime: nil, passthrough: nil) @agentcore_runtime = agentcore_runtime.is_a?(Hash) ? ::AWSCDK::BedrockAgentCore::CfnGatewayTarget::RuntimeTargetConfigurationProperty.new(**agentcore_runtime.transform_keys(&:to_sym)) : agentcore_runtime Jsii::Type.check_type(@agentcore_runtime, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19iZWRyb2NrYWdlbnRjb3JlLkNmbkdhdGV3YXlUYXJnZXQuUnVudGltZVRhcmdldENvbmZpZ3VyYXRpb25Qcm9wZXJ0eSJ9XX19")), "agentcoreRuntime") unless @agentcore_runtime.nil? @passthrough = passthrough.is_a?(Hash) ? ::AWSCDK::BedrockAgentCore::CfnGatewayTarget::PassthroughTargetConfigurationProperty.new(**passthrough.transform_keys(&:to_sym)) : passthrough Jsii::Type.check_type(@passthrough, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19iZWRyb2NrYWdlbnRjb3JlLkNmbkdhdGV3YXlUYXJnZXQuUGFzc3Rocm91Z2hUYXJnZXRDb25maWd1cmF0aW9uUHJvcGVydHkifV19fQ==")), "passthrough") unless @passthrough.nil? end |
Instance Attribute Details
#agentcore_runtime ⇒ AWSCDK::IResolvable, ... (readonly)
1251 1252 1253 |
# File 'bedrock_agent_core/cfn_gateway_target.rb', line 1251 def agentcore_runtime @agentcore_runtime end |
#passthrough ⇒ AWSCDK::IResolvable, ... (readonly)
1254 1255 1256 |
# File 'bedrock_agent_core/cfn_gateway_target.rb', line 1254 def passthrough @passthrough end |
Class Method Details
.jsii_properties ⇒ Object
1256 1257 1258 1259 1260 1261 |
# File 'bedrock_agent_core/cfn_gateway_target.rb', line 1256 def self.jsii_properties { :agentcore_runtime => "agentcoreRuntime", :passthrough => "passthrough", } end |
Instance Method Details
#to_jsii ⇒ Object
1263 1264 1265 1266 1267 1268 1269 1270 |
# File 'bedrock_agent_core/cfn_gateway_target.rb', line 1263 def to_jsii result = {} result.merge!({ "agentcoreRuntime" => @agentcore_runtime, "passthrough" => @passthrough, }) result.compact end |