Class: AWSCDK::BedrockAgentCore::CfnGateway::InterceptorConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::BedrockAgentCore::CfnGateway::InterceptorConfigurationProperty
- Defined in:
- bedrock_agent_core/cfn_gateway.rb
Overview
Instance Attribute Summary collapse
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(lambda:) ⇒ InterceptorConfigurationProperty
constructor
A new instance of InterceptorConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(lambda:) ⇒ InterceptorConfigurationProperty
Returns a new instance of InterceptorConfigurationProperty.
1070 1071 1072 1073 |
# File 'bedrock_agent_core/cfn_gateway.rb', line 1070 def initialize(lambda:) @lambda = lambda.is_a?(Hash) ? ::AWSCDK::BedrockAgentCore::CfnGateway::LambdaInterceptorConfigurationProperty.new(**lambda.transform_keys(&:to_sym)) : lambda Jsii::Type.check_type(@lambda, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19iZWRyb2NrYWdlbnRjb3JlLkNmbkdhdGV3YXkuTGFtYmRhSW50ZXJjZXB0b3JDb25maWd1cmF0aW9uUHJvcGVydHkifV19fQ==")), "lambda") end |
Instance Attribute Details
#lambda ⇒ AWSCDK::IResolvable, AWSCDK::BedrockAgentCore::CfnGateway::LambdaInterceptorConfigurationProperty (readonly)
1077 1078 1079 |
# File 'bedrock_agent_core/cfn_gateway.rb', line 1077 def lambda @lambda end |
Class Method Details
.jsii_properties ⇒ Object
1079 1080 1081 1082 1083 |
# File 'bedrock_agent_core/cfn_gateway.rb', line 1079 def self.jsii_properties { :lambda => "lambda", } end |
Instance Method Details
#to_jsii ⇒ Object
1085 1086 1087 1088 1089 1090 1091 |
# File 'bedrock_agent_core/cfn_gateway.rb', line 1085 def to_jsii result = {} result.merge!({ "lambda" => @lambda, }) result.compact end |