File Coverage

blib/lib/Cfn/Resource/AWS/CloudFormation/WaitCondition.pm
Criterion Covered Total %
statement 12 12 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 16 16 100.0


line stmt bran cond sub pod time code
1 2     2   1333 use Moose::Util::TypeConstraints;
  2         6  
  2         21  
2              
3             coerce 'Cfn::Resource::Properties::AWS::CloudFormation::WaitCondition',
4             from 'HashRef',
5             via { Cfn::Resource::Properties::AWS::CloudFormation::WaitCondition->new( %$_ ) };
6              
7             package Cfn::Resource::Properties::AWS::CloudFormation::WaitCondition {
8 2     2   5048 use Moose;
  2         6  
  2         12  
9 2     2   14514 use MooseX::StrictConstructor;
  2         5  
  2         15  
10             extends 'Cfn::Resource::Properties';
11             has Count => (isa => 'Cfn::Value', is => 'rw', coerce => 1);
12             has Handle => (isa => 'Cfn::Value', is => 'rw', coerce => 1, required => 1);
13             has Timeout => (isa => 'Cfn::Value', is => 'rw', coerce => 1, required => 1);
14             }
15              
16             package Cfn::Resource::AWS::CloudFormation::WaitCondition {
17 2     2   6849 use Moose;
  2         5  
  2         12  
18             extends 'Cfn::Resource';
19             has Properties => (isa => 'Cfn::Resource::Properties::AWS::CloudFormation::WaitCondition', is => 'rw', coerce => 1, required => 1);
20             }
21              
22             1;