File Coverage

blib/lib/Cfn/Resource/AWS/MSK/Cluster.pm
Criterion Covered Total %
statement 92 92 100.0
branch n/a
condition n/a
subroutine 32 32 100.0
pod 0 2 0.0
total 124 126 98.4


line stmt bran cond sub pod time code
1             # AWS::MSK::Cluster generated from spec 11.1.0
2 1     1   580 use Moose::Util::TypeConstraints;
  1         3  
  1         10  
3              
4             coerce 'Cfn::Resource::Properties::AWS::MSK::Cluster',
5             from 'HashRef',
6             via { Cfn::Resource::Properties::AWS::MSK::Cluster->new( %$_ ) };
7              
8             package Cfn::Resource::AWS::MSK::Cluster {
9 1     1   1905 use Moose;
  1         3  
  1         7  
10             extends 'Cfn::Resource';
11             has Properties => (isa => 'Cfn::Resource::Properties::AWS::MSK::Cluster', is => 'rw', coerce => 1);
12            
13             sub AttributeList {
14 1     1 0 2 [ ]
15             }
16             sub supported_regions {
17 1     1 0 1066 [ 'ap-east-1','ap-northeast-1','ap-northeast-2','ap-south-1','ap-southeast-1','ap-southeast-2','ca-central-1','eu-central-1','eu-north-1','eu-west-1','eu-west-2','eu-west-3','me-south-1','sa-east-1','us-east-1','us-east-2','us-west-1','us-west-2' ]
18             }
19             }
20              
21              
22              
23             subtype 'Cfn::Resource::Properties::AWS::MSK::Cluster::NodeExporter',
24             as 'Cfn::Value';
25              
26             coerce 'Cfn::Resource::Properties::AWS::MSK::Cluster::NodeExporter',
27             from 'HashRef',
28             via {
29             if (my $f = Cfn::TypeLibrary::try_function($_)) {
30             return $f
31             } else {
32             return Cfn::Resource::Properties::AWS::MSK::Cluster::NodeExporterValue->new( %$_ );
33             }
34             };
35              
36             package Cfn::Resource::Properties::AWS::MSK::Cluster::NodeExporterValue {
37 1     1   6728 use Moose;
  1         3  
  1         6  
38 1     1   6476 use MooseX::StrictConstructor;
  1         10  
  1         10  
39             extends 'Cfn::Value::TypedValue';
40            
41             has EnabledInBroker => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
42             }
43              
44             subtype 'Cfn::Resource::Properties::AWS::MSK::Cluster::JmxExporter',
45             as 'Cfn::Value';
46              
47             coerce 'Cfn::Resource::Properties::AWS::MSK::Cluster::JmxExporter',
48             from 'HashRef',
49             via {
50             if (my $f = Cfn::TypeLibrary::try_function($_)) {
51             return $f
52             } else {
53             return Cfn::Resource::Properties::AWS::MSK::Cluster::JmxExporterValue->new( %$_ );
54             }
55             };
56              
57             package Cfn::Resource::Properties::AWS::MSK::Cluster::JmxExporterValue {
58 1     1   3400 use Moose;
  1         5  
  1         6  
59 1     1   6493 use MooseX::StrictConstructor;
  1         2  
  1         10  
60             extends 'Cfn::Value::TypedValue';
61            
62             has EnabledInBroker => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
63             }
64              
65             subtype 'Cfn::Resource::Properties::AWS::MSK::Cluster::EBSStorageInfo',
66             as 'Cfn::Value';
67              
68             coerce 'Cfn::Resource::Properties::AWS::MSK::Cluster::EBSStorageInfo',
69             from 'HashRef',
70             via {
71             if (my $f = Cfn::TypeLibrary::try_function($_)) {
72             return $f
73             } else {
74             return Cfn::Resource::Properties::AWS::MSK::Cluster::EBSStorageInfoValue->new( %$_ );
75             }
76             };
77              
78             package Cfn::Resource::Properties::AWS::MSK::Cluster::EBSStorageInfoValue {
79 1     1   3291 use Moose;
  1         3  
  1         7  
80 1     1   6519 use MooseX::StrictConstructor;
  1         2  
  1         5  
81             extends 'Cfn::Value::TypedValue';
82            
83             has VolumeSize => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
84             }
85              
86             subtype 'Cfn::Resource::Properties::AWS::MSK::Cluster::Tls',
87             as 'Cfn::Value';
88              
89             coerce 'Cfn::Resource::Properties::AWS::MSK::Cluster::Tls',
90             from 'HashRef',
91             via {
92             if (my $f = Cfn::TypeLibrary::try_function($_)) {
93             return $f
94             } else {
95             return Cfn::Resource::Properties::AWS::MSK::Cluster::TlsValue->new( %$_ );
96             }
97             };
98              
99             package Cfn::Resource::Properties::AWS::MSK::Cluster::TlsValue {
100 1     1   3338 use Moose;
  1         4  
  1         4  
101 1     1   6451 use MooseX::StrictConstructor;
  1         2  
  1         6  
102             extends 'Cfn::Value::TypedValue';
103            
104             has CertificateAuthorityArnList => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
105             }
106              
107             subtype 'Cfn::Resource::Properties::AWS::MSK::Cluster::StorageInfo',
108             as 'Cfn::Value';
109              
110             coerce 'Cfn::Resource::Properties::AWS::MSK::Cluster::StorageInfo',
111             from 'HashRef',
112             via {
113             if (my $f = Cfn::TypeLibrary::try_function($_)) {
114             return $f
115             } else {
116             return Cfn::Resource::Properties::AWS::MSK::Cluster::StorageInfoValue->new( %$_ );
117             }
118             };
119              
120             package Cfn::Resource::Properties::AWS::MSK::Cluster::StorageInfoValue {
121 1     1   3291 use Moose;
  1         2  
  1         15  
122 1     1   6488 use MooseX::StrictConstructor;
  1         3  
  1         5  
123             extends 'Cfn::Value::TypedValue';
124            
125             has EBSStorageInfo => (isa => 'Cfn::Resource::Properties::AWS::MSK::Cluster::EBSStorageInfo', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
126             }
127              
128             subtype 'Cfn::Resource::Properties::AWS::MSK::Cluster::Prometheus',
129             as 'Cfn::Value';
130              
131             coerce 'Cfn::Resource::Properties::AWS::MSK::Cluster::Prometheus',
132             from 'HashRef',
133             via {
134             if (my $f = Cfn::TypeLibrary::try_function($_)) {
135             return $f
136             } else {
137             return Cfn::Resource::Properties::AWS::MSK::Cluster::PrometheusValue->new( %$_ );
138             }
139             };
140              
141             package Cfn::Resource::Properties::AWS::MSK::Cluster::PrometheusValue {
142 1     1   3300 use Moose;
  1         2  
  1         6  
143 1     1   6466 use MooseX::StrictConstructor;
  1         2  
  1         6  
144             extends 'Cfn::Value::TypedValue';
145            
146             has JmxExporter => (isa => 'Cfn::Resource::Properties::AWS::MSK::Cluster::JmxExporter', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
147             has NodeExporter => (isa => 'Cfn::Resource::Properties::AWS::MSK::Cluster::NodeExporter', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
148             }
149              
150             subtype 'Cfn::Resource::Properties::AWS::MSK::Cluster::EncryptionInTransit',
151             as 'Cfn::Value';
152              
153             coerce 'Cfn::Resource::Properties::AWS::MSK::Cluster::EncryptionInTransit',
154             from 'HashRef',
155             via {
156             if (my $f = Cfn::TypeLibrary::try_function($_)) {
157             return $f
158             } else {
159             return Cfn::Resource::Properties::AWS::MSK::Cluster::EncryptionInTransitValue->new( %$_ );
160             }
161             };
162              
163             package Cfn::Resource::Properties::AWS::MSK::Cluster::EncryptionInTransitValue {
164 1     1   3361 use Moose;
  1         2  
  1         7  
165 1     1   6453 use MooseX::StrictConstructor;
  1         3  
  1         8  
166             extends 'Cfn::Value::TypedValue';
167            
168             has ClientBroker => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
169             has InCluster => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
170             }
171              
172             subtype 'Cfn::Resource::Properties::AWS::MSK::Cluster::EncryptionAtRest',
173             as 'Cfn::Value';
174              
175             coerce 'Cfn::Resource::Properties::AWS::MSK::Cluster::EncryptionAtRest',
176             from 'HashRef',
177             via {
178             if (my $f = Cfn::TypeLibrary::try_function($_)) {
179             return $f
180             } else {
181             return Cfn::Resource::Properties::AWS::MSK::Cluster::EncryptionAtRestValue->new( %$_ );
182             }
183             };
184              
185             package Cfn::Resource::Properties::AWS::MSK::Cluster::EncryptionAtRestValue {
186 1     1   3365 use Moose;
  1         4  
  1         15  
187 1     1   6493 use MooseX::StrictConstructor;
  1         3  
  1         5  
188             extends 'Cfn::Value::TypedValue';
189            
190             has DataVolumeKMSKeyId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
191             }
192              
193             subtype 'Cfn::Resource::Properties::AWS::MSK::Cluster::OpenMonitoring',
194             as 'Cfn::Value';
195              
196             coerce 'Cfn::Resource::Properties::AWS::MSK::Cluster::OpenMonitoring',
197             from 'HashRef',
198             via {
199             if (my $f = Cfn::TypeLibrary::try_function($_)) {
200             return $f
201             } else {
202             return Cfn::Resource::Properties::AWS::MSK::Cluster::OpenMonitoringValue->new( %$_ );
203             }
204             };
205              
206             package Cfn::Resource::Properties::AWS::MSK::Cluster::OpenMonitoringValue {
207 1     1   3294 use Moose;
  1         3  
  1         6  
208 1     1   6835 use MooseX::StrictConstructor;
  1         5  
  1         7  
209             extends 'Cfn::Value::TypedValue';
210            
211             has Prometheus => (isa => 'Cfn::Resource::Properties::AWS::MSK::Cluster::Prometheus', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
212             }
213              
214             subtype 'Cfn::Resource::Properties::AWS::MSK::Cluster::EncryptionInfo',
215             as 'Cfn::Value';
216              
217             coerce 'Cfn::Resource::Properties::AWS::MSK::Cluster::EncryptionInfo',
218             from 'HashRef',
219             via {
220             if (my $f = Cfn::TypeLibrary::try_function($_)) {
221             return $f
222             } else {
223             return Cfn::Resource::Properties::AWS::MSK::Cluster::EncryptionInfoValue->new( %$_ );
224             }
225             };
226              
227             package Cfn::Resource::Properties::AWS::MSK::Cluster::EncryptionInfoValue {
228 1     1   3335 use Moose;
  1         2  
  1         5  
229 1     1   6473 use MooseX::StrictConstructor;
  1         3  
  1         6  
230             extends 'Cfn::Value::TypedValue';
231            
232             has EncryptionAtRest => (isa => 'Cfn::Resource::Properties::AWS::MSK::Cluster::EncryptionAtRest', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
233             has EncryptionInTransit => (isa => 'Cfn::Resource::Properties::AWS::MSK::Cluster::EncryptionInTransit', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
234             }
235              
236             subtype 'Cfn::Resource::Properties::AWS::MSK::Cluster::ConfigurationInfo',
237             as 'Cfn::Value';
238              
239             coerce 'Cfn::Resource::Properties::AWS::MSK::Cluster::ConfigurationInfo',
240             from 'HashRef',
241             via {
242             if (my $f = Cfn::TypeLibrary::try_function($_)) {
243             return $f
244             } else {
245             return Cfn::Resource::Properties::AWS::MSK::Cluster::ConfigurationInfoValue->new( %$_ );
246             }
247             };
248              
249             package Cfn::Resource::Properties::AWS::MSK::Cluster::ConfigurationInfoValue {
250 1     1   3334 use Moose;
  1         3  
  1         5  
251 1     1   6454 use MooseX::StrictConstructor;
  1         2  
  1         7  
252             extends 'Cfn::Value::TypedValue';
253            
254             has Arn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
255             has Revision => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
256             }
257              
258             subtype 'Cfn::Resource::Properties::AWS::MSK::Cluster::ClientAuthentication',
259             as 'Cfn::Value';
260              
261             coerce 'Cfn::Resource::Properties::AWS::MSK::Cluster::ClientAuthentication',
262             from 'HashRef',
263             via {
264             if (my $f = Cfn::TypeLibrary::try_function($_)) {
265             return $f
266             } else {
267             return Cfn::Resource::Properties::AWS::MSK::Cluster::ClientAuthenticationValue->new( %$_ );
268             }
269             };
270              
271             package Cfn::Resource::Properties::AWS::MSK::Cluster::ClientAuthenticationValue {
272 1     1   3340 use Moose;
  1         2  
  1         5  
273 1     1   6497 use MooseX::StrictConstructor;
  1         3  
  1         6  
274             extends 'Cfn::Value::TypedValue';
275            
276             has Tls => (isa => 'Cfn::Resource::Properties::AWS::MSK::Cluster::Tls', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
277             }
278              
279             subtype 'Cfn::Resource::Properties::AWS::MSK::Cluster::BrokerNodeGroupInfo',
280             as 'Cfn::Value';
281              
282             coerce 'Cfn::Resource::Properties::AWS::MSK::Cluster::BrokerNodeGroupInfo',
283             from 'HashRef',
284             via {
285             if (my $f = Cfn::TypeLibrary::try_function($_)) {
286             return $f
287             } else {
288             return Cfn::Resource::Properties::AWS::MSK::Cluster::BrokerNodeGroupInfoValue->new( %$_ );
289             }
290             };
291              
292             package Cfn::Resource::Properties::AWS::MSK::Cluster::BrokerNodeGroupInfoValue {
293 1     1   3313 use Moose;
  1         3  
  1         7  
294 1     1   6509 use MooseX::StrictConstructor;
  1         2  
  1         6  
295             extends 'Cfn::Value::TypedValue';
296            
297             has BrokerAZDistribution => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
298             has ClientSubnets => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
299             has InstanceType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
300             has SecurityGroups => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
301             has StorageInfo => (isa => 'Cfn::Resource::Properties::AWS::MSK::Cluster::StorageInfo', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
302             }
303              
304             package Cfn::Resource::Properties::AWS::MSK::Cluster {
305 1     1   3253 use Moose;
  1         3  
  1         6  
306 1     1   6496 use MooseX::StrictConstructor;
  1         2  
  1         5  
307             extends 'Cfn::Resource::Properties';
308            
309             has BrokerNodeGroupInfo => (isa => 'Cfn::Resource::Properties::AWS::MSK::Cluster::BrokerNodeGroupInfo', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
310             has ClientAuthentication => (isa => 'Cfn::Resource::Properties::AWS::MSK::Cluster::ClientAuthentication', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
311             has ClusterName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
312             has ConfigurationInfo => (isa => 'Cfn::Resource::Properties::AWS::MSK::Cluster::ConfigurationInfo', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
313             has EncryptionInfo => (isa => 'Cfn::Resource::Properties::AWS::MSK::Cluster::EncryptionInfo', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
314             has EnhancedMonitoring => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
315             has KafkaVersion => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
316             has NumberOfBrokerNodes => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
317             has OpenMonitoring => (isa => 'Cfn::Resource::Properties::AWS::MSK::Cluster::OpenMonitoring', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
318             has Tags => (isa => 'Cfn::Value::Json|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
319             }
320              
321             1;