Class: AWSCDK::AppMesh::QueryParameterMatchConfig

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
app_mesh/query_parameter_match_config.rb

Overview

Configuration for QueryParameterMatch.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(query_parameter_match:) ⇒ QueryParameterMatchConfig

Returns a new instance of QueryParameterMatchConfig.

Parameters:



8
9
10
11
# File 'app_mesh/query_parameter_match_config.rb', line 8

def initialize(query_parameter_match:)
  @query_parameter_match = query_parameter_match.is_a?(Hash) ? ::AWSCDK::AppMesh::CfnRoute::QueryParameterProperty.new(**query_parameter_match.transform_keys(&:to_sym)) : query_parameter_match
  Jsii::Type.check_type(@query_parameter_match, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfYXBwbWVzaC5DZm5Sb3V0ZS5RdWVyeVBhcmFtZXRlclByb3BlcnR5In0=")), "queryParameterMatch")
end

Instance Attribute Details

#query_parameter_matchAWSCDK::AppMesh::CfnRoute::QueryParameterProperty (readonly)

Route CFN configuration for route query parameter match.



16
17
18
# File 'app_mesh/query_parameter_match_config.rb', line 16

def query_parameter_match
  @query_parameter_match
end

Class Method Details

.jsii_propertiesObject



18
19
20
21
22
# File 'app_mesh/query_parameter_match_config.rb', line 18

def self.jsii_properties
  {
    :query_parameter_match => "queryParameterMatch",
  }
end

Instance Method Details

#to_jsiiObject



24
25
26
27
28
29
30
# File 'app_mesh/query_parameter_match_config.rb', line 24

def to_jsii
  result = {}
  result.merge!({
    "queryParameterMatch" => @query_parameter_match,
  })
  result.compact
end