| 1 | # AWS::KinesisAnalytics::Application generated from spec 18.4.0 | ||||||||||
| 2 | 1 | ▶ | use Moose::Util::TypeConstraints; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 3 | |||||||||||
| 4 | coerce 'Cfn::Resource::Properties::AWS::KinesisAnalytics::Application', | ||||||||||
| 5 | from 'HashRef', | ||||||||||
| 6 | 0 | ▶ | via { Cfn::Resource::Properties::AWS::KinesisAnalytics::Application->new( %$_ ) }; | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=1.2
| |||||||||||
| 7 | |||||||||||
| 8 | 1 | package Cfn::Resource::AWS::KinesisAnalytics::Application { | |||||||||
| 9 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 10 | 1 | extends 'Cfn::Resource'; | |||||||||
| 11 | 1 | has Properties => (isa => 'Cfn::Resource::Properties::AWS::KinesisAnalytics::Application', is => 'rw', coerce => 1); | |||||||||
| 12 | |||||||||||
| 13 | sub AttributeList { | ||||||||||
| 14 | 1 | ▶ | [ ] | ||||||||
|
Subroutine
AttributeList: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||
| 15 | } | ||||||||||
| 16 | sub supported_regions { | ||||||||||
| 17 | 1 | ▶ | [ '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' ] | ||||||||
|
Subroutine
supported_regions: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||
| 18 | } | ||||||||||
| 19 | } | ||||||||||
| 20 | |||||||||||
| 21 | |||||||||||
| 22 | |||||||||||
| 23 | 1 | subtype 'Cfn::Resource::Properties::AWS::KinesisAnalytics::Application::JSONMappingParameters', | |||||||||
| 24 | as 'Cfn::Value'; | ||||||||||
| 25 | |||||||||||
| 26 | coerce 'Cfn::Resource::Properties::AWS::KinesisAnalytics::Application::JSONMappingParameters', | ||||||||||
| 27 | from 'HashRef', | ||||||||||
| 28 | via { | ||||||||||
| 29 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 30 | 0 | return $f | |||||||||
| 31 | } else { | ||||||||||
| 32 | 0 | return Cfn::Resource::Properties::Object::AWS::KinesisAnalytics::Application::JSONMappingParameters->new( %$_ ); | |||||||||
| 33 | } | ||||||||||
| 34 | 1 | }; | |||||||||
| 35 | |||||||||||
| 36 | 1 | package Cfn::Resource::Properties::Object::AWS::KinesisAnalytics::Application::JSONMappingParameters { | |||||||||
| 37 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 38 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 39 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 40 | |||||||||||
| 41 | 1 | has RecordRowPath => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 42 | } | ||||||||||
| 43 | |||||||||||
| 44 | 1 | subtype 'Cfn::Resource::Properties::AWS::KinesisAnalytics::Application::CSVMappingParameters', | |||||||||
| 45 | as 'Cfn::Value'; | ||||||||||
| 46 | |||||||||||
| 47 | coerce 'Cfn::Resource::Properties::AWS::KinesisAnalytics::Application::CSVMappingParameters', | ||||||||||
| 48 | from 'HashRef', | ||||||||||
| 49 | via { | ||||||||||
| 50 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 51 | 0 | return $f | |||||||||
| 52 | } else { | ||||||||||
| 53 | 0 | return Cfn::Resource::Properties::Object::AWS::KinesisAnalytics::Application::CSVMappingParameters->new( %$_ ); | |||||||||
| 54 | } | ||||||||||
| 55 | 1 | }; | |||||||||
| 56 | |||||||||||
| 57 | 1 | package Cfn::Resource::Properties::Object::AWS::KinesisAnalytics::Application::CSVMappingParameters { | |||||||||
| 58 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 59 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 60 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 61 | |||||||||||
| 62 | 1 | has RecordColumnDelimiter => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 63 | 1 | has RecordRowDelimiter => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 64 | } | ||||||||||
| 65 | |||||||||||
| 66 | 1 | subtype 'Cfn::Resource::Properties::AWS::KinesisAnalytics::Application::MappingParameters', | |||||||||
| 67 | as 'Cfn::Value'; | ||||||||||
| 68 | |||||||||||
| 69 | coerce 'Cfn::Resource::Properties::AWS::KinesisAnalytics::Application::MappingParameters', | ||||||||||
| 70 | from 'HashRef', | ||||||||||
| 71 | via { | ||||||||||
| 72 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 73 | 0 | return $f | |||||||||
| 74 | } else { | ||||||||||
| 75 | 0 | return Cfn::Resource::Properties::Object::AWS::KinesisAnalytics::Application::MappingParameters->new( %$_ ); | |||||||||
| 76 | } | ||||||||||
| 77 | 1 | }; | |||||||||
| 78 | |||||||||||
| 79 | 1 | package Cfn::Resource::Properties::Object::AWS::KinesisAnalytics::Application::MappingParameters { | |||||||||
| 80 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 81 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 82 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 83 | |||||||||||
| 84 | 1 | has CSVMappingParameters => (isa => 'Cfn::Resource::Properties::AWS::KinesisAnalytics::Application::CSVMappingParameters', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 85 | 1 | has JSONMappingParameters => (isa => 'Cfn::Resource::Properties::AWS::KinesisAnalytics::Application::JSONMappingParameters', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 86 | } | ||||||||||
| 87 | |||||||||||
| 88 | 1 | subtype 'Cfn::Resource::Properties::AWS::KinesisAnalytics::Application::RecordFormat', | |||||||||
| 89 | as 'Cfn::Value'; | ||||||||||
| 90 | |||||||||||
| 91 | coerce 'Cfn::Resource::Properties::AWS::KinesisAnalytics::Application::RecordFormat', | ||||||||||
| 92 | from 'HashRef', | ||||||||||
| 93 | via { | ||||||||||
| 94 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 95 | 0 | return $f | |||||||||
| 96 | } else { | ||||||||||
| 97 | 0 | return Cfn::Resource::Properties::Object::AWS::KinesisAnalytics::Application::RecordFormat->new( %$_ ); | |||||||||
| 98 | } | ||||||||||
| 99 | 1 | }; | |||||||||
| 100 | |||||||||||
| 101 | 1 | package Cfn::Resource::Properties::Object::AWS::KinesisAnalytics::Application::RecordFormat { | |||||||||
| 102 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 103 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 104 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 105 | |||||||||||
| 106 | 1 | has MappingParameters => (isa => 'Cfn::Resource::Properties::AWS::KinesisAnalytics::Application::MappingParameters', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 107 | 1 | has RecordFormatType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 108 | } | ||||||||||
| 109 | subtype 'ArrayOfCfn::Resource::Properties::AWS::KinesisAnalytics::Application::RecordColumn', | ||||||||||
| 110 | as 'Cfn::Value', | ||||||||||
| 111 | 0 | ▶ | where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 112 | 0 | ▶ | message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=1.2
| |||||||||||
| 113 | |||||||||||
| 114 | coerce 'ArrayOfCfn::Resource::Properties::AWS::KinesisAnalytics::Application::RecordColumn', | ||||||||||
| 115 | from 'HashRef', | ||||||||||
| 116 | via { | ||||||||||
| 117 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 118 | 0 | return $f | |||||||||
| 119 | } else { | ||||||||||
| 120 | 0 | die 'Only accepts functions'; | |||||||||
| 121 | } | ||||||||||
| 122 | }, | ||||||||||
| 123 | from 'ArrayRef', | ||||||||||
| 124 | via { | ||||||||||
| 125 | Cfn::Value::Array->new(Value => [ | ||||||||||
| 126 | map { | ||||||||||
| 127 | 0 | ▶ | Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::KinesisAnalytics::Application::RecordColumn')->coerce($_) | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 128 | } @$_ | ||||||||||
| 129 | ]); | ||||||||||
| 130 | 1 | }; | |||||||||
| 131 | |||||||||||
| 132 | 1 | subtype 'Cfn::Resource::Properties::AWS::KinesisAnalytics::Application::RecordColumn', | |||||||||
| 133 | as 'Cfn::Value'; | ||||||||||
| 134 | |||||||||||
| 135 | coerce 'Cfn::Resource::Properties::AWS::KinesisAnalytics::Application::RecordColumn', | ||||||||||
| 136 | from 'HashRef', | ||||||||||
| 137 | via { | ||||||||||
| 138 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 139 | 0 | return $f | |||||||||
| 140 | } else { | ||||||||||
| 141 | 0 | return Cfn::Resource::Properties::Object::AWS::KinesisAnalytics::Application::RecordColumn->new( %$_ ); | |||||||||
| 142 | } | ||||||||||
| 143 | 1 | }; | |||||||||
| 144 | |||||||||||
| 145 | 1 | package Cfn::Resource::Properties::Object::AWS::KinesisAnalytics::Application::RecordColumn { | |||||||||
| 146 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 147 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 148 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 149 | |||||||||||
| 150 | 1 | has Mapping => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 151 | 1 | has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 152 | 1 | has SqlType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 153 | } | ||||||||||
| 154 | |||||||||||
| 155 | 1 | subtype 'Cfn::Resource::Properties::AWS::KinesisAnalytics::Application::InputLambdaProcessor', | |||||||||
| 156 | as 'Cfn::Value'; | ||||||||||
| 157 | |||||||||||
| 158 | coerce 'Cfn::Resource::Properties::AWS::KinesisAnalytics::Application::InputLambdaProcessor', | ||||||||||
| 159 | from 'HashRef', | ||||||||||
| 160 | via { | ||||||||||
| 161 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 162 | 0 | return $f | |||||||||
| 163 | } else { | ||||||||||
| 164 | 0 | return Cfn::Resource::Properties::Object::AWS::KinesisAnalytics::Application::InputLambdaProcessor->new( %$_ ); | |||||||||
| 165 | } | ||||||||||
| 166 | 1 | }; | |||||||||
| 167 | |||||||||||
| 168 | 1 | package Cfn::Resource::Properties::Object::AWS::KinesisAnalytics::Application::InputLambdaProcessor { | |||||||||
| 169 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 170 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 171 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 172 | |||||||||||
| 173 | 1 | has ResourceARN => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 174 | 1 | has RoleARN => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 175 | } | ||||||||||
| 176 | |||||||||||
| 177 | 1 | subtype 'Cfn::Resource::Properties::AWS::KinesisAnalytics::Application::KinesisStreamsInput', | |||||||||
| 178 | as 'Cfn::Value'; | ||||||||||
| 179 | |||||||||||
| 180 | coerce 'Cfn::Resource::Properties::AWS::KinesisAnalytics::Application::KinesisStreamsInput', | ||||||||||
| 181 | from 'HashRef', | ||||||||||
| 182 | via { | ||||||||||
| 183 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 184 | 0 | return $f | |||||||||
| 185 | } else { | ||||||||||
| 186 | 0 | return Cfn::Resource::Properties::Object::AWS::KinesisAnalytics::Application::KinesisStreamsInput->new( %$_ ); | |||||||||
| 187 | } | ||||||||||
| 188 | 1 | }; | |||||||||
| 189 | |||||||||||
| 190 | 1 | package Cfn::Resource::Properties::Object::AWS::KinesisAnalytics::Application::KinesisStreamsInput { | |||||||||
| 191 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 192 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 193 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 194 | |||||||||||
| 195 | 1 | has ResourceARN => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 196 | 1 | has RoleARN => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 197 | } | ||||||||||
| 198 | |||||||||||
| 199 | 1 | subtype 'Cfn::Resource::Properties::AWS::KinesisAnalytics::Application::KinesisFirehoseInput', | |||||||||
| 200 | as 'Cfn::Value'; | ||||||||||
| 201 | |||||||||||
| 202 | coerce 'Cfn::Resource::Properties::AWS::KinesisAnalytics::Application::KinesisFirehoseInput', | ||||||||||
| 203 | from 'HashRef', | ||||||||||
| 204 | via { | ||||||||||
| 205 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 206 | 0 | return $f | |||||||||
| 207 | } else { | ||||||||||
| 208 | 0 | return Cfn::Resource::Properties::Object::AWS::KinesisAnalytics::Application::KinesisFirehoseInput->new( %$_ ); | |||||||||
| 209 | } | ||||||||||
| 210 | 1 | }; | |||||||||
| 211 | |||||||||||
| 212 | 1 | package Cfn::Resource::Properties::Object::AWS::KinesisAnalytics::Application::KinesisFirehoseInput { | |||||||||
| 213 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 214 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 215 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 216 | |||||||||||
| 217 | 1 | has ResourceARN => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 218 | 1 | has RoleARN => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 219 | } | ||||||||||
| 220 | |||||||||||
| 221 | 1 | subtype 'Cfn::Resource::Properties::AWS::KinesisAnalytics::Application::InputSchema', | |||||||||
| 222 | as 'Cfn::Value'; | ||||||||||
| 223 | |||||||||||
| 224 | coerce 'Cfn::Resource::Properties::AWS::KinesisAnalytics::Application::InputSchema', | ||||||||||
| 225 | from 'HashRef', | ||||||||||
| 226 | via { | ||||||||||
| 227 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 228 | 0 | return $f | |||||||||
| 229 | } else { | ||||||||||
| 230 | 0 | return Cfn::Resource::Properties::Object::AWS::KinesisAnalytics::Application::InputSchema->new( %$_ ); | |||||||||
| 231 | } | ||||||||||
| 232 | 1 | }; | |||||||||
| 233 | |||||||||||
| 234 | 1 | package Cfn::Resource::Properties::Object::AWS::KinesisAnalytics::Application::InputSchema { | |||||||||
| 235 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 236 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 237 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 238 | |||||||||||
| 239 | 1 | has RecordColumns => (isa => 'ArrayOfCfn::Resource::Properties::AWS::KinesisAnalytics::Application::RecordColumn', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 240 | 1 | has RecordEncoding => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 241 | 1 | has RecordFormat => (isa => 'Cfn::Resource::Properties::AWS::KinesisAnalytics::Application::RecordFormat', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 242 | } | ||||||||||
| 243 | |||||||||||
| 244 | 1 | subtype 'Cfn::Resource::Properties::AWS::KinesisAnalytics::Application::InputProcessingConfiguration', | |||||||||
| 245 | as 'Cfn::Value'; | ||||||||||
| 246 | |||||||||||
| 247 | coerce 'Cfn::Resource::Properties::AWS::KinesisAnalytics::Application::InputProcessingConfiguration', | ||||||||||
| 248 | from 'HashRef', | ||||||||||
| 249 | via { | ||||||||||
| 250 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 251 | 0 | return $f | |||||||||
| 252 | } else { | ||||||||||
| 253 | 0 | return Cfn::Resource::Properties::Object::AWS::KinesisAnalytics::Application::InputProcessingConfiguration->new( %$_ ); | |||||||||
| 254 | } | ||||||||||
| 255 | 1 | }; | |||||||||
| 256 | |||||||||||
| 257 | 1 | package Cfn::Resource::Properties::Object::AWS::KinesisAnalytics::Application::InputProcessingConfiguration { | |||||||||
| 258 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 259 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 260 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 261 | |||||||||||
| 262 | 1 | has InputLambdaProcessor => (isa => 'Cfn::Resource::Properties::AWS::KinesisAnalytics::Application::InputLambdaProcessor', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 263 | } | ||||||||||
| 264 | |||||||||||
| 265 | 1 | subtype 'Cfn::Resource::Properties::AWS::KinesisAnalytics::Application::InputParallelism', | |||||||||
| 266 | as 'Cfn::Value'; | ||||||||||
| 267 | |||||||||||
| 268 | coerce 'Cfn::Resource::Properties::AWS::KinesisAnalytics::Application::InputParallelism', | ||||||||||
| 269 | from 'HashRef', | ||||||||||
| 270 | via { | ||||||||||
| 271 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 272 | 0 | return $f | |||||||||
| 273 | } else { | ||||||||||
| 274 | 0 | return Cfn::Resource::Properties::Object::AWS::KinesisAnalytics::Application::InputParallelism->new( %$_ ); | |||||||||
| 275 | } | ||||||||||
| 276 | 1 | }; | |||||||||
| 277 | |||||||||||
| 278 | 1 | package Cfn::Resource::Properties::Object::AWS::KinesisAnalytics::Application::InputParallelism { | |||||||||
| 279 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 280 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 281 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 282 | |||||||||||
| 283 | 1 | has Count => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 284 | } | ||||||||||
| 285 | subtype 'ArrayOfCfn::Resource::Properties::AWS::KinesisAnalytics::Application::Input', | ||||||||||
| 286 | as 'Cfn::Value', | ||||||||||
| 287 | 0 | ▶ | where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 288 | 0 | ▶ | message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=1.2
| |||||||||||
| 289 | |||||||||||
| 290 | coerce 'ArrayOfCfn::Resource::Properties::AWS::KinesisAnalytics::Application::Input', | ||||||||||
| 291 | from 'HashRef', | ||||||||||
| 292 | via { | ||||||||||
| 293 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 294 | 0 | return $f | |||||||||
| 295 | } else { | ||||||||||
| 296 | 0 | die 'Only accepts functions'; | |||||||||
| 297 | } | ||||||||||
| 298 | }, | ||||||||||
| 299 | from 'ArrayRef', | ||||||||||
| 300 | via { | ||||||||||
| 301 | Cfn::Value::Array->new(Value => [ | ||||||||||
| 302 | map { | ||||||||||
| 303 | 0 | ▶ | Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::KinesisAnalytics::Application::Input')->coerce($_) | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 304 | } @$_ | ||||||||||
| 305 | ]); | ||||||||||
| 306 | 1 | }; | |||||||||
| 307 | |||||||||||
| 308 | 1 | subtype 'Cfn::Resource::Properties::AWS::KinesisAnalytics::Application::Input', | |||||||||
| 309 | as 'Cfn::Value'; | ||||||||||
| 310 | |||||||||||
| 311 | coerce 'Cfn::Resource::Properties::AWS::KinesisAnalytics::Application::Input', | ||||||||||
| 312 | from 'HashRef', | ||||||||||
| 313 | via { | ||||||||||
| 314 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 315 | 0 | return $f | |||||||||
| 316 | } else { | ||||||||||
| 317 | 0 | return Cfn::Resource::Properties::Object::AWS::KinesisAnalytics::Application::Input->new( %$_ ); | |||||||||
| 318 | } | ||||||||||
| 319 | 1 | }; | |||||||||
| 320 | |||||||||||
| 321 | 1 | package Cfn::Resource::Properties::Object::AWS::KinesisAnalytics::Application::Input { | |||||||||
| 322 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 323 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 324 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 325 | |||||||||||
| 326 | 1 | has InputParallelism => (isa => 'Cfn::Resource::Properties::AWS::KinesisAnalytics::Application::InputParallelism', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 327 | 1 | has InputProcessingConfiguration => (isa => 'Cfn::Resource::Properties::AWS::KinesisAnalytics::Application::InputProcessingConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 328 | 1 | has InputSchema => (isa => 'Cfn::Resource::Properties::AWS::KinesisAnalytics::Application::InputSchema', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 329 | 1 | has KinesisFirehoseInput => (isa => 'Cfn::Resource::Properties::AWS::KinesisAnalytics::Application::KinesisFirehoseInput', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 330 | 1 | has KinesisStreamsInput => (isa => 'Cfn::Resource::Properties::AWS::KinesisAnalytics::Application::KinesisStreamsInput', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 331 | 1 | has NamePrefix => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 332 | } | ||||||||||
| 333 | |||||||||||
| 334 | 1 | package Cfn::Resource::Properties::AWS::KinesisAnalytics::Application { | |||||||||
| 335 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 336 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 337 | 1 | extends 'Cfn::Resource::Properties'; | |||||||||
| 338 | |||||||||||
| 339 | 1 | has ApplicationCode => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 340 | 1 | has ApplicationDescription => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 341 | 1 | has ApplicationName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 342 | 1 | has Inputs => (isa => 'ArrayOfCfn::Resource::Properties::AWS::KinesisAnalytics::Application::Input', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 343 | } | ||||||||||
| 344 | |||||||||||
| 345 | 1 | 1; | |||||||||
| 346 | ### main pod documentation begin ### | ||||||||||
| 347 | |||||||||||
| 348 | =encoding UTF-8 | ||||||||||
| 349 | |||||||||||
| 350 | =head1 NAME | ||||||||||
| 351 | |||||||||||
| 352 | Cfn::Resource::AWS::KinesisAnalytics::Application - Cfn resource for AWS::KinesisAnalytics::Application | ||||||||||
| 353 | |||||||||||
| 354 | =head1 DESCRIPTION | ||||||||||
| 355 | |||||||||||
| 356 | This module implements a Perl module that represents the CloudFormation object AWS::KinesisAnalytics::Application. | ||||||||||
| 357 | |||||||||||
| 358 | See L<Cfn> for more information on how to use it. | ||||||||||
| 359 | |||||||||||
| 360 | =head1 AUTHOR | ||||||||||
| 361 | |||||||||||
| 362 | Jose Luis Martinez | ||||||||||
| 363 | CAPSiDE | ||||||||||
| 364 | jlmartinez@capside.com | ||||||||||
| 365 | |||||||||||
| 366 | =head1 COPYRIGHT and LICENSE | ||||||||||
| 367 | |||||||||||
| 368 | Copyright (c) 2013 by CAPSiDE | ||||||||||
| 369 | This code is distributed under the Apache 2 License. The full text of the | ||||||||||
| 370 | license can be found in the LICENSE file included with this module. | ||||||||||
| 371 | |||||||||||
| 372 | =cut | ||||||||||