File Coverage

blib/lib/Cfn/Resource/AWS/KinesisAnalyticsV2/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::KinesisAnalyticsV2::ApplicationOutput generated from spec 18.4.0
2 1     1   677 use Moose::Util::TypeConstraints;
  1         3  
  1         10  
3              
4             coerce 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::ApplicationOutput',
5             from 'HashRef',
6             via { Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::ApplicationOutput->new( %$_ ) };
7              
8             package Cfn::Resource::AWS::KinesisAnalyticsV2::ApplicationOutput {
9 1     1   2137 use Moose;
  1         5  
  1         7  
10             extends 'Cfn::Resource';
11             has Properties => (isa => 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::ApplicationOutput', is => 'rw', coerce => 1);
12            
13             sub AttributeList {
14 1     1 0 4 [ ]
15             }
16             sub supported_regions {
17 1     1 0 1143 [ 'ap-northeast-1','ap-northeast-2','ap-southeast-1','ap-southeast-2','eu-central-1','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::KinesisAnalyticsV2::ApplicationOutput::LambdaOutput',
24             as 'Cfn::Value';
25              
26             coerce 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::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::KinesisAnalyticsV2::ApplicationOutput::LambdaOutput->new( %$_ );
33             }
34             };
35              
36             package Cfn::Resource::Properties::Object::AWS::KinesisAnalyticsV2::ApplicationOutput::LambdaOutput {
37 1     1   7644 use Moose;
  1         4  
  1         4  
38 1     1   6656 use MooseX::StrictConstructor;
  1         2  
  1         11  
39             extends 'Cfn::Value::TypedValue';
40            
41             has ResourceARN => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
42             }
43              
44             subtype 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::ApplicationOutput::KinesisStreamsOutput',
45             as 'Cfn::Value';
46              
47             coerce 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::ApplicationOutput::KinesisStreamsOutput',
48             from 'HashRef',
49             via {
50             if (my $f = Cfn::TypeLibrary::try_function($_)) {
51             return $f
52             } else {
53             return Cfn::Resource::Properties::Object::AWS::KinesisAnalyticsV2::ApplicationOutput::KinesisStreamsOutput->new( %$_ );
54             }
55             };
56              
57             package Cfn::Resource::Properties::Object::AWS::KinesisAnalyticsV2::ApplicationOutput::KinesisStreamsOutput {
58 1     1   3737 use Moose;
  1         11  
  1         9  
59 1     1   6828 use MooseX::StrictConstructor;
  1         3  
  1         7  
60             extends 'Cfn::Value::TypedValue';
61            
62             has ResourceARN => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
63             }
64              
65             subtype 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::ApplicationOutput::KinesisFirehoseOutput',
66             as 'Cfn::Value';
67              
68             coerce 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::ApplicationOutput::KinesisFirehoseOutput',
69             from 'HashRef',
70             via {
71             if (my $f = Cfn::TypeLibrary::try_function($_)) {
72             return $f
73             } else {
74             return Cfn::Resource::Properties::Object::AWS::KinesisAnalyticsV2::ApplicationOutput::KinesisFirehoseOutput->new( %$_ );
75             }
76             };
77              
78             package Cfn::Resource::Properties::Object::AWS::KinesisAnalyticsV2::ApplicationOutput::KinesisFirehoseOutput {
79 1     1   3501 use Moose;
  1         3  
  1         38  
80 1     1   6809 use MooseX::StrictConstructor;
  1         3  
  1         8  
81             extends 'Cfn::Value::TypedValue';
82            
83             has ResourceARN => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
84             }
85              
86             subtype 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::ApplicationOutput::DestinationSchema',
87             as 'Cfn::Value';
88              
89             coerce 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::ApplicationOutput::DestinationSchema',
90             from 'HashRef',
91             via {
92             if (my $f = Cfn::TypeLibrary::try_function($_)) {
93             return $f
94             } else {
95             return Cfn::Resource::Properties::Object::AWS::KinesisAnalyticsV2::ApplicationOutput::DestinationSchema->new( %$_ );
96             }
97             };
98              
99             package Cfn::Resource::Properties::Object::AWS::KinesisAnalyticsV2::ApplicationOutput::DestinationSchema {
100 1     1   3466 use Moose;
  1         5  
  1         6  
101 1     1   6689 use MooseX::StrictConstructor;
  1         3  
  1         7  
102             extends 'Cfn::Value::TypedValue';
103            
104             has RecordFormatType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
105             }
106              
107             subtype 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::ApplicationOutput::Output',
108             as 'Cfn::Value';
109              
110             coerce 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::ApplicationOutput::Output',
111             from 'HashRef',
112             via {
113             if (my $f = Cfn::TypeLibrary::try_function($_)) {
114             return $f
115             } else {
116             return Cfn::Resource::Properties::Object::AWS::KinesisAnalyticsV2::ApplicationOutput::Output->new( %$_ );
117             }
118             };
119              
120             package Cfn::Resource::Properties::Object::AWS::KinesisAnalyticsV2::ApplicationOutput::Output {
121 1     1   3416 use Moose;
  1         2  
  1         5  
122 1     1   6770 use MooseX::StrictConstructor;
  1         4  
  1         5  
123             extends 'Cfn::Value::TypedValue';
124            
125             has DestinationSchema => (isa => 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::ApplicationOutput::DestinationSchema', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
126             has KinesisFirehoseOutput => (isa => 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::ApplicationOutput::KinesisFirehoseOutput', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
127             has KinesisStreamsOutput => (isa => 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::ApplicationOutput::KinesisStreamsOutput', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
128             has LambdaOutput => (isa => 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::ApplicationOutput::LambdaOutput', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
129             has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
130             }
131              
132             package Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::ApplicationOutput {
133 1     1   3460 use Moose;
  1         4  
  1         7  
134 1     1   6745 use MooseX::StrictConstructor;
  1         3  
  1         7  
135             extends 'Cfn::Resource::Properties';
136            
137             has ApplicationName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
138             has Output => (isa => 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::ApplicationOutput::Output', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
139             }
140              
141             1;
142             ### main pod documentation begin ###
143              
144             =encoding UTF-8
145              
146             =head1 NAME
147              
148             Cfn::Resource::AWS::KinesisAnalyticsV2::ApplicationOutput - Cfn resource for AWS::KinesisAnalyticsV2::ApplicationOutput
149              
150             =head1 DESCRIPTION
151              
152             This module implements a Perl module that represents the CloudFormation object AWS::KinesisAnalyticsV2::ApplicationOutput.
153              
154             See L<Cfn> for more information on how to use it.
155              
156             =head1 AUTHOR
157              
158             Jose Luis Martinez
159             CAPSiDE
160             jlmartinez@capside.com
161              
162             =head1 COPYRIGHT and LICENSE
163              
164             Copyright (c) 2013 by CAPSiDE
165             This code is distributed under the Apache 2 License. The full text of the
166             license can be found in the LICENSE file included with this module.
167              
168             =cut