Class: AWSCDK::BedrockAgentCore::CfnGatewayTarget::HttpAPISchemaConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
bedrock_agent_core/cfn_gateway_target.rb

Overview

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

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

Class Method Details

.jsii_propertiesObject



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_jsiiObject



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