line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
2
|
|
|
2
|
|
1159
|
use Moose::Util::TypeConstraints; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
21
|
|
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::AutoScaling::AutoScalingGroup', |
4
|
|
|
|
|
|
|
from 'HashRef', |
5
|
|
|
|
|
|
|
via { Cfn::Resource::Properties::AWS::AutoScaling::AutoScalingGroup->new( %$_ ) }; |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
package Cfn::Resource::AWS::AutoScaling::AutoScalingGroup { |
8
|
2
|
|
|
2
|
|
4603
|
use Moose; |
|
2
|
|
|
|
|
6
|
|
|
2
|
|
|
|
|
27
|
|
9
|
|
|
|
|
|
|
extends 'Cfn::Resource'; |
10
|
|
|
|
|
|
|
has Properties => (isa => 'Cfn::Resource::Properties::AWS::AutoScaling::AutoScalingGroup', is => 'rw', coerce => 1, required => 1); |
11
|
|
|
|
|
|
|
} |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
package Cfn::Resource::Properties::AWS::AutoScaling::AutoScalingGroup { |
14
|
2
|
|
|
2
|
|
15122
|
use Moose; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
11
|
|
15
|
2
|
|
|
2
|
|
13577
|
use MooseX::StrictConstructor; |
|
2
|
|
|
|
|
27484
|
|
|
2
|
|
|
|
|
26
|
|
16
|
|
|
|
|
|
|
extends 'Cfn::Resource::Properties'; |
17
|
|
|
|
|
|
|
has AvailabilityZones => (isa => 'Cfn::Value::Array|Cfn::Value::Function', is => 'rw', coerce => 1, required => 1); |
18
|
|
|
|
|
|
|
has Cooldown => (isa => 'Cfn::Value', is => 'rw', coerce => 1); |
19
|
|
|
|
|
|
|
has DesiredCapacity => (isa => 'Cfn::Value', is => 'rw', coerce => 1); |
20
|
|
|
|
|
|
|
has HealthCheckGracePeriod => (isa => 'Cfn::Value', is => 'rw', coerce => 1); |
21
|
|
|
|
|
|
|
has HealthCheckType => (isa => 'Cfn::Value', is => 'rw', coerce => 1); |
22
|
|
|
|
|
|
|
has LaunchConfigurationName => (isa => 'Cfn::Value', is => 'rw', coerce => 1, required => 1); |
23
|
|
|
|
|
|
|
has LoadBalancerNames => (isa => 'Cfn::Value::Array|Cfn::Value::Function', is => 'rw', coerce => 1); |
24
|
|
|
|
|
|
|
has MaxSize => (isa => 'Cfn::Value', is => 'rw', coerce => 1, required => 1); |
25
|
|
|
|
|
|
|
has MinSize => (isa => 'Cfn::Value', is => 'rw', coerce => 1, required => 1);; |
26
|
|
|
|
|
|
|
has NotificationConfigurations => (isa => 'Cfn::Value::Array|Cfn::Value::Function', is => 'rw', coerce => 1); |
27
|
|
|
|
|
|
|
has Tags => (isa => 'Cfn::Value::Array|Cfn::Value::Function', is => 'rw', coerce => 1); |
28
|
|
|
|
|
|
|
has TerminationPolicies => (isa => 'Cfn::Value::Array|Cfn::Value::Function', is => 'rw', coerce => 1); |
29
|
|
|
|
|
|
|
has VPCZoneIdentifier => (isa => 'Cfn::Value::Array|Cfn::Value::Function', is => 'rw', coerce => 1); |
30
|
|
|
|
|
|
|
has MetricsCollection => (isa => 'Cfn::Value::Array|Cfn::Value::Function', is => 'rw', coerce => 1, required => 0); |
31
|
|
|
|
|
|
|
} |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
1; |