Interface CfnListenerRule.RuleConditionProperty

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

@Stability(Stable) public static interface CfnListenerRule.RuleConditionProperty extends software.amazon.jsii.JsiiSerializable
Specifies a condition for a listener rule.

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.*;
 RuleConditionProperty ruleConditionProperty = RuleConditionProperty.builder()
         .field("field")
         .hostHeaderConfig(HostHeaderConfigProperty.builder()
                 .values(List.of("values"))
                 .build())
         .httpHeaderConfig(HttpHeaderConfigProperty.builder()
                 .httpHeaderName("httpHeaderName")
                 .values(List.of("values"))
                 .build())
         .httpRequestMethodConfig(HttpRequestMethodConfigProperty.builder()
                 .values(List.of("values"))
                 .build())
         .pathPatternConfig(PathPatternConfigProperty.builder()
                 .values(List.of("values"))
                 .build())
         .queryStringConfig(QueryStringConfigProperty.builder()
                 .values(List.of(QueryStringKeyValueProperty.builder()
                         .key("key")
                         .value("value")
                         .build()))
                 .build())
         .sourceIpConfig(SourceIpConfigProperty.builder()
                 .values(List.of("values"))
                 .build())
         .values(List.of("values"))
         .build();
 

See Also: