Class AddApplicationActionProps.Jsii$Proxy

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

@Stability(Stable) @Internal public static final class AddApplicationActionProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements AddApplicationActionProps
An implementation for AddApplicationActionProps
  • 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(AddApplicationActionProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the AddApplicationActionProps.Builder.
  • Method Details

    • getAction

      public final ListenerAction getAction()
      Description copied from interface: AddApplicationActionProps
      Action to perform.
      Specified by:
      getAction in interface AddApplicationActionProps
    • getRemoveSuffix

      public final Boolean getRemoveSuffix()
      Description copied from interface: AddApplicationActionProps
      ListenerRules have a Rule suffix on their logicalId by default. This allows you to remove that suffix.

      Legacy behavior of the addTargetGroups() convenience method did not include the Rule suffix on the logicalId of the generated ListenerRule. At some point, increasing complexity of requirements can require users to switch from the addTargetGroups() method to the addAction() method. When migrating ListenerRules deployed by a legacy version of addTargetGroups(), you will need to enable this flag to avoid changing the logicalId of your resource. Otherwise Cfn will attempt to replace the ListenerRule and fail.

      Default: - use standard logicalId with the `Rule` suffix

      Specified by:
      getRemoveSuffix in interface AddApplicationActionProps
    • getConditions

      public final List<ListenerCondition> getConditions()
      Description copied from interface: AddRuleProps
      Rule applies if matches the conditions.

      Default: - No conditions.

      Specified by:
      getConditions in interface AddRuleProps
      See Also:
    • getPriority

      public final Number getPriority()
      Description copied from interface: AddRuleProps
      Priority of this target group.

      The rule with the lowest priority will be used for every request. If priority is not given, these target groups will be added as defaults, and must not have conditions.

      Priorities must be unique.

      Default: Target groups are used as defaults

      Specified by:
      getPriority in interface AddRuleProps
    • $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