Class: AWSCDK::APIGatewayv2::CfnRoutingRule::MatchHeadersProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::APIGatewayv2::CfnRoutingRule::MatchHeadersProperty
- Defined in:
- api_gatewayv2/cfn_routing_rule.rb
Overview
Represents a MatchHeaders condition.
Instance Attribute Summary collapse
-
#any_of ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::APIGatewayv2::CfnRoutingRule::MatchHeaderValueProperty>
readonly
The header name and header value glob to be matched.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(any_of:) ⇒ MatchHeadersProperty
constructor
A new instance of MatchHeadersProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(any_of:) ⇒ MatchHeadersProperty
Returns a new instance of MatchHeadersProperty.
771 772 773 774 |
# File 'api_gatewayv2/cfn_routing_rule.rb', line 771 def initialize(any_of:) @any_of = any_of Jsii::Type.check_type(@any_of, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfYXBpZ2F0ZXdheXYyLkNmblJvdXRpbmdSdWxlLk1hdGNoSGVhZGVyVmFsdWVQcm9wZXJ0eSJ9XX19LCJraW5kIjoiYXJyYXkifX1dfX0=")), "anyOf") end |
Instance Attribute Details
#any_of ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::APIGatewayv2::CfnRoutingRule::MatchHeaderValueProperty> (readonly)
The header name and header value glob to be matched.
The matchHeaders condition is matched if any of the header name and header value globs are matched.
782 783 784 |
# File 'api_gatewayv2/cfn_routing_rule.rb', line 782 def any_of @any_of end |
Class Method Details
.jsii_properties ⇒ Object
784 785 786 787 788 |
# File 'api_gatewayv2/cfn_routing_rule.rb', line 784 def self.jsii_properties { :any_of => "anyOf", } end |
Instance Method Details
#to_jsii ⇒ Object
790 791 792 793 794 795 796 |
# File 'api_gatewayv2/cfn_routing_rule.rb', line 790 def to_jsii result = {} result.merge!({ "anyOf" => @any_of, }) result.compact end |