Class: AWSCDK::AppMesh::GatewayRouteHostnameMatch
- Inherits:
-
Jsii::Object
- Object
- Jsii::Object
- AWSCDK::AppMesh::GatewayRouteHostnameMatch
- Defined in:
- app_mesh/gateway_route_hostname_match.rb
Overview
Used to generate host name matching methods.
Class Method Summary collapse
-
.ends_with(suffix) ⇒ AWSCDK::AppMesh::GatewayRouteHostnameMatch
The value of the host name with the given name must end with the specified characters.
-
.exactly(name) ⇒ AWSCDK::AppMesh::GatewayRouteHostnameMatch
The value of the host name must match the specified value exactly.
- .jsii_overridable_methods ⇒ Object
Instance Method Summary collapse
-
#bind(scope) ⇒ AWSCDK::AppMesh::GatewayRouteHostnameMatchConfig
Returns the gateway route host name match configuration.
-
#initialize ⇒ GatewayRouteHostnameMatch
constructor
A new instance of GatewayRouteHostnameMatch.
Constructor Details
#initialize ⇒ GatewayRouteHostnameMatch
Returns a new instance of GatewayRouteHostnameMatch.
8 9 10 |
# File 'app_mesh/gateway_route_hostname_match.rb', line 8 def initialize Jsii::Object.instance_method(:initialize).bind(self).call end |
Class Method Details
.ends_with(suffix) ⇒ AWSCDK::AppMesh::GatewayRouteHostnameMatch
The value of the host name with the given name must end with the specified characters.
22 23 24 25 |
# File 'app_mesh/gateway_route_hostname_match.rb', line 22 def self.ends_with(suffix) Jsii::Type.check_type(suffix, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "suffix") Jsii::Kernel.instance.call_static("aws-cdk-lib.aws_appmesh.GatewayRouteHostnameMatch", "endsWith", [suffix]) end |
.exactly(name) ⇒ AWSCDK::AppMesh::GatewayRouteHostnameMatch
The value of the host name must match the specified value exactly.
31 32 33 34 |
# File 'app_mesh/gateway_route_hostname_match.rb', line 31 def self.exactly(name) Jsii::Type.check_type(name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") Jsii::Kernel.instance.call_static("aws-cdk-lib.aws_appmesh.GatewayRouteHostnameMatch", "exactly", [name]) end |
.jsii_overridable_methods ⇒ Object
12 13 14 15 16 |
# File 'app_mesh/gateway_route_hostname_match.rb', line 12 def self.jsii_overridable_methods { :bind => { kind: :method, name: "bind", is_optional: false }, } end |
Instance Method Details
#bind(scope) ⇒ AWSCDK::AppMesh::GatewayRouteHostnameMatchConfig
Returns the gateway route host name match configuration.
40 41 42 43 |
# File 'app_mesh/gateway_route_hostname_match.rb', line 40 def bind(scope) Jsii::Type.check_type(scope, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJjb25zdHJ1Y3RzLkNvbnN0cnVjdCJ9")), "scope") jsii_call_method("bind", [scope]) end |