Cfn/Resource/AWS/Serverless/SimpleTable.pm untested

filter: Statementstmt 0.0% 0 / 27 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 7 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 36 CC 1 SCAR 6.9
CC
1
Cov
0%
supported_regions
2.0
AttributeList
2.0
BEGIN
2.0
CRAP 2.0
1 use Moose::Util::TypeConstraints;
2  
3 coerce 'Cfn::Resource::Properties::AWS::Serverless::SimpleTable',
4 from 'HashRef',
5 via { Cfn::Resource::Properties::AWS::Serverless::SimpleTable->new(%$_) };
6  
7 package Cfn::Resource::AWS::Serverless::SimpleTable {
8 use Moose;
9 extends 'Cfn::Resource';
10 has Properties => ( isa => 'Cfn::Resource::Properties::AWS::Serverless::SimpleTable', is => 'rw', coerce => 1 );
11  
12 sub supported_regions {
13 require Cfn::Resource::AWS::Lambda::Function;
14 Cfn::Resource::AWS::Lambda::Function->supported_regions;
15 }
16  
17 sub AttributeList {
18 []
19 }
20 }
21  
22 package Cfn::Resource::Properties::AWS::Serverless::SimpleTable {
23 use Moose;
24 use MooseX::StrictConstructor;
25 extends 'Cfn::Resource::Properties';
26  
27 has PrimaryKey => ( isa => 'Cfn::Value', is => 'rw', coerce => 1 );
28 has ProvisionedThroughput => ( isa => 'Cfn::Value', is => 'rw', coerce => 1 );
29 has Tags => ( isa => 'Cfn::Value', is => 'rw', coerce => 1 );
30 has TableName => ( isa => 'Cfn::Value::String', is => 'rw', coerce => 1 );
31 has SSESpecification => ( isa => 'Cfn::Value', is => 'rw', coerce => 1 );
32 }
33  
34 1;