line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
2
|
|
|
2
|
|
1271
|
use Moose::Util::TypeConstraints; |
|
2
|
|
|
|
|
6
|
|
|
2
|
|
|
|
|
23
|
|
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::AutoScaling::ScalingPolicy', |
4
|
|
|
|
|
|
|
from 'HashRef', |
5
|
|
|
|
|
|
|
via { Cfn::Resource::Properties::AWS::AutoScaling::ScalingPolicy->new( %$_ ) }; |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
package Cfn::Resource::AWS::AutoScaling::ScalingPolicy { |
8
|
2
|
|
|
2
|
|
4624
|
use Moose; |
|
2
|
|
|
|
|
6
|
|
|
2
|
|
|
|
|
13
|
|
9
|
|
|
|
|
|
|
extends 'Cfn::Resource'; |
10
|
|
|
|
|
|
|
has Properties => (isa => 'Cfn::Resource::Properties::AWS::AutoScaling::ScalingPolicy', is => 'rw', coerce => 1, required => 1); |
11
|
|
|
|
|
|
|
} |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
package Cfn::Resource::Properties::AWS::AutoScaling::ScalingPolicy { |
14
|
2
|
|
|
2
|
|
14890
|
use Moose; |
|
2
|
|
|
|
|
7
|
|
|
2
|
|
|
|
|
10
|
|
15
|
2
|
|
|
2
|
|
13182
|
use MooseX::StrictConstructor; |
|
2
|
|
|
|
|
7
|
|
|
2
|
|
|
|
|
17
|
|
16
|
|
|
|
|
|
|
extends 'Cfn::Resource::Properties'; |
17
|
|
|
|
|
|
|
has AdjustmentType => (isa => 'Cfn::Value', is => 'rw', coerce => 1, required => 1); |
18
|
|
|
|
|
|
|
has AutoScalingGroupName => (isa => 'Cfn::Value', is => 'rw', coerce => 1, required => 1); |
19
|
|
|
|
|
|
|
has Cooldown => (isa => 'Cfn::Value', is => 'rw', coerce => 1); |
20
|
|
|
|
|
|
|
has ScalingAdjustment => (isa => 'Cfn::Value', is => 'rw', coerce => 1, required => 1); |
21
|
|
|
|
|
|
|
has MinAdjustmentMagnitude => (isa => 'Cfn::Value', is => 'rw', coerce => 1); |
22
|
|
|
|
|
|
|
} |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
1; |