Interface ITargetGroupAttributes
Properties to reference an existing target group.
Namespace: Amazon.CDK.AWS.ElasticLoadBalancingV2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ITargetGroupAttributes
Syntax (vb)
Public Interface ITargetGroupAttributes
Remarks
ExampleMetadata: infused
Examples
Stack stack;
var targetGroup = ApplicationTargetGroup.FromTargetGroupAttributes(this, "MyTargetGroup", new TargetGroupAttributes {
TargetGroupArn = Fn.ImportValue("TargetGroupArn"),
LoadBalancerArns = Fn.ImportValue("LoadBalancerArn")
});
var targetGroupMetrics = targetGroup.Metrics;
Synopsis
Properties
LoadBalancerArns | A Token representing the list of ARNs for the load balancer routing to this target group. |
TargetGroupArn | ARN of the target group. |
Properties
LoadBalancerArns
A Token representing the list of ARNs for the load balancer routing to this target group.
virtual string LoadBalancerArns { get; }
Property Value
System.String
TargetGroupArn
ARN of the target group.
string TargetGroupArn { get; }
Property Value
System.String