@modify_output<EOL>def get_elbv2(alb, flags=FLAGS.ALL, **conn):
<EOL>try:<EOL><INDENT>basestring<EOL><DEDENT>except NameError as _:<EOL><INDENT>basestring = str<EOL><DEDENT>if isinstance(alb, basestring):<EOL><INDENT>from cloudaux.orchestration.aws.arn import ARN<EOL>alb_arn = ARN(alb)<EOL>if alb_arn.error:<EOL><INDENT>alb = dict(LoadBalancerName=alb)<EOL><DEDENT>else:<EOL><INDENT>alb = dict(LoadBalancerArn=alb)<EOL><DEDENT><DEDENT>return registry.build_out(flags, start_with=alb, pass_datastructure=True, **conn)<EOL>
Fully describes an ALB (ELBv2).

:param alb: Could be an ALB Name, ALB ARN, or a dictionary. Likely the return value from a previous call to describe_load_balancers. At a minimum, must contain a key titled 'LoadBalancerArn'.
:param flags: Flags describing which sections should be included in the return value. Default is FLAGS.ALL.
:return: Returns a dictionary describing the ALB with the fields described in the flags parameter.