Class: AWSCDK::AppMesh::CfnGatewayRoute::GatewayRouteRangeMatchProperty

Inherits:
Jsii::Struct
  • Object
show all
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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(_end:, start:) ⇒ GatewayRouteRangeMatchProperty

Returns a new instance of GatewayRouteRangeMatchProperty.

Parameters:

  • _end (Numeric)

    The end of the range.

  • start (Numeric)

    The start of the range.



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

#_endNumeric (readonly)

The end of the range.



808
809
810
# File 'app_mesh/cfn_gateway_route.rb', line 808

def _end
  @_end
end

#startNumeric (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_propertiesObject



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_jsiiObject



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