| 1 | # AWS::EMR::Cluster generated from spec 20.1.0 | ||||||||||
| 2 | 2 | ▶ | use Moose::Util::TypeConstraints; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 3 | |||||||||||
| 4 | coerce 'Cfn::Resource::Properties::AWS::EMR::Cluster', | ||||||||||
| 5 | from 'HashRef', | ||||||||||
| 6 | 2 | ▶ | via { Cfn::Resource::Properties::AWS::EMR::Cluster->new( %$_ ) }; | ||||||||
|
Subroutine
__ANON__: called CC=1 SCAR=0.0
| |||||||||||
| 7 | |||||||||||
| 8 | 2 | package Cfn::Resource::AWS::EMR::Cluster { | |||||||||
| 9 | 2 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 10 | 2 | extends 'Cfn::Resource'; | |||||||||
| 11 | 2 | has Properties => (isa => 'Cfn::Resource::Properties::AWS::EMR::Cluster', is => 'rw', coerce => 1); | |||||||||
| 12 | |||||||||||
| 13 | sub AttributeList { | ||||||||||
| 14 | 1 | ▶ | [ 'MasterPublicDNS' ] | ||||||||
|
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 | subtype 'ArrayOfCfn::Resource::Properties::AWS::EMR::Cluster::MetricDimension', | ||||||||||
| 23 | as 'Cfn::Value', | ||||||||||
| 24 | 0 | ▶ | where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 25 | 0 | ▶ | message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=1.2
| |||||||||||
| 26 | |||||||||||
| 27 | coerce 'ArrayOfCfn::Resource::Properties::AWS::EMR::Cluster::MetricDimension', | ||||||||||
| 28 | from 'HashRef', | ||||||||||
| 29 | via { | ||||||||||
| 30 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 31 | 0 | return $f | |||||||||
| 32 | } else { | ||||||||||
| 33 | 0 | die 'Only accepts functions'; | |||||||||
| 34 | } | ||||||||||
| 35 | }, | ||||||||||
| 36 | from 'ArrayRef', | ||||||||||
| 37 | via { | ||||||||||
| 38 | Cfn::Value::Array->new(Value => [ | ||||||||||
| 39 | map { | ||||||||||
| 40 | 0 | ▶ | Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::EMR::Cluster::MetricDimension')->coerce($_) | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 41 | } @$_ | ||||||||||
| 42 | ]); | ||||||||||
| 43 | 2 | }; | |||||||||
| 44 | |||||||||||
| 45 | 2 | subtype 'Cfn::Resource::Properties::AWS::EMR::Cluster::MetricDimension', | |||||||||
| 46 | as 'Cfn::Value'; | ||||||||||
| 47 | |||||||||||
| 48 | coerce 'Cfn::Resource::Properties::AWS::EMR::Cluster::MetricDimension', | ||||||||||
| 49 | from 'HashRef', | ||||||||||
| 50 | via { | ||||||||||
| 51 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 52 | 0 | return $f | |||||||||
| 53 | } else { | ||||||||||
| 54 | 0 | return Cfn::Resource::Properties::Object::AWS::EMR::Cluster::MetricDimension->new( %$_ ); | |||||||||
| 55 | } | ||||||||||
| 56 | 2 | }; | |||||||||
| 57 | |||||||||||
| 58 | 2 | package Cfn::Resource::Properties::Object::AWS::EMR::Cluster::MetricDimension { | |||||||||
| 59 | 2 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 60 | 2 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 61 | 2 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 62 | |||||||||||
| 63 | 2 | has Key => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 64 | 2 | has Value => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 65 | } | ||||||||||
| 66 | |||||||||||
| 67 | 2 | subtype 'Cfn::Resource::Properties::AWS::EMR::Cluster::VolumeSpecification', | |||||||||
| 68 | as 'Cfn::Value'; | ||||||||||
| 69 | |||||||||||
| 70 | coerce 'Cfn::Resource::Properties::AWS::EMR::Cluster::VolumeSpecification', | ||||||||||
| 71 | from 'HashRef', | ||||||||||
| 72 | via { | ||||||||||
| 73 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 74 | 0 | return $f | |||||||||
| 75 | } else { | ||||||||||
| 76 | 0 | return Cfn::Resource::Properties::Object::AWS::EMR::Cluster::VolumeSpecification->new( %$_ ); | |||||||||
| 77 | } | ||||||||||
| 78 | 2 | }; | |||||||||
| 79 | |||||||||||
| 80 | 2 | package Cfn::Resource::Properties::Object::AWS::EMR::Cluster::VolumeSpecification { | |||||||||
| 81 | 2 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 82 | 2 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 83 | 2 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 84 | |||||||||||
| 85 | 2 | has Iops => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 86 | 2 | has SizeInGB => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 87 | 2 | has VolumeType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 88 | } | ||||||||||
| 89 | |||||||||||
| 90 | 2 | subtype 'Cfn::Resource::Properties::AWS::EMR::Cluster::SimpleScalingPolicyConfiguration', | |||||||||
| 91 | as 'Cfn::Value'; | ||||||||||
| 92 | |||||||||||
| 93 | coerce 'Cfn::Resource::Properties::AWS::EMR::Cluster::SimpleScalingPolicyConfiguration', | ||||||||||
| 94 | from 'HashRef', | ||||||||||
| 95 | via { | ||||||||||
| 96 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 97 | 0 | return $f | |||||||||
| 98 | } else { | ||||||||||
| 99 | 0 | return Cfn::Resource::Properties::Object::AWS::EMR::Cluster::SimpleScalingPolicyConfiguration->new( %$_ ); | |||||||||
| 100 | } | ||||||||||
| 101 | 2 | }; | |||||||||
| 102 | |||||||||||
| 103 | 2 | package Cfn::Resource::Properties::Object::AWS::EMR::Cluster::SimpleScalingPolicyConfiguration { | |||||||||
| 104 | 2 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 105 | 2 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 106 | 2 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 107 | |||||||||||
| 108 | 2 | has AdjustmentType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 109 | 2 | has CoolDown => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 110 | 2 | has ScalingAdjustment => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 111 | } | ||||||||||
| 112 | |||||||||||
| 113 | 2 | subtype 'Cfn::Resource::Properties::AWS::EMR::Cluster::CloudWatchAlarmDefinition', | |||||||||
| 114 | as 'Cfn::Value'; | ||||||||||
| 115 | |||||||||||
| 116 | coerce 'Cfn::Resource::Properties::AWS::EMR::Cluster::CloudWatchAlarmDefinition', | ||||||||||
| 117 | from 'HashRef', | ||||||||||
| 118 | via { | ||||||||||
| 119 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 120 | 0 | return $f | |||||||||
| 121 | } else { | ||||||||||
| 122 | 0 | return Cfn::Resource::Properties::Object::AWS::EMR::Cluster::CloudWatchAlarmDefinition->new( %$_ ); | |||||||||
| 123 | } | ||||||||||
| 124 | 2 | }; | |||||||||
| 125 | |||||||||||
| 126 | 2 | package Cfn::Resource::Properties::Object::AWS::EMR::Cluster::CloudWatchAlarmDefinition { | |||||||||
| 127 | 2 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 128 | 2 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 129 | 2 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 130 | |||||||||||
| 131 | 2 | has ComparisonOperator => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 132 | 2 | has Dimensions => (isa => 'ArrayOfCfn::Resource::Properties::AWS::EMR::Cluster::MetricDimension', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 133 | 2 | has EvaluationPeriods => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 134 | 2 | has MetricName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 135 | 2 | has Namespace => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 136 | 2 | has Period => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 137 | 2 | has Statistic => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 138 | 2 | has Threshold => (isa => 'Cfn::Value::Double', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 139 | 2 | has Unit => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 140 | } | ||||||||||
| 141 | |||||||||||
| 142 | 2 | subtype 'Cfn::Resource::Properties::AWS::EMR::Cluster::ScalingTrigger', | |||||||||
| 143 | as 'Cfn::Value'; | ||||||||||
| 144 | |||||||||||
| 145 | coerce 'Cfn::Resource::Properties::AWS::EMR::Cluster::ScalingTrigger', | ||||||||||
| 146 | from 'HashRef', | ||||||||||
| 147 | via { | ||||||||||
| 148 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 149 | 0 | return $f | |||||||||
| 150 | } else { | ||||||||||
| 151 | 0 | return Cfn::Resource::Properties::Object::AWS::EMR::Cluster::ScalingTrigger->new( %$_ ); | |||||||||
| 152 | } | ||||||||||
| 153 | 2 | }; | |||||||||
| 154 | |||||||||||
| 155 | 2 | package Cfn::Resource::Properties::Object::AWS::EMR::Cluster::ScalingTrigger { | |||||||||
| 156 | 2 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 157 | 2 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 158 | 2 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 159 | |||||||||||
| 160 | 2 | has CloudWatchAlarmDefinition => (isa => 'Cfn::Resource::Properties::AWS::EMR::Cluster::CloudWatchAlarmDefinition', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 161 | } | ||||||||||
| 162 | |||||||||||
| 163 | 2 | subtype 'Cfn::Resource::Properties::AWS::EMR::Cluster::ScalingAction', | |||||||||
| 164 | as 'Cfn::Value'; | ||||||||||
| 165 | |||||||||||
| 166 | coerce 'Cfn::Resource::Properties::AWS::EMR::Cluster::ScalingAction', | ||||||||||
| 167 | from 'HashRef', | ||||||||||
| 168 | via { | ||||||||||
| 169 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 170 | 0 | return $f | |||||||||
| 171 | } else { | ||||||||||
| 172 | 0 | return Cfn::Resource::Properties::Object::AWS::EMR::Cluster::ScalingAction->new( %$_ ); | |||||||||
| 173 | } | ||||||||||
| 174 | 2 | }; | |||||||||
| 175 | |||||||||||
| 176 | 2 | package Cfn::Resource::Properties::Object::AWS::EMR::Cluster::ScalingAction { | |||||||||
| 177 | 2 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 178 | 2 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 179 | 2 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 180 | |||||||||||
| 181 | 2 | has Market => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 182 | 2 | has SimpleScalingPolicyConfiguration => (isa => 'Cfn::Resource::Properties::AWS::EMR::Cluster::SimpleScalingPolicyConfiguration', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 183 | } | ||||||||||
| 184 | subtype 'ArrayOfCfn::Resource::Properties::AWS::EMR::Cluster::EbsBlockDeviceConfig', | ||||||||||
| 185 | as 'Cfn::Value', | ||||||||||
| 186 | 0 | ▶ | where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 187 | 0 | ▶ | message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=1.2
| |||||||||||
| 188 | |||||||||||
| 189 | coerce 'ArrayOfCfn::Resource::Properties::AWS::EMR::Cluster::EbsBlockDeviceConfig', | ||||||||||
| 190 | from 'HashRef', | ||||||||||
| 191 | via { | ||||||||||
| 192 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 193 | 0 | return $f | |||||||||
| 194 | } else { | ||||||||||
| 195 | 0 | die 'Only accepts functions'; | |||||||||
| 196 | } | ||||||||||
| 197 | }, | ||||||||||
| 198 | from 'ArrayRef', | ||||||||||
| 199 | via { | ||||||||||
| 200 | Cfn::Value::Array->new(Value => [ | ||||||||||
| 201 | map { | ||||||||||
| 202 | 0 | ▶ | Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::EMR::Cluster::EbsBlockDeviceConfig')->coerce($_) | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 203 | } @$_ | ||||||||||
| 204 | ]); | ||||||||||
| 205 | 2 | }; | |||||||||
| 206 | |||||||||||
| 207 | 2 | subtype 'Cfn::Resource::Properties::AWS::EMR::Cluster::EbsBlockDeviceConfig', | |||||||||
| 208 | as 'Cfn::Value'; | ||||||||||
| 209 | |||||||||||
| 210 | coerce 'Cfn::Resource::Properties::AWS::EMR::Cluster::EbsBlockDeviceConfig', | ||||||||||
| 211 | from 'HashRef', | ||||||||||
| 212 | via { | ||||||||||
| 213 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 214 | 0 | return $f | |||||||||
| 215 | } else { | ||||||||||
| 216 | 0 | return Cfn::Resource::Properties::Object::AWS::EMR::Cluster::EbsBlockDeviceConfig->new( %$_ ); | |||||||||
| 217 | } | ||||||||||
| 218 | 2 | }; | |||||||||
| 219 | |||||||||||
| 220 | 2 | package Cfn::Resource::Properties::Object::AWS::EMR::Cluster::EbsBlockDeviceConfig { | |||||||||
| 221 | 2 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 222 | 2 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 223 | 2 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 224 | |||||||||||
| 225 | 2 | has VolumeSpecification => (isa => 'Cfn::Resource::Properties::AWS::EMR::Cluster::VolumeSpecification', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 226 | 2 | has VolumesPerInstance => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 227 | } | ||||||||||
| 228 | |||||||||||
| 229 | 2 | subtype 'Cfn::Resource::Properties::AWS::EMR::Cluster::SpotProvisioningSpecification', | |||||||||
| 230 | as 'Cfn::Value'; | ||||||||||
| 231 | |||||||||||
| 232 | coerce 'Cfn::Resource::Properties::AWS::EMR::Cluster::SpotProvisioningSpecification', | ||||||||||
| 233 | from 'HashRef', | ||||||||||
| 234 | via { | ||||||||||
| 235 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 236 | 0 | return $f | |||||||||
| 237 | } else { | ||||||||||
| 238 | 0 | return Cfn::Resource::Properties::Object::AWS::EMR::Cluster::SpotProvisioningSpecification->new( %$_ ); | |||||||||
| 239 | } | ||||||||||
| 240 | 2 | }; | |||||||||
| 241 | |||||||||||
| 242 | 2 | package Cfn::Resource::Properties::Object::AWS::EMR::Cluster::SpotProvisioningSpecification { | |||||||||
| 243 | 2 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 244 | 2 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 245 | 2 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 246 | |||||||||||
| 247 | 2 | has AllocationStrategy => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 248 | 2 | has BlockDurationMinutes => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 249 | 2 | has TimeoutAction => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 250 | 2 | has TimeoutDurationMinutes => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 251 | } | ||||||||||
| 252 | subtype 'ArrayOfCfn::Resource::Properties::AWS::EMR::Cluster::ScalingRule', | ||||||||||
| 253 | as 'Cfn::Value', | ||||||||||
| 254 | 0 | ▶ | where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 255 | 0 | ▶ | message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=1.2
| |||||||||||
| 256 | |||||||||||
| 257 | coerce 'ArrayOfCfn::Resource::Properties::AWS::EMR::Cluster::ScalingRule', | ||||||||||
| 258 | from 'HashRef', | ||||||||||
| 259 | via { | ||||||||||
| 260 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 261 | 0 | return $f | |||||||||
| 262 | } else { | ||||||||||
| 263 | 0 | die 'Only accepts functions'; | |||||||||
| 264 | } | ||||||||||
| 265 | }, | ||||||||||
| 266 | from 'ArrayRef', | ||||||||||
| 267 | via { | ||||||||||
| 268 | Cfn::Value::Array->new(Value => [ | ||||||||||
| 269 | map { | ||||||||||
| 270 | 0 | ▶ | Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::EMR::Cluster::ScalingRule')->coerce($_) | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 271 | } @$_ | ||||||||||
| 272 | ]); | ||||||||||
| 273 | 2 | }; | |||||||||
| 274 | |||||||||||
| 275 | 2 | subtype 'Cfn::Resource::Properties::AWS::EMR::Cluster::ScalingRule', | |||||||||
| 276 | as 'Cfn::Value'; | ||||||||||
| 277 | |||||||||||
| 278 | coerce 'Cfn::Resource::Properties::AWS::EMR::Cluster::ScalingRule', | ||||||||||
| 279 | from 'HashRef', | ||||||||||
| 280 | via { | ||||||||||
| 281 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 282 | 0 | return $f | |||||||||
| 283 | } else { | ||||||||||
| 284 | 0 | return Cfn::Resource::Properties::Object::AWS::EMR::Cluster::ScalingRule->new( %$_ ); | |||||||||
| 285 | } | ||||||||||
| 286 | 2 | }; | |||||||||
| 287 | |||||||||||
| 288 | 2 | package Cfn::Resource::Properties::Object::AWS::EMR::Cluster::ScalingRule { | |||||||||
| 289 | 2 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 290 | 2 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 291 | 2 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 292 | |||||||||||
| 293 | 2 | has Action => (isa => 'Cfn::Resource::Properties::AWS::EMR::Cluster::ScalingAction', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 294 | 2 | has Description => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 295 | 2 | has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 296 | 2 | has Trigger => (isa => 'Cfn::Resource::Properties::AWS::EMR::Cluster::ScalingTrigger', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 297 | } | ||||||||||
| 298 | |||||||||||
| 299 | 2 | subtype 'Cfn::Resource::Properties::AWS::EMR::Cluster::ScalingConstraints', | |||||||||
| 300 | as 'Cfn::Value'; | ||||||||||
| 301 | |||||||||||
| 302 | coerce 'Cfn::Resource::Properties::AWS::EMR::Cluster::ScalingConstraints', | ||||||||||
| 303 | from 'HashRef', | ||||||||||
| 304 | via { | ||||||||||
| 305 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 306 | 0 | return $f | |||||||||
| 307 | } else { | ||||||||||
| 308 | 0 | return Cfn::Resource::Properties::Object::AWS::EMR::Cluster::ScalingConstraints->new( %$_ ); | |||||||||
| 309 | } | ||||||||||
| 310 | 2 | }; | |||||||||
| 311 | |||||||||||
| 312 | 2 | package Cfn::Resource::Properties::Object::AWS::EMR::Cluster::ScalingConstraints { | |||||||||
| 313 | 2 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 314 | 2 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 315 | 2 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 316 | |||||||||||
| 317 | 2 | has MaxCapacity => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 318 | 2 | has MinCapacity => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 319 | } | ||||||||||
| 320 | |||||||||||
| 321 | 2 | subtype 'Cfn::Resource::Properties::AWS::EMR::Cluster::OnDemandProvisioningSpecification', | |||||||||
| 322 | as 'Cfn::Value'; | ||||||||||
| 323 | |||||||||||
| 324 | coerce 'Cfn::Resource::Properties::AWS::EMR::Cluster::OnDemandProvisioningSpecification', | ||||||||||
| 325 | from 'HashRef', | ||||||||||
| 326 | via { | ||||||||||
| 327 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 328 | 0 | return $f | |||||||||
| 329 | } else { | ||||||||||
| 330 | 0 | return Cfn::Resource::Properties::Object::AWS::EMR::Cluster::OnDemandProvisioningSpecification->new( %$_ ); | |||||||||
| 331 | } | ||||||||||
| 332 | 2 | }; | |||||||||
| 333 | |||||||||||
| 334 | 2 | package Cfn::Resource::Properties::Object::AWS::EMR::Cluster::OnDemandProvisioningSpecification { | |||||||||
| 335 | 2 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 336 | 2 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 337 | 2 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 338 | |||||||||||
| 339 | 2 | has AllocationStrategy => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 340 | } | ||||||||||
| 341 | |||||||||||
| 342 | 2 | subtype 'Cfn::Resource::Properties::AWS::EMR::Cluster::EbsConfiguration', | |||||||||
| 343 | as 'Cfn::Value'; | ||||||||||
| 344 | |||||||||||
| 345 | coerce 'Cfn::Resource::Properties::AWS::EMR::Cluster::EbsConfiguration', | ||||||||||
| 346 | from 'HashRef', | ||||||||||
| 347 | via { | ||||||||||
| 348 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 349 | 0 | return $f | |||||||||
| 350 | } else { | ||||||||||
| 351 | 0 | return Cfn::Resource::Properties::Object::AWS::EMR::Cluster::EbsConfiguration->new( %$_ ); | |||||||||
| 352 | } | ||||||||||
| 353 | 2 | }; | |||||||||
| 354 | |||||||||||
| 355 | 2 | package Cfn::Resource::Properties::Object::AWS::EMR::Cluster::EbsConfiguration { | |||||||||
| 356 | 2 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 357 | 2 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 358 | 2 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 359 | |||||||||||
| 360 | 2 | has EbsBlockDeviceConfigs => (isa => 'ArrayOfCfn::Resource::Properties::AWS::EMR::Cluster::EbsBlockDeviceConfig', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 361 | 2 | has EbsOptimized => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 362 | } | ||||||||||
| 363 | subtype 'ArrayOfCfn::Resource::Properties::AWS::EMR::Cluster::Configuration', | ||||||||||
| 364 | as 'Cfn::Value', | ||||||||||
| 365 | 0 | ▶ | where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 366 | 0 | ▶ | message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=1.2
| |||||||||||
| 367 | |||||||||||
| 368 | coerce 'ArrayOfCfn::Resource::Properties::AWS::EMR::Cluster::Configuration', | ||||||||||
| 369 | from 'HashRef', | ||||||||||
| 370 | via { | ||||||||||
| 371 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 372 | 0 | return $f | |||||||||
| 373 | } else { | ||||||||||
| 374 | 0 | die 'Only accepts functions'; | |||||||||
| 375 | } | ||||||||||
| 376 | }, | ||||||||||
| 377 | from 'ArrayRef', | ||||||||||
| 378 | via { | ||||||||||
| 379 | Cfn::Value::Array->new(Value => [ | ||||||||||
| 380 | map { | ||||||||||
| 381 | 0 | ▶ | Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::EMR::Cluster::Configuration')->coerce($_) | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 382 | } @$_ | ||||||||||
| 383 | ]); | ||||||||||
| 384 | 2 | }; | |||||||||
| 385 | |||||||||||
| 386 | 2 | subtype 'Cfn::Resource::Properties::AWS::EMR::Cluster::Configuration', | |||||||||
| 387 | as 'Cfn::Value'; | ||||||||||
| 388 | |||||||||||
| 389 | coerce 'Cfn::Resource::Properties::AWS::EMR::Cluster::Configuration', | ||||||||||
| 390 | from 'HashRef', | ||||||||||
| 391 | via { | ||||||||||
| 392 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 393 | 0 | return $f | |||||||||
| 394 | } else { | ||||||||||
| 395 | 0 | return Cfn::Resource::Properties::Object::AWS::EMR::Cluster::Configuration->new( %$_ ); | |||||||||
| 396 | } | ||||||||||
| 397 | 2 | }; | |||||||||
| 398 | |||||||||||
| 399 | 2 | package Cfn::Resource::Properties::Object::AWS::EMR::Cluster::Configuration { | |||||||||
| 400 | 2 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 401 | 2 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 402 | 2 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 403 | |||||||||||
| 404 | 2 | has Classification => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 405 | 2 | has ConfigurationProperties => (isa => 'Cfn::Value::Hash|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 406 | 2 | has Configurations => (isa => 'ArrayOfCfn::Resource::Properties::AWS::EMR::Cluster::Configuration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 407 | } | ||||||||||
| 408 | subtype 'ArrayOfCfn::Resource::Properties::AWS::EMR::Cluster::KeyValue', | ||||||||||
| 409 | as 'Cfn::Value', | ||||||||||
| 410 | 0 | ▶ | where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 411 | 0 | ▶ | message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=1.2
| |||||||||||
| 412 | |||||||||||
| 413 | coerce 'ArrayOfCfn::Resource::Properties::AWS::EMR::Cluster::KeyValue', | ||||||||||
| 414 | from 'HashRef', | ||||||||||
| 415 | via { | ||||||||||
| 416 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 417 | 0 | return $f | |||||||||
| 418 | } else { | ||||||||||
| 419 | 0 | die 'Only accepts functions'; | |||||||||
| 420 | } | ||||||||||
| 421 | }, | ||||||||||
| 422 | from 'ArrayRef', | ||||||||||
| 423 | via { | ||||||||||
| 424 | Cfn::Value::Array->new(Value => [ | ||||||||||
| 425 | map { | ||||||||||
| 426 | 0 | ▶ | Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::EMR::Cluster::KeyValue')->coerce($_) | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 427 | } @$_ | ||||||||||
| 428 | ]); | ||||||||||
| 429 | 2 | }; | |||||||||
| 430 | |||||||||||
| 431 | 2 | subtype 'Cfn::Resource::Properties::AWS::EMR::Cluster::KeyValue', | |||||||||
| 432 | as 'Cfn::Value'; | ||||||||||
| 433 | |||||||||||
| 434 | coerce 'Cfn::Resource::Properties::AWS::EMR::Cluster::KeyValue', | ||||||||||
| 435 | from 'HashRef', | ||||||||||
| 436 | via { | ||||||||||
| 437 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 438 | 0 | return $f | |||||||||
| 439 | } else { | ||||||||||
| 440 | 0 | return Cfn::Resource::Properties::Object::AWS::EMR::Cluster::KeyValue->new( %$_ ); | |||||||||
| 441 | } | ||||||||||
| 442 | 2 | }; | |||||||||
| 443 | |||||||||||
| 444 | 2 | package Cfn::Resource::Properties::Object::AWS::EMR::Cluster::KeyValue { | |||||||||
| 445 | 2 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 446 | 2 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 447 | 2 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 448 | |||||||||||
| 449 | 2 | has Key => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 450 | 2 | has Value => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 451 | } | ||||||||||
| 452 | subtype 'ArrayOfCfn::Resource::Properties::AWS::EMR::Cluster::InstanceTypeConfig', | ||||||||||
| 453 | as 'Cfn::Value', | ||||||||||
| 454 | 0 | ▶ | where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 455 | 0 | ▶ | message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=1.2
| |||||||||||
| 456 | |||||||||||
| 457 | coerce 'ArrayOfCfn::Resource::Properties::AWS::EMR::Cluster::InstanceTypeConfig', | ||||||||||
| 458 | from 'HashRef', | ||||||||||
| 459 | via { | ||||||||||
| 460 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 461 | 0 | return $f | |||||||||
| 462 | } else { | ||||||||||
| 463 | 0 | die 'Only accepts functions'; | |||||||||
| 464 | } | ||||||||||
| 465 | }, | ||||||||||
| 466 | from 'ArrayRef', | ||||||||||
| 467 | via { | ||||||||||
| 468 | Cfn::Value::Array->new(Value => [ | ||||||||||
| 469 | map { | ||||||||||
| 470 | 0 | ▶ | Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::EMR::Cluster::InstanceTypeConfig')->coerce($_) | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 471 | } @$_ | ||||||||||
| 472 | ]); | ||||||||||
| 473 | 2 | }; | |||||||||
| 474 | |||||||||||
| 475 | 2 | subtype 'Cfn::Resource::Properties::AWS::EMR::Cluster::InstanceTypeConfig', | |||||||||
| 476 | as 'Cfn::Value'; | ||||||||||
| 477 | |||||||||||
| 478 | coerce 'Cfn::Resource::Properties::AWS::EMR::Cluster::InstanceTypeConfig', | ||||||||||
| 479 | from 'HashRef', | ||||||||||
| 480 | via { | ||||||||||
| 481 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 482 | 0 | return $f | |||||||||
| 483 | } else { | ||||||||||
| 484 | 0 | return Cfn::Resource::Properties::Object::AWS::EMR::Cluster::InstanceTypeConfig->new( %$_ ); | |||||||||
| 485 | } | ||||||||||
| 486 | 2 | }; | |||||||||
| 487 | |||||||||||
| 488 | 2 | package Cfn::Resource::Properties::Object::AWS::EMR::Cluster::InstanceTypeConfig { | |||||||||
| 489 | 2 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 490 | 2 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 491 | 2 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 492 | |||||||||||
| 493 | 2 | has BidPrice => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 494 | 2 | has BidPriceAsPercentageOfOnDemandPrice => (isa => 'Cfn::Value::Double', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 495 | 2 | has Configurations => (isa => 'ArrayOfCfn::Resource::Properties::AWS::EMR::Cluster::Configuration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 496 | 2 | has EbsConfiguration => (isa => 'Cfn::Resource::Properties::AWS::EMR::Cluster::EbsConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 497 | 2 | has InstanceType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 498 | 2 | has WeightedCapacity => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 499 | } | ||||||||||
| 500 | |||||||||||
| 501 | 2 | subtype 'Cfn::Resource::Properties::AWS::EMR::Cluster::InstanceFleetProvisioningSpecifications', | |||||||||
| 502 | as 'Cfn::Value'; | ||||||||||
| 503 | |||||||||||
| 504 | coerce 'Cfn::Resource::Properties::AWS::EMR::Cluster::InstanceFleetProvisioningSpecifications', | ||||||||||
| 505 | from 'HashRef', | ||||||||||
| 506 | via { | ||||||||||
| 507 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 508 | 0 | return $f | |||||||||
| 509 | } else { | ||||||||||
| 510 | 0 | return Cfn::Resource::Properties::Object::AWS::EMR::Cluster::InstanceFleetProvisioningSpecifications->new( %$_ ); | |||||||||
| 511 | } | ||||||||||
| 512 | 2 | }; | |||||||||
| 513 | |||||||||||
| 514 | 2 | package Cfn::Resource::Properties::Object::AWS::EMR::Cluster::InstanceFleetProvisioningSpecifications { | |||||||||
| 515 | 2 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 516 | 2 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 517 | 2 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 518 | |||||||||||
| 519 | 2 | has OnDemandSpecification => (isa => 'Cfn::Resource::Properties::AWS::EMR::Cluster::OnDemandProvisioningSpecification', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 520 | 2 | has SpotSpecification => (isa => 'Cfn::Resource::Properties::AWS::EMR::Cluster::SpotProvisioningSpecification', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 521 | } | ||||||||||
| 522 | |||||||||||
| 523 | 2 | subtype 'Cfn::Resource::Properties::AWS::EMR::Cluster::AutoScalingPolicy', | |||||||||
| 524 | as 'Cfn::Value'; | ||||||||||
| 525 | |||||||||||
| 526 | coerce 'Cfn::Resource::Properties::AWS::EMR::Cluster::AutoScalingPolicy', | ||||||||||
| 527 | from 'HashRef', | ||||||||||
| 528 | via { | ||||||||||
| 529 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 530 | 0 | return $f | |||||||||
| 531 | } else { | ||||||||||
| 532 | 0 | return Cfn::Resource::Properties::Object::AWS::EMR::Cluster::AutoScalingPolicy->new( %$_ ); | |||||||||
| 533 | } | ||||||||||
| 534 | 2 | }; | |||||||||
| 535 | |||||||||||
| 536 | 2 | package Cfn::Resource::Properties::Object::AWS::EMR::Cluster::AutoScalingPolicy { | |||||||||
| 537 | 2 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 538 | 2 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 539 | 2 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 540 | |||||||||||
| 541 | 2 | has Constraints => (isa => 'Cfn::Resource::Properties::AWS::EMR::Cluster::ScalingConstraints', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 542 | 2 | has Rules => (isa => 'ArrayOfCfn::Resource::Properties::AWS::EMR::Cluster::ScalingRule', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 543 | } | ||||||||||
| 544 | |||||||||||
| 545 | 2 | subtype 'Cfn::Resource::Properties::AWS::EMR::Cluster::ScriptBootstrapActionConfig', | |||||||||
| 546 | as 'Cfn::Value'; | ||||||||||
| 547 | |||||||||||
| 548 | coerce 'Cfn::Resource::Properties::AWS::EMR::Cluster::ScriptBootstrapActionConfig', | ||||||||||
| 549 | from 'HashRef', | ||||||||||
| 550 | via { | ||||||||||
| 551 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 552 | 0 | return $f | |||||||||
| 553 | } else { | ||||||||||
| 554 | 0 | return Cfn::Resource::Properties::Object::AWS::EMR::Cluster::ScriptBootstrapActionConfig->new( %$_ ); | |||||||||
| 555 | } | ||||||||||
| 556 | 2 | }; | |||||||||
| 557 | |||||||||||
| 558 | 2 | package Cfn::Resource::Properties::Object::AWS::EMR::Cluster::ScriptBootstrapActionConfig { | |||||||||
| 559 | 2 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 560 | 2 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 561 | 2 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 562 | |||||||||||
| 563 | 2 | has Args => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 564 | 2 | has Path => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 565 | } | ||||||||||
| 566 | |||||||||||
| 567 | 2 | subtype 'Cfn::Resource::Properties::AWS::EMR::Cluster::PlacementType', | |||||||||
| 568 | as 'Cfn::Value'; | ||||||||||
| 569 | |||||||||||
| 570 | coerce 'Cfn::Resource::Properties::AWS::EMR::Cluster::PlacementType', | ||||||||||
| 571 | from 'HashRef', | ||||||||||
| 572 | via { | ||||||||||
| 573 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 574 | 0 | return $f | |||||||||
| 575 | } else { | ||||||||||
| 576 | 0 | return Cfn::Resource::Properties::Object::AWS::EMR::Cluster::PlacementType->new( %$_ ); | |||||||||
| 577 | } | ||||||||||
| 578 | 2 | }; | |||||||||
| 579 | |||||||||||
| 580 | 2 | package Cfn::Resource::Properties::Object::AWS::EMR::Cluster::PlacementType { | |||||||||
| 581 | 2 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 582 | 2 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 583 | 2 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 584 | |||||||||||
| 585 | 2 | has AvailabilityZone => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 586 | } | ||||||||||
| 587 | |||||||||||
| 588 | 2 | subtype 'Cfn::Resource::Properties::AWS::EMR::Cluster::InstanceGroupConfig', | |||||||||
| 589 | as 'Cfn::Value'; | ||||||||||
| 590 | |||||||||||
| 591 | coerce 'Cfn::Resource::Properties::AWS::EMR::Cluster::InstanceGroupConfig', | ||||||||||
| 592 | from 'HashRef', | ||||||||||
| 593 | via { | ||||||||||
| 594 | 4 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: called CC=2 SCAR=8.1
Branch: 1 branch
| |||||||||||
| 595 | 0 | return $f | |||||||||
| 596 | } else { | ||||||||||
| 597 | 4 | return Cfn::Resource::Properties::Object::AWS::EMR::Cluster::InstanceGroupConfig->new( %$_ ); | |||||||||
| 598 | } | ||||||||||
| 599 | 2 | }; | |||||||||
| 600 | |||||||||||
| 601 | 2 | package Cfn::Resource::Properties::Object::AWS::EMR::Cluster::InstanceGroupConfig { | |||||||||
| 602 | 2 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 603 | 2 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 604 | 2 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 605 | |||||||||||
| 606 | 2 | has AutoScalingPolicy => (isa => 'Cfn::Resource::Properties::AWS::EMR::Cluster::AutoScalingPolicy', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 607 | 2 | has BidPrice => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 608 | 2 | has Configurations => (isa => 'ArrayOfCfn::Resource::Properties::AWS::EMR::Cluster::Configuration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 609 | 2 | has EbsConfiguration => (isa => 'Cfn::Resource::Properties::AWS::EMR::Cluster::EbsConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 610 | 2 | has InstanceCount => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 611 | 2 | has InstanceType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 612 | 2 | has Market => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 613 | 2 | has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 614 | } | ||||||||||
| 615 | |||||||||||
| 616 | 2 | subtype 'Cfn::Resource::Properties::AWS::EMR::Cluster::InstanceFleetConfig', | |||||||||
| 617 | as 'Cfn::Value'; | ||||||||||
| 618 | |||||||||||
| 619 | coerce 'Cfn::Resource::Properties::AWS::EMR::Cluster::InstanceFleetConfig', | ||||||||||
| 620 | from 'HashRef', | ||||||||||
| 621 | via { | ||||||||||
| 622 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 623 | 0 | return $f | |||||||||
| 624 | } else { | ||||||||||
| 625 | 0 | return Cfn::Resource::Properties::Object::AWS::EMR::Cluster::InstanceFleetConfig->new( %$_ ); | |||||||||
| 626 | } | ||||||||||
| 627 | 2 | }; | |||||||||
| 628 | |||||||||||
| 629 | 2 | package Cfn::Resource::Properties::Object::AWS::EMR::Cluster::InstanceFleetConfig { | |||||||||
| 630 | 2 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 631 | 2 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 632 | 2 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 633 | |||||||||||
| 634 | 2 | has InstanceTypeConfigs => (isa => 'ArrayOfCfn::Resource::Properties::AWS::EMR::Cluster::InstanceTypeConfig', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 635 | 2 | has LaunchSpecifications => (isa => 'Cfn::Resource::Properties::AWS::EMR::Cluster::InstanceFleetProvisioningSpecifications', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 636 | 2 | has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 637 | 2 | has TargetOnDemandCapacity => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 638 | 2 | has TargetSpotCapacity => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 639 | } | ||||||||||
| 640 | |||||||||||
| 641 | 2 | subtype 'Cfn::Resource::Properties::AWS::EMR::Cluster::HadoopJarStepConfig', | |||||||||
| 642 | as 'Cfn::Value'; | ||||||||||
| 643 | |||||||||||
| 644 | coerce 'Cfn::Resource::Properties::AWS::EMR::Cluster::HadoopJarStepConfig', | ||||||||||
| 645 | from 'HashRef', | ||||||||||
| 646 | via { | ||||||||||
| 647 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 648 | 0 | return $f | |||||||||
| 649 | } else { | ||||||||||
| 650 | 0 | return Cfn::Resource::Properties::Object::AWS::EMR::Cluster::HadoopJarStepConfig->new( %$_ ); | |||||||||
| 651 | } | ||||||||||
| 652 | 2 | }; | |||||||||
| 653 | |||||||||||
| 654 | 2 | package Cfn::Resource::Properties::Object::AWS::EMR::Cluster::HadoopJarStepConfig { | |||||||||
| 655 | 2 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 656 | 2 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 657 | 2 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 658 | |||||||||||
| 659 | 2 | has Args => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 660 | 2 | has Jar => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 661 | 2 | has MainClass => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 662 | 2 | has StepProperties => (isa => 'ArrayOfCfn::Resource::Properties::AWS::EMR::Cluster::KeyValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 663 | } | ||||||||||
| 664 | |||||||||||
| 665 | 2 | subtype 'Cfn::Resource::Properties::AWS::EMR::Cluster::ComputeLimits', | |||||||||
| 666 | as 'Cfn::Value'; | ||||||||||
| 667 | |||||||||||
| 668 | coerce 'Cfn::Resource::Properties::AWS::EMR::Cluster::ComputeLimits', | ||||||||||
| 669 | from 'HashRef', | ||||||||||
| 670 | via { | ||||||||||
| 671 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 672 | 0 | return $f | |||||||||
| 673 | } else { | ||||||||||
| 674 | 0 | return Cfn::Resource::Properties::Object::AWS::EMR::Cluster::ComputeLimits->new( %$_ ); | |||||||||
| 675 | } | ||||||||||
| 676 | 2 | }; | |||||||||
| 677 | |||||||||||
| 678 | 2 | package Cfn::Resource::Properties::Object::AWS::EMR::Cluster::ComputeLimits { | |||||||||
| 679 | 2 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 680 | 2 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 681 | 2 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 682 | |||||||||||
| 683 | 2 | has MaximumCapacityUnits => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 684 | 2 | has MaximumCoreCapacityUnits => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 685 | 2 | has MaximumOnDemandCapacityUnits => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 686 | 2 | has MinimumCapacityUnits => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 687 | 2 | has UnitType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 688 | } | ||||||||||
| 689 | subtype 'ArrayOfCfn::Resource::Properties::AWS::EMR::Cluster::StepConfig', | ||||||||||
| 690 | as 'Cfn::Value', | ||||||||||
| 691 | 0 | ▶ | where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 692 | 0 | ▶ | message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=1.2
| |||||||||||
| 693 | |||||||||||
| 694 | coerce 'ArrayOfCfn::Resource::Properties::AWS::EMR::Cluster::StepConfig', | ||||||||||
| 695 | from 'HashRef', | ||||||||||
| 696 | via { | ||||||||||
| 697 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 698 | 0 | return $f | |||||||||
| 699 | } else { | ||||||||||
| 700 | 0 | die 'Only accepts functions'; | |||||||||
| 701 | } | ||||||||||
| 702 | }, | ||||||||||
| 703 | from 'ArrayRef', | ||||||||||
| 704 | via { | ||||||||||
| 705 | Cfn::Value::Array->new(Value => [ | ||||||||||
| 706 | map { | ||||||||||
| 707 | 0 | ▶ | Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::EMR::Cluster::StepConfig')->coerce($_) | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 708 | } @$_ | ||||||||||
| 709 | ]); | ||||||||||
| 710 | 2 | }; | |||||||||
| 711 | |||||||||||
| 712 | 2 | subtype 'Cfn::Resource::Properties::AWS::EMR::Cluster::StepConfig', | |||||||||
| 713 | as 'Cfn::Value'; | ||||||||||
| 714 | |||||||||||
| 715 | coerce 'Cfn::Resource::Properties::AWS::EMR::Cluster::StepConfig', | ||||||||||
| 716 | from 'HashRef', | ||||||||||
| 717 | via { | ||||||||||
| 718 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 719 | 0 | return $f | |||||||||
| 720 | } else { | ||||||||||
| 721 | 0 | return Cfn::Resource::Properties::Object::AWS::EMR::Cluster::StepConfig->new( %$_ ); | |||||||||
| 722 | } | ||||||||||
| 723 | 2 | }; | |||||||||
| 724 | |||||||||||
| 725 | 2 | package Cfn::Resource::Properties::Object::AWS::EMR::Cluster::StepConfig { | |||||||||
| 726 | 2 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 727 | 2 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 728 | 2 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 729 | |||||||||||
| 730 | 2 | has ActionOnFailure => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 731 | 2 | has HadoopJarStep => (isa => 'Cfn::Resource::Properties::AWS::EMR::Cluster::HadoopJarStepConfig', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 732 | 2 | has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 733 | } | ||||||||||
| 734 | |||||||||||
| 735 | 2 | subtype 'Cfn::Resource::Properties::AWS::EMR::Cluster::ManagedScalingPolicy', | |||||||||
| 736 | as 'Cfn::Value'; | ||||||||||
| 737 | |||||||||||
| 738 | coerce 'Cfn::Resource::Properties::AWS::EMR::Cluster::ManagedScalingPolicy', | ||||||||||
| 739 | from 'HashRef', | ||||||||||
| 740 | via { | ||||||||||
| 741 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 742 | 0 | return $f | |||||||||
| 743 | } else { | ||||||||||
| 744 | 0 | return Cfn::Resource::Properties::Object::AWS::EMR::Cluster::ManagedScalingPolicy->new( %$_ ); | |||||||||
| 745 | } | ||||||||||
| 746 | 2 | }; | |||||||||
| 747 | |||||||||||
| 748 | 2 | package Cfn::Resource::Properties::Object::AWS::EMR::Cluster::ManagedScalingPolicy { | |||||||||
| 749 | 2 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 750 | 2 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 751 | 2 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 752 | |||||||||||
| 753 | 2 | has ComputeLimits => (isa => 'Cfn::Resource::Properties::AWS::EMR::Cluster::ComputeLimits', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 754 | } | ||||||||||
| 755 | |||||||||||
| 756 | 2 | subtype 'Cfn::Resource::Properties::AWS::EMR::Cluster::KerberosAttributes', | |||||||||
| 757 | as 'Cfn::Value'; | ||||||||||
| 758 | |||||||||||
| 759 | coerce 'Cfn::Resource::Properties::AWS::EMR::Cluster::KerberosAttributes', | ||||||||||
| 760 | from 'HashRef', | ||||||||||
| 761 | via { | ||||||||||
| 762 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 763 | 0 | return $f | |||||||||
| 764 | } else { | ||||||||||
| 765 | 0 | return Cfn::Resource::Properties::Object::AWS::EMR::Cluster::KerberosAttributes->new( %$_ ); | |||||||||
| 766 | } | ||||||||||
| 767 | 2 | }; | |||||||||
| 768 | |||||||||||
| 769 | 2 | package Cfn::Resource::Properties::Object::AWS::EMR::Cluster::KerberosAttributes { | |||||||||
| 770 | 2 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 771 | 2 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 772 | 2 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 773 | |||||||||||
| 774 | 2 | has ADDomainJoinPassword => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 775 | 2 | has ADDomainJoinUser => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 776 | 2 | has CrossRealmTrustPrincipalPassword => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 777 | 2 | has KdcAdminPassword => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 778 | 2 | has Realm => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 779 | } | ||||||||||
| 780 | |||||||||||
| 781 | 2 | subtype 'Cfn::Resource::Properties::AWS::EMR::Cluster::JobFlowInstancesConfig', | |||||||||
| 782 | as 'Cfn::Value'; | ||||||||||
| 783 | |||||||||||
| 784 | coerce 'Cfn::Resource::Properties::AWS::EMR::Cluster::JobFlowInstancesConfig', | ||||||||||
| 785 | from 'HashRef', | ||||||||||
| 786 | via { | ||||||||||
| 787 | 2 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: called CC=2 SCAR=8.1
Branch: 1 branch
| |||||||||||
| 788 | 0 | return $f | |||||||||
| 789 | } else { | ||||||||||
| 790 | 2 | return Cfn::Resource::Properties::Object::AWS::EMR::Cluster::JobFlowInstancesConfig->new( %$_ ); | |||||||||
| 791 | } | ||||||||||
| 792 | 2 | }; | |||||||||
| 793 | |||||||||||
| 794 | 2 | package Cfn::Resource::Properties::Object::AWS::EMR::Cluster::JobFlowInstancesConfig { | |||||||||
| 795 | 2 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 796 | 2 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 797 | 2 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 798 | |||||||||||
| 799 | 2 | has AdditionalMasterSecurityGroups => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 800 | 2 | has AdditionalSlaveSecurityGroups => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 801 | 2 | has CoreInstanceFleet => (isa => 'Cfn::Resource::Properties::AWS::EMR::Cluster::InstanceFleetConfig', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 802 | 2 | has CoreInstanceGroup => (isa => 'Cfn::Resource::Properties::AWS::EMR::Cluster::InstanceGroupConfig', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 803 | 2 | has Ec2KeyName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 804 | 2 | has Ec2SubnetId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 805 | 2 | has Ec2SubnetIds => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 806 | 2 | has EmrManagedMasterSecurityGroup => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 807 | 2 | has EmrManagedSlaveSecurityGroup => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 808 | 2 | has HadoopVersion => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 809 | 2 | has KeepJobFlowAliveWhenNoSteps => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 810 | 2 | has MasterInstanceFleet => (isa => 'Cfn::Resource::Properties::AWS::EMR::Cluster::InstanceFleetConfig', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 811 | 2 | has MasterInstanceGroup => (isa => 'Cfn::Resource::Properties::AWS::EMR::Cluster::InstanceGroupConfig', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 812 | 2 | has Placement => (isa => 'Cfn::Resource::Properties::AWS::EMR::Cluster::PlacementType', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 813 | 2 | has ServiceAccessSecurityGroup => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 814 | 2 | has TerminationProtected => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 815 | } | ||||||||||
| 816 | subtype 'ArrayOfCfn::Resource::Properties::AWS::EMR::Cluster::BootstrapActionConfig', | ||||||||||
| 817 | as 'Cfn::Value', | ||||||||||
| 818 | 0 | ▶ | where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 819 | 0 | ▶ | message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=1.2
| |||||||||||
| 820 | |||||||||||
| 821 | coerce 'ArrayOfCfn::Resource::Properties::AWS::EMR::Cluster::BootstrapActionConfig', | ||||||||||
| 822 | from 'HashRef', | ||||||||||
| 823 | via { | ||||||||||
| 824 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 825 | 0 | return $f | |||||||||
| 826 | } else { | ||||||||||
| 827 | 0 | die 'Only accepts functions'; | |||||||||
| 828 | } | ||||||||||
| 829 | }, | ||||||||||
| 830 | from 'ArrayRef', | ||||||||||
| 831 | via { | ||||||||||
| 832 | Cfn::Value::Array->new(Value => [ | ||||||||||
| 833 | map { | ||||||||||
| 834 | 0 | ▶ | Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::EMR::Cluster::BootstrapActionConfig')->coerce($_) | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 835 | } @$_ | ||||||||||
| 836 | ]); | ||||||||||
| 837 | 2 | }; | |||||||||
| 838 | |||||||||||
| 839 | 2 | subtype 'Cfn::Resource::Properties::AWS::EMR::Cluster::BootstrapActionConfig', | |||||||||
| 840 | as 'Cfn::Value'; | ||||||||||
| 841 | |||||||||||
| 842 | coerce 'Cfn::Resource::Properties::AWS::EMR::Cluster::BootstrapActionConfig', | ||||||||||
| 843 | from 'HashRef', | ||||||||||
| 844 | via { | ||||||||||
| 845 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 846 | 0 | return $f | |||||||||
| 847 | } else { | ||||||||||
| 848 | 0 | return Cfn::Resource::Properties::Object::AWS::EMR::Cluster::BootstrapActionConfig->new( %$_ ); | |||||||||
| 849 | } | ||||||||||
| 850 | 2 | }; | |||||||||
| 851 | |||||||||||
| 852 | 2 | package Cfn::Resource::Properties::Object::AWS::EMR::Cluster::BootstrapActionConfig { | |||||||||
| 853 | 2 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 854 | 2 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 855 | 2 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 856 | |||||||||||
| 857 | 2 | has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 858 | 2 | has ScriptBootstrapAction => (isa => 'Cfn::Resource::Properties::AWS::EMR::Cluster::ScriptBootstrapActionConfig', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 859 | } | ||||||||||
| 860 | subtype 'ArrayOfCfn::Resource::Properties::AWS::EMR::Cluster::Application', | ||||||||||
| 861 | as 'Cfn::Value', | ||||||||||
| 862 | 0 | ▶ | where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 863 | 0 | ▶ | message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=1.2
| |||||||||||
| 864 | |||||||||||
| 865 | coerce 'ArrayOfCfn::Resource::Properties::AWS::EMR::Cluster::Application', | ||||||||||
| 866 | from 'HashRef', | ||||||||||
| 867 | via { | ||||||||||
| 868 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 869 | 0 | return $f | |||||||||
| 870 | } else { | ||||||||||
| 871 | 0 | die 'Only accepts functions'; | |||||||||
| 872 | } | ||||||||||
| 873 | }, | ||||||||||
| 874 | from 'ArrayRef', | ||||||||||
| 875 | via { | ||||||||||
| 876 | Cfn::Value::Array->new(Value => [ | ||||||||||
| 877 | map { | ||||||||||
| 878 | 0 | ▶ | Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::EMR::Cluster::Application')->coerce($_) | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 879 | } @$_ | ||||||||||
| 880 | ]); | ||||||||||
| 881 | 2 | }; | |||||||||
| 882 | |||||||||||
| 883 | 2 | subtype 'Cfn::Resource::Properties::AWS::EMR::Cluster::Application', | |||||||||
| 884 | as 'Cfn::Value'; | ||||||||||
| 885 | |||||||||||
| 886 | coerce 'Cfn::Resource::Properties::AWS::EMR::Cluster::Application', | ||||||||||
| 887 | from 'HashRef', | ||||||||||
| 888 | via { | ||||||||||
| 889 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 890 | 0 | return $f | |||||||||
| 891 | } else { | ||||||||||
| 892 | 0 | return Cfn::Resource::Properties::Object::AWS::EMR::Cluster::Application->new( %$_ ); | |||||||||
| 893 | } | ||||||||||
| 894 | 2 | }; | |||||||||
| 895 | |||||||||||
| 896 | 2 | package Cfn::Resource::Properties::Object::AWS::EMR::Cluster::Application { | |||||||||
| 897 | 2 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 898 | 2 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 899 | 2 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 900 | |||||||||||
| 901 | 2 | has AdditionalInfo => (isa => 'Cfn::Value::Hash|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 902 | 2 | has Args => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 903 | 2 | has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 904 | 2 | has Version => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 905 | } | ||||||||||
| 906 | |||||||||||
| 907 | 2 | package Cfn::Resource::Properties::AWS::EMR::Cluster { | |||||||||
| 908 | 2 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 909 | 2 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 910 | 2 | extends 'Cfn::Resource::Properties'; | |||||||||
| 911 | |||||||||||
| 912 | 2 | has AdditionalInfo => (isa => 'Cfn::Value::Json|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 913 | 2 | has Applications => (isa => 'ArrayOfCfn::Resource::Properties::AWS::EMR::Cluster::Application', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 914 | 2 | has AutoScalingRole => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 915 | 2 | has BootstrapActions => (isa => 'ArrayOfCfn::Resource::Properties::AWS::EMR::Cluster::BootstrapActionConfig', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 916 | 2 | has Configurations => (isa => 'ArrayOfCfn::Resource::Properties::AWS::EMR::Cluster::Configuration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 917 | 2 | has CustomAmiId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 918 | 2 | has EbsRootVolumeSize => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 919 | 2 | has Instances => (isa => 'Cfn::Resource::Properties::AWS::EMR::Cluster::JobFlowInstancesConfig', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Conditional'); | |||||||||
| 920 | 2 | has JobFlowRole => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 921 | 2 | has KerberosAttributes => (isa => 'Cfn::Resource::Properties::AWS::EMR::Cluster::KerberosAttributes', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 922 | 2 | has LogEncryptionKmsKeyId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 923 | 2 | has LogUri => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 924 | 2 | has ManagedScalingPolicy => (isa => 'Cfn::Resource::Properties::AWS::EMR::Cluster::ManagedScalingPolicy', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 925 | 2 | has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 926 | 2 | has ReleaseLabel => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 927 | 2 | has ScaleDownBehavior => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 928 | 2 | has SecurityConfiguration => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 929 | 2 | has ServiceRole => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 930 | 2 | has StepConcurrencyLevel => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 931 | 2 | has Steps => (isa => 'ArrayOfCfn::Resource::Properties::AWS::EMR::Cluster::StepConfig', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 932 | 2 | has Tags => (isa => 'ArrayOfCfn::Resource::Properties::TagType', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 933 | 2 | has VisibleToAllUsers => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 934 | } | ||||||||||
| 935 | |||||||||||
| 936 | 2 | 1; | |||||||||
| 937 | ### main pod documentation begin ### | ||||||||||
| 938 | |||||||||||
| 939 | =encoding UTF-8 | ||||||||||
| 940 | |||||||||||
| 941 | =head1 NAME | ||||||||||
| 942 | |||||||||||
| 943 | Cfn::Resource::AWS::EMR::Cluster - Cfn resource for AWS::EMR::Cluster | ||||||||||
| 944 | |||||||||||
| 945 | =head1 DESCRIPTION | ||||||||||
| 946 | |||||||||||
| 947 | This module implements a Perl module that represents the CloudFormation object AWS::EMR::Cluster. | ||||||||||
| 948 | |||||||||||
| 949 | See L<Cfn> for more information on how to use it. | ||||||||||
| 950 | |||||||||||
| 951 | =head1 AUTHOR | ||||||||||
| 952 | |||||||||||
| 953 | Jose Luis Martinez | ||||||||||
| 954 | CAPSiDE | ||||||||||
| 955 | jlmartinez@capside.com | ||||||||||
| 956 | |||||||||||
| 957 | =head1 COPYRIGHT and LICENSE | ||||||||||
| 958 | |||||||||||
| 959 | Copyright (c) 2013 by CAPSiDE | ||||||||||
| 960 | This code is distributed under the Apache 2 License. The full text of the | ||||||||||
| 961 | license can be found in the LICENSE file included with this module. | ||||||||||
| 962 | |||||||||||
| 963 | =cut | ||||||||||