Cfn/Resource/AWS/Route53/RecordSet.pm

filter: Statementstmt 88.4% 61 / 69 Branchbran 0.0% 0 / 4 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 69.2% 9 / 13 Podpod 0.0% 0 / 2 totaltotal 79.5% 70 / 88 CC 3 SCAR 9.0
CC
3
Cov
84%
__ANON__
6.0
__ANON__
6.0
AttributeList
2.0
CRAP 2.5
« Cfn/Resource/AWS/ApiGateway/Stage.pm ↑ Summary Cfn/Resource/AWS/ApiGatewayV2/Api.pm »
1 # AWS::Route53::RecordSet 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::RecordSet',
5 from 'HashRef',
6 15 ▶ via { Cfn::Resource::Properties::AWS::Route53::RecordSet->new( %$_ ) };
Subroutine __ANON__: called CC=1 SCAR=0.0
7  
8 4 package Cfn::Resource::AWS::Route53::RecordSet {
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::RecordSet', is => 'rw', coerce => 1);
12
13 0 ▶ sub AttributeList {
Subroutine AttributeList: not called CC=1 SCAR=6.9
Pod undocumented
14 0 [ ]
15 }
16 0 ▶ sub supported_regions {
Subroutine supported_regions: not called CC=1 SCAR=6.9
Pod undocumented
17 0 [ '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' ]
18 }
19 }
20  
21  
22  
23 4 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 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
29 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
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 4 };
35  
36 4 package Cfn::Resource::Properties::Object::AWS::Route53::RecordSet::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::RecordSet::AliasTarget',
47 as 'Cfn::Value';
48  
49 coerce 'Cfn::Resource::Properties::AWS::Route53::RecordSet::AliasTarget',
50 from 'HashRef',
51 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
52 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
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 4 };
58  
59 4 package Cfn::Resource::Properties::Object::AWS::Route53::RecordSet::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  
69 4 package Cfn::Resource::Properties::AWS::Route53::RecordSet {
70 4 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
71 4 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
72 4 extends 'Cfn::Resource::Properties';
73
74 4 has AliasTarget => (isa => 'Cfn::Resource::Properties::AWS::Route53::RecordSet::AliasTarget', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
75 4 has Comment => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
76 4 has Failover => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
77 4 has GeoLocation => (isa => 'Cfn::Resource::Properties::AWS::Route53::RecordSet::GeoLocation', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
78 4 has HealthCheckId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
79 4 has HostedZoneId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
80 4 has HostedZoneName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
81 4 has MultiValueAnswer => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
82 4 has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
83 4 has Region => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
84 4 has ResourceRecords => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
85 4 has SetIdentifier => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
86 4 has TTL => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
87 4 has Type => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
88 4 has Weight => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
89 }
90  
91 4 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/Stage.pm ↑ Summary Cfn/Resource/AWS/ApiGatewayV2/Api.pm »