| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::ELBv2::LoadBalancerAttribute; | ||
| 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::LoadBalancerAttribute | ||
| 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::LoadBalancerAttribute 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::LoadBalancerAttribute object: | ||
| 31 | |||
| 32 | $result = $service_obj->Method(...); | ||
| 33 | $result->Att1->Key | ||
| 34 | |||
| 35 | =head1 DESCRIPTION | ||
| 36 | |||
| 37 | Information about a load balancer 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<deletion_protection.enabled> - Indicates whether deletion protection | ||
| 53 | is enabled. The value is C<true> or C<false>. The default is C<false>. | ||
| 54 | |||
| 55 | =back | ||
| 56 | |||
| 57 | The following attributes are supported by both Application Load | ||
| 58 | Balancers and Network Load Balancers: | ||
| 59 | |||
| 60 | =over | ||
| 61 | |||
| 62 | =item * | ||
| 63 | |||
| 64 | C<access_logs.s3.enabled> - Indicates whether access logs are enabled. | ||
| 65 | The value is C<true> or C<false>. The default is C<false>. | ||
| 66 | |||
| 67 | =item * | ||
| 68 | |||
| 69 | C<access_logs.s3.bucket> - The name of the S3 bucket for the access | ||
| 70 | logs. This attribute is required if access logs are enabled. The bucket | ||
| 71 | must exist in the same region as the load balancer and have a bucket | ||
| 72 | policy that grants Elastic Load Balancing permissions to write to the | ||
| 73 | bucket. | ||
| 74 | |||
| 75 | =item * | ||
| 76 | |||
| 77 | C<access_logs.s3.prefix> - The prefix for the location in the S3 bucket | ||
| 78 | for the access logs. | ||
| 79 | |||
| 80 | =back | ||
| 81 | |||
| 82 | The following attributes are supported by only Application Load | ||
| 83 | Balancers: | ||
| 84 | |||
| 85 | =over | ||
| 86 | |||
| 87 | =item * | ||
| 88 | |||
| 89 | C<idle_timeout.timeout_seconds> - The idle timeout value, in seconds. | ||
| 90 | The valid range is 1-4000 seconds. The default is 60 seconds. | ||
| 91 | |||
| 92 | =item * | ||
| 93 | |||
| 94 | C<routing.http.desync_mitigation_mode> - Determines how the load | ||
| 95 | balancer handles requests that might pose a security risk to your | ||
| 96 | application. The possible values are C<monitor>, C<defensive>, and | ||
| 97 | C<strictest>. The default is C<defensive>. | ||
| 98 | |||
| 99 | =item * | ||
| 100 | |||
| 101 | C<routing.http.drop_invalid_header_fields.enabled> - Indicates whether | ||
| 102 | HTTP headers with invalid header fields are removed by the load | ||
| 103 | balancer (C<true>) or routed to targets (C<false>). The default is | ||
| 104 | C<false>. | ||
| 105 | |||
| 106 | =item * | ||
| 107 | |||
| 108 | C<routing.http2.enabled> - Indicates whether HTTP/2 is enabled. The | ||
| 109 | value is C<true> or C<false>. The default is C<true>. Elastic Load | ||
| 110 | Balancing requires that message header names contain only alphanumeric | ||
| 111 | characters and hyphens. | ||
| 112 | |||
| 113 | =item * | ||
| 114 | |||
| 115 | C<waf.fail_open.enabled> - Indicates whether to allow a WAF-enabled | ||
| 116 | load balancer to route requests to targets if it is unable to forward | ||
| 117 | the request to Amazon Web Services WAF. The value is C<true> or | ||
| 118 | C<false>. The default is C<false>. | ||
| 119 | |||
| 120 | =back | ||
| 121 | |||
| 122 | The following attribute is supported by Network Load Balancers and | ||
| 123 | Gateway Load Balancers: | ||
| 124 | |||
| 125 | =over | ||
| 126 | |||
| 127 | =item * | ||
| 128 | |||
| 129 | C<load_balancing.cross_zone.enabled> - Indicates whether cross-zone | ||
| 130 | load balancing is enabled. The value is C<true> or C<false>. The | ||
| 131 | default is C<false>. | ||
| 132 | |||
| 133 | =back | ||
| 134 | |||
| 135 | |||
| 136 | |||
| 137 | =head2 Value => Str | ||
| 138 | |||
| 139 | The value of the attribute. | ||
| 140 | |||
| 141 | |||
| 142 | |||
| 143 | =head1 SEE ALSO | ||
| 144 | |||
| 145 | This class forms part of L<Paws>, describing an object used in L<Paws::ELBv2> | ||
| 146 | |||
| 147 | =head1 BUGS and CONTRIBUTIONS | ||
| 148 | |||
| 149 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 150 | |||
| 151 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 152 | |||
| 153 | =cut | ||
| 154 |