File Coverage

blib/lib/Cfn/Resource/AWS/Route53/RecordSetGroup.pm
Criterion Covered Total %
statement 9 9 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 12 12 100.0


line stmt bran cond sub pod time code
1 1     1   614 use Moose::Util::TypeConstraints;
  1         2  
  1         15  
2              
3             coerce 'Cfn::Resource::Properties::AWS::Route53::RecordSetGroup',
4             from 'HashRef',
5             via { Cfn::Resource::Properties::AWS::Route53::RecordSetGroup->new( %$_ ) };
6              
7             package Cfn::Resource::AWS::Route53::RecordSetGroup {
8 1     1   2272 use Moose;
  1         5  
  1         7  
9             extends 'Cfn::Resource';
10             has Properties => (isa => 'Cfn::Resource::Properties::AWS::Route53::RecordSetGroup', is => 'rw', coerce => 1, required => 1);
11             }
12              
13             package Cfn::Resource::Properties::AWS::Route53::RecordSetGroup {
14 1     1   7129 use Moose;
  1         3  
  1         5  
15             extends 'Cfn::Resource::Properties';
16             has HostedZoneId => (isa => 'Cfn::Value', is => 'rw', coerce => 1);
17             has HostedZoneName => (isa => 'Cfn::Value', is => 'rw', coerce => 1);
18             has RecordSets => (isa => 'Cfn::Value::Array|Cfn::Value::Function', is => 'rw', coerce => 1, required => 1);
19             has Comment => (isa => 'Cfn::Value', is => 'rw', coerce => 1);
20             }
21              
22             1;