File Coverage

blib/lib/Cfn/Resource/AWS/KinesisAnalytics/ApplicationOutput.pm
Criterion Covered Total %
statement 44 44 100.0
branch n/a
condition n/a
subroutine 16 16 100.0
pod 0 2 0.0
total 60 62 96.7


line stmt bran cond sub pod time code
1             # AWS::KinesisAnalytics::ApplicationOutput generated from spec 3.2.0
2 1     1   662 use Moose::Util::TypeConstraints;
  1         3  
  1         8  
3              
4             coerce 'Cfn::Resource::Properties::AWS::KinesisAnalytics::ApplicationOutput',
5             from 'HashRef',
6             via { Cfn::Resource::Properties::AWS::KinesisAnalytics::ApplicationOutput->new( %$_ ) };
7              
8             package Cfn::Resource::AWS::KinesisAnalytics::ApplicationOutput {
9 1     1   2052 use Moose;
  1         4  
  1         6  
10             extends 'Cfn::Resource';
11             has Properties => (isa => 'Cfn::Resource::Properties::AWS::KinesisAnalytics::ApplicationOutput', is => 'rw', coerce => 1);
12            
13             sub AttributeList {
14 1     1 0 3 [ ]
15             }
16             sub supported_regions {
17 1     1 0 1059 [ 'ap-northeast-1','ap-northeast-2','ap-southeast-1','ap-southeast-2','eu-west-1','eu-west-2','us-east-1','us-east-2','us-west-2' ]
18             }
19             }
20              
21              
22              
23             subtype 'Cfn::Resource::Properties::AWS::KinesisAnalytics::ApplicationOutput::LambdaOutput',
24             as 'Cfn::Value';
25              
26             coerce 'Cfn::Resource::Properties::AWS::KinesisAnalytics::ApplicationOutput::LambdaOutput',
27             from 'HashRef',
28             via {
29             if (my $f = Cfn::TypeLibrary::try_function($_)) {
30             return $f
31             } else {
32             return Cfn::Resource::Properties::AWS::KinesisAnalytics::ApplicationOutput::LambdaOutputValue->new( %$_ );
33             }
34             };
35              
36             package Cfn::Resource::Properties::AWS::KinesisAnalytics::ApplicationOutput::LambdaOutputValue {
37 1     1   6816 use Moose;
  1         3  
  1         5  
38 1     1   6524 use MooseX::StrictConstructor;
  1         3  
  1         9  
39             extends 'Cfn::Value::TypedValue';
40            
41             has ResourceARN => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
42             has RoleARN => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
43             }
44              
45             subtype 'Cfn::Resource::Properties::AWS::KinesisAnalytics::ApplicationOutput::KinesisStreamsOutput',
46             as 'Cfn::Value';
47              
48             coerce 'Cfn::Resource::Properties::AWS::KinesisAnalytics::ApplicationOutput::KinesisStreamsOutput',
49             from 'HashRef',
50             via {
51             if (my $f = Cfn::TypeLibrary::try_function($_)) {
52             return $f
53             } else {
54             return Cfn::Resource::Properties::AWS::KinesisAnalytics::ApplicationOutput::KinesisStreamsOutputValue->new( %$_ );
55             }
56             };
57              
58             package Cfn::Resource::Properties::AWS::KinesisAnalytics::ApplicationOutput::KinesisStreamsOutputValue {
59 1     1   3428 use Moose;
  1         2  
  1         7  
60 1     1   6484 use MooseX::StrictConstructor;
  1         3  
  1         4  
61             extends 'Cfn::Value::TypedValue';
62            
63             has ResourceARN => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
64             has RoleARN => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
65             }
66              
67             subtype 'Cfn::Resource::Properties::AWS::KinesisAnalytics::ApplicationOutput::KinesisFirehoseOutput',
68             as 'Cfn::Value';
69              
70             coerce 'Cfn::Resource::Properties::AWS::KinesisAnalytics::ApplicationOutput::KinesisFirehoseOutput',
71             from 'HashRef',
72             via {
73             if (my $f = Cfn::TypeLibrary::try_function($_)) {
74             return $f
75             } else {
76             return Cfn::Resource::Properties::AWS::KinesisAnalytics::ApplicationOutput::KinesisFirehoseOutputValue->new( %$_ );
77             }
78             };
79              
80             package Cfn::Resource::Properties::AWS::KinesisAnalytics::ApplicationOutput::KinesisFirehoseOutputValue {
81 1     1   3385 use Moose;
  1         8  
  1         8  
82 1     1   6422 use MooseX::StrictConstructor;
  1         2  
  1         11  
83             extends 'Cfn::Value::TypedValue';
84            
85             has ResourceARN => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
86             has RoleARN => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
87             }
88              
89             subtype 'Cfn::Resource::Properties::AWS::KinesisAnalytics::ApplicationOutput::DestinationSchema',
90             as 'Cfn::Value';
91              
92             coerce 'Cfn::Resource::Properties::AWS::KinesisAnalytics::ApplicationOutput::DestinationSchema',
93             from 'HashRef',
94             via {
95             if (my $f = Cfn::TypeLibrary::try_function($_)) {
96             return $f
97             } else {
98             return Cfn::Resource::Properties::AWS::KinesisAnalytics::ApplicationOutput::DestinationSchemaValue->new( %$_ );
99             }
100             };
101              
102             package Cfn::Resource::Properties::AWS::KinesisAnalytics::ApplicationOutput::DestinationSchemaValue {
103 1     1   3307 use Moose;
  1         3  
  1         6  
104 1     1   6764 use MooseX::StrictConstructor;
  1         3  
  1         8  
105             extends 'Cfn::Value::TypedValue';
106            
107             has RecordFormatType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
108             }
109              
110             subtype 'Cfn::Resource::Properties::AWS::KinesisAnalytics::ApplicationOutput::Output',
111             as 'Cfn::Value';
112              
113             coerce 'Cfn::Resource::Properties::AWS::KinesisAnalytics::ApplicationOutput::Output',
114             from 'HashRef',
115             via {
116             if (my $f = Cfn::TypeLibrary::try_function($_)) {
117             return $f
118             } else {
119             return Cfn::Resource::Properties::AWS::KinesisAnalytics::ApplicationOutput::OutputValue->new( %$_ );
120             }
121             };
122              
123             package Cfn::Resource::Properties::AWS::KinesisAnalytics::ApplicationOutput::OutputValue {
124 1     1   3315 use Moose;
  1         4  
  1         6  
125 1     1   6496 use MooseX::StrictConstructor;
  1         3  
  1         7  
126             extends 'Cfn::Value::TypedValue';
127            
128             has DestinationSchema => (isa => 'Cfn::Resource::Properties::AWS::KinesisAnalytics::ApplicationOutput::DestinationSchema', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
129             has KinesisFirehoseOutput => (isa => 'Cfn::Resource::Properties::AWS::KinesisAnalytics::ApplicationOutput::KinesisFirehoseOutput', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
130             has KinesisStreamsOutput => (isa => 'Cfn::Resource::Properties::AWS::KinesisAnalytics::ApplicationOutput::KinesisStreamsOutput', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
131             has LambdaOutput => (isa => 'Cfn::Resource::Properties::AWS::KinesisAnalytics::ApplicationOutput::LambdaOutput', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
132             has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
133             }
134              
135             package Cfn::Resource::Properties::AWS::KinesisAnalytics::ApplicationOutput {
136 1     1   3348 use Moose;
  1         4  
  1         6  
137 1     1   6427 use MooseX::StrictConstructor;
  1         3  
  1         6  
138             extends 'Cfn::Resource::Properties';
139            
140             has ApplicationName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
141             has Output => (isa => 'Cfn::Resource::Properties::AWS::KinesisAnalytics::ApplicationOutput::Output', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
142             }
143              
144             1;