TargetGroupArgs

data class TargetGroupArgs(val healthCheckEnabled: Output<Boolean>? = null, val healthCheckIntervalSeconds: Output<Int>? = null, val healthCheckPath: Output<String>? = null, val healthCheckPort: Output<String>? = null, val healthCheckProtocol: Output<String>? = null, val healthCheckTimeoutSeconds: Output<Int>? = null, val healthyThresholdCount: Output<Int>? = null, val ipAddressType: Output<String>? = null, val matcher: Output<TargetGroupMatcherArgs>? = null, val name: Output<String>? = null, val port: Output<Int>? = null, val protocol: Output<String>? = null, val protocolVersion: Output<String>? = null, val tags: Output<List<TagArgs>>? = null, val targetGroupAttributes: Output<List<TargetGroupAttributeArgs>>? = null, val targetType: Output<String>? = null, val targets: Output<List<TargetGroupTargetDescriptionArgs>>? = null, val unhealthyThresholdCount: Output<Int>? = null, val vpcId: Output<String>? = null) : ConvertibleToJava<TargetGroupArgs>

Resource Type definition for AWS::ElasticLoadBalancingV2::TargetGroup

Constructors

Link copied to clipboard
constructor(healthCheckEnabled: Output<Boolean>? = null, healthCheckIntervalSeconds: Output<Int>? = null, healthCheckPath: Output<String>? = null, healthCheckPort: Output<String>? = null, healthCheckProtocol: Output<String>? = null, healthCheckTimeoutSeconds: Output<Int>? = null, healthyThresholdCount: Output<Int>? = null, ipAddressType: Output<String>? = null, matcher: Output<TargetGroupMatcherArgs>? = null, name: Output<String>? = null, port: Output<Int>? = null, protocol: Output<String>? = null, protocolVersion: Output<String>? = null, tags: Output<List<TagArgs>>? = null, targetGroupAttributes: Output<List<TargetGroupAttributeArgs>>? = null, targetType: Output<String>? = null, targets: Output<List<TargetGroupTargetDescriptionArgs>>? = null, unhealthyThresholdCount: Output<Int>? = null, vpcId: Output<String>? = null)

Properties

Link copied to clipboard
val healthCheckEnabled: Output<Boolean>? = null

Indicates whether health checks are enabled. If the target type is lambda, health checks are disabled by default but can be enabled. If the target type is instance, ip, or alb, health checks are always enabled and cannot be disabled.

Link copied to clipboard
val healthCheckIntervalSeconds: Output<Int>? = null

The approximate amount of time, in seconds, between health checks of an individual target.

Link copied to clipboard
val healthCheckPath: Output<String>? = null

HTTP/HTTPS health checks The destination for health checks on the targets. HTTP1 or HTTP2 protocol version The ping path. The default is /. GRPC protocol version The path of a custom health check method with the format /package.service/method. The default is /AWS.ALB/healthcheck.

Link copied to clipboard
val healthCheckPort: Output<String>? = null

The port the load balancer uses when performing health checks on targets.

Link copied to clipboard
val healthCheckProtocol: Output<String>? = null

The protocol the load balancer uses when performing health checks on targets.

Link copied to clipboard
val healthCheckTimeoutSeconds: Output<Int>? = null

The amount of time, in seconds, during which no response from a target means a failed health check.

Link copied to clipboard
val healthyThresholdCount: Output<Int>? = null

The number of consecutive health checks successes required before considering an unhealthy target healthy.

Link copied to clipboard
val ipAddressType: Output<String>? = null

The type of IP address used for this target group. The possible values are ipv4 and ipv6.

Link copied to clipboard
val matcher: Output<TargetGroupMatcherArgs>? = null

HTTP/HTTPS health checks The HTTP or gRPC codes to use when checking for a successful response from a target.

Link copied to clipboard
val name: Output<String>? = null

The name of the target group.

Link copied to clipboard
val port: Output<Int>? = null

The port on which the targets receive traffic. This port is used unless you specify a port override when registering the target. If the target is a Lambda function, this parameter does not apply. If the protocol is GENEVE, the supported port is 6081.

Link copied to clipboard
val protocol: Output<String>? = null

The protocol to use for routing traffic to the targets.

Link copied to clipboard
val protocolVersion: Output<String>? = null

HTTP/HTTPS protocol The protocol version. The possible values are GRPC, HTTP1, and HTTP2.

Link copied to clipboard
val tags: Output<List<TagArgs>>? = null

The tags.

Link copied to clipboard

The attributes.

Link copied to clipboard

The targets.

Link copied to clipboard
val targetType: Output<String>? = null

The type of target that you must specify when registering targets with this target group. You can't specify targets for a target group using more than one target type.

Link copied to clipboard
val unhealthyThresholdCount: Output<Int>? = null

The number of consecutive health check failures required before considering a target unhealthy.

Link copied to clipboard
val vpcId: Output<String>? = null

The identifier of the virtual private cloud (VPC). If the target is a Lambda function, this parameter does not apply.

Functions

Link copied to clipboard
open override fun toJava(): TargetGroupArgs