line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
2
|
|
|
2
|
|
1348
|
use Moose::Util::TypeConstraints; |
|
2
|
|
|
|
|
6
|
|
|
2
|
|
|
|
|
47
|
|
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::EC2::VolumeAttachment', |
4
|
|
|
|
|
|
|
from 'HashRef', |
5
|
|
|
|
|
|
|
via { Cfn::Resource::Properties::AWS::EC2::VolumeAttachment->new( %$_ ) }; |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
package Cfn::Resource::AWS::EC2::VolumeAttachment { |
8
|
2
|
|
|
2
|
|
4876
|
use Moose; |
|
2
|
|
|
|
|
13
|
|
|
2
|
|
|
|
|
21
|
|
9
|
|
|
|
|
|
|
extends 'Cfn::Resource'; |
10
|
|
|
|
|
|
|
has Properties => (isa => 'Cfn::Resource::Properties::AWS::EC2::VolumeAttachment', is => 'rw', coerce => 1, required => 1); |
11
|
|
|
|
|
|
|
} |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
package Cfn::Resource::Properties::AWS::EC2::VolumeAttachment { |
14
|
2
|
|
|
2
|
|
15047
|
use Moose; |
|
2
|
|
|
|
|
8
|
|
|
2
|
|
|
|
|
10
|
|
15
|
2
|
|
|
2
|
|
13302
|
use MooseX::StrictConstructor; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
21
|
|
16
|
|
|
|
|
|
|
extends 'Cfn::Resource::Properties'; |
17
|
|
|
|
|
|
|
has Device => (isa => 'Cfn::Value', is => 'rw', coerce => 1, required => 1); |
18
|
|
|
|
|
|
|
has InstanceId => (isa => 'Cfn::Value', is => 'rw', coerce => 1, required => 1); |
19
|
|
|
|
|
|
|
has VolumeId => (isa => 'Cfn::Value', is => 'rw', coerce => 1, required => 1); |
20
|
|
|
|
|
|
|
} |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
1; |