line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
1
|
|
|
1
|
|
667
|
use Moose::Util::TypeConstraints; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
12
|
|
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::SNS::Topic', |
4
|
|
|
|
|
|
|
from 'HashRef', |
5
|
|
|
|
|
|
|
via { Cfn::Resource::Properties::AWS::SNS::Topic->new( %$_ ) }; |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
package Cfn::Resource::AWS::SNS::Topic { |
8
|
1
|
|
|
1
|
|
2561
|
use Moose; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
7
|
|
9
|
1
|
|
|
1
|
|
7466
|
use Moose::Util::TypeConstraints qw/find_type_constraint/; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
5
|
|
10
|
|
|
|
|
|
|
extends 'Cfn::Resource'; |
11
|
|
|
|
|
|
|
has Properties => (isa => 'Cfn::Resource::Properties::AWS::SNS::Topic', is => 'rw', coerce => 1, required => 1); |
12
|
|
|
|
|
|
|
} |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
package Cfn::Resource::Properties::AWS::SNS::Topic { |
15
|
1
|
|
|
1
|
|
575
|
use Moose; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
4
|
|
16
|
1
|
|
|
1
|
|
6628
|
use MooseX::StrictConstructor; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
10
|
|
17
|
|
|
|
|
|
|
extends 'Cfn::Resource::Properties'; |
18
|
|
|
|
|
|
|
has DisplayName => (isa => 'Cfn::Value', is => 'rw', coerce => 1); |
19
|
|
|
|
|
|
|
has Subscription => (isa => 'Cfn::Value::Array|Cfn::Value::Function', is => 'rw', coerce => 1); |
20
|
|
|
|
|
|
|
has TopicName => (isa => 'Cfn::Value', is => 'rw', coerce => 1); |
21
|
|
|
|
|
|
|
} |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
1; |