# LoadBalancerTargetProps

Result of attaching a target to load balancer.

- Source: [`aws-elasticloadbalancingv2/lib/shared/base-target-group.ts`](https://github.com/aws/aws-cdk/blob/v2.273.0/packages/aws-cdk-lib/aws-elasticloadbalancingv2/lib/shared/base-target-group.ts#L612)

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_elasticloadbalancingv2 as elbv2 } from 'aws-cdk-lib';

declare const targetJson: any;
const loadBalancerTargetProps: elbv2.LoadBalancerTargetProps = {
  targetType: elbv2.TargetType.INSTANCE,

  // the properties below are optional
  targetJson: targetJson,
};
```

## Properties

- `targetJson`: any — JSON representing the target's direct addition to the TargetGroup list.

  May be omitted if the target is going to register itself later.

- `targetType`: [TargetType](/cdk/api/v2/docs/aws-cdk-lib.aws_elasticloadbalancingv2.TargetType.html) (required) — What kind of target this is.
