File Coverage

blib/lib/Paws/DMS/CreateReplicationInstance.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::DMS::CreateReplicationInstance;
3 1     1   565 use Moose;
  1         3  
  1         6  
4             has AllocatedStorage => (is => 'ro', isa => 'Int');
5             has AutoMinorVersionUpgrade => (is => 'ro', isa => 'Bool');
6             has AvailabilityZone => (is => 'ro', isa => 'Str');
7             has EngineVersion => (is => 'ro', isa => 'Str');
8             has KmsKeyId => (is => 'ro', isa => 'Str');
9             has MultiAZ => (is => 'ro', isa => 'Bool');
10             has PreferredMaintenanceWindow => (is => 'ro', isa => 'Str');
11             has PubliclyAccessible => (is => 'ro', isa => 'Bool');
12             has ReplicationInstanceClass => (is => 'ro', isa => 'Str', required => 1);
13             has ReplicationInstanceIdentifier => (is => 'ro', isa => 'Str', required => 1);
14             has ReplicationSubnetGroupIdentifier => (is => 'ro', isa => 'Str');
15             has Tags => (is => 'ro', isa => 'ArrayRef[Paws::DMS::Tag]');
16             has VpcSecurityGroupIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
17              
18 1     1   6925 use MooseX::ClassAttribute;
  1         2  
  1         9  
19              
20             class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateReplicationInstance');
21             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::DMS::CreateReplicationInstanceResponse');
22             class_has _result_key => (isa => 'Str', is => 'ro');
23             1;
24              
25             ### main pod documentation begin ###
26              
27             =head1 NAME
28              
29             Paws::DMS::CreateReplicationInstance - Arguments for method CreateReplicationInstance on Paws::DMS
30              
31             =head1 DESCRIPTION
32              
33             This class represents the parameters used for calling the method CreateReplicationInstance on the
34             AWS Database Migration Service service. Use the attributes of this class
35             as arguments to method CreateReplicationInstance.
36              
37             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateReplicationInstance.
38              
39             As an example:
40              
41             $service_obj->CreateReplicationInstance(Att1 => $value1, Att2 => $value2, ...);
42              
43             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.
44              
45             =head1 ATTRIBUTES
46              
47              
48             =head2 AllocatedStorage => Int
49              
50             The amount of storage (in gigabytes) to be initially allocated for the
51             replication instance.
52              
53              
54              
55             =head2 AutoMinorVersionUpgrade => Bool
56              
57             Indicates that minor engine upgrades will be applied automatically to
58             the replication instance during the maintenance window.
59              
60             Default: C<true>
61              
62              
63              
64             =head2 AvailabilityZone => Str
65              
66             The EC2 Availability Zone that the replication instance will be created
67             in.
68              
69             Default: A random, system-chosen Availability Zone in the endpoint's
70             region.
71              
72             Example: C<us-east-1d>
73              
74              
75              
76             =head2 EngineVersion => Str
77              
78             The engine version number of the replication instance.
79              
80              
81              
82             =head2 KmsKeyId => Str
83              
84             The KMS key identifier that will be used to encrypt the content on the
85             replication instance. If you do not specify a value for the KmsKeyId
86             parameter, then AWS DMS will use your default encryption key. AWS KMS
87             creates the default encryption key for your AWS account. Your AWS
88             account has a different default encryption key for each AWS region.
89              
90              
91              
92             =head2 MultiAZ => Bool
93              
94             Specifies if the replication instance is a Multi-AZ deployment. You
95             cannot set the C<AvailabilityZone> parameter if the Multi-AZ parameter
96             is set to C<true>.
97              
98              
99              
100             =head2 PreferredMaintenanceWindow => Str
101              
102             The weekly time range during which system maintenance can occur, in
103             Universal Coordinated Time (UTC).
104              
105             Format: C<ddd:hh24:mi-ddd:hh24:mi>
106              
107             Default: A 30-minute window selected at random from an 8-hour block of
108             time per region, occurring on a random day of the week.
109              
110             Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun
111              
112             Constraints: Minimum 30-minute window.
113              
114              
115              
116             =head2 PubliclyAccessible => Bool
117              
118             Specifies the accessibility options for the replication instance. A
119             value of C<true> represents an instance with a public IP address. A
120             value of C<false> represents an instance with a private IP address. The
121             default value is C<true>.
122              
123              
124              
125             =head2 B<REQUIRED> ReplicationInstanceClass => Str
126              
127             The compute and memory capacity of the replication instance as
128             specified by the replication instance class.
129              
130             Valid Values: C<dms.t2.micro | dms.t2.small | dms.t2.medium |
131             dms.t2.large | dms.c4.large | dms.c4.xlarge | dms.c4.2xlarge |
132             dms.c4.4xlarge>
133              
134              
135              
136             =head2 B<REQUIRED> ReplicationInstanceIdentifier => Str
137              
138             The replication instance identifier. This parameter is stored as a
139             lowercase string.
140              
141             Constraints:
142              
143             =over
144              
145             =item *
146              
147             Must contain from 1 to 63 alphanumeric characters or hyphens.
148              
149             =item *
150              
151             First character must be a letter.
152              
153             =item *
154              
155             Cannot end with a hyphen or contain two consecutive hyphens.
156              
157             =back
158              
159             Example: C<myrepinstance>
160              
161              
162              
163             =head2 ReplicationSubnetGroupIdentifier => Str
164              
165             A subnet group to associate with the replication instance.
166              
167              
168              
169             =head2 Tags => ArrayRef[L<Paws::DMS::Tag>]
170              
171             Tags to be associated with the replication instance.
172              
173              
174              
175             =head2 VpcSecurityGroupIds => ArrayRef[Str|Undef]
176              
177             Specifies the VPC security group to be used with the replication
178             instance. The VPC security group must work with the VPC containing the
179             replication instance.
180              
181              
182              
183              
184             =head1 SEE ALSO
185              
186             This class forms part of L<Paws>, documenting arguments for method CreateReplicationInstance in L<Paws::DMS>
187              
188             =head1 BUGS and CONTRIBUTIONS
189              
190             The source code is located here: https://github.com/pplu/aws-sdk-perl
191              
192             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
193              
194             =cut
195