Cfn/Resource/AWS/ElasticBeanstalk/Application.pm

filter: Statementstmt 86.2% 75 / 87 Branchbran 0.0% 0 / 8 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 78.9% 15 / 19 Podpod 0.0% 0 / 2 totaltotal 77.5% 90 / 116 CC 5 SCAR 10.1
CC
5
Cov
79%
__ANON__
6.0
__ANON__
6.0
__ANON__
6.0
CRAP 2.7
« Cfn/Resource/AWS/Glue/Classifier.pm ↑ Summary Cfn/Resource/AWS/OpsWorks/Instance.pm »
1 # AWS::ElasticBeanstalk::Application 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::ElasticBeanstalk::Application',
5 from 'HashRef',
6 6 ▶ via { Cfn::Resource::Properties::AWS::ElasticBeanstalk::Application->new( %$_ ) };
Subroutine __ANON__: called CC=1 SCAR=0.0
7  
8 4 package Cfn::Resource::AWS::ElasticBeanstalk::Application {
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::ElasticBeanstalk::Application', 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::ElasticBeanstalk::Application::MaxCountRule',
24 as 'Cfn::Value';
25  
26 coerce 'Cfn::Resource::Properties::AWS::ElasticBeanstalk::Application::MaxCountRule',
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::ElasticBeanstalk::Application::MaxCountRule->new( %$_ );
33 }
34 4 };
35  
36 4 package Cfn::Resource::Properties::Object::AWS::ElasticBeanstalk::Application::MaxCountRule {
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 DeleteSourceFromS3 => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
42 4 has Enabled => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
43 4 has MaxCount => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
44 }
45  
46 4 subtype 'Cfn::Resource::Properties::AWS::ElasticBeanstalk::Application::MaxAgeRule',
47 as 'Cfn::Value';
48  
49 coerce 'Cfn::Resource::Properties::AWS::ElasticBeanstalk::Application::MaxAgeRule',
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::ElasticBeanstalk::Application::MaxAgeRule->new( %$_ );
56 }
57 4 };
58  
59 4 package Cfn::Resource::Properties::Object::AWS::ElasticBeanstalk::Application::MaxAgeRule {
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 DeleteSourceFromS3 => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
65 4 has Enabled => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
66 4 has MaxAgeInDays => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
67 }
68  
69 4 subtype 'Cfn::Resource::Properties::AWS::ElasticBeanstalk::Application::ApplicationVersionLifecycleConfig',
70 as 'Cfn::Value';
71  
72 coerce 'Cfn::Resource::Properties::AWS::ElasticBeanstalk::Application::ApplicationVersionLifecycleConfig',
73 from 'HashRef',
74 via {
75 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
76 0 return $f
77 } else {
78 0 return Cfn::Resource::Properties::Object::AWS::ElasticBeanstalk::Application::ApplicationVersionLifecycleConfig->new( %$_ );
79 }
80 4 };
81  
82 4 package Cfn::Resource::Properties::Object::AWS::ElasticBeanstalk::Application::ApplicationVersionLifecycleConfig {
83 4 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
84 4 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
85 4 extends 'Cfn::Value::TypedValue';
86
87 4 has MaxAgeRule => (isa => 'Cfn::Resource::Properties::AWS::ElasticBeanstalk::Application::MaxAgeRule', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
88 4 has MaxCountRule => (isa => 'Cfn::Resource::Properties::AWS::ElasticBeanstalk::Application::MaxCountRule', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
89 }
90  
91 4 subtype 'Cfn::Resource::Properties::AWS::ElasticBeanstalk::Application::ApplicationResourceLifecycleConfig',
92 as 'Cfn::Value';
93  
94 coerce 'Cfn::Resource::Properties::AWS::ElasticBeanstalk::Application::ApplicationResourceLifecycleConfig',
95 from 'HashRef',
96 via {
97 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
98 0 return $f
99 } else {
100 0 return Cfn::Resource::Properties::Object::AWS::ElasticBeanstalk::Application::ApplicationResourceLifecycleConfig->new( %$_ );
101 }
102 4 };
103  
104 4 package Cfn::Resource::Properties::Object::AWS::ElasticBeanstalk::Application::ApplicationResourceLifecycleConfig {
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 ServiceRole => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
110 4 has VersionLifecycleConfig => (isa => 'Cfn::Resource::Properties::AWS::ElasticBeanstalk::Application::ApplicationVersionLifecycleConfig', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
111 }
112  
113 4 package Cfn::Resource::Properties::AWS::ElasticBeanstalk::Application {
114 4 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
115 4 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
116 4 extends 'Cfn::Resource::Properties';
117
118 4 has ApplicationName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
119 4 has Description => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
120 4 has ResourceLifecycleConfig => (isa => 'Cfn::Resource::Properties::AWS::ElasticBeanstalk::Application::ApplicationResourceLifecycleConfig', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
121 }
122  
123 4 1;
124 ### main pod documentation begin ###
125  
126 =encoding UTF-8
127  
128 =head1 NAME
129  
130 Cfn::Resource::AWS::ElasticBeanstalk::Application - Cfn resource for AWS::ElasticBeanstalk::Application
131  
132 =head1 DESCRIPTION
133  
134 This module implements a Perl module that represents the CloudFormation object AWS::ElasticBeanstalk::Application.
135  
136 See L<Cfn> for more information on how to use it.
137  
138 =head1 AUTHOR
139  
140 Jose Luis Martinez
141 CAPSiDE
142 jlmartinez@capside.com
143  
144 =head1 COPYRIGHT and LICENSE
145  
146 Copyright (c) 2013 by CAPSiDE
147 This code is distributed under the Apache 2 License. The full text of the
148 license can be found in the LICENSE file included with this module.
149  
150 =cut
« Cfn/Resource/AWS/Glue/Classifier.pm ↑ Summary Cfn/Resource/AWS/OpsWorks/Instance.pm »