Class: AWSCDK::AppMesh::QueryParameterMatch
- Inherits:
-
Jsii::Object
- Object
- Jsii::Object
- AWSCDK::AppMesh::QueryParameterMatch
- Defined in:
- app_mesh/query_parameter_match.rb
Overview
Used to generate query parameter matching methods.
Class Method Summary collapse
- .jsii_overridable_methods ⇒ Object
-
.value_is(query_parameter_name, query_parameter_value) ⇒ AWSCDK::AppMesh::QueryParameterMatch
The value of the query parameter with the given name in the request must match the specified value exactly.
Instance Method Summary collapse
-
#bind(scope) ⇒ AWSCDK::AppMesh::QueryParameterMatchConfig
Returns the query parameter match configuration.
-
#initialize ⇒ QueryParameterMatch
constructor
A new instance of QueryParameterMatch.
Constructor Details
#initialize ⇒ QueryParameterMatch
Returns a new instance of QueryParameterMatch.
8 9 10 |
# File 'app_mesh/query_parameter_match.rb', line 8 def initialize Jsii::Object.instance_method(:initialize).bind(self).call end |
Class Method Details
.jsii_overridable_methods ⇒ Object
12 13 14 15 16 |
# File 'app_mesh/query_parameter_match.rb', line 12 def self.jsii_overridable_methods { :bind => { kind: :method, name: "bind", is_optional: false }, } end |
.value_is(query_parameter_name, query_parameter_value) ⇒ AWSCDK::AppMesh::QueryParameterMatch
The value of the query parameter with the given name in the request must match the specified value exactly.
23 24 25 26 27 |
# File 'app_mesh/query_parameter_match.rb', line 23 def self.value_is(query_parameter_name, query_parameter_value) Jsii::Type.check_type(query_parameter_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "queryParameterName") Jsii::Type.check_type(query_parameter_value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "queryParameterValue") Jsii::Kernel.instance.call_static("aws-cdk-lib.aws_appmesh.QueryParameterMatch", "valueIs", [query_parameter_name, query_parameter_value]) end |
Instance Method Details
#bind(scope) ⇒ AWSCDK::AppMesh::QueryParameterMatchConfig
Returns the query parameter match configuration.
33 34 35 36 |
# File 'app_mesh/query_parameter_match.rb', line 33 def bind(scope) Jsii::Type.check_type(scope, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJjb25zdHJ1Y3RzLkNvbnN0cnVjdCJ9")), "scope") jsii_call_method("bind", [scope]) end |