NAME
Paws::ELBv2::ModifyTargetGroup - Arguments for method ModifyTargetGroup on Paws::ELBv2
DESCRIPTION
This class represents the parameters used for calling the method ModifyTargetGroup on the Elastic Load Balancing service. Use the attributes of this class as arguments to method ModifyTargetGroup.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ModifyTargetGroup.
SYNOPSIS
my $elasticloadbalancing = Paws->service('ELBv2');
# To modify the health check configuration for a target group
# This example changes the configuration of the health checks used to evaluate
# the health of the targets for the specified target group.
my $ModifyTargetGroupOutput = $elasticloadbalancing->ModifyTargetGroup(
'HealthCheckPort' => 443,
'HealthCheckProtocol' => 'HTTPS',
'TargetGroupArn' =>
'arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-https-targets/2453ed029918f21f'
);
# Results:
my $TargetGroups = $ModifyTargetGroupOutput->TargetGroups;
# Returns a L<Paws::ELBv2::ModifyTargetGroupOutput> object.
Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing/ModifyTargetGroup
ATTRIBUTES
HealthCheckEnabled => Bool
Indicates whether health checks are enabled.
HealthCheckIntervalSeconds => Int
The approximate amount of time, in seconds, between health checks of an individual target. For TCP health checks, the supported values are 10 or 30 seconds.
With Network Load Balancers, you can't modify this setting.
HealthCheckPath => Str
[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 /Amazon Web Services.ALB/healthcheck.
HealthCheckPort => Str
The port the load balancer uses when performing health checks on targets.
HealthCheckProtocol => Str
The protocol the load balancer uses when performing health checks on targets. For Application Load Balancers, the default is HTTP. For Network Load Balancers and Gateway Load Balancers, the default is TCP. The TCP protocol is not supported for health checks if the protocol of the target group is HTTP or HTTPS. It is supported for health checks only if the protocol of the target group is TCP, TLS, UDP, or TCP_UDP. The GENEVE, TLS, UDP, and TCP_UDP protocols are not supported for health checks.
With Network Load Balancers, you can't modify this setting.
Valid values are: "HTTP"
, "HTTPS"
, "TCP"
, "TLS"
, "UDP"
, "TCP_UDP"
, "GENEVE"
HealthCheckTimeoutSeconds => Int
[HTTP/HTTPS health checks] The amount of time, in seconds, during which no response means a failed health check.
With Network Load Balancers, you can't modify this setting.
HealthyThresholdCount => Int
The number of consecutive health checks successes required before considering an unhealthy target healthy.
Matcher => Paws::ELBv2::Matcher
[HTTP/HTTPS health checks] The HTTP or gRPC codes to use when checking for a successful response from a target.
With Network Load Balancers, you can't modify this setting.
REQUIRED TargetGroupArn => Str
The Amazon Resource Name (ARN) of the target group.
UnhealthyThresholdCount => Int
The number of consecutive health check failures required before considering the target unhealthy. For target groups with a protocol of TCP or TLS, this value must be the same as the healthy threshold count.
SEE ALSO
This class forms part of Paws, documenting arguments for method ModifyTargetGroup in Paws::ELBv2
BUGS and CONTRIBUTIONS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues