Class: AWSCDK::AppMesh::CfnGatewayRoute::GatewayRouteRangeMatchProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::AppMesh::CfnGatewayRoute::GatewayRouteRangeMatchProperty
- Defined in:
- app_mesh/cfn_gateway_route.rb
Overview
An object that represents the range of values to match on.
The first character of the range is included in the range, though the last character is not. For example, if the range specified were 1-100, only values 1-99 would be matched.
Instance Attribute Summary collapse
-
#_end ⇒ Numeric
readonly
The end of the range.
-
#start ⇒ Numeric
readonly
The start of the range.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(_end:, start:) ⇒ GatewayRouteRangeMatchProperty
constructor
A new instance of GatewayRouteRangeMatchProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(_end:, start:) ⇒ GatewayRouteRangeMatchProperty
Returns a new instance of GatewayRouteRangeMatchProperty.
797 798 799 800 801 802 |
# File 'app_mesh/cfn_gateway_route.rb', line 797 def initialize(_end:, start:) @_end = _end Jsii::Type.check_type(@_end, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "end") @start = start Jsii::Type.check_type(@start, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "start") end |
Instance Attribute Details
#_end ⇒ Numeric (readonly)
The end of the range.
808 809 810 |
# File 'app_mesh/cfn_gateway_route.rb', line 808 def _end @_end end |
#start ⇒ Numeric (readonly)
The start of the range.
813 814 815 |
# File 'app_mesh/cfn_gateway_route.rb', line 813 def start @start end |
Class Method Details
.jsii_properties ⇒ Object
815 816 817 818 819 820 |
# File 'app_mesh/cfn_gateway_route.rb', line 815 def self.jsii_properties { :_end => "end", :start => "start", } end |
Instance Method Details
#to_jsii ⇒ Object
822 823 824 825 826 827 828 829 |
# File 'app_mesh/cfn_gateway_route.rb', line 822 def to_jsii result = {} result.merge!({ "end" => @_end, "start" => @start, }) result.compact end |