Class: AWSCDK::BedrockAgentCore::CfnHarness::HarnessAgentCoreGatewayConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::BedrockAgentCore::CfnHarness::HarnessAgentCoreGatewayConfigProperty
- Defined in:
- bedrock_agent_core/cfn_harness.rb
Overview
Instance Attribute Summary collapse
- #gateway_arn ⇒ String readonly
- #outbound_auth ⇒ AWSCDK::IResolvable, ... readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(gateway_arn:, outbound_auth: nil) ⇒ HarnessAgentCoreGatewayConfigProperty
constructor
A new instance of HarnessAgentCoreGatewayConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(gateway_arn:, outbound_auth: nil) ⇒ HarnessAgentCoreGatewayConfigProperty
Returns a new instance of HarnessAgentCoreGatewayConfigProperty.
1196 1197 1198 1199 1200 1201 |
# File 'bedrock_agent_core/cfn_harness.rb', line 1196 def initialize(gateway_arn:, outbound_auth: nil) @gateway_arn = gateway_arn Jsii::Type.check_type(@gateway_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "gatewayArn") @outbound_auth = outbound_auth.is_a?(Hash) ? ::AWSCDK::BedrockAgentCore::CfnHarness::HarnessGatewayOutboundAuthProperty.new(**outbound_auth.transform_keys(&:to_sym)) : outbound_auth Jsii::Type.check_type(@outbound_auth, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19iZWRyb2NrYWdlbnRjb3JlLkNmbkhhcm5lc3MuSGFybmVzc0dhdGV3YXlPdXRib3VuZEF1dGhQcm9wZXJ0eSJ9XX19")), "outboundAuth") unless @outbound_auth.nil? end |
Instance Attribute Details
#gateway_arn ⇒ String (readonly)
1205 1206 1207 |
# File 'bedrock_agent_core/cfn_harness.rb', line 1205 def gateway_arn @gateway_arn end |
#outbound_auth ⇒ AWSCDK::IResolvable, ... (readonly)
1208 1209 1210 |
# File 'bedrock_agent_core/cfn_harness.rb', line 1208 def outbound_auth @outbound_auth end |
Class Method Details
.jsii_properties ⇒ Object
1210 1211 1212 1213 1214 1215 |
# File 'bedrock_agent_core/cfn_harness.rb', line 1210 def self.jsii_properties { :gateway_arn => "gatewayArn", :outbound_auth => "outboundAuth", } end |
Instance Method Details
#to_jsii ⇒ Object
1217 1218 1219 1220 1221 1222 1223 1224 |
# File 'bedrock_agent_core/cfn_harness.rb', line 1217 def to_jsii result = {} result.merge!({ "gatewayArn" => @gateway_arn, "outboundAuth" => @outbound_auth, }) result.compact end |