line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
2
|
|
|
2
|
|
1363
|
use Moose::Util::TypeConstraints; |
|
2
|
|
|
|
|
6
|
|
|
2
|
|
|
|
|
25
|
|
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::IAM::InstanceProfile', |
4
|
|
|
|
|
|
|
from 'HashRef', |
5
|
|
|
|
|
|
|
via { Cfn::Resource::Properties::AWS::IAM::InstanceProfile->new( %$_ ) }; |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
package Cfn::Resource::AWS::IAM::InstanceProfile { |
8
|
2
|
|
|
2
|
|
4770
|
use Moose; |
|
2
|
|
|
|
|
6
|
|
|
2
|
|
|
|
|
17
|
|
9
|
|
|
|
|
|
|
extends 'Cfn::Resource'; |
10
|
|
|
|
|
|
|
has Properties => (isa => 'Cfn::Resource::Properties::AWS::IAM::InstanceProfile', is => 'rw', coerce => 1, required => 1); |
11
|
|
|
|
|
|
|
} |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
package Cfn::Resource::Properties::AWS::IAM::InstanceProfile { |
14
|
2
|
|
|
2
|
|
12899
|
use Moose; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
11
|
|
15
|
2
|
|
|
2
|
|
13907
|
use MooseX::StrictConstructor; |
|
2
|
|
|
|
|
6
|
|
|
2
|
|
|
|
|
22
|
|
16
|
|
|
|
|
|
|
extends 'Cfn::Resource::Properties'; |
17
|
|
|
|
|
|
|
has Path => (isa => 'Cfn::Value', is => 'rw', coerce => 1, required => 1); |
18
|
|
|
|
|
|
|
has Roles => (isa => 'Cfn::Value::Array|Cfn::Value::Function', is => 'rw', coerce => 1, required => 1); |
19
|
|
|
|
|
|
|
} |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
1; |