Class: AWSCDK::AppMesh::CfnGatewayRoute::GatewayRouteHostnameMatchProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::AppMesh::CfnGatewayRoute::GatewayRouteHostnameMatchProperty
- Defined in:
- app_mesh/cfn_gateway_route.rb
Overview
An object representing the gateway route host name to match.
Instance Attribute Summary collapse
-
#exact ⇒ String?
readonly
The exact host name to match on.
-
#suffix ⇒ String?
readonly
The specified ending characters of the host name to match on.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(exact: nil, suffix: nil) ⇒ GatewayRouteHostnameMatchProperty
constructor
A new instance of GatewayRouteHostnameMatchProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(exact: nil, suffix: nil) ⇒ GatewayRouteHostnameMatchProperty
Returns a new instance of GatewayRouteHostnameMatchProperty.
646 647 648 649 650 651 |
# File 'app_mesh/cfn_gateway_route.rb', line 646 def initialize(exact: nil, suffix: nil) @exact = exact Jsii::Type.check_type(@exact, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "exact") unless @exact.nil? @suffix = suffix Jsii::Type.check_type(@suffix, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "suffix") unless @suffix.nil? end |
Instance Attribute Details
#exact ⇒ String? (readonly)
The exact host name to match on.
657 658 659 |
# File 'app_mesh/cfn_gateway_route.rb', line 657 def exact @exact end |
#suffix ⇒ String? (readonly)
The specified ending characters of the host name to match on.
662 663 664 |
# File 'app_mesh/cfn_gateway_route.rb', line 662 def suffix @suffix end |
Class Method Details
.jsii_properties ⇒ Object
664 665 666 667 668 669 |
# File 'app_mesh/cfn_gateway_route.rb', line 664 def self.jsii_properties { :exact => "exact", :suffix => "suffix", } end |
Instance Method Details
#to_jsii ⇒ Object
671 672 673 674 675 676 677 678 |
# File 'app_mesh/cfn_gateway_route.rb', line 671 def to_jsii result = {} result.merge!({ "exact" => @exact, "suffix" => @suffix, }) result.compact end |