Class: AWSCDK::AppMesh::CfnGatewayRoute::HttpQueryParameterMatchProperty

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

Overview

An object representing the query parameter to match.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(exact: nil) ⇒ HttpQueryParameterMatchProperty

Returns a new instance of HttpQueryParameterMatchProperty.

Parameters:

  • exact (String, nil) (defaults to: nil)

    The exact query parameter to match on.



1702
1703
1704
1705
# File 'app_mesh/cfn_gateway_route.rb', line 1702

def initialize(exact: nil)
  @exact = exact
  Jsii::Type.check_type(@exact, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "exact") unless @exact.nil?
end

Instance Attribute Details

#exactString? (readonly)

The exact query parameter to match on.



1711
1712
1713
# File 'app_mesh/cfn_gateway_route.rb', line 1711

def exact
  @exact
end

Class Method Details

.jsii_propertiesObject



1713
1714
1715
1716
1717
# File 'app_mesh/cfn_gateway_route.rb', line 1713

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

Instance Method Details

#to_jsiiObject



1719
1720
1721
1722
1723
1724
1725
# File 'app_mesh/cfn_gateway_route.rb', line 1719

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