Class: AWSCDK::ElasticLoadBalancingv2::CfnListenerRule::PathPatternConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::ElasticLoadBalancingv2::CfnListenerRule::PathPatternConfigProperty
- Defined in:
- elastic_load_balancingv2/cfn_listener_rule.rb
Overview
Information about a path pattern condition.
Instance Attribute Summary collapse
- #regex_values ⇒ Array<String>? readonly
-
#values ⇒ Array<String>?
readonly
The path patterns to compare against the request URL.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(regex_values: nil, values: nil) ⇒ PathPatternConfigProperty
constructor
A new instance of PathPatternConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(regex_values: nil, values: nil) ⇒ PathPatternConfigProperty
Returns a new instance of PathPatternConfigProperty.
1317 1318 1319 1320 1321 1322 |
# File 'elastic_load_balancingv2/cfn_listener_rule.rb', line 1317 def initialize(regex_values: nil, values: nil) @regex_values = regex_values Jsii::Type.check_type(@regex_values, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "regexValues") unless @regex_values.nil? @values = values Jsii::Type.check_type(@values, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "values") unless @values.nil? end |
Instance Attribute Details
#regex_values ⇒ Array<String>? (readonly)
1326 1327 1328 |
# File 'elastic_load_balancingv2/cfn_listener_rule.rb', line 1326 def regex_values @regex_values end |
#values ⇒ Array<String>? (readonly)
The path patterns to compare against the request URL.
The maximum size of each string is 128 characters. The comparison is case sensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character).
If you specify multiple strings, the condition is satisfied if one of them matches the request URL. The path pattern is compared only to the path of the URL, not to its query string.
1335 1336 1337 |
# File 'elastic_load_balancingv2/cfn_listener_rule.rb', line 1335 def values @values end |
Class Method Details
.jsii_properties ⇒ Object
1337 1338 1339 1340 1341 1342 |
# File 'elastic_load_balancingv2/cfn_listener_rule.rb', line 1337 def self.jsii_properties { :regex_values => "regexValues", :values => "values", } end |
Instance Method Details
#to_jsii ⇒ Object
1344 1345 1346 1347 1348 1349 1350 1351 |
# File 'elastic_load_balancingv2/cfn_listener_rule.rb', line 1344 def to_jsii result = {} result.merge!({ "regexValues" => @regex_values, "values" => @values, }) result.compact end |