Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data TargetGroup = TargetGroup' {
- healthCheckEnabled :: Maybe Bool
- healthCheckIntervalSeconds :: Maybe Natural
- healthCheckPath :: Maybe Text
- healthCheckPort :: Maybe Text
- healthCheckProtocol :: Maybe ProtocolEnum
- healthCheckTimeoutSeconds :: Maybe Natural
- healthyThresholdCount :: Maybe Natural
- ipAddressType :: Maybe TargetGroupIpAddressTypeEnum
- loadBalancerArns :: Maybe [Text]
- matcher :: Maybe Matcher
- port :: Maybe Natural
- protocol :: Maybe ProtocolEnum
- protocolVersion :: Maybe Text
- targetGroupArn :: Maybe Text
- targetGroupName :: Maybe Text
- targetType :: Maybe TargetTypeEnum
- unhealthyThresholdCount :: Maybe Natural
- vpcId :: Maybe Text
- newTargetGroup :: TargetGroup
- targetGroup_healthCheckEnabled :: Lens' TargetGroup (Maybe Bool)
- targetGroup_healthCheckIntervalSeconds :: Lens' TargetGroup (Maybe Natural)
- targetGroup_healthCheckPath :: Lens' TargetGroup (Maybe Text)
- targetGroup_healthCheckPort :: Lens' TargetGroup (Maybe Text)
- targetGroup_healthCheckProtocol :: Lens' TargetGroup (Maybe ProtocolEnum)
- targetGroup_healthCheckTimeoutSeconds :: Lens' TargetGroup (Maybe Natural)
- targetGroup_healthyThresholdCount :: Lens' TargetGroup (Maybe Natural)
- targetGroup_ipAddressType :: Lens' TargetGroup (Maybe TargetGroupIpAddressTypeEnum)
- targetGroup_loadBalancerArns :: Lens' TargetGroup (Maybe [Text])
- targetGroup_matcher :: Lens' TargetGroup (Maybe Matcher)
- targetGroup_port :: Lens' TargetGroup (Maybe Natural)
- targetGroup_protocol :: Lens' TargetGroup (Maybe ProtocolEnum)
- targetGroup_protocolVersion :: Lens' TargetGroup (Maybe Text)
- targetGroup_targetGroupArn :: Lens' TargetGroup (Maybe Text)
- targetGroup_targetGroupName :: Lens' TargetGroup (Maybe Text)
- targetGroup_targetType :: Lens' TargetGroup (Maybe TargetTypeEnum)
- targetGroup_unhealthyThresholdCount :: Lens' TargetGroup (Maybe Natural)
- targetGroup_vpcId :: Lens' TargetGroup (Maybe Text)
Documentation
data TargetGroup Source #
Information about a target group.
See: newTargetGroup
smart constructor.
TargetGroup' | |
|
Instances
newTargetGroup :: TargetGroup Source #
Create a value of TargetGroup
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:healthCheckEnabled:TargetGroup'
, targetGroup_healthCheckEnabled
- Indicates whether health checks are enabled.
$sel:healthCheckIntervalSeconds:TargetGroup'
, targetGroup_healthCheckIntervalSeconds
- The approximate amount of time, in seconds, between health checks of an
individual target.
$sel:healthCheckPath:TargetGroup'
, targetGroup_healthCheckPath
- The destination for health checks on the targets.
$sel:healthCheckPort:TargetGroup'
, targetGroup_healthCheckPort
- The port to use to connect with the target.
$sel:healthCheckProtocol:TargetGroup'
, targetGroup_healthCheckProtocol
- The protocol to use to connect with the target. The GENEVE, TLS, UDP,
and TCP_UDP protocols are not supported for health checks.
$sel:healthCheckTimeoutSeconds:TargetGroup'
, targetGroup_healthCheckTimeoutSeconds
- The amount of time, in seconds, during which no response means a failed
health check.
$sel:healthyThresholdCount:TargetGroup'
, targetGroup_healthyThresholdCount
- The number of consecutive health checks successes required before
considering an unhealthy target healthy.
$sel:ipAddressType:TargetGroup'
, targetGroup_ipAddressType
- The type of IP address used for this target group. The possible values
are ipv4
and ipv6
. This is an optional parameter. If not specified,
the IP address type defaults to ipv4
.
$sel:loadBalancerArns:TargetGroup'
, targetGroup_loadBalancerArns
- The Amazon Resource Names (ARN) of the load balancers that route traffic
to this target group.
$sel:matcher:TargetGroup'
, targetGroup_matcher
- The HTTP or gRPC codes to use when checking for a successful response
from a target.
$sel:port:TargetGroup'
, targetGroup_port
- The port on which the targets are listening. Not used if the target is a
Lambda function.
$sel:protocol:TargetGroup'
, targetGroup_protocol
- The protocol to use for routing traffic to the targets.
$sel:protocolVersion:TargetGroup'
, targetGroup_protocolVersion
- [HTTP/HTTPS protocol] The protocol version. The possible values are
GRPC
, HTTP1
, and HTTP2
.
$sel:targetGroupArn:TargetGroup'
, targetGroup_targetGroupArn
- The Amazon Resource Name (ARN) of the target group.
$sel:targetGroupName:TargetGroup'
, targetGroup_targetGroupName
- The name of the target group.
$sel:targetType:TargetGroup'
, targetGroup_targetType
- The type of target that you must specify when registering targets with
this target group. The possible values are instance
(register targets
by instance ID), ip
(register targets by IP address), lambda
(register a single Lambda function as a target), or alb
(register a
single Application Load Balancer as a target).
$sel:unhealthyThresholdCount:TargetGroup'
, targetGroup_unhealthyThresholdCount
- The number of consecutive health check failures required before
considering the target unhealthy.
$sel:vpcId:TargetGroup'
, targetGroup_vpcId
- The ID of the VPC for the targets.
targetGroup_healthCheckEnabled :: Lens' TargetGroup (Maybe Bool) Source #
Indicates whether health checks are enabled.
targetGroup_healthCheckIntervalSeconds :: Lens' TargetGroup (Maybe Natural) Source #
The approximate amount of time, in seconds, between health checks of an individual target.
targetGroup_healthCheckPath :: Lens' TargetGroup (Maybe Text) Source #
The destination for health checks on the targets.
targetGroup_healthCheckPort :: Lens' TargetGroup (Maybe Text) Source #
The port to use to connect with the target.
targetGroup_healthCheckProtocol :: Lens' TargetGroup (Maybe ProtocolEnum) Source #
The protocol to use to connect with the target. The GENEVE, TLS, UDP, and TCP_UDP protocols are not supported for health checks.
targetGroup_healthCheckTimeoutSeconds :: Lens' TargetGroup (Maybe Natural) Source #
The amount of time, in seconds, during which no response means a failed health check.
targetGroup_healthyThresholdCount :: Lens' TargetGroup (Maybe Natural) Source #
The number of consecutive health checks successes required before considering an unhealthy target healthy.
targetGroup_ipAddressType :: Lens' TargetGroup (Maybe TargetGroupIpAddressTypeEnum) Source #
The type of IP address used for this target group. The possible values
are ipv4
and ipv6
. This is an optional parameter. If not specified,
the IP address type defaults to ipv4
.
targetGroup_loadBalancerArns :: Lens' TargetGroup (Maybe [Text]) Source #
The Amazon Resource Names (ARN) of the load balancers that route traffic to this target group.
targetGroup_matcher :: Lens' TargetGroup (Maybe Matcher) Source #
The HTTP or gRPC codes to use when checking for a successful response from a target.
targetGroup_port :: Lens' TargetGroup (Maybe Natural) Source #
The port on which the targets are listening. Not used if the target is a Lambda function.
targetGroup_protocol :: Lens' TargetGroup (Maybe ProtocolEnum) Source #
The protocol to use for routing traffic to the targets.
targetGroup_protocolVersion :: Lens' TargetGroup (Maybe Text) Source #
- HTTP/HTTPS protocol
- The protocol version. The possible values are
GRPC
,HTTP1
, andHTTP2
.
targetGroup_targetGroupArn :: Lens' TargetGroup (Maybe Text) Source #
The Amazon Resource Name (ARN) of the target group.
targetGroup_targetGroupName :: Lens' TargetGroup (Maybe Text) Source #
The name of the target group.
targetGroup_targetType :: Lens' TargetGroup (Maybe TargetTypeEnum) Source #
The type of target that you must specify when registering targets with
this target group. The possible values are instance
(register targets
by instance ID), ip
(register targets by IP address), lambda
(register a single Lambda function as a target), or alb
(register a
single Application Load Balancer as a target).
targetGroup_unhealthyThresholdCount :: Lens' TargetGroup (Maybe Natural) Source #
The number of consecutive health check failures required before considering the target unhealthy.
targetGroup_vpcId :: Lens' TargetGroup (Maybe Text) Source #
The ID of the VPC for the targets.