Class CfnListenerRuleProps.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.elasticloadbalancingv2.CfnListenerRuleProps.Jsii$Proxy
All Implemented Interfaces:
CfnListenerRuleProps, software.amazon.jsii.JsiiSerializable
Enclosing interface:
CfnListenerRuleProps

@Stability(Stable) @Internal public static final class CfnListenerRuleProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnListenerRuleProps
An implementation for CfnListenerRuleProps
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(CfnListenerRuleProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the CfnListenerRuleProps.Builder.
  • Method Details

    • getActions

      public final Object getActions()
      Description copied from interface: CfnListenerRuleProps
      The actions.

      The rule must include exactly one of the following types of actions: forward , fixed-response , or redirect , and it must be the last action to be performed. If the rule is for an HTTPS listener, it can also optionally include an authentication action.

      Specified by:
      getActions in interface CfnListenerRuleProps
    • getConditions

      public final Object getConditions()
      Description copied from interface: CfnListenerRuleProps
      The conditions.

      The rule can optionally include up to one of each of the following conditions: http-request-method , host-header , path-pattern , and source-ip . A rule can also optionally include one or more of each of the following conditions: http-header and query-string .

      Specified by:
      getConditions in interface CfnListenerRuleProps
    • getPriority

      public final Number getPriority()
      Description copied from interface: CfnListenerRuleProps
      The rule priority. A listener can't have multiple rules with the same priority.

      If you try to reorder rules by updating their priorities, do not specify a new priority if an existing rule already uses this priority, as this can cause an error. If you need to reuse a priority with a different rule, you must remove it as a priority first, and then specify it in a subsequent update.

      Specified by:
      getPriority in interface CfnListenerRuleProps
    • getListenerArn

      public final String getListenerArn()
      Description copied from interface: CfnListenerRuleProps
      The Amazon Resource Name (ARN) of the listener.
      Specified by:
      getListenerArn in interface CfnListenerRuleProps
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object