Class: AWSCDK::AppMesh::CfnRoute::MatchRangeProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::AppMesh::CfnRoute::MatchRangeProperty
- Defined in:
- app_mesh/cfn_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:) ⇒ MatchRangeProperty
constructor
A new instance of MatchRangeProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(_end:, start:) ⇒ MatchRangeProperty
Returns a new instance of MatchRangeProperty.
1631 1632 1633 1634 1635 1636 |
# File 'app_mesh/cfn_route.rb', line 1631 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.
1642 1643 1644 |
# File 'app_mesh/cfn_route.rb', line 1642 def _end @_end end |
#start ⇒ Numeric (readonly)
The start of the range.
1647 1648 1649 |
# File 'app_mesh/cfn_route.rb', line 1647 def start @start end |
Class Method Details
.jsii_properties ⇒ Object
1649 1650 1651 1652 1653 1654 |
# File 'app_mesh/cfn_route.rb', line 1649 def self.jsii_properties { :_end => "end", :start => "start", } end |
Instance Method Details
#to_jsii ⇒ Object
1656 1657 1658 1659 1660 1661 1662 1663 |
# File 'app_mesh/cfn_route.rb', line 1656 def to_jsii result = {} result.merge!({ "end" => @_end, "start" => @start, }) result.compact end |