Cfn/Resource/AWS/DynamoDB/Table.pm

filter: Statementstmt 84.6% 188 / 222 Branchbran 27.7% 10 / 36 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 77.3% 41 / 53 Podpod 0.0% 0 / 2 totaltotal 76.3% 239 / 313 CC 19 SCAR 9.1
CC
19
Cov
77%
__ANON__
6.0
__ANON__
6.0
__ANON__
6.0
CRAP 2.5
« Cfn/Resource/AWS/Pinpoint/PushTemplate.pm ↑ Summary Cfn/Resource/AWS/CodeCommit/Repository.pm »
1 # AWS::DynamoDB::Table generated from spec 18.4.0
2 4 ▶use Moose::Util::TypeConstraints;
Subroutine BEGIN: called CC=1 SCAR=0.0
3  
4 coerce 'Cfn::Resource::Properties::AWS::DynamoDB::Table',
5 from 'HashRef',
6 12 ▶ via { Cfn::Resource::Properties::AWS::DynamoDB::Table->new( %$_ ) };
Subroutine __ANON__: called CC=1 SCAR=0.0
7  
8 4 package Cfn::Resource::AWS::DynamoDB::Table {
9 4 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
10 4 extends 'Cfn::Resource';
11 4 has Properties => (isa => 'Cfn::Resource::Properties::AWS::DynamoDB::Table', is => 'rw', coerce => 1);
12
13 sub AttributeList {
14 1 ▶ [ 'Arn','StreamArn' ]
Subroutine AttributeList: called CC=1 SCAR=0.0
Pod undocumented
15 }
16 sub supported_regions {
17 1 ▶ [ 'af-south-1','ap-east-1','ap-northeast-1','ap-northeast-2','ap-northeast-3','ap-south-1','ap-southeast-1','ap-southeast-2','ca-central-1','cn-north-1','cn-northwest-1','eu-central-1','eu-north-1','eu-south-1','eu-west-1','eu-west-2','eu-west-3','me-south-1','sa-east-1','us-east-1','us-east-2','us-gov-east-1','us-gov-west-1','us-west-1','us-west-2' ]
Subroutine supported_regions: called CC=1 SCAR=0.0
Pod undocumented
18 }
19 }
20  
21  
22  
23 4 subtype 'Cfn::Resource::Properties::AWS::DynamoDB::Table::ProvisionedThroughput',
24 as 'Cfn::Value';
25  
26 coerce 'Cfn::Resource::Properties::AWS::DynamoDB::Table::ProvisionedThroughput',
27 from 'HashRef',
28 via {
29 20 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: called CC=2 SCAR=8.1
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 20 20
30 0 return $f
31 } else {
32 20 return Cfn::Resource::Properties::Object::AWS::DynamoDB::Table::ProvisionedThroughput->new( %$_ );
33 }
34 4 };
35  
36 4 package Cfn::Resource::Properties::Object::AWS::DynamoDB::Table::ProvisionedThroughput {
37 4 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
38 4 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
39 4 extends 'Cfn::Value::TypedValue';
40
41 4 has ReadCapacityUnits => (isa => 'Cfn::Value::Long', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
42 4 has WriteCapacityUnits => (isa => 'Cfn::Value::Long', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
43 }
44  
45 4 subtype 'Cfn::Resource::Properties::AWS::DynamoDB::Table::Projection',
46 as 'Cfn::Value';
47  
48 coerce 'Cfn::Resource::Properties::AWS::DynamoDB::Table::Projection',
49 from 'HashRef',
50 via {
51 12 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: called CC=2 SCAR=8.1
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 12 12
52 0 return $f
53 } else {
54 12 return Cfn::Resource::Properties::Object::AWS::DynamoDB::Table::Projection->new( %$_ );
55 }
56 4 };
57  
58 4 package Cfn::Resource::Properties::Object::AWS::DynamoDB::Table::Projection {
59 4 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
60 4 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
61 4 extends 'Cfn::Value::TypedValue';
62
63 4 has NonKeyAttributes => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
64 4 has ProjectionType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
65 }
66 subtype 'ArrayOfCfn::Resource::Properties::AWS::DynamoDB::Table::KeySchema',
67 as 'Cfn::Value',
68 24 ▶ where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') },
Subroutine __ANON__: called CC=2 SCAR=7.6
Branch: 1 branch
BranchTrueFalseTotal
$_->isa("Cfn::Value::Array") or $_->isa("Cfn::Value::Function") 0 24 24
69 0 ▶message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
Subroutine __ANON__: not called CC=1 SCAR=1.2
70  
71 coerce 'ArrayOfCfn::Resource::Properties::AWS::DynamoDB::Table::KeySchema',
72 from 'HashRef',
73 via {
74 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
75 0 return $f
76 } else {
77 0 die 'Only accepts functions';
78 }
79 },
80 from 'ArrayRef',
81 via {
82 Cfn::Value::Array->new(Value => [
83 map {
84 24 ▶ Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::DynamoDB::Table::KeySchema')->coerce($_)
Subroutine __ANON__: called CC=1 SCAR=0.0
85 } @$_
86 ]);
87 4 };
88  
89 4 subtype 'Cfn::Resource::Properties::AWS::DynamoDB::Table::KeySchema',
90 as 'Cfn::Value';
91  
92 coerce 'Cfn::Resource::Properties::AWS::DynamoDB::Table::KeySchema',
93 from 'HashRef',
94 via {
95 40 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: called CC=2 SCAR=8.1
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 40 40
96 0 return $f
97 } else {
98 40 return Cfn::Resource::Properties::Object::AWS::DynamoDB::Table::KeySchema->new( %$_ );
99 }
100 4 };
101  
102 4 package Cfn::Resource::Properties::Object::AWS::DynamoDB::Table::KeySchema {
103 4 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
104 4 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
105 4 extends 'Cfn::Value::TypedValue';
106
107 4 has AttributeName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
108 4 has KeyType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
109 }
110  
111 4 subtype 'Cfn::Resource::Properties::AWS::DynamoDB::Table::TimeToLiveSpecification',
112 as 'Cfn::Value';
113  
114 coerce 'Cfn::Resource::Properties::AWS::DynamoDB::Table::TimeToLiveSpecification',
115 from 'HashRef',
116 via {
117 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
118 0 return $f
119 } else {
120 0 return Cfn::Resource::Properties::Object::AWS::DynamoDB::Table::TimeToLiveSpecification->new( %$_ );
121 }
122 4 };
123  
124 4 package Cfn::Resource::Properties::Object::AWS::DynamoDB::Table::TimeToLiveSpecification {
125 4 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
126 4 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
127 4 extends 'Cfn::Value::TypedValue';
128
129 4 has AttributeName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
130 4 has Enabled => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
131 }
132  
133 4 subtype 'Cfn::Resource::Properties::AWS::DynamoDB::Table::StreamSpecification',
134 as 'Cfn::Value';
135  
136 coerce 'Cfn::Resource::Properties::AWS::DynamoDB::Table::StreamSpecification',
137 from 'HashRef',
138 via {
139 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
140 0 return $f
141 } else {
142 0 return Cfn::Resource::Properties::Object::AWS::DynamoDB::Table::StreamSpecification->new( %$_ );
143 }
144 4 };
145  
146 4 package Cfn::Resource::Properties::Object::AWS::DynamoDB::Table::StreamSpecification {
147 4 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
148 4 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
149 4 extends 'Cfn::Value::TypedValue';
150
151 4 has StreamViewType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
152 }
153  
154 4 subtype 'Cfn::Resource::Properties::AWS::DynamoDB::Table::SSESpecification',
155 as 'Cfn::Value';
156  
157 coerce 'Cfn::Resource::Properties::AWS::DynamoDB::Table::SSESpecification',
158 from 'HashRef',
159 via {
160 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
161 0 return $f
162 } else {
163 0 return Cfn::Resource::Properties::Object::AWS::DynamoDB::Table::SSESpecification->new( %$_ );
164 }
165 4 };
166  
167 4 package Cfn::Resource::Properties::Object::AWS::DynamoDB::Table::SSESpecification {
168 4 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
169 4 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
170 4 extends 'Cfn::Value::TypedValue';
171
172 4 has KMSMasterKeyId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
173 4 has SSEEnabled => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
174 4 has SSEType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
175 }
176  
177 4 subtype 'Cfn::Resource::Properties::AWS::DynamoDB::Table::PointInTimeRecoverySpecification',
178 as 'Cfn::Value';
179  
180 coerce 'Cfn::Resource::Properties::AWS::DynamoDB::Table::PointInTimeRecoverySpecification',
181 from 'HashRef',
182 via {
183 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
184 0 return $f
185 } else {
186 0 return Cfn::Resource::Properties::Object::AWS::DynamoDB::Table::PointInTimeRecoverySpecification->new( %$_ );
187 }
188 4 };
189  
190 4 package Cfn::Resource::Properties::Object::AWS::DynamoDB::Table::PointInTimeRecoverySpecification {
191 4 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
192 4 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
193 4 extends 'Cfn::Value::TypedValue';
194
195 4 has PointInTimeRecoveryEnabled => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
196 }
197 subtype 'ArrayOfCfn::Resource::Properties::AWS::DynamoDB::Table::LocalSecondaryIndex',
198 as 'Cfn::Value',
199 4 ▶ where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') },
Subroutine __ANON__: called CC=2 SCAR=7.6
Branch: 1 branch
BranchTrueFalseTotal
$_->isa("Cfn::Value::Array") or $_->isa("Cfn::Value::Function") 0 4 4
200 0 ▶message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
Subroutine __ANON__: not called CC=1 SCAR=1.2
201  
202 coerce 'ArrayOfCfn::Resource::Properties::AWS::DynamoDB::Table::LocalSecondaryIndex',
203 from 'HashRef',
204 via {
205 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
206 0 return $f
207 } else {
208 0 die 'Only accepts functions';
209 }
210 },
211 from 'ArrayRef',
212 via {
213 Cfn::Value::Array->new(Value => [
214 map {
215 4 ▶ Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::DynamoDB::Table::LocalSecondaryIndex')->coerce($_)
Subroutine __ANON__: called CC=1 SCAR=0.0
216 } @$_
217 ]);
218 4 };
219  
220 4 subtype 'Cfn::Resource::Properties::AWS::DynamoDB::Table::LocalSecondaryIndex',
221 as 'Cfn::Value';
222  
223 coerce 'Cfn::Resource::Properties::AWS::DynamoDB::Table::LocalSecondaryIndex',
224 from 'HashRef',
225 via {
226 4 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: called CC=2 SCAR=8.1
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 4 4
227 0 return $f
228 } else {
229 4 return Cfn::Resource::Properties::Object::AWS::DynamoDB::Table::LocalSecondaryIndex->new( %$_ );
230 }
231 4 };
232  
233 4 package Cfn::Resource::Properties::Object::AWS::DynamoDB::Table::LocalSecondaryIndex {
234 4 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
235 4 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
236 4 extends 'Cfn::Value::TypedValue';
237
238 4 has IndexName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
239 4 has KeySchema => (isa => 'ArrayOfCfn::Resource::Properties::AWS::DynamoDB::Table::KeySchema', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
240 4 has Projection => (isa => 'Cfn::Resource::Properties::AWS::DynamoDB::Table::Projection', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
241 }
242 subtype 'ArrayOfCfn::Resource::Properties::AWS::DynamoDB::Table::GlobalSecondaryIndex',
243 as 'Cfn::Value',
244 6 ▶ where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') },
Subroutine __ANON__: called CC=2 SCAR=7.6
Branch: 1 branch
BranchTrueFalseTotal
$_->isa("Cfn::Value::Array") or $_->isa("Cfn::Value::Function") 0 6 6
245 0 ▶message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
Subroutine __ANON__: not called CC=1 SCAR=1.2
246  
247 coerce 'ArrayOfCfn::Resource::Properties::AWS::DynamoDB::Table::GlobalSecondaryIndex',
248 from 'HashRef',
249 via {
250 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
251 0 return $f
252 } else {
253 0 die 'Only accepts functions';
254 }
255 },
256 from 'ArrayRef',
257 via {
258 Cfn::Value::Array->new(Value => [
259 map {
260 6 ▶ Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::DynamoDB::Table::GlobalSecondaryIndex')->coerce($_)
Subroutine __ANON__: called CC=1 SCAR=0.0
261 } @$_
262 ]);
263 4 };
264  
265 4 subtype 'Cfn::Resource::Properties::AWS::DynamoDB::Table::GlobalSecondaryIndex',
266 as 'Cfn::Value';
267  
268 coerce 'Cfn::Resource::Properties::AWS::DynamoDB::Table::GlobalSecondaryIndex',
269 from 'HashRef',
270 via {
271 8 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: called CC=2 SCAR=8.1
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 8 8
272 0 return $f
273 } else {
274 8 return Cfn::Resource::Properties::Object::AWS::DynamoDB::Table::GlobalSecondaryIndex->new( %$_ );
275 }
276 4 };
277  
278 4 package Cfn::Resource::Properties::Object::AWS::DynamoDB::Table::GlobalSecondaryIndex {
279 4 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
280 4 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
281 4 extends 'Cfn::Value::TypedValue';
282
283 4 has IndexName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
284 4 has KeySchema => (isa => 'ArrayOfCfn::Resource::Properties::AWS::DynamoDB::Table::KeySchema', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
285 4 has Projection => (isa => 'Cfn::Resource::Properties::AWS::DynamoDB::Table::Projection', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
286 4 has ProvisionedThroughput => (isa => 'Cfn::Resource::Properties::AWS::DynamoDB::Table::ProvisionedThroughput', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
287 }
288 subtype 'ArrayOfCfn::Resource::Properties::AWS::DynamoDB::Table::AttributeDefinition',
289 as 'Cfn::Value',
290 12 ▶ where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') },
Subroutine __ANON__: called CC=2 SCAR=7.6
Branch: 1 branch
BranchTrueFalseTotal
$_->isa("Cfn::Value::Array") or $_->isa("Cfn::Value::Function") 0 12 12
291 0 ▶message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
Subroutine __ANON__: not called CC=1 SCAR=1.2
292  
293 coerce 'ArrayOfCfn::Resource::Properties::AWS::DynamoDB::Table::AttributeDefinition',
294 from 'HashRef',
295 via {
296 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
297 0 return $f
298 } else {
299 0 die 'Only accepts functions';
300 }
301 },
302 from 'ArrayRef',
303 via {
304 Cfn::Value::Array->new(Value => [
305 map {
306 12 ▶ Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::DynamoDB::Table::AttributeDefinition')->coerce($_)
Subroutine __ANON__: called CC=1 SCAR=0.0
307 } @$_
308 ]);
309 4 };
310  
311 4 subtype 'Cfn::Resource::Properties::AWS::DynamoDB::Table::AttributeDefinition',
312 as 'Cfn::Value';
313  
314 coerce 'Cfn::Resource::Properties::AWS::DynamoDB::Table::AttributeDefinition',
315 from 'HashRef',
316 via {
317 28 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: called CC=2 SCAR=8.1
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 28 28
318 0 return $f
319 } else {
320 28 return Cfn::Resource::Properties::Object::AWS::DynamoDB::Table::AttributeDefinition->new( %$_ );
321 }
322 4 };
323  
324 4 package Cfn::Resource::Properties::Object::AWS::DynamoDB::Table::AttributeDefinition {
325 4 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
326 4 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
327 4 extends 'Cfn::Value::TypedValue';
328
329 4 has AttributeName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
330 4 has AttributeType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
331 }
332  
333 4 package Cfn::Resource::Properties::AWS::DynamoDB::Table {
334 4 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
335 4 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
336 4 extends 'Cfn::Resource::Properties';
337
338 4 has AttributeDefinitions => (isa => 'ArrayOfCfn::Resource::Properties::AWS::DynamoDB::Table::AttributeDefinition', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Conditional');
339 4 has BillingMode => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
340 4 has GlobalSecondaryIndexes => (isa => 'ArrayOfCfn::Resource::Properties::AWS::DynamoDB::Table::GlobalSecondaryIndex', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
341 4 has KeySchema => (isa => 'ArrayOfCfn::Resource::Properties::AWS::DynamoDB::Table::KeySchema', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
342 4 has LocalSecondaryIndexes => (isa => 'ArrayOfCfn::Resource::Properties::AWS::DynamoDB::Table::LocalSecondaryIndex', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
343 4 has PointInTimeRecoverySpecification => (isa => 'Cfn::Resource::Properties::AWS::DynamoDB::Table::PointInTimeRecoverySpecification', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
344 4 has ProvisionedThroughput => (isa => 'Cfn::Resource::Properties::AWS::DynamoDB::Table::ProvisionedThroughput', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
345 4 has SSESpecification => (isa => 'Cfn::Resource::Properties::AWS::DynamoDB::Table::SSESpecification', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
346 4 has StreamSpecification => (isa => 'Cfn::Resource::Properties::AWS::DynamoDB::Table::StreamSpecification', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
347 4 has TableName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
348 4 has Tags => (isa => 'ArrayOfCfn::Resource::Properties::TagType', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
349 4 has TimeToLiveSpecification => (isa => 'Cfn::Resource::Properties::AWS::DynamoDB::Table::TimeToLiveSpecification', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
350 }
351  
352 4 1;
353 ### main pod documentation begin ###
354  
355 =encoding UTF-8
356  
357 =head1 NAME
358  
359 Cfn::Resource::AWS::DynamoDB::Table - Cfn resource for AWS::DynamoDB::Table
360  
361 =head1 DESCRIPTION
362  
363 This module implements a Perl module that represents the CloudFormation object AWS::DynamoDB::Table.
364  
365 See L<Cfn> for more information on how to use it.
366  
367 =head1 AUTHOR
368  
369 Jose Luis Martinez
370 CAPSiDE
371 jlmartinez@capside.com
372  
373 =head1 COPYRIGHT and LICENSE
374  
375 Copyright (c) 2013 by CAPSiDE
376 This code is distributed under the Apache 2 License. The full text of the
377 license can be found in the LICENSE file included with this module.
378  
379 =cut
« Cfn/Resource/AWS/Pinpoint/PushTemplate.pm ↑ Summary Cfn/Resource/AWS/CodeCommit/Repository.pm »