Interface IAddApplicationTargetGroupsProps
Properties for adding a new target group to a listener.
Inherited Members
Namespace: Amazon.CDK.AWS.ElasticLoadBalancingV2
Assembly: Amazon.CDK.AWS.ElasticLoadBalancingV2.dll
Syntax (csharp)
public interface IAddApplicationTargetGroupsProps : IAddRuleProps
Syntax (vb)
Public Interface IAddApplicationTargetGroupsProps
Inherits IAddRuleProps
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;
ApplicationTargetGroup applicationTargetGroup;
ListenerCondition listenerCondition;
var addApplicationTargetGroupsProps = new AddApplicationTargetGroupsProps {
TargetGroups = new [] { applicationTargetGroup },
// the properties below are optional
Conditions = new [] { listenerCondition },
HostHeader = "hostHeader",
PathPattern = "pathPattern",
PathPatterns = new [] { "pathPatterns" },
Priority = 123
};
Synopsis
Properties
TargetGroups | Target groups to forward requests to. |
Properties
TargetGroups
Target groups to forward requests to.
IApplicationTargetGroup[] TargetGroups { get; }
Property Value