Class TargetGroupState
Inherited Members
Namespace: Pulumi.Aws.ApplicationLoadBalancing
Assembly: Pulumi.Aws.dll
Syntax
public sealed class TargetGroupState : ResourceArgs
Constructors
View SourceTargetGroupState()
Declaration
public TargetGroupState()
Properties
View SourceArn
The ARN of the Target Group (matches id)
Declaration
public Input<string> Arn { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ArnSuffix
The ARN suffix for use with CloudWatch Metrics.
Declaration
public Input<string> ArnSuffix { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
DeregistrationDelay
The amount time for Elastic Load Balancing to wait before changing the state of a deregistering target from draining to unused. The range is 0-3600 seconds. The default value is 300 seconds.
Declaration
public Input<int> DeregistrationDelay { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
HealthCheck
A Health Check block. Health Check blocks are documented below.
Declaration
public Input<TargetGroupHealthCheckGetArgs> HealthCheck { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<TargetGroupHealthCheckGetArgs> |
LambdaMultiValueHeadersEnabled
Boolean whether the request and response headers exchanged between the load balancer and the Lambda function include arrays of values or strings. Only applies when target_type is lambda.
Declaration
public Input<bool> LambdaMultiValueHeadersEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
LoadBalancingAlgorithmType
Determines how the load balancer selects targets when routing requests. Only applicable for Application Load Balancer Target Groups. The value is round_robin or least_outstanding_requests. The default is round_robin.
Declaration
public Input<string> LoadBalancingAlgorithmType { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Name
The name of the target group. If omitted, this provider will assign a random, unique name.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
NamePrefix
Creates a unique name beginning with the specified prefix. Conflicts with name. Cannot be longer than 6 characters.
Declaration
public Input<string> NamePrefix { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Port
The port on which targets receive traffic, unless overridden when registering a specific target. Required when target_type is instance or ip. Does not apply when target_type is lambda.
Declaration
public Input<int> Port { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
Protocol
The protocol to use for routing traffic to the targets. Should be one of "TCP", "TLS", "UDP", "TCP_UDP", "HTTP" or "HTTPS". Required when target_type is instance or ip. Does not apply when target_type is lambda.
Declaration
public Input<string> Protocol { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ProxyProtocolV2
Boolean to enable / disable support for proxy protocol v2 on Network Load Balancers. See doc for more information.
Declaration
public Input<bool> ProxyProtocolV2 { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
SlowStart
The amount time for targets to warm up before the load balancer sends them a full share of requests. The range is 30-900 seconds or 0 to disable. The default value is 0 seconds.
Declaration
public Input<int> SlowStart { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
Stickiness
A Stickiness block. Stickiness blocks are documented below. stickiness is only valid if used with Load Balancers of type Application
Declaration
public Input<TargetGroupStickinessGetArgs> Stickiness { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<TargetGroupStickinessGetArgs> |
Tags
A map of tags to assign to the resource.
Declaration
public InputMap<object> Tags { get; set; }
Property Value
| Type | Description |
|---|---|
| InputMap<System.Object> |
TargetType
The type of target that you must specify when registering targets with this target group.
The possible values are instance (targets are specified by instance ID) or ip (targets are specified by IP address) or lambda (targets are specified by lambda arn).
The default is instance. Note that you can't specify targets for a target group using both instance IDs and IP addresses.
If the target type is ip, specify IP addresses from the subnets of the virtual private cloud (VPC) for the target group,
the RFC 1918 range (10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16), and the RFC 6598 range (100.64.0.0/10).
You can't specify publicly routable IP addresses.
Declaration
public Input<string> TargetType { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
VpcId
The identifier of the VPC in which to create the target group. Required when target_type is instance or ip. Does not apply when target_type is lambda.
Declaration
public Input<string> VpcId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |