Class CfnRule.ForwardProperty.Jsii$Proxy

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

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

    • getTargetGroups

      public final Object getTargetGroups()
      Description copied from interface: CfnRule.ForwardProperty
      The target groups.

      Traffic matching the rule is forwarded to the specified target groups. With forward actions, you can assign a weight that controls the prioritization and selection of each target group. This means that requests are distributed to individual target groups based on their weights. For example, if two target groups have the same weight, each target group receives half of the traffic.

      The default value is 1. This means that if only one target group is provided, there is no need to set the weight; 100% of the traffic goes to that target group.

      Specified by:
      getTargetGroups in interface CfnRule.ForwardProperty
      See Also:
    • $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