Class: AWSCDK::ElasticLoadBalancingv2::CfnListenerRule::QueryStringConfigProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
elastic_load_balancingv2/cfn_listener_rule.rb

Overview

Information about a query string condition.

The query string component of a URI starts after the first '?' character and is terminated by either a '#' character or the end of the URI. A typical query string contains key/value pairs separated by '&' characters. The allowed characters are specified by RFC 3986. Any character can be percentage encoded.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(values: nil) ⇒ QueryStringConfigProperty

Returns a new instance of QueryStringConfigProperty.

Parameters:



1363
1364
1365
1366
# File 'elastic_load_balancingv2/cfn_listener_rule.rb', line 1363

def initialize(values: nil)
  @values = values
  Jsii::Type.check_type(@values, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfZWxhc3RpY2xvYWRiYWxhbmNpbmd2Mi5DZm5MaXN0ZW5lclJ1bGUuUXVlcnlTdHJpbmdLZXlWYWx1ZVByb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "values") unless @values.nil?
end

Instance Attribute Details

#valuesAWSCDK::IResolvable, ... (readonly)

The key/value pairs or values to find in the query string.

The maximum length of each string is 128 characters. The comparison is case insensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character). To search for a literal '*' or '?' character in a query string, you must escape these characters in Values using a '' character.

If you specify multiple key/value pairs or values, the condition is satisfied if one of them is found in the query string.



1376
1377
1378
# File 'elastic_load_balancingv2/cfn_listener_rule.rb', line 1376

def values
  @values
end

Class Method Details

.jsii_propertiesObject



1378
1379
1380
1381
1382
# File 'elastic_load_balancingv2/cfn_listener_rule.rb', line 1378

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

Instance Method Details

#to_jsiiObject



1384
1385
1386
1387
1388
1389
1390
# File 'elastic_load_balancingv2/cfn_listener_rule.rb', line 1384

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