Cfn/Resource/AWS/Route53/RecordSet.pm

filter: Statementstmt 91.3% 63 / 69 Branchbran 0.0% 0 / 4 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 84.6% 11 / 13 Podpod 0.0% 0 / 2 totaltotal 84.0% 74 / 88 CC 3 SCAR 8.5
CC
3
Cov
86%
__ANON__
6.0
__ANON__
6.0
BEGIN
1.0
CRAP 2.3
« Cfn/Resource/AWS/ApiGateway/RestApi.pm ↑ Summary Cfn/Resource/AWS/ApiGatewayV2/Api.pm »
1 # AWS::Route53::RecordSet generated from spec 18.4.0
2 5 ▶use Moose::Util::TypeConstraints;
Subroutine BEGIN: called CC=1 SCAR=0.0
3  
4 coerce 'Cfn::Resource::Properties::AWS::Route53::RecordSet',
5 from 'HashRef',
6 15 ▶ via { Cfn::Resource::Properties::AWS::Route53::RecordSet->new( %$_ ) };
Subroutine __ANON__: called CC=1 SCAR=0.0
7  
8 5 package Cfn::Resource::AWS::Route53::RecordSet {
9 5 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
10 5 extends 'Cfn::Resource';
11 5 has Properties => (isa => 'Cfn::Resource::Properties::AWS::Route53::RecordSet', 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 5 subtype 'Cfn::Resource::Properties::AWS::Route53::RecordSet::GeoLocation',
24 as 'Cfn::Value';
25  
26 coerce 'Cfn::Resource::Properties::AWS::Route53::RecordSet::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::RecordSet::GeoLocation->new( %$_ );
33 }
34 5 };
35  
36 5 package Cfn::Resource::Properties::Object::AWS::Route53::RecordSet::GeoLocation {
37 5 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
38 5 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
39 5 extends 'Cfn::Value::TypedValue';
40
41 5 has ContinentCode => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
42 5 has CountryCode => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
43 5 has SubdivisionCode => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
44 }
45  
46 5 subtype 'Cfn::Resource::Properties::AWS::Route53::RecordSet::AliasTarget',
47 as 'Cfn::Value';
48  
49 coerce 'Cfn::Resource::Properties::AWS::Route53::RecordSet::AliasTarget',
50 from 'HashRef',
51 via {
52 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
53 0 return $f
54 } else {
55 0 return Cfn::Resource::Properties::Object::AWS::Route53::RecordSet::AliasTarget->new( %$_ );
56 }
57 5 };
58  
59 5 package Cfn::Resource::Properties::Object::AWS::Route53::RecordSet::AliasTarget {
60 5 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
61 5 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
62 5 extends 'Cfn::Value::TypedValue';
63
64 5 has DNSName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
65 5 has EvaluateTargetHealth => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
66 5 has HostedZoneId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
67 }
68  
69 5 package Cfn::Resource::Properties::AWS::Route53::RecordSet {
70 5 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
71 5 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
72 5 extends 'Cfn::Resource::Properties';
73
74 5 has AliasTarget => (isa => 'Cfn::Resource::Properties::AWS::Route53::RecordSet::AliasTarget', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
75 5 has Comment => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
76 5 has Failover => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
77 5 has GeoLocation => (isa => 'Cfn::Resource::Properties::AWS::Route53::RecordSet::GeoLocation', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
78 5 has HealthCheckId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
79 5 has HostedZoneId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
80 5 has HostedZoneName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
81 5 has MultiValueAnswer => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
82 5 has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
83 5 has Region => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
84 5 has ResourceRecords => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
85 5 has SetIdentifier => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
86 5 has TTL => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
87 5 has Type => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
88 5 has Weight => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
89 }
90  
91 5 1;
92 ### main pod documentation begin ###
93  
94 =encoding UTF-8
95  
96 =head1 NAME
97  
98 Cfn::Resource::AWS::Route53::RecordSet - Cfn resource for AWS::Route53::RecordSet
99  
100 =head1 DESCRIPTION
101  
102 This module implements a Perl module that represents the CloudFormation object AWS::Route53::RecordSet.
103  
104 See L<Cfn> for more information on how to use it.
105  
106 =head1 AUTHOR
107  
108 Jose Luis Martinez
109 CAPSiDE
110 jlmartinez@capside.com
111  
112 =head1 COPYRIGHT and LICENSE
113  
114 Copyright (c) 2013 by CAPSiDE
115 This code is distributed under the Apache 2 License. The full text of the
116 license can be found in the LICENSE file included with this module.
117  
118 =cut
« Cfn/Resource/AWS/ApiGateway/RestApi.pm ↑ Summary Cfn/Resource/AWS/ApiGatewayV2/Api.pm »