| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::ELBv2::TargetGroupAttribute; | ||
| 3 | use Moose; | ||
| 4 | has Key => (is => 'ro', isa => 'Str'); | ||
| 5 | has Value => (is => 'ro', isa => 'Str'); | ||
| 6 | |||
| 7 | 1; | ||
| 8 | |||
| 9 | ### main pod documentation begin ### | ||
| 10 | |||
| 11 | =head1 NAME | ||
| 12 | |||
| 13 | Paws::ELBv2::TargetGroupAttribute | ||
| 14 | |||
| 15 | =head1 USAGE | ||
| 16 | |||
| 17 | This class represents one of two things: | ||
| 18 | |||
| 19 | =head3 Arguments in a call to a service | ||
| 20 | |||
| 21 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 22 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 23 | |||
| 24 | As an example, if Att1 is expected to be a Paws::ELBv2::TargetGroupAttribute object: | ||
| 25 | |||
| 26 | $service_obj->Method(Att1 => { Key => $value, ..., Value => $value }); | ||
| 27 | |||
| 28 | =head3 Results returned from an API call | ||
| 29 | |||
| 30 | Use accessors for each attribute. If Att1 is expected to be an Paws::ELBv2::TargetGroupAttribute object: | ||
| 31 | |||
| 32 | $result = $service_obj->Method(...); | ||
| 33 | $result->Att1->Key | ||
| 34 | |||
| 35 | =head1 DESCRIPTION | ||
| 36 | |||
| 37 | Information about a target group attribute. | ||
| 38 | |||
| 39 | =head1 ATTRIBUTES | ||
| 40 | |||
| 41 | |||
| 42 | =head2 Key => Str | ||
| 43 | |||
| 44 | The name of the attribute. | ||
| 45 | |||
| 46 | The following attribute is supported by all load balancers: | ||
| 47 | |||
| 48 | =over | ||
| 49 | |||
| 50 | =item * | ||
| 51 | |||
| 52 | C<deregistration_delay.timeout_seconds> - The amount of time, in | ||
| 53 | seconds, for Elastic Load Balancing to wait before changing the state | ||
| 54 | of a deregistering target from C<draining> to C<unused>. The range is | ||
| 55 | 0-3600 seconds. The default value is 300 seconds. If the target is a | ||
| 56 | Lambda function, this attribute is not supported. | ||
| 57 | |||
| 58 | =back | ||
| 59 | |||
| 60 | The following attributes are supported by both Application Load | ||
| 61 | Balancers and Network Load Balancers: | ||
| 62 | |||
| 63 | =over | ||
| 64 | |||
| 65 | =item * | ||
| 66 | |||
| 67 | C<stickiness.enabled> - Indicates whether sticky sessions are enabled. | ||
| 68 | The value is C<true> or C<false>. The default is C<false>. | ||
| 69 | |||
| 70 | =item * | ||
| 71 | |||
| 72 | C<stickiness.type> - The type of sticky sessions. The possible values | ||
| 73 | are C<lb_cookie> and C<app_cookie> for Application Load Balancers or | ||
| 74 | C<source_ip> for Network Load Balancers. | ||
| 75 | |||
| 76 | =back | ||
| 77 | |||
| 78 | The following attributes are supported only if the load balancer is an | ||
| 79 | Application Load Balancer and the target is an instance or an IP | ||
| 80 | address: | ||
| 81 | |||
| 82 | =over | ||
| 83 | |||
| 84 | =item * | ||
| 85 | |||
| 86 | C<load_balancing.algorithm.type> - The load balancing algorithm | ||
| 87 | determines how the load balancer selects targets when routing requests. | ||
| 88 | The value is C<round_robin> or C<least_outstanding_requests>. The | ||
| 89 | default is C<round_robin>. | ||
| 90 | |||
| 91 | =item * | ||
| 92 | |||
| 93 | C<slow_start.duration_seconds> - The time period, in seconds, during | ||
| 94 | which a newly registered target receives an increasing share of the | ||
| 95 | traffic to the target group. After this time period ends, the target | ||
| 96 | receives its full share of traffic. The range is 30-900 seconds (15 | ||
| 97 | minutes). The default is 0 seconds (disabled). | ||
| 98 | |||
| 99 | =item * | ||
| 100 | |||
| 101 | C<stickiness.app_cookie.cookie_name> - Indicates the name of the | ||
| 102 | application-based cookie. Names that start with the following prefixes | ||
| 103 | are not allowed: C<AWSALB>, C<AWSALBAPP>, and C<AWSALBTG>; they're | ||
| 104 | reserved for use by the load balancer. | ||
| 105 | |||
| 106 | =item * | ||
| 107 | |||
| 108 | C<stickiness.app_cookie.duration_seconds> - The time period, in | ||
| 109 | seconds, during which requests from a client should be routed to the | ||
| 110 | same target. After this time period expires, the application-based | ||
| 111 | cookie is considered stale. The range is 1 second to 1 week (604800 | ||
| 112 | seconds). The default value is 1 day (86400 seconds). | ||
| 113 | |||
| 114 | =item * | ||
| 115 | |||
| 116 | C<stickiness.lb_cookie.duration_seconds> - The time period, in seconds, | ||
| 117 | during which requests from a client should be routed to the same | ||
| 118 | target. After this time period expires, the load balancer-generated | ||
| 119 | cookie is considered stale. The range is 1 second to 1 week (604800 | ||
| 120 | seconds). The default value is 1 day (86400 seconds). | ||
| 121 | |||
| 122 | =back | ||
| 123 | |||
| 124 | The following attribute is supported only if the load balancer is an | ||
| 125 | Application Load Balancer and the target is a Lambda function: | ||
| 126 | |||
| 127 | =over | ||
| 128 | |||
| 129 | =item * | ||
| 130 | |||
| 131 | C<lambda.multi_value_headers.enabled> - Indicates whether the request | ||
| 132 | and response headers that are exchanged between the load balancer and | ||
| 133 | the Lambda function include arrays of values or strings. The value is | ||
| 134 | C<true> or C<false>. The default is C<false>. If the value is C<false> | ||
| 135 | and the request contains a duplicate header field name or query | ||
| 136 | parameter key, the load balancer uses the last value sent by the | ||
| 137 | client. | ||
| 138 | |||
| 139 | =back | ||
| 140 | |||
| 141 | The following attributes are supported only by Network Load Balancers: | ||
| 142 | |||
| 143 | =over | ||
| 144 | |||
| 145 | =item * | ||
| 146 | |||
| 147 | C<deregistration_delay.connection_termination.enabled> - Indicates | ||
| 148 | whether the load balancer terminates connections at the end of the | ||
| 149 | deregistration timeout. The value is C<true> or C<false>. The default | ||
| 150 | is C<false>. | ||
| 151 | |||
| 152 | =item * | ||
| 153 | |||
| 154 | C<preserve_client_ip.enabled> - Indicates whether client IP | ||
| 155 | preservation is enabled. The value is C<true> or C<false>. The default | ||
| 156 | is disabled if the target group type is IP address and the target group | ||
| 157 | protocol is TCP or TLS. Otherwise, the default is enabled. Client IP | ||
| 158 | preservation cannot be disabled for UDP and TCP_UDP target groups. | ||
| 159 | |||
| 160 | =item * | ||
| 161 | |||
| 162 | C<proxy_protocol_v2.enabled> - Indicates whether Proxy Protocol version | ||
| 163 | 2 is enabled. The value is C<true> or C<false>. The default is | ||
| 164 | C<false>. | ||
| 165 | |||
| 166 | =back | ||
| 167 | |||
| 168 | |||
| 169 | |||
| 170 | =head2 Value => Str | ||
| 171 | |||
| 172 | The value of the attribute. | ||
| 173 | |||
| 174 | |||
| 175 | |||
| 176 | =head1 SEE ALSO | ||
| 177 | |||
| 178 | This class forms part of L<Paws>, describing an object used in L<Paws::ELBv2> | ||
| 179 | |||
| 180 | =head1 BUGS and CONTRIBUTIONS | ||
| 181 | |||
| 182 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 183 | |||
| 184 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 185 | |||
| 186 | =cut | ||
| 187 |