Class CfnTargetGroupPropsMixin.TargetDescriptionProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnTargetGroupPropsMixin.TargetDescriptionProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnTargetGroupPropsMixin.TargetDescriptionProperty
CfnTargetGroupPropsMixin.TargetDescriptionProperty-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.cfnpropertymixins.services.elasticloadbalancingv2.CfnTargetGroupPropsMixin.TargetDescriptionProperty
CfnTargetGroupPropsMixin.TargetDescriptionProperty.Builder, CfnTargetGroupPropsMixin.TargetDescriptionProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnTargetGroupPropsMixin.TargetDescriptionProperty.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal StringAn Availability Zone orall.final ObjectgetId()The ID of the target.final NumbergetPort()The port on which the target is listening.final StringThe server ID for the targets.final inthashCode()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 theCfnTargetGroupPropsMixin.TargetDescriptionProperty.Builder.
-
-
Method Details
-
getAvailabilityZone
Description copied from interface:CfnTargetGroupPropsMixin.TargetDescriptionPropertyAn Availability Zone orall.This determines whether the target receives traffic from the load balancer nodes in the specified Availability Zone or from all enabled Availability Zones for the load balancer.
For Application Load Balancer target groups, the specified Availability Zone value is only applicable when cross-zone load balancing is off. Otherwise the parameter is ignored and treated as
all.This parameter is not supported if the target type of the target group is
instanceoralb.If the target type is
ipand the IP address is in a subnet of the VPC for the target group, the Availability Zone is automatically detected and this parameter is optional. If the IP address is outside the VPC, this parameter is required.For Application Load Balancer target groups with cross-zone load balancing off, if the target type is
ipand the IP address is outside of the VPC for the target group, this should be an Availability Zone inside the VPC for the target group.If the target type is
lambda, this parameter is optional and the only supported value isall.- Specified by:
getAvailabilityZonein interfaceCfnTargetGroupPropsMixin.TargetDescriptionProperty- See Also:
-
getId
Description copied from interface:CfnTargetGroupPropsMixin.TargetDescriptionPropertyThe ID of the target.If the target type of the target group is
instance, specify an instance ID. If the target type isip, specify an IP address. If the target type islambda, specify the ARN of the Lambda function. If the target type isalb, specify the ARN of the Application Load Balancer target.Returns union: either
StringorIInstanceReforILoadBalancerReforIFunctionRef- Specified by:
getIdin interfaceCfnTargetGroupPropsMixin.TargetDescriptionProperty- See Also:
-
getPort
Description copied from interface:CfnTargetGroupPropsMixin.TargetDescriptionPropertyThe port on which the target is listening.If the target group protocol is GENEVE, the supported port is 6081. If the target type is
alb, the targeted Application Load Balancer must have at least one listener whose port matches the target group port. This parameter is not used if the target is a Lambda function.- Specified by:
getPortin interfaceCfnTargetGroupPropsMixin.TargetDescriptionProperty- See Also:
-
getQuicServerId
Description copied from interface:CfnTargetGroupPropsMixin.TargetDescriptionPropertyThe server ID for the targets.This value is required if the protocol is
QUICorTCP_QUICand can't be used with other protocols.The ID consists of the
0xprefix followed by 16 hexadecimal characters. Any letters must be lowercase. The value must be unique at the listener level. You can't modify the server ID for a registered target. You must deregister the target and then provide a new server ID when you register the target again.- Specified by:
getQuicServerIdin interfaceCfnTargetGroupPropsMixin.TargetDescriptionProperty- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-