Class: AWSCDK::BedrockAgentCore::CfnGatewayTarget::HttpAPISchemaConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::BedrockAgentCore::CfnGatewayTarget::HttpAPISchemaConfigurationProperty
- Defined in:
- bedrock_agent_core/cfn_gateway_target.rb
Overview
Instance Attribute Summary collapse
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(source:) ⇒ HttpAPISchemaConfigurationProperty
constructor
A new instance of HttpAPISchemaConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(source:) ⇒ HttpAPISchemaConfigurationProperty
Returns a new instance of HttpAPISchemaConfigurationProperty.
1212 1213 1214 1215 |
# File 'bedrock_agent_core/cfn_gateway_target.rb', line 1212 def initialize(source:) @source = source.is_a?(Hash) ? ::AWSCDK::BedrockAgentCore::CfnGatewayTarget::APISchemaConfigurationProperty.new(**source.transform_keys(&:to_sym)) : source Jsii::Type.check_type(@source, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19iZWRyb2NrYWdlbnRjb3JlLkNmbkdhdGV3YXlUYXJnZXQuQXBpU2NoZW1hQ29uZmlndXJhdGlvblByb3BlcnR5In1dfX0=")), "source") end |
Instance Attribute Details
#source ⇒ AWSCDK::IResolvable, AWSCDK::BedrockAgentCore::CfnGatewayTarget::APISchemaConfigurationProperty (readonly)
1219 1220 1221 |
# File 'bedrock_agent_core/cfn_gateway_target.rb', line 1219 def source @source end |
Class Method Details
.jsii_properties ⇒ Object
1221 1222 1223 1224 1225 |
# File 'bedrock_agent_core/cfn_gateway_target.rb', line 1221 def self.jsii_properties { :source => "source", } end |
Instance Method Details
#to_jsii ⇒ Object
1227 1228 1229 1230 1231 1232 1233 |
# File 'bedrock_agent_core/cfn_gateway_target.rb', line 1227 def to_jsii result = {} result.merge!({ "source" => @source, }) result.compact end |