Paws
view release on metacpan or search on metacpan
lib/Paws/GlobalAccelerator/EndpointDescription.pm view on Meta::CPAN
# Generated by default/object.tt
package Paws::GlobalAccelerator::EndpointDescription;
use Moose;
has ClientIPPreservationEnabled => (is => 'ro', isa => 'Bool');
has EndpointId => (is => 'ro', isa => 'Str');
has HealthReason => (is => 'ro', isa => 'Str');
has HealthState => (is => 'ro', isa => 'Str');
has Weight => (is => 'ro', isa => 'Int');
1;
### main pod documentation begin ###
=head1 NAME
Paws::GlobalAccelerator::EndpointDescription
=head1 USAGE
This class represents one of two things:
=head3 Arguments in a call to a service
Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
Each attribute should be used as a named argument in the calls that expect this type of object.
As an example, if Att1 is expected to be a Paws::GlobalAccelerator::EndpointDescription object:
$service_obj->Method(Att1 => { ClientIPPreservationEnabled => $value, ..., Weight => $value });
=head3 Results returned from an API call
Use accessors for each attribute. If Att1 is expected to be an Paws::GlobalAccelerator::EndpointDescription object:
$result = $service_obj->Method(...);
$result->Att1->ClientIPPreservationEnabled
=head1 DESCRIPTION
A complex type for an endpoint. Each endpoint group can include one or
more endpoints, such as load balancers.
=head1 ATTRIBUTES
=head2 ClientIPPreservationEnabled => Bool
Indicates whether client IP address preservation is enabled for an
Application Load Balancer endpoint. The value is true or false. The
default value is true for new accelerators.
If the value is set to true, the client's IP address is preserved in
the C<X-Forwarded-For> request header as traffic travels to
applications on the Application Load Balancer endpoint fronted by the
accelerator.
For more information, see Viewing Client IP Addresses in AWS Global
Accelerator
(https://docs.aws.amazon.com/global-accelerator/latest/dg/introduction-how-it-works-client-ip.html)
in the I<AWS Global Accelerator Developer Guide>.
=head2 EndpointId => Str
An ID for the endpoint. If the endpoint is a Network Load Balancer or
Application Load Balancer, this is the Amazon Resource Name (ARN) of
the resource. If the endpoint is an Elastic IP address, this is the
Elastic IP address allocation ID. For Amazon EC2 instances, this is the
EC2 instance ID.
An Application Load Balancer can be either internal or internet-facing.
=head2 HealthReason => Str
Returns a null result.
=head2 HealthState => Str
The health status of the endpoint.
=head2 Weight => Int
The weight associated with the endpoint. When you add weights to
endpoints, you configure AWS Global Accelerator to route traffic based
on proportions that you specify. For example, you might specify
endpoint weights of 4, 5, 5, and 6 (sum=20). The result is that 4/20 of
your traffic, on average, is routed to the first endpoint, 5/20 is
routed both to the second and third endpoints, and 6/20 is routed to
the last endpoint. For more information, see Endpoint Weights
(https://docs.aws.amazon.com/global-accelerator/latest/dg/about-endpoints-endpoint-weights.html)
in the I<AWS Global Accelerator Developer Guide>.
=head1 SEE ALSO
This class forms part of L<Paws>, describing an object used in L<Paws::GlobalAccelerator>
=head1 BUGS and CONTRIBUTIONS
The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
=cut
( run in 0.641 second using v1.01-cache-2.11-cpan-39bf76dae61 )