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 18.4.0
2 1     1   770 use Moose::Util::TypeConstraints;
  1         4  
  1         14  
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   2364 use Moose;
  1         3  
  1         8  
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 4 [ ]
15             }
16             sub supported_regions {
17 1     1 0 1185 [ '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::Object::AWS::KinesisAnalytics::ApplicationOutput::LambdaOutput->new( %$_ );
33             }
34             };
35              
36             package Cfn::Resource::Properties::Object::AWS::KinesisAnalytics::ApplicationOutput::LambdaOutput {
37 1     1   7919 use Moose;
  1         4  
  1         7  
38 1     1   7492 use MooseX::StrictConstructor;
  1         3  
  1         12  
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::Object::AWS::KinesisAnalytics::ApplicationOutput::KinesisStreamsOutput->new( %$_ );
55             }
56             };
57              
58             package Cfn::Resource::Properties::Object::AWS::KinesisAnalytics::ApplicationOutput::KinesisStreamsOutput {
59 1     1   4304 use Moose;
  1         3  
  1         7  
60 1     1   7205 use MooseX::StrictConstructor;
  1         4  
  1         5  
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::Object::AWS::KinesisAnalytics::ApplicationOutput::KinesisFirehoseOutput->new( %$_ );
77             }
78             };
79              
80             package Cfn::Resource::Properties::Object::AWS::KinesisAnalytics::ApplicationOutput::KinesisFirehoseOutput {
81 1     1   3765 use Moose;
  1         3  
  1         7  
82 1     1   6961 use MooseX::StrictConstructor;
  1         4  
  1         6  
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::Object::AWS::KinesisAnalytics::ApplicationOutput::DestinationSchema->new( %$_ );
99             }
100             };
101              
102             package Cfn::Resource::Properties::Object::AWS::KinesisAnalytics::ApplicationOutput::DestinationSchema {
103 1     1   3643 use Moose;
  1         3  
  1         8  
104 1     1   7070 use MooseX::StrictConstructor;
  1         4  
  1         11  
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::Object::AWS::KinesisAnalytics::ApplicationOutput::Output->new( %$_ );
120             }
121             };
122              
123             package Cfn::Resource::Properties::Object::AWS::KinesisAnalytics::ApplicationOutput::Output {
124 1     1   3694 use Moose;
  1         4  
  1         6  
125 1     1   6924 use MooseX::StrictConstructor;
  1         3  
  1         9  
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   3440 use Moose;
  1         3  
  1         4  
137 1     1   6859 use MooseX::StrictConstructor;
  1         3  
  1         11  
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;
145             ### main pod documentation begin ###
146              
147             =encoding UTF-8
148              
149             =head1 NAME
150              
151             Cfn::Resource::AWS::KinesisAnalytics::ApplicationOutput - Cfn resource for AWS::KinesisAnalytics::ApplicationOutput
152              
153             =head1 DESCRIPTION
154              
155             This module implements a Perl module that represents the CloudFormation object AWS::KinesisAnalytics::ApplicationOutput.
156              
157             See L<Cfn> for more information on how to use it.
158              
159             =head1 AUTHOR
160              
161             Jose Luis Martinez
162             CAPSiDE
163             jlmartinez@capside.com
164              
165             =head1 COPYRIGHT and LICENSE
166              
167             Copyright (c) 2013 by CAPSiDE
168             This code is distributed under the Apache 2 License. The full text of the
169             license can be found in the LICENSE file included with this module.
170              
171             =cut