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 3     3   2001 use Moose::Util::TypeConstraints;
  3         10  
  3         44  
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 3     3   6647 use Moose;
  3         8  
  3         23  
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 3     3   19483 use Moose;
  3         9  
  3         16  
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;