| 1 | # AWS::MSK::Cluster generated from spec 34.0.0 | ||
| 2 | use Moose::Util::TypeConstraints; | ||
| 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 | use Moose; | ||
| 10 | extends 'Cfn::Resource'; | ||
| 11 | has Properties => (isa => 'Cfn::Resource::Properties::AWS::MSK::Cluster', is => 'rw', coerce => 1); | ||
| 12 | |||
| 13 | sub AttributeList { | ||
| 14 | [ ] | ||
| 15 | } | ||
| 16 | sub supported_regions { | ||
| 17 | [ 'ap-east-1','ap-northeast-1','ap-northeast-2','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-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 | subtype 'Cfn::Resource::Properties::AWS::MSK::Cluster::Scram', | ||
| 24 | as 'Cfn::Value'; | ||
| 25 | |||
| 26 | coerce 'Cfn::Resource::Properties::AWS::MSK::Cluster::Scram', | ||
| 27 | from 'HashRef', | ||
| 28 | via { | ||
| 29 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 30 | return $f | ||
| 31 | } else { | ||
| 32 | return Cfn::Resource::Properties::Object::AWS::MSK::Cluster::Scram->new( %$_ ); | ||
| 33 | } | ||
| 34 | }; | ||
| 35 | |||
| 36 | package Cfn::Resource::Properties::Object::AWS::MSK::Cluster::Scram { | ||
| 37 | use Moose; | ||
| 38 | use MooseX::StrictConstructor; | ||
| 39 | extends 'Cfn::Value::TypedValue'; | ||
| 40 | |||
| 41 | has Enabled => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | ||
| 42 | } | ||
| 43 | |||
| 44 | subtype 'Cfn::Resource::Properties::AWS::MSK::Cluster::S3', | ||
| 45 | as 'Cfn::Value'; | ||
| 46 | |||
| 47 | coerce 'Cfn::Resource::Properties::AWS::MSK::Cluster::S3', | ||
| 48 | from 'HashRef', | ||
| 49 | via { | ||
| 50 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 51 | return $f | ||
| 52 | } else { | ||
| 53 | return Cfn::Resource::Properties::Object::AWS::MSK::Cluster::S3->new( %$_ ); | ||
| 54 | } | ||
| 55 | }; | ||
| 56 | |||
| 57 | package Cfn::Resource::Properties::Object::AWS::MSK::Cluster::S3 { | ||
| 58 | use Moose; | ||
| 59 | use MooseX::StrictConstructor; | ||
| 60 | extends 'Cfn::Value::TypedValue'; | ||
| 61 | |||
| 62 | has Bucket => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 63 | has Enabled => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 64 | has Prefix => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 65 | } | ||
| 66 | |||
| 67 | subtype 'Cfn::Resource::Properties::AWS::MSK::Cluster::NodeExporter', | ||
| 68 | as 'Cfn::Value'; | ||
| 69 | |||
| 70 | coerce 'Cfn::Resource::Properties::AWS::MSK::Cluster::NodeExporter', | ||
| 71 | from 'HashRef', | ||
| 72 | via { | ||
| 73 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 74 | return $f | ||
| 75 | } else { | ||
| 76 | return Cfn::Resource::Properties::Object::AWS::MSK::Cluster::NodeExporter->new( %$_ ); | ||
| 77 | } | ||
| 78 | }; | ||
| 79 | |||
| 80 | package Cfn::Resource::Properties::Object::AWS::MSK::Cluster::NodeExporter { | ||
| 81 | use Moose; | ||
| 82 | use MooseX::StrictConstructor; | ||
| 83 | extends 'Cfn::Value::TypedValue'; | ||
| 84 | |||
| 85 | has EnabledInBroker => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 86 | } | ||
| 87 | |||
| 88 | subtype 'Cfn::Resource::Properties::AWS::MSK::Cluster::JmxExporter', | ||
| 89 | as 'Cfn::Value'; | ||
| 90 | |||
| 91 | coerce 'Cfn::Resource::Properties::AWS::MSK::Cluster::JmxExporter', | ||
| 92 | from 'HashRef', | ||
| 93 | via { | ||
| 94 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 95 | return $f | ||
| 96 | } else { | ||
| 97 | return Cfn::Resource::Properties::Object::AWS::MSK::Cluster::JmxExporter->new( %$_ ); | ||
| 98 | } | ||
| 99 | }; | ||
| 100 | |||
| 101 | package Cfn::Resource::Properties::Object::AWS::MSK::Cluster::JmxExporter { | ||
| 102 | use Moose; | ||
| 103 | use MooseX::StrictConstructor; | ||
| 104 | extends 'Cfn::Value::TypedValue'; | ||
| 105 | |||
| 106 | has EnabledInBroker => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 107 | } | ||
| 108 | |||
| 109 | subtype 'Cfn::Resource::Properties::AWS::MSK::Cluster::Firehose', | ||
| 110 | as 'Cfn::Value'; | ||
| 111 | |||
| 112 | coerce 'Cfn::Resource::Properties::AWS::MSK::Cluster::Firehose', | ||
| 113 | from 'HashRef', | ||
| 114 | via { | ||
| 115 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 116 | return $f | ||
| 117 | } else { | ||
| 118 | return Cfn::Resource::Properties::Object::AWS::MSK::Cluster::Firehose->new( %$_ ); | ||
| 119 | } | ||
| 120 | }; | ||
| 121 | |||
| 122 | package Cfn::Resource::Properties::Object::AWS::MSK::Cluster::Firehose { | ||
| 123 | use Moose; | ||
| 124 | use MooseX::StrictConstructor; | ||
| 125 | extends 'Cfn::Value::TypedValue'; | ||
| 126 | |||
| 127 | has DeliveryStream => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 128 | has Enabled => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 129 | } | ||
| 130 | |||
| 131 | subtype 'Cfn::Resource::Properties::AWS::MSK::Cluster::EBSStorageInfo', | ||
| 132 | as 'Cfn::Value'; | ||
| 133 | |||
| 134 | coerce 'Cfn::Resource::Properties::AWS::MSK::Cluster::EBSStorageInfo', | ||
| 135 | from 'HashRef', | ||
| 136 | via { | ||
| 137 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 138 | return $f | ||
| 139 | } else { | ||
| 140 | return Cfn::Resource::Properties::Object::AWS::MSK::Cluster::EBSStorageInfo->new( %$_ ); | ||
| 141 | } | ||
| 142 | }; | ||
| 143 | |||
| 144 | package Cfn::Resource::Properties::Object::AWS::MSK::Cluster::EBSStorageInfo { | ||
| 145 | use Moose; | ||
| 146 | use MooseX::StrictConstructor; | ||
| 147 | extends 'Cfn::Value::TypedValue'; | ||
| 148 | |||
| 149 | has VolumeSize => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | ||
| 150 | } | ||
| 151 | |||
| 152 | subtype 'Cfn::Resource::Properties::AWS::MSK::Cluster::CloudWatchLogs', | ||
| 153 | as 'Cfn::Value'; | ||
| 154 | |||
| 155 | coerce 'Cfn::Resource::Properties::AWS::MSK::Cluster::CloudWatchLogs', | ||
| 156 | from 'HashRef', | ||
| 157 | via { | ||
| 158 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 159 | return $f | ||
| 160 | } else { | ||
| 161 | return Cfn::Resource::Properties::Object::AWS::MSK::Cluster::CloudWatchLogs->new( %$_ ); | ||
| 162 | } | ||
| 163 | }; | ||
| 164 | |||
| 165 | package Cfn::Resource::Properties::Object::AWS::MSK::Cluster::CloudWatchLogs { | ||
| 166 | use Moose; | ||
| 167 | use MooseX::StrictConstructor; | ||
| 168 | extends 'Cfn::Value::TypedValue'; | ||
| 169 | |||
| 170 | has Enabled => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 171 | has LogGroup => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 172 | } | ||
| 173 | |||
| 174 | subtype 'Cfn::Resource::Properties::AWS::MSK::Cluster::Tls', | ||
| 175 | as 'Cfn::Value'; | ||
| 176 | |||
| 177 | coerce 'Cfn::Resource::Properties::AWS::MSK::Cluster::Tls', | ||
| 178 | from 'HashRef', | ||
| 179 | via { | ||
| 180 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 181 | return $f | ||
| 182 | } else { | ||
| 183 | return Cfn::Resource::Properties::Object::AWS::MSK::Cluster::Tls->new( %$_ ); | ||
| 184 | } | ||
| 185 | }; | ||
| 186 | |||
| 187 | package Cfn::Resource::Properties::Object::AWS::MSK::Cluster::Tls { | ||
| 188 | use Moose; | ||
| 189 | use MooseX::StrictConstructor; | ||
| 190 | extends 'Cfn::Value::TypedValue'; | ||
| 191 | |||
| 192 | has CertificateAuthorityArnList => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | ||
| 193 | } | ||
| 194 | |||
| 195 | subtype 'Cfn::Resource::Properties::AWS::MSK::Cluster::StorageInfo', | ||
| 196 | as 'Cfn::Value'; | ||
| 197 | |||
| 198 | coerce 'Cfn::Resource::Properties::AWS::MSK::Cluster::StorageInfo', | ||
| 199 | from 'HashRef', | ||
| 200 | via { | ||
| 201 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 202 | return $f | ||
| 203 | } else { | ||
| 204 | return Cfn::Resource::Properties::Object::AWS::MSK::Cluster::StorageInfo->new( %$_ ); | ||
| 205 | } | ||
| 206 | }; | ||
| 207 | |||
| 208 | package Cfn::Resource::Properties::Object::AWS::MSK::Cluster::StorageInfo { | ||
| 209 | use Moose; | ||
| 210 | use MooseX::StrictConstructor; | ||
| 211 | extends 'Cfn::Value::TypedValue'; | ||
| 212 | |||
| 213 | has EBSStorageInfo => (isa => 'Cfn::Resource::Properties::AWS::MSK::Cluster::EBSStorageInfo', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | ||
| 214 | } | ||
| 215 | |||
| 216 | subtype 'Cfn::Resource::Properties::AWS::MSK::Cluster::Sasl', | ||
| 217 | as 'Cfn::Value'; | ||
| 218 | |||
| 219 | coerce 'Cfn::Resource::Properties::AWS::MSK::Cluster::Sasl', | ||
| 220 | from 'HashRef', | ||
| 221 | via { | ||
| 222 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 223 | return $f | ||
| 224 | } else { | ||
| 225 | return Cfn::Resource::Properties::Object::AWS::MSK::Cluster::Sasl->new( %$_ ); | ||
| 226 | } | ||
| 227 | }; | ||
| 228 | |||
| 229 | package Cfn::Resource::Properties::Object::AWS::MSK::Cluster::Sasl { | ||
| 230 | use Moose; | ||
| 231 | use MooseX::StrictConstructor; | ||
| 232 | extends 'Cfn::Value::TypedValue'; | ||
| 233 | |||
| 234 | has Scram => (isa => 'Cfn::Resource::Properties::AWS::MSK::Cluster::Scram', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | ||
| 235 | } | ||
| 236 | |||
| 237 | subtype 'Cfn::Resource::Properties::AWS::MSK::Cluster::Prometheus', | ||
| 238 | as 'Cfn::Value'; | ||
| 239 | |||
| 240 | coerce 'Cfn::Resource::Properties::AWS::MSK::Cluster::Prometheus', | ||
| 241 | from 'HashRef', | ||
| 242 | via { | ||
| 243 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 244 | return $f | ||
| 245 | } else { | ||
| 246 | return Cfn::Resource::Properties::Object::AWS::MSK::Cluster::Prometheus->new( %$_ ); | ||
| 247 | } | ||
| 248 | }; | ||
| 249 | |||
| 250 | package Cfn::Resource::Properties::Object::AWS::MSK::Cluster::Prometheus { | ||
| 251 | use Moose; | ||
| 252 | use MooseX::StrictConstructor; | ||
| 253 | extends 'Cfn::Value::TypedValue'; | ||
| 254 | |||
| 255 | has JmxExporter => (isa => 'Cfn::Resource::Properties::AWS::MSK::Cluster::JmxExporter', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 256 | has NodeExporter => (isa => 'Cfn::Resource::Properties::AWS::MSK::Cluster::NodeExporter', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 257 | } | ||
| 258 | |||
| 259 | subtype 'Cfn::Resource::Properties::AWS::MSK::Cluster::EncryptionInTransit', | ||
| 260 | as 'Cfn::Value'; | ||
| 261 | |||
| 262 | coerce 'Cfn::Resource::Properties::AWS::MSK::Cluster::EncryptionInTransit', | ||
| 263 | from 'HashRef', | ||
| 264 | via { | ||
| 265 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 266 | return $f | ||
| 267 | } else { | ||
| 268 | return Cfn::Resource::Properties::Object::AWS::MSK::Cluster::EncryptionInTransit->new( %$_ ); | ||
| 269 | } | ||
| 270 | }; | ||
| 271 | |||
| 272 | package Cfn::Resource::Properties::Object::AWS::MSK::Cluster::EncryptionInTransit { | ||
| 273 | use Moose; | ||
| 274 | use MooseX::StrictConstructor; | ||
| 275 | extends 'Cfn::Value::TypedValue'; | ||
| 276 | |||
| 277 | has ClientBroker => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | ||
| 278 | has InCluster => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | ||
| 279 | } | ||
| 280 | |||
| 281 | subtype 'Cfn::Resource::Properties::AWS::MSK::Cluster::EncryptionAtRest', | ||
| 282 | as 'Cfn::Value'; | ||
| 283 | |||
| 284 | coerce 'Cfn::Resource::Properties::AWS::MSK::Cluster::EncryptionAtRest', | ||
| 285 | from 'HashRef', | ||
| 286 | via { | ||
| 287 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 288 | return $f | ||
| 289 | } else { | ||
| 290 | return Cfn::Resource::Properties::Object::AWS::MSK::Cluster::EncryptionAtRest->new( %$_ ); | ||
| 291 | } | ||
| 292 | }; | ||
| 293 | |||
| 294 | package Cfn::Resource::Properties::Object::AWS::MSK::Cluster::EncryptionAtRest { | ||
| 295 | use Moose; | ||
| 296 | use MooseX::StrictConstructor; | ||
| 297 | extends 'Cfn::Value::TypedValue'; | ||
| 298 | |||
| 299 | has DataVolumeKMSKeyId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | ||
| 300 | } | ||
| 301 | |||
| 302 | subtype 'Cfn::Resource::Properties::AWS::MSK::Cluster::BrokerLogs', | ||
| 303 | as 'Cfn::Value'; | ||
| 304 | |||
| 305 | coerce 'Cfn::Resource::Properties::AWS::MSK::Cluster::BrokerLogs', | ||
| 306 | from 'HashRef', | ||
| 307 | via { | ||
| 308 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 309 | return $f | ||
| 310 | } else { | ||
| 311 | return Cfn::Resource::Properties::Object::AWS::MSK::Cluster::BrokerLogs->new( %$_ ); | ||
| 312 | } | ||
| 313 | }; | ||
| 314 | |||
| 315 | package Cfn::Resource::Properties::Object::AWS::MSK::Cluster::BrokerLogs { | ||
| 316 | use Moose; | ||
| 317 | use MooseX::StrictConstructor; | ||
| 318 | extends 'Cfn::Value::TypedValue'; | ||
| 319 | |||
| 320 | has CloudWatchLogs => (isa => 'Cfn::Resource::Properties::AWS::MSK::Cluster::CloudWatchLogs', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 321 | has Firehose => (isa => 'Cfn::Resource::Properties::AWS::MSK::Cluster::Firehose', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 322 | has S3 => (isa => 'Cfn::Resource::Properties::AWS::MSK::Cluster::S3', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 323 | } | ||
| 324 | |||
| 325 | subtype 'Cfn::Resource::Properties::AWS::MSK::Cluster::OpenMonitoring', | ||
| 326 | as 'Cfn::Value'; | ||
| 327 | |||
| 328 | coerce 'Cfn::Resource::Properties::AWS::MSK::Cluster::OpenMonitoring', | ||
| 329 | from 'HashRef', | ||
| 330 | via { | ||
| 331 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 332 | return $f | ||
| 333 | } else { | ||
| 334 | return Cfn::Resource::Properties::Object::AWS::MSK::Cluster::OpenMonitoring->new( %$_ ); | ||
| 335 | } | ||
| 336 | }; | ||
| 337 | |||
| 338 | package Cfn::Resource::Properties::Object::AWS::MSK::Cluster::OpenMonitoring { | ||
| 339 | use Moose; | ||
| 340 | use MooseX::StrictConstructor; | ||
| 341 | extends 'Cfn::Value::TypedValue'; | ||
| 342 | |||
| 343 | has Prometheus => (isa => 'Cfn::Resource::Properties::AWS::MSK::Cluster::Prometheus', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 344 | } | ||
| 345 | |||
| 346 | subtype 'Cfn::Resource::Properties::AWS::MSK::Cluster::LoggingInfo', | ||
| 347 | as 'Cfn::Value'; | ||
| 348 | |||
| 349 | coerce 'Cfn::Resource::Properties::AWS::MSK::Cluster::LoggingInfo', | ||
| 350 | from 'HashRef', | ||
| 351 | via { | ||
| 352 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 353 | return $f | ||
| 354 | } else { | ||
| 355 | return Cfn::Resource::Properties::Object::AWS::MSK::Cluster::LoggingInfo->new( %$_ ); | ||
| 356 | } | ||
| 357 | }; | ||
| 358 | |||
| 359 | package Cfn::Resource::Properties::Object::AWS::MSK::Cluster::LoggingInfo { | ||
| 360 | use Moose; | ||
| 361 | use MooseX::StrictConstructor; | ||
| 362 | extends 'Cfn::Value::TypedValue'; | ||
| 363 | |||
| 364 | has BrokerLogs => (isa => 'Cfn::Resource::Properties::AWS::MSK::Cluster::BrokerLogs', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 365 | } | ||
| 366 | |||
| 367 | subtype 'Cfn::Resource::Properties::AWS::MSK::Cluster::EncryptionInfo', | ||
| 368 | as 'Cfn::Value'; | ||
| 369 | |||
| 370 | coerce 'Cfn::Resource::Properties::AWS::MSK::Cluster::EncryptionInfo', | ||
| 371 | from 'HashRef', | ||
| 372 | via { | ||
| 373 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 374 | return $f | ||
| 375 | } else { | ||
| 376 | return Cfn::Resource::Properties::Object::AWS::MSK::Cluster::EncryptionInfo->new( %$_ ); | ||
| 377 | } | ||
| 378 | }; | ||
| 379 | |||
| 380 | package Cfn::Resource::Properties::Object::AWS::MSK::Cluster::EncryptionInfo { | ||
| 381 | use Moose; | ||
| 382 | use MooseX::StrictConstructor; | ||
| 383 | extends 'Cfn::Value::TypedValue'; | ||
| 384 | |||
| 385 | has EncryptionAtRest => (isa => 'Cfn::Resource::Properties::AWS::MSK::Cluster::EncryptionAtRest', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | ||
| 386 | has EncryptionInTransit => (isa => 'Cfn::Resource::Properties::AWS::MSK::Cluster::EncryptionInTransit', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | ||
| 387 | } | ||
| 388 | |||
| 389 | subtype 'Cfn::Resource::Properties::AWS::MSK::Cluster::ConfigurationInfo', | ||
| 390 | as 'Cfn::Value'; | ||
| 391 | |||
| 392 | coerce 'Cfn::Resource::Properties::AWS::MSK::Cluster::ConfigurationInfo', | ||
| 393 | from 'HashRef', | ||
| 394 | via { | ||
| 395 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 396 | return $f | ||
| 397 | } else { | ||
| 398 | return Cfn::Resource::Properties::Object::AWS::MSK::Cluster::ConfigurationInfo->new( %$_ ); | ||
| 399 | } | ||
| 400 | }; | ||
| 401 | |||
| 402 | package Cfn::Resource::Properties::Object::AWS::MSK::Cluster::ConfigurationInfo { | ||
| 403 | use Moose; | ||
| 404 | use MooseX::StrictConstructor; | ||
| 405 | extends 'Cfn::Value::TypedValue'; | ||
| 406 | |||
| 407 | has Arn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 408 | has Revision => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 409 | } | ||
| 410 | |||
| 411 | subtype 'Cfn::Resource::Properties::AWS::MSK::Cluster::ClientAuthentication', | ||
| 412 | as 'Cfn::Value'; | ||
| 413 | |||
| 414 | coerce 'Cfn::Resource::Properties::AWS::MSK::Cluster::ClientAuthentication', | ||
| 415 | from 'HashRef', | ||
| 416 | via { | ||
| 417 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 418 | return $f | ||
| 419 | } else { | ||
| 420 | return Cfn::Resource::Properties::Object::AWS::MSK::Cluster::ClientAuthentication->new( %$_ ); | ||
| 421 | } | ||
| 422 | }; | ||
| 423 | |||
| 424 | package Cfn::Resource::Properties::Object::AWS::MSK::Cluster::ClientAuthentication { | ||
| 425 | use Moose; | ||
| 426 | use MooseX::StrictConstructor; | ||
| 427 | extends 'Cfn::Value::TypedValue'; | ||
| 428 | |||
| 429 | has Sasl => (isa => 'Cfn::Resource::Properties::AWS::MSK::Cluster::Sasl', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | ||
| 430 | has Tls => (isa => 'Cfn::Resource::Properties::AWS::MSK::Cluster::Tls', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | ||
| 431 | } | ||
| 432 | |||
| 433 | subtype 'Cfn::Resource::Properties::AWS::MSK::Cluster::BrokerNodeGroupInfo', | ||
| 434 | as 'Cfn::Value'; | ||
| 435 | |||
| 436 | coerce 'Cfn::Resource::Properties::AWS::MSK::Cluster::BrokerNodeGroupInfo', | ||
| 437 | from 'HashRef', | ||
| 438 | via { | ||
| 439 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 440 | return $f | ||
| 441 | } else { | ||
| 442 | return Cfn::Resource::Properties::Object::AWS::MSK::Cluster::BrokerNodeGroupInfo->new( %$_ ); | ||
| 443 | } | ||
| 444 | }; | ||
| 445 | |||
| 446 | package Cfn::Resource::Properties::Object::AWS::MSK::Cluster::BrokerNodeGroupInfo { | ||
| 447 | use Moose; | ||
| 448 | use MooseX::StrictConstructor; | ||
| 449 | extends 'Cfn::Value::TypedValue'; | ||
| 450 | |||
| 451 | has BrokerAZDistribution => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | ||
| 452 | has ClientSubnets => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | ||
| 453 | has InstanceType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 454 | has SecurityGroups => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | ||
| 455 | has StorageInfo => (isa => 'Cfn::Resource::Properties::AWS::MSK::Cluster::StorageInfo', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | ||
| 456 | } | ||
| 457 | |||
| 458 | package Cfn::Resource::Properties::AWS::MSK::Cluster { | ||
| 459 | use Moose; | ||
| 460 | use MooseX::StrictConstructor; | ||
| 461 | extends 'Cfn::Resource::Properties'; | ||
| 462 | |||
| 463 | has BrokerNodeGroupInfo => (isa => 'Cfn::Resource::Properties::AWS::MSK::Cluster::BrokerNodeGroupInfo', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 464 | has ClientAuthentication => (isa => 'Cfn::Resource::Properties::AWS::MSK::Cluster::ClientAuthentication', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | ||
| 465 | has ClusterName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | ||
| 466 | has ConfigurationInfo => (isa => 'Cfn::Resource::Properties::AWS::MSK::Cluster::ConfigurationInfo', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 467 | has EncryptionInfo => (isa => 'Cfn::Resource::Properties::AWS::MSK::Cluster::EncryptionInfo', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | ||
| 468 | has EnhancedMonitoring => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 469 | has KafkaVersion => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 470 | has LoggingInfo => (isa => 'Cfn::Resource::Properties::AWS::MSK::Cluster::LoggingInfo', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 471 | has NumberOfBrokerNodes => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 472 | has OpenMonitoring => (isa => 'Cfn::Resource::Properties::AWS::MSK::Cluster::OpenMonitoring', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 473 | has Tags => (isa => 'Cfn::Value::Json|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | ||
| 474 | } | ||
| 475 | |||
| 476 | 1; | ||
| 477 | ### main pod documentation begin ### | ||
| 478 | |||
| 479 | =encoding UTF-8 | ||
| 480 | |||
| 481 | =head1 NAME | ||
| 482 | |||
| 483 | Cfn::Resource::AWS::MSK::Cluster - Cfn resource for AWS::MSK::Cluster | ||
| 484 | |||
| 485 | =head1 DESCRIPTION | ||
| 486 | |||
| 487 | This module implements a Perl module that represents the CloudFormation object AWS::MSK::Cluster. | ||
| 488 | |||
| 489 | See L<Cfn> for more information on how to use it. | ||
| 490 | |||
| 491 | =head1 AUTHOR | ||
| 492 | |||
| 493 | Jose Luis Martinez | ||
| 494 | CAPSiDE | ||
| 495 | jlmartinez@capside.com | ||
| 496 | |||
| 497 | =head1 COPYRIGHT and LICENSE | ||
| 498 | |||
| 499 | Copyright (c) 2013 by CAPSiDE | ||
| 500 | This code is distributed under the Apache 2 License. The full text of the | ||
| 501 | license can be found in the LICENSE file included with this module. | ||
| 502 | |||
| 503 | =cut |