Show / Hide Table of Contents

Interface IApplicationTargetGroupProps

Properties for defining an Application Target Group.

Inherited Members
IBaseTargetGroupProps.DeregistrationDelay
IBaseTargetGroupProps.HealthCheck
IBaseTargetGroupProps.TargetGroupName
IBaseTargetGroupProps.TargetType
IBaseTargetGroupProps.Vpc
Namespace: Amazon.CDK.AWS.ElasticLoadBalancingV2
Assembly: Amazon.CDK.AWS.ElasticLoadBalancingV2.dll
Syntax (csharp)
public interface IApplicationTargetGroupProps : IBaseTargetGroupProps
Syntax (vb)
Public Interface IApplicationTargetGroupProps
    Inherits IBaseTargetGroupProps

Synopsis

Properties

Port

The port on which the listener listens for requests.

Protocol

The protocol to use.

SlowStart

The time period during which the load balancer sends a newly registered target a linearly increasing share of the traffic to the target group.

StickinessCookieDuration

The stickiness cookie expiration period.

Targets

The targets to add to this target group.

Properties

Port

The port on which the listener listens for requests.

virtual Nullable<double> Port { get; }
Property Value

System.Nullable<System.Double>

Remarks

Default: - Determined from protocol if known, optional for Lambda targets.

Protocol

The protocol to use.

virtual Nullable<ApplicationProtocol> Protocol { get; }
Property Value

System.Nullable<ApplicationProtocol>

Remarks

Default: - Determined from port if known, optional for Lambda targets.

SlowStart

The time period during which the load balancer sends a newly registered target a linearly increasing share of the traffic to the target group.

virtual Duration SlowStart { get; }
Property Value

Duration

Remarks

The range is 30-900 seconds (15 minutes).

Default: 0

StickinessCookieDuration

The stickiness cookie expiration period.

virtual Duration StickinessCookieDuration { get; }
Property Value

Duration

Remarks

Setting this value enables load balancer stickiness.

After this period, the cookie is considered stale. The minimum value is 1 second and the maximum value is 7 days (604800 seconds).

Default: Duration.days(1)

Targets

The targets to add to this target group.

virtual IApplicationLoadBalancerTarget[] Targets { get; }
Property Value

IApplicationLoadBalancerTarget[]

Remarks

Can be Instance, IPAddress, or any self-registering load balancing target. If you use either Instance or IPAddress as targets, all target must be of the same type.

Default: - No targets.

Back to top Generated by DocFX