| 1 | # AWS::MSK::Cluster generated from spec 11.1.0 | ||||||||||
| 2 | 1 | ▶ | use Moose::Util::TypeConstraints; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 3 | |||||||||||
| 4 | coerce 'Cfn::Resource::Properties::AWS::MSK::Cluster', | ||||||||||
| 5 | from 'HashRef', | ||||||||||
| 6 | 0 | ▶ | via { Cfn::Resource::Properties::AWS::MSK::Cluster->new( %$_ ) }; | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=1.2
| |||||||||||
| 7 | |||||||||||
| 8 | 1 | package Cfn::Resource::AWS::MSK::Cluster { | |||||||||
| 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::MSK::Cluster', 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 | ▶ | [ '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' ] | ||||||||
|
Subroutine
supported_regions: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||
| 18 | } | ||||||||||
| 19 | } | ||||||||||
| 20 | |||||||||||
| 21 | |||||||||||
| 22 | |||||||||||
| 23 | 1 | 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 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 30 | 0 | return $f | |||||||||
| 31 | } else { | ||||||||||
| 32 | 0 | return Cfn::Resource::Properties::AWS::MSK::Cluster::NodeExporterValue->new( %$_ ); | |||||||||
| 33 | } | ||||||||||
| 34 | 1 | }; | |||||||||
| 35 | |||||||||||
| 36 | 1 | package Cfn::Resource::Properties::AWS::MSK::Cluster::NodeExporterValue { | |||||||||
| 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 EnabledInBroker => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 42 | } | ||||||||||
| 43 | |||||||||||
| 44 | 1 | 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 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 51 | 0 | return $f | |||||||||
| 52 | } else { | ||||||||||
| 53 | 0 | return Cfn::Resource::Properties::AWS::MSK::Cluster::JmxExporterValue->new( %$_ ); | |||||||||
| 54 | } | ||||||||||
| 55 | 1 | }; | |||||||||
| 56 | |||||||||||
| 57 | 1 | package Cfn::Resource::Properties::AWS::MSK::Cluster::JmxExporterValue { | |||||||||
| 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 EnabledInBroker => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 63 | } | ||||||||||
| 64 | |||||||||||
| 65 | 1 | 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 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 72 | 0 | return $f | |||||||||
| 73 | } else { | ||||||||||
| 74 | 0 | return Cfn::Resource::Properties::AWS::MSK::Cluster::EBSStorageInfoValue->new( %$_ ); | |||||||||
| 75 | } | ||||||||||
| 76 | 1 | }; | |||||||||
| 77 | |||||||||||
| 78 | 1 | package Cfn::Resource::Properties::AWS::MSK::Cluster::EBSStorageInfoValue { | |||||||||
| 79 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 80 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 81 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 82 | |||||||||||
| 83 | 1 | has VolumeSize => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 84 | } | ||||||||||
| 85 | |||||||||||
| 86 | 1 | 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 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 93 | 0 | return $f | |||||||||
| 94 | } else { | ||||||||||
| 95 | 0 | return Cfn::Resource::Properties::AWS::MSK::Cluster::TlsValue->new( %$_ ); | |||||||||
| 96 | } | ||||||||||
| 97 | 1 | }; | |||||||||
| 98 | |||||||||||
| 99 | 1 | package Cfn::Resource::Properties::AWS::MSK::Cluster::TlsValue { | |||||||||
| 100 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 101 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 102 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 103 | |||||||||||
| 104 | 1 | has CertificateAuthorityArnList => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 105 | } | ||||||||||
| 106 | |||||||||||
| 107 | 1 | 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 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 114 | 0 | return $f | |||||||||
| 115 | } else { | ||||||||||
| 116 | 0 | return Cfn::Resource::Properties::AWS::MSK::Cluster::StorageInfoValue->new( %$_ ); | |||||||||
| 117 | } | ||||||||||
| 118 | 1 | }; | |||||||||
| 119 | |||||||||||
| 120 | 1 | package Cfn::Resource::Properties::AWS::MSK::Cluster::StorageInfoValue { | |||||||||
| 121 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 122 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 123 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 124 | |||||||||||
| 125 | 1 | has EBSStorageInfo => (isa => 'Cfn::Resource::Properties::AWS::MSK::Cluster::EBSStorageInfo', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 126 | } | ||||||||||
| 127 | |||||||||||
| 128 | 1 | 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 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 135 | 0 | return $f | |||||||||
| 136 | } else { | ||||||||||
| 137 | 0 | return Cfn::Resource::Properties::AWS::MSK::Cluster::PrometheusValue->new( %$_ ); | |||||||||
| 138 | } | ||||||||||
| 139 | 1 | }; | |||||||||
| 140 | |||||||||||
| 141 | 1 | package Cfn::Resource::Properties::AWS::MSK::Cluster::PrometheusValue { | |||||||||
| 142 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 143 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 144 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 145 | |||||||||||
| 146 | 1 | has JmxExporter => (isa => 'Cfn::Resource::Properties::AWS::MSK::Cluster::JmxExporter', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 147 | 1 | has NodeExporter => (isa => 'Cfn::Resource::Properties::AWS::MSK::Cluster::NodeExporter', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 148 | } | ||||||||||
| 149 | |||||||||||
| 150 | 1 | 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 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 157 | 0 | return $f | |||||||||
| 158 | } else { | ||||||||||
| 159 | 0 | return Cfn::Resource::Properties::AWS::MSK::Cluster::EncryptionInTransitValue->new( %$_ ); | |||||||||
| 160 | } | ||||||||||
| 161 | 1 | }; | |||||||||
| 162 | |||||||||||
| 163 | 1 | package Cfn::Resource::Properties::AWS::MSK::Cluster::EncryptionInTransitValue { | |||||||||
| 164 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 165 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 166 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 167 | |||||||||||
| 168 | 1 | has ClientBroker => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 169 | 1 | has InCluster => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 170 | } | ||||||||||
| 171 | |||||||||||
| 172 | 1 | 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 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 179 | 0 | return $f | |||||||||
| 180 | } else { | ||||||||||
| 181 | 0 | return Cfn::Resource::Properties::AWS::MSK::Cluster::EncryptionAtRestValue->new( %$_ ); | |||||||||
| 182 | } | ||||||||||
| 183 | 1 | }; | |||||||||
| 184 | |||||||||||
| 185 | 1 | package Cfn::Resource::Properties::AWS::MSK::Cluster::EncryptionAtRestValue { | |||||||||
| 186 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 187 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 188 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 189 | |||||||||||
| 190 | 1 | has DataVolumeKMSKeyId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 191 | } | ||||||||||
| 192 | |||||||||||
| 193 | 1 | 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 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 200 | 0 | return $f | |||||||||
| 201 | } else { | ||||||||||
| 202 | 0 | return Cfn::Resource::Properties::AWS::MSK::Cluster::OpenMonitoringValue->new( %$_ ); | |||||||||
| 203 | } | ||||||||||
| 204 | 1 | }; | |||||||||
| 205 | |||||||||||
| 206 | 1 | package Cfn::Resource::Properties::AWS::MSK::Cluster::OpenMonitoringValue { | |||||||||
| 207 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 208 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 209 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 210 | |||||||||||
| 211 | 1 | has Prometheus => (isa => 'Cfn::Resource::Properties::AWS::MSK::Cluster::Prometheus', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 212 | } | ||||||||||
| 213 | |||||||||||
| 214 | 1 | 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 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 221 | 0 | return $f | |||||||||
| 222 | } else { | ||||||||||
| 223 | 0 | return Cfn::Resource::Properties::AWS::MSK::Cluster::EncryptionInfoValue->new( %$_ ); | |||||||||
| 224 | } | ||||||||||
| 225 | 1 | }; | |||||||||
| 226 | |||||||||||
| 227 | 1 | package Cfn::Resource::Properties::AWS::MSK::Cluster::EncryptionInfoValue { | |||||||||
| 228 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 229 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 230 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 231 | |||||||||||
| 232 | 1 | has EncryptionAtRest => (isa => 'Cfn::Resource::Properties::AWS::MSK::Cluster::EncryptionAtRest', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 233 | 1 | has EncryptionInTransit => (isa => 'Cfn::Resource::Properties::AWS::MSK::Cluster::EncryptionInTransit', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 234 | } | ||||||||||
| 235 | |||||||||||
| 236 | 1 | 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 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 243 | 0 | return $f | |||||||||
| 244 | } else { | ||||||||||
| 245 | 0 | return Cfn::Resource::Properties::AWS::MSK::Cluster::ConfigurationInfoValue->new( %$_ ); | |||||||||
| 246 | } | ||||||||||
| 247 | 1 | }; | |||||||||
| 248 | |||||||||||
| 249 | 1 | package Cfn::Resource::Properties::AWS::MSK::Cluster::ConfigurationInfoValue { | |||||||||
| 250 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 251 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 252 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 253 | |||||||||||
| 254 | 1 | has Arn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 255 | 1 | has Revision => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 256 | } | ||||||||||
| 257 | |||||||||||
| 258 | 1 | 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 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 265 | 0 | return $f | |||||||||
| 266 | } else { | ||||||||||
| 267 | 0 | return Cfn::Resource::Properties::AWS::MSK::Cluster::ClientAuthenticationValue->new( %$_ ); | |||||||||
| 268 | } | ||||||||||
| 269 | 1 | }; | |||||||||
| 270 | |||||||||||
| 271 | 1 | package Cfn::Resource::Properties::AWS::MSK::Cluster::ClientAuthenticationValue { | |||||||||
| 272 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 273 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 274 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 275 | |||||||||||
| 276 | 1 | has Tls => (isa => 'Cfn::Resource::Properties::AWS::MSK::Cluster::Tls', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 277 | } | ||||||||||
| 278 | |||||||||||
| 279 | 1 | 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 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 286 | 0 | return $f | |||||||||
| 287 | } else { | ||||||||||
| 288 | 0 | return Cfn::Resource::Properties::AWS::MSK::Cluster::BrokerNodeGroupInfoValue->new( %$_ ); | |||||||||
| 289 | } | ||||||||||
| 290 | 1 | }; | |||||||||
| 291 | |||||||||||
| 292 | 1 | package Cfn::Resource::Properties::AWS::MSK::Cluster::BrokerNodeGroupInfoValue { | |||||||||
| 293 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 294 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 295 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 296 | |||||||||||
| 297 | 1 | has BrokerAZDistribution => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 298 | 1 | has ClientSubnets => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 299 | 1 | has InstanceType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 300 | 1 | has SecurityGroups => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 301 | 1 | has StorageInfo => (isa => 'Cfn::Resource::Properties::AWS::MSK::Cluster::StorageInfo', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 302 | } | ||||||||||
| 303 | |||||||||||
| 304 | 1 | package Cfn::Resource::Properties::AWS::MSK::Cluster { | |||||||||
| 305 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 306 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 307 | 1 | extends 'Cfn::Resource::Properties'; | |||||||||
| 308 | |||||||||||
| 309 | 1 | has BrokerNodeGroupInfo => (isa => 'Cfn::Resource::Properties::AWS::MSK::Cluster::BrokerNodeGroupInfo', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 310 | 1 | has ClientAuthentication => (isa => 'Cfn::Resource::Properties::AWS::MSK::Cluster::ClientAuthentication', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 311 | 1 | has ClusterName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 312 | 1 | has ConfigurationInfo => (isa => 'Cfn::Resource::Properties::AWS::MSK::Cluster::ConfigurationInfo', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 313 | 1 | has EncryptionInfo => (isa => 'Cfn::Resource::Properties::AWS::MSK::Cluster::EncryptionInfo', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 314 | 1 | has EnhancedMonitoring => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 315 | 1 | has KafkaVersion => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 316 | 1 | has NumberOfBrokerNodes => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 317 | 1 | has OpenMonitoring => (isa => 'Cfn::Resource::Properties::AWS::MSK::Cluster::OpenMonitoring', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 318 | 1 | has Tags => (isa => 'Cfn::Value::Json|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 319 | } | ||||||||||
| 320 | |||||||||||
| 321 | 1 | 1; | |||||||||