File Coverage

blib/lib/Cfn/Resource/AWS/Route53/RecordSet.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   714 use Moose::Util::TypeConstraints;
  1         3  
  1         10  
2              
3             coerce 'Cfn::Resource::Properties::AWS::Route53::RecordSet',
4             from 'HashRef',
5             via { Cfn::Resource::Properties::AWS::Route53::RecordSet->new( %$_ ) };
6              
7             package Cfn::Resource::AWS::Route53::RecordSet {
8 1     1   1928 use Moose;
  1         3  
  1         8  
9             extends 'Cfn::Resource';
10             has Properties => (isa => 'Cfn::Resource::Properties::AWS::Route53::RecordSet', is => 'rw', coerce => 1, required => 1);
11             }
12              
13             package Cfn::Resource::Properties::AWS::Route53::RecordSet {
14 1     1   4483 use Moose;
  1         2  
  1         7  
15             extends 'Cfn::Resource::Properties';
16             has AliasTarget => (isa => 'Cfn::Value::Array|Cfn::Value::Function', is => 'rw', coerce => 1);
17             has Comment => (isa => 'Cfn::Value', is => 'rw', coerce => 1);
18             has HostedZoneId => (isa => 'Cfn::Value', is => 'rw', coerce => 1);
19             has HostedZoneName => (isa => 'Cfn::Value', is => 'rw', coerce => 1);
20             has Name => (isa => 'Cfn::Value', is => 'rw', coerce => 1, required => 1);
21             has Region => (isa => 'Cfn::Value', is => 'rw', coerce => 1);
22             has ResourceRecords => (isa => 'Cfn::Value::Array|Cfn::Value::Function', is => 'rw', coerce => 1);
23             has SetIdentifier => (isa => 'Cfn::Value', is => 'rw', coerce => 1);
24             has TTL => (isa => 'Cfn::Value', is => 'rw', coerce => 1);
25             has Type => (isa => 'Cfn::Value', is => 'rw', coerce => 1, required => 1);
26             has Weight => (isa => 'Cfn::Value', is => 'rw', coerce => 1);
27             }
28              
29             1;