File Coverage

blib/lib/Paws/DS/AddIpRoutes.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::DS::AddIpRoutes;
3 1     1   310 use Moose;
  1         2  
  1         7  
4             has DirectoryId => (is => 'ro', isa => 'Str', required => 1);
5             has IpRoutes => (is => 'ro', isa => 'ArrayRef[Paws::DS::IpRoute]', required => 1);
6             has UpdateSecurityGroupForDirectoryControllers => (is => 'ro', isa => 'Bool');
7              
8 1     1   5822 use MooseX::ClassAttribute;
  1         4  
  1         14  
9              
10             class_has _api_call => (isa => 'Str', is => 'ro', default => 'AddIpRoutes');
11             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::DS::AddIpRoutesResult');
12             class_has _result_key => (isa => 'Str', is => 'ro');
13             1;
14              
15             ### main pod documentation begin ###
16              
17             =head1 NAME
18              
19             Paws::DS::AddIpRoutes - Arguments for method AddIpRoutes on Paws::DS
20              
21             =head1 DESCRIPTION
22              
23             This class represents the parameters used for calling the method AddIpRoutes on the
24             AWS Directory Service service. Use the attributes of this class
25             as arguments to method AddIpRoutes.
26              
27             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to AddIpRoutes.
28              
29             As an example:
30              
31             $service_obj->AddIpRoutes(Att1 => $value1, Att2 => $value2, ...);
32              
33             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.
34              
35             =head1 ATTRIBUTES
36              
37              
38             =head2 B<REQUIRED> DirectoryId => Str
39              
40             Identifier (ID) of the directory to which to add the address block.
41              
42              
43              
44             =head2 B<REQUIRED> IpRoutes => ArrayRef[L<Paws::DS::IpRoute>]
45              
46             IP address blocks, using CIDR format, of the traffic to route. This is
47             often the IP address block of the DNS server used for your on-premises
48             domain.
49              
50              
51              
52             =head2 UpdateSecurityGroupForDirectoryControllers => Bool
53              
54             If set to true, updates the inbound and outbound rules of the security
55             group that has the description: "AWS created security group for
56             I<directory ID> directory controllers." Following are the new rules:
57              
58             Inbound:
59              
60             =over
61              
62             =item *
63              
64             Type: Custom UDP Rule, Protocol: UDP, Range: 88, Source: 0.0.0.0/0
65              
66             =item *
67              
68             Type: Custom UDP Rule, Protocol: UDP, Range: 123, Source: 0.0.0.0/0
69              
70             =item *
71              
72             Type: Custom UDP Rule, Protocol: UDP, Range: 138, Source: 0.0.0.0/0
73              
74             =item *
75              
76             Type: Custom UDP Rule, Protocol: UDP, Range: 389, Source: 0.0.0.0/0
77              
78             =item *
79              
80             Type: Custom UDP Rule, Protocol: UDP, Range: 464, Source: 0.0.0.0/0
81              
82             =item *
83              
84             Type: Custom UDP Rule, Protocol: UDP, Range: 445, Source: 0.0.0.0/0
85              
86             =item *
87              
88             Type: Custom TCP Rule, Protocol: TCP, Range: 88, Source: 0.0.0.0/0
89              
90             =item *
91              
92             Type: Custom TCP Rule, Protocol: TCP, Range: 135, Source: 0.0.0.0/0
93              
94             =item *
95              
96             Type: Custom TCP Rule, Protocol: TCP, Range: 445, Source: 0.0.0.0/0
97              
98             =item *
99              
100             Type: Custom TCP Rule, Protocol: TCP, Range: 464, Source: 0.0.0.0/0
101              
102             =item *
103              
104             Type: Custom TCP Rule, Protocol: TCP, Range: 636, Source: 0.0.0.0/0
105              
106             =item *
107              
108             Type: Custom TCP Rule, Protocol: TCP, Range: 1024-65535, Source:
109             0.0.0.0/0
110              
111             =item *
112              
113             Type: Custom TCP Rule, Protocol: TCP, Range: 3268-33269, Source:
114             0.0.0.0/0
115              
116             =item *
117              
118             Type: DNS (UDP), Protocol: UDP, Range: 53, Source: 0.0.0.0/0
119              
120             =item *
121              
122             Type: DNS (TCP), Protocol: TCP, Range: 53, Source: 0.0.0.0/0
123              
124             =item *
125              
126             Type: LDAP, Protocol: TCP, Range: 389, Source: 0.0.0.0/0
127              
128             =item *
129              
130             Type: All ICMP, Protocol: All, Range: N/A, Source: 0.0.0.0/0
131              
132             =back
133              
134             Outbound:
135              
136             =over
137              
138             =item *
139              
140             Type: All traffic, Protocol: All, Range: All, Destination: 0.0.0.0/0
141              
142             =back
143              
144             These security rules impact an internal network interface that is not
145             exposed publicly.
146              
147              
148              
149              
150             =head1 SEE ALSO
151              
152             This class forms part of L<Paws>, documenting arguments for method AddIpRoutes in L<Paws::DS>
153              
154             =head1 BUGS and CONTRIBUTIONS
155              
156             The source code is located here: https://github.com/pplu/aws-sdk-perl
157              
158             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
159              
160             =cut
161