Cfn/Resource/AWS/ManagedBlockchain/Member.pm

filter: Statementstmt 83.1% 123 / 148 Branchbran 0.0% 0 / 16 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 70.9% 22 / 31 Podpod 0.0% 0 / 2 totaltotal 73.6% 145 / 197 CC 9 SCAR 11.2
CC
9
Cov
75%
__ANON__
6.0
__ANON__
6.0
__ANON__
6.0
CRAP 3.1
« Cfn/Resource/AWS/Cognito/IdentityPool.pm ↑ Summary Cfn/Resource/AWS/LakeFormation/Permissions.pm »
1 # AWS::ManagedBlockchain::Member generated from spec 18.4.0
2 1 ▶use Moose::Util::TypeConstraints;
Subroutine BEGIN: called CC=1 SCAR=0.0
3  
4 coerce 'Cfn::Resource::Properties::AWS::ManagedBlockchain::Member',
5 from 'HashRef',
6 0 ▶ via { Cfn::Resource::Properties::AWS::ManagedBlockchain::Member->new( %$_ ) };
Subroutine __ANON__: not called CC=1 SCAR=1.2
7  
8 1 package Cfn::Resource::AWS::ManagedBlockchain::Member {
9 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
10 1 extends 'Cfn::Resource';
11 1 has Properties => (isa => 'Cfn::Resource::Properties::AWS::ManagedBlockchain::Member', is => 'rw', coerce => 1);
12
13 sub AttributeList {
14 1 ▶ [ 'MemberId','NetworkId' ]
Subroutine AttributeList: called CC=1 SCAR=0.0
Pod undocumented
15 }
16 sub supported_regions {
17 1 ▶ [ 'ap-northeast-1','ap-northeast-2','ap-southeast-1','eu-central-1','eu-west-1','eu-west-2','us-east-1','us-east-2','us-west-2' ]
Subroutine supported_regions: called CC=1 SCAR=0.0
Pod undocumented
18 }
19 }
20  
21  
22  
23 1 subtype 'Cfn::Resource::Properties::AWS::ManagedBlockchain::Member::NetworkFabricConfiguration',
24 as 'Cfn::Value';
25  
26 coerce 'Cfn::Resource::Properties::AWS::ManagedBlockchain::Member::NetworkFabricConfiguration',
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::ManagedBlockchain::Member::NetworkFabricConfiguration->new( %$_ );
33 }
34 1 };
35  
36 1 package Cfn::Resource::Properties::Object::AWS::ManagedBlockchain::Member::NetworkFabricConfiguration {
37 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
38 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
39 1 extends 'Cfn::Value::TypedValue';
40
41 1 has Edition => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
42 }
43  
44 1 subtype 'Cfn::Resource::Properties::AWS::ManagedBlockchain::Member::MemberFabricConfiguration',
45 as 'Cfn::Value';
46  
47 coerce 'Cfn::Resource::Properties::AWS::ManagedBlockchain::Member::MemberFabricConfiguration',
48 from 'HashRef',
49 via {
50 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
51 0 return $f
52 } else {
53 0 return Cfn::Resource::Properties::Object::AWS::ManagedBlockchain::Member::MemberFabricConfiguration->new( %$_ );
54 }
55 1 };
56  
57 1 package Cfn::Resource::Properties::Object::AWS::ManagedBlockchain::Member::MemberFabricConfiguration {
58 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
59 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
60 1 extends 'Cfn::Value::TypedValue';
61
62 1 has AdminPassword => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
63 1 has AdminUsername => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
64 }
65  
66 1 subtype 'Cfn::Resource::Properties::AWS::ManagedBlockchain::Member::ApprovalThresholdPolicy',
67 as 'Cfn::Value';
68  
69 coerce 'Cfn::Resource::Properties::AWS::ManagedBlockchain::Member::ApprovalThresholdPolicy',
70 from 'HashRef',
71 via {
72 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
73 0 return $f
74 } else {
75 0 return Cfn::Resource::Properties::Object::AWS::ManagedBlockchain::Member::ApprovalThresholdPolicy->new( %$_ );
76 }
77 1 };
78  
79 1 package Cfn::Resource::Properties::Object::AWS::ManagedBlockchain::Member::ApprovalThresholdPolicy {
80 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
81 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
82 1 extends 'Cfn::Value::TypedValue';
83
84 1 has ProposalDurationInHours => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
85 1 has ThresholdComparator => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
86 1 has ThresholdPercentage => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
87 }
88  
89 1 subtype 'Cfn::Resource::Properties::AWS::ManagedBlockchain::Member::VotingPolicy',
90 as 'Cfn::Value';
91  
92 coerce 'Cfn::Resource::Properties::AWS::ManagedBlockchain::Member::VotingPolicy',
93 from 'HashRef',
94 via {
95 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
96 0 return $f
97 } else {
98 0 return Cfn::Resource::Properties::Object::AWS::ManagedBlockchain::Member::VotingPolicy->new( %$_ );
99 }
100 1 };
101  
102 1 package Cfn::Resource::Properties::Object::AWS::ManagedBlockchain::Member::VotingPolicy {
103 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
104 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
105 1 extends 'Cfn::Value::TypedValue';
106
107 1 has ApprovalThresholdPolicy => (isa => 'Cfn::Resource::Properties::AWS::ManagedBlockchain::Member::ApprovalThresholdPolicy', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
108 }
109  
110 1 subtype 'Cfn::Resource::Properties::AWS::ManagedBlockchain::Member::NetworkFrameworkConfiguration',
111 as 'Cfn::Value';
112  
113 coerce 'Cfn::Resource::Properties::AWS::ManagedBlockchain::Member::NetworkFrameworkConfiguration',
114 from 'HashRef',
115 via {
116 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
117 0 return $f
118 } else {
119 0 return Cfn::Resource::Properties::Object::AWS::ManagedBlockchain::Member::NetworkFrameworkConfiguration->new( %$_ );
120 }
121 1 };
122  
123 1 package Cfn::Resource::Properties::Object::AWS::ManagedBlockchain::Member::NetworkFrameworkConfiguration {
124 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
125 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
126 1 extends 'Cfn::Value::TypedValue';
127
128 1 has NetworkFabricConfiguration => (isa => 'Cfn::Resource::Properties::AWS::ManagedBlockchain::Member::NetworkFabricConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
129 }
130  
131 1 subtype 'Cfn::Resource::Properties::AWS::ManagedBlockchain::Member::MemberFrameworkConfiguration',
132 as 'Cfn::Value';
133  
134 coerce 'Cfn::Resource::Properties::AWS::ManagedBlockchain::Member::MemberFrameworkConfiguration',
135 from 'HashRef',
136 via {
137 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
138 0 return $f
139 } else {
140 0 return Cfn::Resource::Properties::Object::AWS::ManagedBlockchain::Member::MemberFrameworkConfiguration->new( %$_ );
141 }
142 1 };
143  
144 1 package Cfn::Resource::Properties::Object::AWS::ManagedBlockchain::Member::MemberFrameworkConfiguration {
145 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
146 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
147 1 extends 'Cfn::Value::TypedValue';
148
149 1 has MemberFabricConfiguration => (isa => 'Cfn::Resource::Properties::AWS::ManagedBlockchain::Member::MemberFabricConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
150 }
151  
152 1 subtype 'Cfn::Resource::Properties::AWS::ManagedBlockchain::Member::NetworkConfiguration',
153 as 'Cfn::Value';
154  
155 coerce 'Cfn::Resource::Properties::AWS::ManagedBlockchain::Member::NetworkConfiguration',
156 from 'HashRef',
157 via {
158 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
159 0 return $f
160 } else {
161 0 return Cfn::Resource::Properties::Object::AWS::ManagedBlockchain::Member::NetworkConfiguration->new( %$_ );
162 }
163 1 };
164  
165 1 package Cfn::Resource::Properties::Object::AWS::ManagedBlockchain::Member::NetworkConfiguration {
166 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
167 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
168 1 extends 'Cfn::Value::TypedValue';
169
170 1 has Description => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
171 1 has Framework => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
172 1 has FrameworkVersion => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
173 1 has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
174 1 has NetworkFrameworkConfiguration => (isa => 'Cfn::Resource::Properties::AWS::ManagedBlockchain::Member::NetworkFrameworkConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
175 1 has VotingPolicy => (isa => 'Cfn::Resource::Properties::AWS::ManagedBlockchain::Member::VotingPolicy', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
176 }
177  
178 1 subtype 'Cfn::Resource::Properties::AWS::ManagedBlockchain::Member::MemberConfiguration',
179 as 'Cfn::Value';
180  
181 coerce 'Cfn::Resource::Properties::AWS::ManagedBlockchain::Member::MemberConfiguration',
182 from 'HashRef',
183 via {
184 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
185 0 return $f
186 } else {
187 0 return Cfn::Resource::Properties::Object::AWS::ManagedBlockchain::Member::MemberConfiguration->new( %$_ );
188 }
189 1 };
190  
191 1 package Cfn::Resource::Properties::Object::AWS::ManagedBlockchain::Member::MemberConfiguration {
192 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
193 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
194 1 extends 'Cfn::Value::TypedValue';
195
196 1 has Description => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
197 1 has MemberFrameworkConfiguration => (isa => 'Cfn::Resource::Properties::AWS::ManagedBlockchain::Member::MemberFrameworkConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
198 1 has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
199 }
200  
201 1 package Cfn::Resource::Properties::AWS::ManagedBlockchain::Member {
202 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
203 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
204 1 extends 'Cfn::Resource::Properties';
205
206 1 has InvitationId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
207 1 has MemberConfiguration => (isa => 'Cfn::Resource::Properties::AWS::ManagedBlockchain::Member::MemberConfiguration', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
208 1 has NetworkConfiguration => (isa => 'Cfn::Resource::Properties::AWS::ManagedBlockchain::Member::NetworkConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
209 1 has NetworkId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
210 }
211  
212 1 1;
213 ### main pod documentation begin ###
214  
215 =encoding UTF-8
216  
217 =head1 NAME
218  
219 Cfn::Resource::AWS::ManagedBlockchain::Member - Cfn resource for AWS::ManagedBlockchain::Member
220  
221 =head1 DESCRIPTION
222  
223 This module implements a Perl module that represents the CloudFormation object AWS::ManagedBlockchain::Member.
224  
225 See L<Cfn> for more information on how to use it.
226  
227 =head1 AUTHOR
228  
229 Jose Luis Martinez
230 CAPSiDE
231 jlmartinez@capside.com
232  
233 =head1 COPYRIGHT and LICENSE
234  
235 Copyright (c) 2013 by CAPSiDE
236 This code is distributed under the Apache 2 License. The full text of the
237 license can be found in the LICENSE file included with this module.
238  
239 =cut
« Cfn/Resource/AWS/Cognito/IdentityPool.pm ↑ Summary Cfn/Resource/AWS/LakeFormation/Permissions.pm »