Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data TargetGroup = TargetGroup' {
- protocolVersion :: Maybe Text
- matcher :: Maybe Matcher
- healthCheckPath :: Maybe Text
- healthCheckEnabled :: Maybe Bool
- unhealthyThresholdCount :: Maybe Natural
- vpcId :: Maybe Text
- targetGroupArn :: Maybe Text
- protocol :: Maybe ProtocolEnum
- healthCheckIntervalSeconds :: Maybe Natural
- targetType :: Maybe TargetTypeEnum
- healthyThresholdCount :: Maybe Natural
- healthCheckProtocol :: Maybe ProtocolEnum
- loadBalancerArns :: Maybe [Text]
- ipAddressType :: Maybe TargetGroupIpAddressTypeEnum
- healthCheckTimeoutSeconds :: Maybe Natural
- healthCheckPort :: Maybe Text
- targetGroupName :: Maybe Text
- port :: Maybe Natural
- newTargetGroup :: TargetGroup
- targetGroup_protocolVersion :: Lens' TargetGroup (Maybe Text)
- targetGroup_matcher :: Lens' TargetGroup (Maybe Matcher)
- targetGroup_healthCheckPath :: Lens' TargetGroup (Maybe Text)
- targetGroup_healthCheckEnabled :: Lens' TargetGroup (Maybe Bool)
- targetGroup_unhealthyThresholdCount :: Lens' TargetGroup (Maybe Natural)
- targetGroup_vpcId :: Lens' TargetGroup (Maybe Text)
- targetGroup_targetGroupArn :: Lens' TargetGroup (Maybe Text)
- targetGroup_protocol :: Lens' TargetGroup (Maybe ProtocolEnum)
- targetGroup_healthCheckIntervalSeconds :: Lens' TargetGroup (Maybe Natural)
- targetGroup_targetType :: Lens' TargetGroup (Maybe TargetTypeEnum)
- targetGroup_healthyThresholdCount :: Lens' TargetGroup (Maybe Natural)
- targetGroup_healthCheckProtocol :: Lens' TargetGroup (Maybe ProtocolEnum)
- targetGroup_loadBalancerArns :: Lens' TargetGroup (Maybe [Text])
- targetGroup_ipAddressType :: Lens' TargetGroup (Maybe TargetGroupIpAddressTypeEnum)
- targetGroup_healthCheckTimeoutSeconds :: Lens' TargetGroup (Maybe Natural)
- targetGroup_healthCheckPort :: Lens' TargetGroup (Maybe Text)
- targetGroup_targetGroupName :: Lens' TargetGroup (Maybe Text)
- targetGroup_port :: Lens' TargetGroup (Maybe Natural)
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:protocolVersion:TargetGroup'
, targetGroup_protocolVersion
- [HTTP/HTTPS protocol] The protocol version. The possible values are
GRPC
, HTTP1
, and HTTP2
.
$sel:matcher:TargetGroup'
, targetGroup_matcher
- The HTTP or gRPC codes to use when checking for a successful response
from a target.
$sel:healthCheckPath:TargetGroup'
, targetGroup_healthCheckPath
- The destination for health checks on the targets.
$sel:healthCheckEnabled:TargetGroup'
, targetGroup_healthCheckEnabled
- Indicates whether health checks are enabled.
$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.
$sel:targetGroupArn:TargetGroup'
, targetGroup_targetGroupArn
- The Amazon Resource Name (ARN) of the target group.
$sel:protocol:TargetGroup'
, targetGroup_protocol
- The protocol to use for routing traffic to the targets.
$sel:healthCheckIntervalSeconds:TargetGroup'
, targetGroup_healthCheckIntervalSeconds
- The approximate amount of time, in seconds, between health checks of an
individual target.
$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:healthyThresholdCount:TargetGroup'
, targetGroup_healthyThresholdCount
- The number of consecutive health checks successes required before
considering an unhealthy target healthy.
$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:loadBalancerArns:TargetGroup'
, targetGroup_loadBalancerArns
- The Amazon Resource Names (ARN) of the load balancers that route traffic
to this target group.
$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:healthCheckTimeoutSeconds:TargetGroup'
, targetGroup_healthCheckTimeoutSeconds
- The amount of time, in seconds, during which no response means a failed
health check.
$sel:healthCheckPort:TargetGroup'
, targetGroup_healthCheckPort
- The port to use to connect with the target.
$sel:targetGroupName:TargetGroup'
, targetGroup_targetGroupName
- The name of the target group.
$sel:port:TargetGroup'
, targetGroup_port
- The port on which the targets are listening. Not used if the target is a
Lambda function.
targetGroup_protocolVersion :: Lens' TargetGroup (Maybe Text) Source #
- HTTP/HTTPS protocol
- The protocol version. The possible values are
GRPC
,HTTP1
, andHTTP2
.
targetGroup_matcher :: Lens' TargetGroup (Maybe Matcher) Source #
The HTTP or gRPC codes to use when checking for a successful response from a target.
targetGroup_healthCheckPath :: Lens' TargetGroup (Maybe Text) Source #
The destination for health checks on the targets.
targetGroup_healthCheckEnabled :: Lens' TargetGroup (Maybe Bool) Source #
Indicates whether health checks are enabled.
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.
targetGroup_targetGroupArn :: Lens' TargetGroup (Maybe Text) Source #
The Amazon Resource Name (ARN) of the target group.
targetGroup_protocol :: Lens' TargetGroup (Maybe ProtocolEnum) Source #
The protocol to use for routing traffic to the targets.
targetGroup_healthCheckIntervalSeconds :: Lens' TargetGroup (Maybe Natural) Source #
The approximate amount of time, in seconds, between health checks of an individual target.
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_healthyThresholdCount :: Lens' TargetGroup (Maybe Natural) Source #
The number of consecutive health checks successes required before considering an unhealthy target healthy.
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_loadBalancerArns :: Lens' TargetGroup (Maybe [Text]) Source #
The Amazon Resource Names (ARN) of the load balancers that route traffic to this target group.
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_healthCheckTimeoutSeconds :: Lens' TargetGroup (Maybe Natural) Source #
The amount of time, in seconds, during which no response means a failed health check.
targetGroup_healthCheckPort :: Lens' TargetGroup (Maybe Text) Source #
The port to use to connect with the target.
targetGroup_targetGroupName :: Lens' TargetGroup (Maybe Text) Source #
The name of the target group.
targetGroup_port :: Lens' TargetGroup (Maybe Natural) Source #
The port on which the targets are listening. Not used if the target is a Lambda function.