line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
1
|
|
|
1
|
|
674
|
use Moose::Util::TypeConstraints; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
13
|
|
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::AutoScaling::Trigger', |
4
|
|
|
|
|
|
|
from 'HashRef', |
5
|
|
|
|
|
|
|
via { Cfn::Resource::Properties::AWS::AutoScaling::Trigger->new( %$_ ) }; |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
package Cfn::Resource::AWS::AutoScaling::Trigger { |
8
|
1
|
|
|
1
|
|
2130
|
use Moose; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
6
|
|
9
|
|
|
|
|
|
|
extends 'Cfn::Resource'; |
10
|
|
|
|
|
|
|
has Properties => (isa => 'Cfn::Resource::Properties::AWS::AutoScaling::Trigger', is => 'rw', coerce => 1, required => 1); |
11
|
|
|
|
|
|
|
} |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
package Cfn::Resource::Properties::AWS::AutoScaling::Trigger { |
14
|
1
|
|
|
1
|
|
7298
|
use Moose; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
5
|
|
15
|
1
|
|
|
1
|
|
6623
|
use MooseX::StrictConstructor; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
8
|
|
16
|
|
|
|
|
|
|
extends 'Cfn::Resource::Properties'; |
17
|
|
|
|
|
|
|
has AutoScalingGroupName => (isa => 'Cfn::Value', is => 'rw', coerce => 1, required => 1); |
18
|
|
|
|
|
|
|
has BreachDuration => (isa => 'Cfn::Value', is => 'rw', coerce => 1, required => 1); |
19
|
|
|
|
|
|
|
has Dimensions => (isa => 'Cfn::Value::Array|Cfn::Value::Function', is => 'rw', coerce => 1, required => 1); |
20
|
|
|
|
|
|
|
has LowerBreachScaleIncrement => (isa => 'Cfn::Value', is => 'rw', coerce => 1); |
21
|
|
|
|
|
|
|
has LowerThreshold => (isa => 'Cfn::Value', is => 'rw', coerce => 1, required => 1); |
22
|
|
|
|
|
|
|
has MetricName => (isa => 'Cfn::Value', is => 'rw', coerce => 1, required => 1); |
23
|
|
|
|
|
|
|
has Namespace => (isa => 'Cfn::Value', is => 'rw', coerce => 1, required => 1); |
24
|
|
|
|
|
|
|
has Period => (isa => 'Cfn::Value', is => 'rw', coerce => 1, required => 1); |
25
|
|
|
|
|
|
|
has Statistic => (isa => 'Cfn::Value', is => 'rw', coerce => 1, required => 1); |
26
|
|
|
|
|
|
|
has Unit => (isa => 'Cfn::Value', is => 'rw', coerce => 1); |
27
|
|
|
|
|
|
|
has UpperBreachScaleIncrement => (isa => 'Cfn::Value', is => 'rw', coerce => 1); |
28
|
|
|
|
|
|
|
has UpperThreshold => (isa => 'Cfn::Value', is => 'rw', coerce => 1, required => 1); |
29
|
|
|
|
|
|
|
} |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
1; |