Class LoadBalancerTargetProps
Result of attaching a target to load balancer.
Inheritance
System.Object
LoadBalancerTargetProps
Implements
Namespace: Amazon.CDK.AWS.ElasticLoadBalancingV2
Assembly: Amazon.CDK.AWS.ElasticLoadBalancingV2.dll
Syntax (csharp)
public class LoadBalancerTargetProps : Object, ILoadBalancerTargetProps
Syntax (vb)
Public Class LoadBalancerTargetProps
Inherits Object
Implements ILoadBalancerTargetProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ElasticLoadBalancingV2;
var targetJson;
var loadBalancerTargetProps = new LoadBalancerTargetProps {
TargetType = TargetType.INSTANCE,
// the properties below are optional
TargetJson = targetJson
};
Synopsis
Constructors
LoadBalancerTargetProps() |
Properties
TargetJson | JSON representing the target's direct addition to the TargetGroup list. |
TargetType | What kind of target this is. |
Constructors
LoadBalancerTargetProps()
public LoadBalancerTargetProps()
Properties
TargetJson
JSON representing the target's direct addition to the TargetGroup list.
public object TargetJson { get; set; }
Property Value
System.Object
Remarks
May be omitted if the target is going to register itself later.