Interface CfnListenerRule.QueryStringConfigProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnListenerRule.QueryStringConfigProperty.Jsii$Proxy
Enclosing class:
CfnListenerRule

@Stability(Stable) public static interface CfnListenerRule.QueryStringConfigProperty extends software.amazon.jsii.JsiiSerializable
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.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.elasticloadbalancingv2.*;
 QueryStringConfigProperty queryStringConfigProperty = QueryStringConfigProperty.builder()
         .values(List.of(QueryStringKeyValueProperty.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build();
 
  • Method Details

    • getValues

      @Stability(Stable) @Nullable default Object getValues()
      The key/value pairs or values to find in the query string.

      The maximum size 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.

    • builder

      @Stability(Stable) static CfnListenerRule.QueryStringConfigProperty.Builder builder()
      Returns:
      a CfnListenerRule.QueryStringConfigProperty.Builder of CfnListenerRule.QueryStringConfigProperty