Class TargetGroupAttachmentTarget


  • public final class TargetGroupAttachmentTarget
    extends java.lang.Object
    • Method Detail

      • id

        public java.lang.String id()
        Returns:
        The ID of the target. If the target type of the target group is INSTANCE, this is an instance ID. If the target type is IP , this is an IP address. If the target type is LAMBDA, this is the ARN of the Lambda function. If the target type is ALB, this is the ARN of the Application Load Balancer.
      • port

        public java.util.Optional<java.lang.Integer> port()
        Returns:
        This port is used for routing traffic to the target, and defaults to the target group port. However, you can override the default and specify a custom port.