blib/lib/Paws/EC2/VpnTunnelOptionsSpecification.pm untested

filter: Statementstmt 0.0% 0 / 28 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 29 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 package Paws::EC2::VpnTunnelOptionsSpecification;
2 use Moose;
3 has DPDTimeoutAction => (is => 'ro', isa => 'Str');
4 has DPDTimeoutSeconds => (is => 'ro', isa => 'Int');
5 has IKEVersions => (is => 'ro', isa => 'ArrayRef[Paws::EC2::IKEVersionsRequestListValue]', request_name => 'IKEVersion', traits => ['NameInRequest']);
6 has Phase1DHGroupNumbers => (is => 'ro', isa => 'ArrayRef[Paws::EC2::Phase1DHGroupNumbersRequestListValue]', request_name => 'Phase1DHGroupNumber', traits => ['NameInRequest']);
7 has Phase1EncryptionAlgorithms => (is => 'ro', isa => 'ArrayRef[Paws::EC2::Phase1EncryptionAlgorithmsRequestListValue]', request_name => 'Phase1EncryptionAlgorithm', traits => ['NameInRequest']);
8 has Phase1IntegrityAlgorithms => (is => 'ro', isa => 'ArrayRef[Paws::EC2::Phase1IntegrityAlgorithmsRequestListValue]', request_name => 'Phase1IntegrityAlgorithm', traits => ['NameInRequest']);
9 has Phase1LifetimeSeconds => (is => 'ro', isa => 'Int');
10 has Phase2DHGroupNumbers => (is => 'ro', isa => 'ArrayRef[Paws::EC2::Phase2DHGroupNumbersRequestListValue]', request_name => 'Phase2DHGroupNumber', traits => ['NameInRequest']);
11 has Phase2EncryptionAlgorithms => (is => 'ro', isa => 'ArrayRef[Paws::EC2::Phase2EncryptionAlgorithmsRequestListValue]', request_name => 'Phase2EncryptionAlgorithm', traits => ['NameInRequest']);
12 has Phase2IntegrityAlgorithms => (is => 'ro', isa => 'ArrayRef[Paws::EC2::Phase2IntegrityAlgorithmsRequestListValue]', request_name => 'Phase2IntegrityAlgorithm', traits => ['NameInRequest']);
13 has Phase2LifetimeSeconds => (is => 'ro', isa => 'Int');
14 has PreSharedKey => (is => 'ro', isa => 'Str');
15 has RekeyFuzzPercentage => (is => 'ro', isa => 'Int');
16 has RekeyMarginTimeSeconds => (is => 'ro', isa => 'Int');
17 has ReplayWindowSize => (is => 'ro', isa => 'Int');
18 has StartupAction => (is => 'ro', isa => 'Str');
19 has TunnelInsideCidr => (is => 'ro', isa => 'Str');
20 has TunnelInsideIpv6Cidr => (is => 'ro', isa => 'Str');
21 1;
22  
23 ### main pod documentation begin ###
24  
25 =head1 NAME
26  
27 Paws::EC2::VpnTunnelOptionsSpecification
28  
29 =head1 USAGE
30  
31 This class represents one of two things:
32  
33 =head3 Arguments in a call to a service
34  
35 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
36 Each attribute should be used as a named argument in the calls that expect this type of object.
37  
38 As an example, if Att1 is expected to be a Paws::EC2::VpnTunnelOptionsSpecification object:
39  
40 $service_obj->Method(Att1 => { DPDTimeoutAction => $value, ..., TunnelInsideIpv6Cidr => $value });
41  
42 =head3 Results returned from an API call
43  
44 Use accessors for each attribute. If Att1 is expected to be an Paws::EC2::VpnTunnelOptionsSpecification object:
45  
46 $result = $service_obj->Method(...);
47 $result->Att1->DPDTimeoutAction
48  
49 =head1 DESCRIPTION
50  
51 This class has no description
52  
53 =head1 ATTRIBUTES
54  
55  
56 =head2 DPDTimeoutAction => Str
57  
58 The action to take after DPD timeout occurs. Specify C<restart> to
59 restart the IKE initiation. Specify C<clear> to end the IKE session.
60  
61 Valid Values: C<clear> | C<none> | C<restart>
62  
63 Default: C<clear>
64  
65  
66 =head2 DPDTimeoutSeconds => Int
67  
68 The number of seconds after which a DPD timeout occurs.
69  
70 Constraints: A value between 0 and 30.
71  
72 Default: C<30>
73  
74  
75 =head2 IKEVersions => ArrayRef[L<Paws::EC2::IKEVersionsRequestListValue>]
76  
77 The IKE versions that are permitted for the VPN tunnel.
78  
79 Valid values: C<ikev1> | C<ikev2>
80  
81  
82 =head2 Phase1DHGroupNumbers => ArrayRef[L<Paws::EC2::Phase1DHGroupNumbersRequestListValue>]
83  
84 One or more Diffie-Hellman group numbers that are permitted for the VPN
85 tunnel for phase 1 IKE negotiations.
86  
87 Valid values: C<2> | C<14> | C<15> | C<16> | C<17> | C<18> | C<19> |
88 C<20> | C<21> | C<22> | C<23> | C<24>
89  
90  
91 =head2 Phase1EncryptionAlgorithms => ArrayRef[L<Paws::EC2::Phase1EncryptionAlgorithmsRequestListValue>]
92  
93 One or more encryption algorithms that are permitted for the VPN tunnel
94 for phase 1 IKE negotiations.
95  
96 Valid values: C<AES128> | C<AES256> | C<AES128-GCM-16> |
97 C<AES256-GCM-16>
98  
99  
100 =head2 Phase1IntegrityAlgorithms => ArrayRef[L<Paws::EC2::Phase1IntegrityAlgorithmsRequestListValue>]
101  
102 One or more integrity algorithms that are permitted for the VPN tunnel
103 for phase 1 IKE negotiations.
104  
105 Valid values: C<SHA1> | C<SHA2-256> | C<SHA2-384> | C<SHA2-512>
106  
107  
108 =head2 Phase1LifetimeSeconds => Int
109  
110 The lifetime for phase 1 of the IKE negotiation, in seconds.
111  
112 Constraints: A value between 900 and 28,800.
113  
114 Default: C<28800>
115  
116  
117 =head2 Phase2DHGroupNumbers => ArrayRef[L<Paws::EC2::Phase2DHGroupNumbersRequestListValue>]
118  
119 One or more Diffie-Hellman group numbers that are permitted for the VPN
120 tunnel for phase 2 IKE negotiations.
121  
122 Valid values: C<2> | C<5> | C<14> | C<15> | C<16> | C<17> | C<18> |
123 C<19> | C<20> | C<21> | C<22> | C<23> | C<24>
124  
125  
126 =head2 Phase2EncryptionAlgorithms => ArrayRef[L<Paws::EC2::Phase2EncryptionAlgorithmsRequestListValue>]
127  
128 One or more encryption algorithms that are permitted for the VPN tunnel
129 for phase 2 IKE negotiations.
130  
131 Valid values: C<AES128> | C<AES256> | C<AES128-GCM-16> |
132 C<AES256-GCM-16>
133  
134  
135 =head2 Phase2IntegrityAlgorithms => ArrayRef[L<Paws::EC2::Phase2IntegrityAlgorithmsRequestListValue>]
136  
137 One or more integrity algorithms that are permitted for the VPN tunnel
138 for phase 2 IKE negotiations.
139  
140 Valid values: C<SHA1> | C<SHA2-256> | C<SHA2-384> | C<SHA2-512>
141  
142  
143 =head2 Phase2LifetimeSeconds => Int
144  
145 The lifetime for phase 2 of the IKE negotiation, in seconds.
146  
147 Constraints: A value between 900 and 3,600. The value must be less than
148 the value for C<Phase1LifetimeSeconds>.
149  
150 Default: C<3600>
151  
152  
153 =head2 PreSharedKey => Str
154  
155 The pre-shared key (PSK) to establish initial authentication between
156 the virtual private gateway and customer gateway.
157  
158 Constraints: Allowed characters are alphanumeric characters, periods
159 (.), and underscores (_). Must be between 8 and 64 characters in length
160 and cannot start with zero (0).
161  
162  
163 =head2 RekeyFuzzPercentage => Int
164  
165 The percentage of the rekey window (determined by
166 C<RekeyMarginTimeSeconds>) during which the rekey time is randomly
167 selected.
168  
169 Constraints: A value between 0 and 100.
170  
171 Default: C<100>
172  
173  
174 =head2 RekeyMarginTimeSeconds => Int
175  
176 The margin time, in seconds, before the phase 2 lifetime expires,
177 during which the AWS side of the VPN connection performs an IKE rekey.
178 The exact time of the rekey is randomly selected based on the value for
179 C<RekeyFuzzPercentage>.
180  
181 Constraints: A value between 60 and half of C<Phase2LifetimeSeconds>.
182  
183 Default: C<540>
184  
185  
186 =head2 ReplayWindowSize => Int
187  
188 The number of packets in an IKE replay window.
189  
190 Constraints: A value between 64 and 2048.
191  
192 Default: C<1024>
193  
194  
195 =head2 StartupAction => Str
196  
197 The action to take when the establishing the tunnel for the VPN
198 connection. By default, your customer gateway device must initiate the
199 IKE negotiation and bring up the tunnel. Specify C<start> for AWS to
200 initiate the IKE negotiation.
201  
202 Valid Values: C<add> | C<start>
203  
204 Default: C<add>
205  
206  
207 =head2 TunnelInsideCidr => Str
208  
209 The range of inside IPv4 addresses for the tunnel. Any specified CIDR
210 blocks must be unique across all VPN connections that use the same
211 virtual private gateway.
212  
213 Constraints: A size /30 CIDR block from the C<169.254.0.0/16> range.
214 The following CIDR blocks are reserved and cannot be used:
215  
216 =over
217  
218 =item *
219  
220 C<169.254.0.0/30>
221  
222 =item *
223  
224 C<169.254.1.0/30>
225  
226 =item *
227  
228 C<169.254.2.0/30>
229  
230 =item *
231  
232 C<169.254.3.0/30>
233  
234 =item *
235  
236 C<169.254.4.0/30>
237  
238 =item *
239  
240 C<169.254.5.0/30>
241  
242 =item *
243  
244 C<169.254.169.252/30>
245  
246 =back
247  
248  
249  
250 =head2 TunnelInsideIpv6Cidr => Str
251  
252 The range of inside IPv6 addresses for the tunnel. Any specified CIDR
253 blocks must be unique across all VPN connections that use the same
254 transit gateway.
255  
256 Constraints: A size /126 CIDR block from the local C<fd00::/8> range.
257  
258  
259  
260 =head1 SEE ALSO
261  
262 This class forms part of L<Paws>, describing an object used in L<Paws::EC2>
263  
264 =head1 BUGS and CONTRIBUTIONS
265  
266 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
267  
268 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
269  
270 =cut