Cfn/Resource/AWS/ElasticBeanstalk/ConfigurationTemplate.pm

filter: Statementstmt 88.5% 62 / 70 Branchbran 37.5% 3 / 8 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 76.4% 13 / 17 Podpod 0.0% 0 / 2 totaltotal 80.4% 78 / 97 CC 5 SCAR 6.6
CC
5
Cov
83%
__ANON__
6.0
__ANON__
2.3
__ANON__
2.3
CRAP 1.9
« Cfn/Resource/AWS/IAM/User.pm ↑ Summary Cfn/Resource/AWS/FSx/FileSystem.pm »
1 # AWS::ElasticBeanstalk::ConfigurationTemplate generated from spec 18.4.0
2 3 ▶use Moose::Util::TypeConstraints;
Subroutine BEGIN: called CC=1 SCAR=0.0
3  
4 coerce 'Cfn::Resource::Properties::AWS::ElasticBeanstalk::ConfigurationTemplate',
5 from 'HashRef',
6 4 ▶ via { Cfn::Resource::Properties::AWS::ElasticBeanstalk::ConfigurationTemplate->new( %$_ ) };
Subroutine __ANON__: called CC=1 SCAR=0.0
7  
8 3 package Cfn::Resource::AWS::ElasticBeanstalk::ConfigurationTemplate {
9 3 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
10 3 extends 'Cfn::Resource';
11 3 has Properties => (isa => 'Cfn::Resource::Properties::AWS::ElasticBeanstalk::ConfigurationTemplate', 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 3 subtype 'Cfn::Resource::Properties::AWS::ElasticBeanstalk::ConfigurationTemplate::SourceConfiguration',
24 as 'Cfn::Value';
25  
26 coerce 'Cfn::Resource::Properties::AWS::ElasticBeanstalk::ConfigurationTemplate::SourceConfiguration',
27 from 'HashRef',
28 2 ▶ via {
Subroutine __ANON__: called CC=2 SCAR=8.1
29 2 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 2 2
30 0 return $f
31 } else {
32 2 return Cfn::Resource::Properties::Object::AWS::ElasticBeanstalk::ConfigurationTemplate::SourceConfiguration->new( %$_ );
33 }
34 3 };
35  
36 3 package Cfn::Resource::Properties::Object::AWS::ElasticBeanstalk::ConfigurationTemplate::SourceConfiguration {
37 3 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
38 3 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
39 3 extends 'Cfn::Value::TypedValue';
40
41 3 has ApplicationName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
42 3 has TemplateName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
43 }
44 subtype 'ArrayOfCfn::Resource::Properties::AWS::ElasticBeanstalk::ConfigurationTemplate::ConfigurationOptionSetting',
45 as 'Cfn::Value',
46 4 ▶ 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") 4 0 4
47 0 ▶message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
Subroutine __ANON__: not called CC=1 SCAR=1.2
48  
49 coerce 'ArrayOfCfn::Resource::Properties::AWS::ElasticBeanstalk::ConfigurationTemplate::ConfigurationOptionSetting',
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 die 'Only accepts functions';
56 }
57 },
58 from 'ArrayRef',
59 4 ▶ via {
Subroutine __ANON__: called CC=1 SCAR=0.0
60 Cfn::Value::Array->new(Value => [
61 map {
62 4 Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::ElasticBeanstalk::ConfigurationTemplate::ConfigurationOptionSetting')->coerce($_)
63 } @$_
64 ]);
65 3 };
66  
67 3 subtype 'Cfn::Resource::Properties::AWS::ElasticBeanstalk::ConfigurationTemplate::ConfigurationOptionSetting',
68 as 'Cfn::Value';
69  
70 coerce 'Cfn::Resource::Properties::AWS::ElasticBeanstalk::ConfigurationTemplate::ConfigurationOptionSetting',
71 from 'HashRef',
72 6 ▶ via {
Subroutine __ANON__: called CC=2 SCAR=8.1
73 6 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 6 6
74 0 return $f
75 } else {
76 6 return Cfn::Resource::Properties::Object::AWS::ElasticBeanstalk::ConfigurationTemplate::ConfigurationOptionSetting->new( %$_ );
77 }
78 3 };
79  
80 3 package Cfn::Resource::Properties::Object::AWS::ElasticBeanstalk::ConfigurationTemplate::ConfigurationOptionSetting {
81 3 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
82 3 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
83 3 extends 'Cfn::Value::TypedValue';
84
85 3 has Namespace => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
86 3 has OptionName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
87 3 has ResourceName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
88 3 has Value => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
89 }
90  
91 3 package Cfn::Resource::Properties::AWS::ElasticBeanstalk::ConfigurationTemplate {
92 3 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
93 3 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
94 3 extends 'Cfn::Resource::Properties';
95
96 3 has ApplicationName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
97 3 has Description => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
98 3 has EnvironmentId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
99 3 has OptionSettings => (isa => 'ArrayOfCfn::Resource::Properties::AWS::ElasticBeanstalk::ConfigurationTemplate::ConfigurationOptionSetting', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
100 3 has PlatformArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
101 3 has SolutionStackName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
102 3 has SourceConfiguration => (isa => 'Cfn::Resource::Properties::AWS::ElasticBeanstalk::ConfigurationTemplate::SourceConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
103 }
104  
105 3 1;
106 ### main pod documentation begin ###
107  
108 =encoding UTF-8
109  
110 =head1 NAME
111  
112 Cfn::Resource::AWS::ElasticBeanstalk::ConfigurationTemplate - Cfn resource for AWS::ElasticBeanstalk::ConfigurationTemplate
113  
114 =head1 DESCRIPTION
115  
116 This module implements a Perl module that represents the CloudFormation object AWS::ElasticBeanstalk::ConfigurationTemplate.
117  
118 See L<Cfn> for more information on how to use it.
119  
120 =head1 AUTHOR
121  
122 Jose Luis Martinez
123 CAPSiDE
124 jlmartinez@capside.com
125  
126 =head1 COPYRIGHT and LICENSE
127  
128 Copyright (c) 2013 by CAPSiDE
129 This code is distributed under the Apache 2 License. The full text of the
130 license can be found in the LICENSE file included with this module.
131  
132 =cut
« Cfn/Resource/AWS/IAM/User.pm ↑ Summary Cfn/Resource/AWS/FSx/FileSystem.pm »