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 3.2.0
2 1     1   588 use Moose::Util::TypeConstraints;
  1         2  
  1         11  
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   1892 use Moose;
  1         2  
  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 5 [ ]
15             }
16             sub supported_regions {
17 1     1 0 1408 [ '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::AWS::KinesisAnalyticsV2::ApplicationOutput::LambdaOutputValue->new( %$_ );
33             }
34             };
35              
36             package Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::ApplicationOutput::LambdaOutputValue {
37 1     1   6156 use Moose;
  1         3  
  1         6  
38 1     1   5511 use MooseX::StrictConstructor;
  1         3  
  1         10  
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::AWS::KinesisAnalyticsV2::ApplicationOutput::KinesisStreamsOutputValue->new( %$_ );
54             }
55             };
56              
57             package Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::ApplicationOutput::KinesisStreamsOutputValue {
58 1     1   3041 use Moose;
  1         2  
  1         6  
59 1     1   5967 use MooseX::StrictConstructor;
  1         3  
  1         5  
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::AWS::KinesisAnalyticsV2::ApplicationOutput::KinesisFirehoseOutputValue->new( %$_ );
75             }
76             };
77              
78             package Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::ApplicationOutput::KinesisFirehoseOutputValue {
79 1     1   2883 use Moose;
  1         3  
  1         6  
80 1     1   5588 use MooseX::StrictConstructor;
  1         3  
  1         7  
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::AWS::KinesisAnalyticsV2::ApplicationOutput::DestinationSchemaValue->new( %$_ );
96             }
97             };
98              
99             package Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::ApplicationOutput::DestinationSchemaValue {
100 1     1   2913 use Moose;
  1         2  
  1         6  
101 1     1   5531 use MooseX::StrictConstructor;
  1         2  
  1         4  
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::AWS::KinesisAnalyticsV2::ApplicationOutput::OutputValue->new( %$_ );
117             }
118             };
119              
120             package Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::ApplicationOutput::OutputValue {
121 1     1   2806 use Moose;
  1         2  
  1         6  
122 1     1   5477 use MooseX::StrictConstructor;
  1         3  
  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   2881 use Moose;
  1         2  
  1         5  
134 1     1   5570 use MooseX::StrictConstructor;
  1         4  
  1         5  
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;