Class: AWSCDK::AppMesh::CfnRoute::HttpQueryParameterMatchProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
app_mesh/cfn_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.



1226
1227
1228
1229
# File 'app_mesh/cfn_route.rb', line 1226

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.



1235
1236
1237
# File 'app_mesh/cfn_route.rb', line 1235

def exact
  @exact
end

Class Method Details

.jsii_propertiesObject



1237
1238
1239
1240
1241
# File 'app_mesh/cfn_route.rb', line 1237

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

Instance Method Details

#to_jsiiObject



1243
1244
1245
1246
1247
1248
1249
# File 'app_mesh/cfn_route.rb', line 1243

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