Show / Hide Table of Contents

Interface IAddApplicationTargetsProps

Properties for adding new targets to a listener.

Inherited Members
IAddRuleProps.Conditions
IAddRuleProps.HostHeader
IAddRuleProps.PathPattern
IAddRuleProps.PathPatterns
IAddRuleProps.Priority
Namespace: Amazon.CDK.AWS.ElasticLoadBalancingV2
Assembly: Amazon.CDK.AWS.ElasticLoadBalancingV2.dll
Syntax (csharp)
public interface IAddApplicationTargetsProps : IAddRuleProps
Syntax (vb)
Public Interface IAddApplicationTargetsProps
    Inherits IAddRuleProps

Synopsis

Properties

DeregistrationDelay

The amount of time for Elastic Load Balancing to wait before deregistering a target.

HealthCheck

Health check configuration.

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.

TargetGroupName

The name of the target group.

Targets

The targets to add to this target group.

Properties

DeregistrationDelay

The amount of time for Elastic Load Balancing to wait before deregistering a target.

virtual Duration DeregistrationDelay { get; }
Property Value

Duration

Remarks

The range is 0-3600 seconds.

Default: Duration.minutes(5)

HealthCheck

Health check configuration.

virtual IHealthCheck HealthCheck { get; }
Property Value

IHealthCheck

Remarks

Default: No health check

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

Protocol

The protocol to use.

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

System.Nullable<ApplicationProtocol>

Remarks

Default: Determined from port if known

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: Stickiness disabled

TargetGroupName

The name of the target group.

virtual string TargetGroupName { get; }
Property Value

System.String

Remarks

This name must be unique per region per account, can have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, and must not begin or end with a hyphen.

Default: Automatically generated

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. All target must be of the same type.

Back to top Generated by DocFX