line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
package Paws::ELBv2::CreateTargetGroup; |
3
|
1
|
|
|
1
|
|
673
|
use Moose; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
9
|
|
4
|
|
|
|
|
|
|
has HealthCheckIntervalSeconds => (is => 'ro', isa => 'Int'); |
5
|
|
|
|
|
|
|
has HealthCheckPath => (is => 'ro', isa => 'Str'); |
6
|
|
|
|
|
|
|
has HealthCheckPort => (is => 'ro', isa => 'Str'); |
7
|
|
|
|
|
|
|
has HealthCheckProtocol => (is => 'ro', isa => 'Str'); |
8
|
|
|
|
|
|
|
has HealthCheckTimeoutSeconds => (is => 'ro', isa => 'Int'); |
9
|
|
|
|
|
|
|
has HealthyThresholdCount => (is => 'ro', isa => 'Int'); |
10
|
|
|
|
|
|
|
has Matcher => (is => 'ro', isa => 'Paws::ELBv2::Matcher'); |
11
|
|
|
|
|
|
|
has Name => (is => 'ro', isa => 'Str', required => 1); |
12
|
|
|
|
|
|
|
has Port => (is => 'ro', isa => 'Int', required => 1); |
13
|
|
|
|
|
|
|
has Protocol => (is => 'ro', isa => 'Str', required => 1); |
14
|
|
|
|
|
|
|
has UnhealthyThresholdCount => (is => 'ro', isa => 'Int'); |
15
|
|
|
|
|
|
|
has VpcId => (is => 'ro', isa => 'Str', required => 1); |
16
|
|
|
|
|
|
|
|
17
|
1
|
|
|
1
|
|
7797
|
use MooseX::ClassAttribute; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
13
|
|
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateTargetGroup'); |
20
|
|
|
|
|
|
|
class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::ELBv2::CreateTargetGroupOutput'); |
21
|
|
|
|
|
|
|
class_has _result_key => (isa => 'Str', is => 'ro', default => 'CreateTargetGroupResult'); |
22
|
|
|
|
|
|
|
1; |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
### main pod documentation begin ### |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=head1 NAME |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
Paws::ELBv2::CreateTargetGroup - Arguments for method CreateTargetGroup on Paws::ELBv2 |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=head1 DESCRIPTION |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
This class represents the parameters used for calling the method CreateTargetGroup on the |
33
|
|
|
|
|
|
|
Elastic Load Balancing service. Use the attributes of this class |
34
|
|
|
|
|
|
|
as arguments to method CreateTargetGroup. |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateTargetGroup. |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
As an example: |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
$service_obj->CreateTargetGroup(Att1 => $value1, Att2 => $value2, ...); |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
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. |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
=head2 HealthCheckIntervalSeconds => Int |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
The approximate amount of time, in seconds, between health checks of an |
50
|
|
|
|
|
|
|
individual target. The default is 30 seconds. |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
=head2 HealthCheckPath => Str |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
The ping path that is the destination on the targets for health checks. |
57
|
|
|
|
|
|
|
The default is /. |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
=head2 HealthCheckPort => Str |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
The port the load balancer uses when performing health checks on |
64
|
|
|
|
|
|
|
targets. The default is C<traffic-port>, which indicates the port on |
65
|
|
|
|
|
|
|
which each target receives traffic from the load balancer. |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
=head2 HealthCheckProtocol => Str |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
The protocol the load balancer uses when performing health checks on |
72
|
|
|
|
|
|
|
targets. The default is the HTTP protocol. |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
Valid values are: C<"HTTP">, C<"HTTPS"> |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
=head2 HealthCheckTimeoutSeconds => Int |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
The amount of time, in seconds, during which no response from a target |
79
|
|
|
|
|
|
|
means a failed health check. The default is 5 seconds. |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
=head2 HealthyThresholdCount => Int |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
The number of consecutive health checks successes required before |
86
|
|
|
|
|
|
|
considering an unhealthy target healthy. The default is 5. |
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
=head2 Matcher => L<Paws::ELBv2::Matcher> |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
The HTTP codes to use when checking for a successful response from a |
93
|
|
|
|
|
|
|
target. The default is 200. |
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
=head2 B<REQUIRED> Name => Str |
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
The name of the target group. |
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
This name must be unique per region per account, can have a maximum of |
102
|
|
|
|
|
|
|
32 characters, must contain only alphanumeric characters or hyphens, |
103
|
|
|
|
|
|
|
and must not begin or end with a hyphen. |
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
=head2 B<REQUIRED> Port => Int |
108
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
The port on which the targets receive traffic. This port is used unless |
110
|
|
|
|
|
|
|
you specify a port override when registering the target. |
111
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
|
114
|
|
|
|
|
|
|
=head2 B<REQUIRED> Protocol => Str |
115
|
|
|
|
|
|
|
|
116
|
|
|
|
|
|
|
The protocol to use for routing traffic to the targets. |
117
|
|
|
|
|
|
|
|
118
|
|
|
|
|
|
|
Valid values are: C<"HTTP">, C<"HTTPS"> |
119
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
=head2 UnhealthyThresholdCount => Int |
121
|
|
|
|
|
|
|
|
122
|
|
|
|
|
|
|
The number of consecutive health check failures required before |
123
|
|
|
|
|
|
|
considering a target unhealthy. The default is 2. |
124
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
|
126
|
|
|
|
|
|
|
|
127
|
|
|
|
|
|
|
=head2 B<REQUIRED> VpcId => Str |
128
|
|
|
|
|
|
|
|
129
|
|
|
|
|
|
|
The identifier of the virtual private cloud (VPC). |
130
|
|
|
|
|
|
|
|
131
|
|
|
|
|
|
|
|
132
|
|
|
|
|
|
|
|
133
|
|
|
|
|
|
|
|
134
|
|
|
|
|
|
|
=head1 SEE ALSO |
135
|
|
|
|
|
|
|
|
136
|
|
|
|
|
|
|
This class forms part of L<Paws>, documenting arguments for method CreateTargetGroup in L<Paws::ELBv2> |
137
|
|
|
|
|
|
|
|
138
|
|
|
|
|
|
|
=head1 BUGS and CONTRIBUTIONS |
139
|
|
|
|
|
|
|
|
140
|
|
|
|
|
|
|
The source code is located here: https://github.com/pplu/aws-sdk-perl |
141
|
|
|
|
|
|
|
|
142
|
|
|
|
|
|
|
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues |
143
|
|
|
|
|
|
|
|
144
|
|
|
|
|
|
|
=cut |
145
|
|
|
|
|
|
|
|