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 Application Load Balancers, the range is 5 to 300 seconds. For Network Load Balancers, 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 ping path that is the destination for the health check request.

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. The TCP protocol is supported for health checks only if the protocol of the target group is TCP, TLS, UDP, or TCP_UDP. The 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"

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 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 Network Load Balancers, 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