Class: AWSCDK::APIGatewayv2::CfnRoutingRule::MatchBasePathsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::APIGatewayv2::CfnRoutingRule::MatchBasePathsProperty
- Defined in:
- api_gatewayv2/cfn_routing_rule.rb
Overview
Represents a MatchBasePaths condition.
Instance Attribute Summary collapse
-
#any_of ⇒ Array<String>
readonly
The string of the case sensitive base path to be matched.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(any_of:) ⇒ MatchBasePathsProperty
constructor
A new instance of MatchBasePathsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(any_of:) ⇒ MatchBasePathsProperty
Returns a new instance of MatchBasePathsProperty.
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_of ⇒ Array<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_properties ⇒ Object
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_jsii ⇒ Object
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 |