Class: AWSCDK::APIGatewayv2::CfnRoutingRule::MatchBasePathsProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
api_gatewayv2/cfn_routing_rule.rb

Overview

Represents a MatchBasePaths condition.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(any_of:) ⇒ MatchBasePathsProperty

Returns a new instance of MatchBasePathsProperty.

Parameters:

  • any_of (Array<String>)

    The string of the case sensitive base path to be matched.



691
692
693
694
# File 'api_gatewayv2/cfn_routing_rule.rb', line 691

def initialize(any_of:)
  @any_of = any_of
  Jsii::Type.check_type(@any_of, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "anyOf")
end

Instance Attribute Details

#any_ofArray<String> (readonly)

The string of the case sensitive base path to be matched.



700
701
702
# File 'api_gatewayv2/cfn_routing_rule.rb', line 700

def any_of
  @any_of
end

Class Method Details

.jsii_propertiesObject



702
703
704
705
706
# File 'api_gatewayv2/cfn_routing_rule.rb', line 702

def self.jsii_properties
  {
    :any_of => "anyOf",
  }
end

Instance Method Details

#to_jsiiObject



708
709
710
711
712
713
714
# File 'api_gatewayv2/cfn_routing_rule.rb', line 708

def to_jsii
  result = {}
  result.merge!({
    "anyOf" => @any_of,
  })
  result.compact
end