Class CfnRule.WeightedTargetGroupProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.vpclattice.CfnRule.WeightedTargetGroupProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnRule.WeightedTargetGroupProperty
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- CfnRule.WeightedTargetGroupProperty
@Stability(Stable)
@Internal
public static final class CfnRule.WeightedTargetGroupProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnRule.WeightedTargetGroupProperty
An implementation for
CfnRule.WeightedTargetGroupProperty
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.vpclattice.CfnRule.WeightedTargetGroupProperty
CfnRule.WeightedTargetGroupProperty.Builder, CfnRule.WeightedTargetGroupProperty.Jsii$Proxy
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnRule.WeightedTargetGroupProperty.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
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
Constructor that initializes the object based on literal property values passed by theCfnRule.WeightedTargetGroupProperty.Builder
.
-
-
Method Details
-
getTargetGroupIdentifier
Description copied from interface:CfnRule.WeightedTargetGroupProperty
The ID of the target group.- Specified by:
getTargetGroupIdentifier
in interfaceCfnRule.WeightedTargetGroupProperty
-
getWeight
Description copied from interface:CfnRule.WeightedTargetGroupProperty
Only required if you specify multiple target groups for a forward action.The "weight" determines how requests are distributed to the target group. For example, if you specify two target groups, each with a weight of 10, each target group receives half the requests. If you specify two target groups, one with a weight of 10 and the other with a weight of 20, the target group with a weight of 20 receives twice as many requests as the other target group. If there's only one target group specified, then the default value is 100.
- Specified by:
getWeight
in interfaceCfnRule.WeightedTargetGroupProperty
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-