Cfn/Resource/AWS/Route53/RecordSetGroup.pm

filter: Statementstmt 90.5% 86 / 95 Branchbran 30.0% 3 / 10 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 85.0% 17 / 20 Podpod 0.0% 0 / 2 totaltotal 83.4% 106 / 127 CC 6 SCAR 7.4
CC
6
Cov
85%
__ANON__
6.0
__ANON__
6.0
__ANON__
2.3
CRAP 2.1
« Cfn/Resource/AWS/EC2/SecurityGroup.pm ↑ Summary Cfn/Resource/AWS/AutoScaling/LaunchConfiguration.pm »
1 # AWS::Route53::RecordSetGroup generated from spec 18.4.0
2 4 ▶use Moose::Util::TypeConstraints;
Subroutine BEGIN: called CC=1 SCAR=0.0
3  
4 coerce 'Cfn::Resource::Properties::AWS::Route53::RecordSetGroup',
5 from 'HashRef',
6 12 ▶ via { Cfn::Resource::Properties::AWS::Route53::RecordSetGroup->new( %$_ ) };
Subroutine __ANON__: called CC=1 SCAR=0.0
7  
8 4 package Cfn::Resource::AWS::Route53::RecordSetGroup {
9 4 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
10 4 extends 'Cfn::Resource';
11 4 has Properties => (isa => 'Cfn::Resource::Properties::AWS::Route53::RecordSetGroup', is => 'rw', coerce => 1);
12
13 sub AttributeList {
14 1 ▶ [ ]
Subroutine AttributeList: called CC=1 SCAR=0.0
Pod undocumented
15 }
16 sub supported_regions {
17 1 ▶ [ 'af-south-1','ap-east-1','ap-northeast-1','ap-northeast-2','ap-northeast-3','ap-south-1','ap-southeast-1','ap-southeast-2','ca-central-1','cn-north-1','cn-northwest-1','eu-central-1','eu-north-1','eu-south-1','eu-west-1','eu-west-2','eu-west-3','me-south-1','sa-east-1','us-east-1','us-east-2','us-gov-east-1','us-gov-west-1','us-west-1','us-west-2' ]
Subroutine supported_regions: called CC=1 SCAR=0.0
Pod undocumented
18 }
19 }
20  
21  
22  
23 4 subtype 'Cfn::Resource::Properties::AWS::Route53::RecordSetGroup::GeoLocation',
24 as 'Cfn::Value';
25  
26 coerce 'Cfn::Resource::Properties::AWS::Route53::RecordSetGroup::GeoLocation',
27 from 'HashRef',
28 via {
29 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
30 0 return $f
31 } else {
32 0 return Cfn::Resource::Properties::Object::AWS::Route53::RecordSetGroup::GeoLocation->new( %$_ );
33 }
34 4 };
35  
36 4 package Cfn::Resource::Properties::Object::AWS::Route53::RecordSetGroup::GeoLocation {
37 4 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
38 4 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
39 4 extends 'Cfn::Value::TypedValue';
40
41 4 has ContinentCode => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
42 4 has CountryCode => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
43 4 has SubdivisionCode => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
44 }
45  
46 4 subtype 'Cfn::Resource::Properties::AWS::Route53::RecordSetGroup::AliasTarget',
47 as 'Cfn::Value';
48  
49 coerce 'Cfn::Resource::Properties::AWS::Route53::RecordSetGroup::AliasTarget',
50 from 'HashRef',
51 via {
52 6 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: called CC=2 SCAR=8.1
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 6 6
53 0 return $f
54 } else {
55 6 return Cfn::Resource::Properties::Object::AWS::Route53::RecordSetGroup::AliasTarget->new( %$_ );
56 }
57 4 };
58  
59 4 package Cfn::Resource::Properties::Object::AWS::Route53::RecordSetGroup::AliasTarget {
60 4 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
61 4 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
62 4 extends 'Cfn::Value::TypedValue';
63
64 4 has DNSName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
65 4 has EvaluateTargetHealth => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
66 4 has HostedZoneId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
67 }
68 subtype 'ArrayOfCfn::Resource::Properties::AWS::Route53::RecordSetGroup::RecordSet',
69 as 'Cfn::Value',
70 12 ▶ where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') },
Subroutine __ANON__: called CC=2 SCAR=7.6
Branch: 1 branch
BranchTrueFalseTotal
$_->isa("Cfn::Value::Array") or $_->isa("Cfn::Value::Function") 0 12 12
71 0 ▶message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
Subroutine __ANON__: not called CC=1 SCAR=1.2
72  
73 coerce 'ArrayOfCfn::Resource::Properties::AWS::Route53::RecordSetGroup::RecordSet',
74 from 'HashRef',
75 via {
76 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
77 0 return $f
78 } else {
79 0 die 'Only accepts functions';
80 }
81 },
82 from 'ArrayRef',
83 via {
84 Cfn::Value::Array->new(Value => [
85 map {
86 12 ▶ Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::Route53::RecordSetGroup::RecordSet')->coerce($_)
Subroutine __ANON__: called CC=1 SCAR=0.0
87 } @$_
88 ]);
89 4 };
90  
91 4 subtype 'Cfn::Resource::Properties::AWS::Route53::RecordSetGroup::RecordSet',
92 as 'Cfn::Value';
93  
94 coerce 'Cfn::Resource::Properties::AWS::Route53::RecordSetGroup::RecordSet',
95 from 'HashRef',
96 via {
97 18 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: called CC=2 SCAR=8.1
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 18 18
98 0 return $f
99 } else {
100 18 return Cfn::Resource::Properties::Object::AWS::Route53::RecordSetGroup::RecordSet->new( %$_ );
101 }
102 4 };
103  
104 4 package Cfn::Resource::Properties::Object::AWS::Route53::RecordSetGroup::RecordSet {
105 4 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
106 4 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
107 4 extends 'Cfn::Value::TypedValue';
108
109 4 has AliasTarget => (isa => 'Cfn::Resource::Properties::AWS::Route53::RecordSetGroup::AliasTarget', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
110 4 has Comment => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
111 4 has Failover => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
112 4 has GeoLocation => (isa => 'Cfn::Resource::Properties::AWS::Route53::RecordSetGroup::GeoLocation', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
113 4 has HealthCheckId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
114 4 has HostedZoneId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
115 4 has HostedZoneName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
116 4 has MultiValueAnswer => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
117 4 has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
118 4 has Region => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
119 4 has ResourceRecords => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
120 4 has SetIdentifier => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
121 4 has TTL => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
122 4 has Type => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
123 4 has Weight => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
124 }
125  
126 4 package Cfn::Resource::Properties::AWS::Route53::RecordSetGroup {
127 4 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
128 4 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
129 4 extends 'Cfn::Resource::Properties';
130
131 4 has Comment => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
132 4 has HostedZoneId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
133 4 has HostedZoneName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
134 4 has RecordSets => (isa => 'ArrayOfCfn::Resource::Properties::AWS::Route53::RecordSetGroup::RecordSet', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
135 }
136  
137 4 1;
138 ### main pod documentation begin ###
139  
140 =encoding UTF-8
141  
142 =head1 NAME
143  
144 Cfn::Resource::AWS::Route53::RecordSetGroup - Cfn resource for AWS::Route53::RecordSetGroup
145  
146 =head1 DESCRIPTION
147  
148 This module implements a Perl module that represents the CloudFormation object AWS::Route53::RecordSetGroup.
149  
150 See L<Cfn> for more information on how to use it.
151  
152 =head1 AUTHOR
153  
154 Jose Luis Martinez
155 CAPSiDE
156 jlmartinez@capside.com
157  
158 =head1 COPYRIGHT and LICENSE
159  
160 Copyright (c) 2013 by CAPSiDE
161 This code is distributed under the Apache 2 License. The full text of the
162 license can be found in the LICENSE file included with this module.
163  
164 =cut
« Cfn/Resource/AWS/EC2/SecurityGroup.pm ↑ Summary Cfn/Resource/AWS/AutoScaling/LaunchConfiguration.pm »