« Cfn/Resource/AWS/MediaPackage/PackagingConfiguration.pm
↑ Summary
Cfn/Resource/AWS/AppMesh/Route.pm »
| 1 | # AWS::KinesisAnalyticsV2::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::KinesisAnalyticsV2::Application', | ||||||||||
| 5 | from 'HashRef', | ||||||||||
| 6 | 0 | ▶ | via { Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application->new( %$_ ) }; | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=1.2
| |||||||||||
| 7 | |||||||||||
| 8 | 1 | package Cfn::Resource::AWS::KinesisAnalyticsV2::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::KinesisAnalyticsV2::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-central-1','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::KinesisAnalyticsV2::Application::JSONMappingParameters', | |||||||||
| 24 | as 'Cfn::Value'; | ||||||||||
| 25 | |||||||||||
| 26 | coerce 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::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::KinesisAnalyticsV2::Application::JSONMappingParameters->new( %$_ ); | |||||||||
| 33 | } | ||||||||||
| 34 | 1 | }; | |||||||||
| 35 | |||||||||||
| 36 | 1 | package Cfn::Resource::Properties::Object::AWS::KinesisAnalyticsV2::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::KinesisAnalyticsV2::Application::CSVMappingParameters', | |||||||||
| 45 | as 'Cfn::Value'; | ||||||||||
| 46 | |||||||||||
| 47 | coerce 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::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::KinesisAnalyticsV2::Application::CSVMappingParameters->new( %$_ ); | |||||||||
| 54 | } | ||||||||||
| 55 | 1 | }; | |||||||||
| 56 | |||||||||||
| 57 | 1 | package Cfn::Resource::Properties::Object::AWS::KinesisAnalyticsV2::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::KinesisAnalyticsV2::Application::MappingParameters', | |||||||||
| 67 | as 'Cfn::Value'; | ||||||||||
| 68 | |||||||||||
| 69 | coerce 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::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::KinesisAnalyticsV2::Application::MappingParameters->new( %$_ ); | |||||||||
| 76 | } | ||||||||||
| 77 | 1 | }; | |||||||||
| 78 | |||||||||||
| 79 | 1 | package Cfn::Resource::Properties::Object::AWS::KinesisAnalyticsV2::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::KinesisAnalyticsV2::Application::CSVMappingParameters', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 85 | 1 | has JSONMappingParameters => (isa => 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::JSONMappingParameters', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 86 | } | ||||||||||
| 87 | |||||||||||
| 88 | 1 | subtype 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::RecordFormat', | |||||||||
| 89 | as 'Cfn::Value'; | ||||||||||
| 90 | |||||||||||
| 91 | coerce 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::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::KinesisAnalyticsV2::Application::RecordFormat->new( %$_ ); | |||||||||
| 98 | } | ||||||||||
| 99 | 1 | }; | |||||||||
| 100 | |||||||||||
| 101 | 1 | package Cfn::Resource::Properties::Object::AWS::KinesisAnalyticsV2::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::KinesisAnalyticsV2::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::KinesisAnalyticsV2::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::KinesisAnalyticsV2::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::KinesisAnalyticsV2::Application::RecordColumn')->coerce($_) | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 128 | } @$_ | ||||||||||
| 129 | ]); | ||||||||||
| 130 | 1 | }; | |||||||||
| 131 | |||||||||||
| 132 | 1 | subtype 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::RecordColumn', | |||||||||
| 133 | as 'Cfn::Value'; | ||||||||||
| 134 | |||||||||||
| 135 | coerce 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::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::KinesisAnalyticsV2::Application::RecordColumn->new( %$_ ); | |||||||||
| 142 | } | ||||||||||
| 143 | 1 | }; | |||||||||
| 144 | |||||||||||
| 145 | 1 | package Cfn::Resource::Properties::Object::AWS::KinesisAnalyticsV2::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::KinesisAnalyticsV2::Application::InputLambdaProcessor', | |||||||||
| 156 | as 'Cfn::Value'; | ||||||||||
| 157 | |||||||||||
| 158 | coerce 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::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::KinesisAnalyticsV2::Application::InputLambdaProcessor->new( %$_ ); | |||||||||
| 165 | } | ||||||||||
| 166 | 1 | }; | |||||||||
| 167 | |||||||||||
| 168 | 1 | package Cfn::Resource::Properties::Object::AWS::KinesisAnalyticsV2::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 | } | ||||||||||
| 175 | |||||||||||
| 176 | 1 | subtype 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::S3ContentLocation', | |||||||||
| 177 | as 'Cfn::Value'; | ||||||||||
| 178 | |||||||||||
| 179 | coerce 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::S3ContentLocation', | ||||||||||
| 180 | from 'HashRef', | ||||||||||
| 181 | via { | ||||||||||
| 182 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 183 | 0 | return $f | |||||||||
| 184 | } else { | ||||||||||
| 185 | 0 | return Cfn::Resource::Properties::Object::AWS::KinesisAnalyticsV2::Application::S3ContentLocation->new( %$_ ); | |||||||||
| 186 | } | ||||||||||
| 187 | 1 | }; | |||||||||
| 188 | |||||||||||
| 189 | 1 | package Cfn::Resource::Properties::Object::AWS::KinesisAnalyticsV2::Application::S3ContentLocation { | |||||||||
| 190 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 191 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 192 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 193 | |||||||||||
| 194 | 1 | has BucketARN => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 195 | 1 | has FileKey => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 196 | 1 | has ObjectVersion => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 197 | } | ||||||||||
| 198 | |||||||||||
| 199 | 1 | subtype 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::KinesisStreamsInput', | |||||||||
| 200 | as 'Cfn::Value'; | ||||||||||
| 201 | |||||||||||
| 202 | coerce 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::KinesisStreamsInput', | ||||||||||
| 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::KinesisAnalyticsV2::Application::KinesisStreamsInput->new( %$_ ); | |||||||||
| 209 | } | ||||||||||
| 210 | 1 | }; | |||||||||
| 211 | |||||||||||
| 212 | 1 | package Cfn::Resource::Properties::Object::AWS::KinesisAnalyticsV2::Application::KinesisStreamsInput { | |||||||||
| 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 | } | ||||||||||
| 219 | |||||||||||
| 220 | 1 | subtype 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::KinesisFirehoseInput', | |||||||||
| 221 | as 'Cfn::Value'; | ||||||||||
| 222 | |||||||||||
| 223 | coerce 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::KinesisFirehoseInput', | ||||||||||
| 224 | from 'HashRef', | ||||||||||
| 225 | via { | ||||||||||
| 226 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 227 | 0 | return $f | |||||||||
| 228 | } else { | ||||||||||
| 229 | 0 | return Cfn::Resource::Properties::Object::AWS::KinesisAnalyticsV2::Application::KinesisFirehoseInput->new( %$_ ); | |||||||||
| 230 | } | ||||||||||
| 231 | 1 | }; | |||||||||
| 232 | |||||||||||
| 233 | 1 | package Cfn::Resource::Properties::Object::AWS::KinesisAnalyticsV2::Application::KinesisFirehoseInput { | |||||||||
| 234 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 235 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 236 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 237 | |||||||||||
| 238 | 1 | has ResourceARN => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 239 | } | ||||||||||
| 240 | |||||||||||
| 241 | 1 | subtype 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::InputSchema', | |||||||||
| 242 | as 'Cfn::Value'; | ||||||||||
| 243 | |||||||||||
| 244 | coerce 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::InputSchema', | ||||||||||
| 245 | from 'HashRef', | ||||||||||
| 246 | via { | ||||||||||
| 247 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 248 | 0 | return $f | |||||||||
| 249 | } else { | ||||||||||
| 250 | 0 | return Cfn::Resource::Properties::Object::AWS::KinesisAnalyticsV2::Application::InputSchema->new( %$_ ); | |||||||||
| 251 | } | ||||||||||
| 252 | 1 | }; | |||||||||
| 253 | |||||||||||
| 254 | 1 | package Cfn::Resource::Properties::Object::AWS::KinesisAnalyticsV2::Application::InputSchema { | |||||||||
| 255 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 256 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 257 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 258 | |||||||||||
| 259 | 1 | has RecordColumns => (isa => 'ArrayOfCfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::RecordColumn', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 260 | 1 | has RecordEncoding => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 261 | 1 | has RecordFormat => (isa => 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::RecordFormat', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 262 | } | ||||||||||
| 263 | |||||||||||
| 264 | 1 | subtype 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::InputProcessingConfiguration', | |||||||||
| 265 | as 'Cfn::Value'; | ||||||||||
| 266 | |||||||||||
| 267 | coerce 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::InputProcessingConfiguration', | ||||||||||
| 268 | from 'HashRef', | ||||||||||
| 269 | via { | ||||||||||
| 270 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 271 | 0 | return $f | |||||||||
| 272 | } else { | ||||||||||
| 273 | 0 | return Cfn::Resource::Properties::Object::AWS::KinesisAnalyticsV2::Application::InputProcessingConfiguration->new( %$_ ); | |||||||||
| 274 | } | ||||||||||
| 275 | 1 | }; | |||||||||
| 276 | |||||||||||
| 277 | 1 | package Cfn::Resource::Properties::Object::AWS::KinesisAnalyticsV2::Application::InputProcessingConfiguration { | |||||||||
| 278 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 279 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 280 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 281 | |||||||||||
| 282 | 1 | has InputLambdaProcessor => (isa => 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::InputLambdaProcessor', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 283 | } | ||||||||||
| 284 | |||||||||||
| 285 | 1 | subtype 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::InputParallelism', | |||||||||
| 286 | as 'Cfn::Value'; | ||||||||||
| 287 | |||||||||||
| 288 | coerce 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::InputParallelism', | ||||||||||
| 289 | from 'HashRef', | ||||||||||
| 290 | via { | ||||||||||
| 291 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 292 | 0 | return $f | |||||||||
| 293 | } else { | ||||||||||
| 294 | 0 | return Cfn::Resource::Properties::Object::AWS::KinesisAnalyticsV2::Application::InputParallelism->new( %$_ ); | |||||||||
| 295 | } | ||||||||||
| 296 | 1 | }; | |||||||||
| 297 | |||||||||||
| 298 | 1 | package Cfn::Resource::Properties::Object::AWS::KinesisAnalyticsV2::Application::InputParallelism { | |||||||||
| 299 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 300 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 301 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 302 | |||||||||||
| 303 | 1 | has Count => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 304 | } | ||||||||||
| 305 | subtype 'ArrayOfCfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::PropertyGroup', | ||||||||||
| 306 | as 'Cfn::Value', | ||||||||||
| 307 | 0 | ▶ | where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 308 | 0 | ▶ | message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=1.2
| |||||||||||
| 309 | |||||||||||
| 310 | coerce 'ArrayOfCfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::PropertyGroup', | ||||||||||
| 311 | from 'HashRef', | ||||||||||
| 312 | via { | ||||||||||
| 313 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 314 | 0 | return $f | |||||||||
| 315 | } else { | ||||||||||
| 316 | 0 | die 'Only accepts functions'; | |||||||||
| 317 | } | ||||||||||
| 318 | }, | ||||||||||
| 319 | from 'ArrayRef', | ||||||||||
| 320 | via { | ||||||||||
| 321 | Cfn::Value::Array->new(Value => [ | ||||||||||
| 322 | map { | ||||||||||
| 323 | 0 | ▶ | Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::PropertyGroup')->coerce($_) | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 324 | } @$_ | ||||||||||
| 325 | ]); | ||||||||||
| 326 | 1 | }; | |||||||||
| 327 | |||||||||||
| 328 | 1 | subtype 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::PropertyGroup', | |||||||||
| 329 | as 'Cfn::Value'; | ||||||||||
| 330 | |||||||||||
| 331 | coerce 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::PropertyGroup', | ||||||||||
| 332 | from 'HashRef', | ||||||||||
| 333 | via { | ||||||||||
| 334 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 335 | 0 | return $f | |||||||||
| 336 | } else { | ||||||||||
| 337 | 0 | return Cfn::Resource::Properties::Object::AWS::KinesisAnalyticsV2::Application::PropertyGroup->new( %$_ ); | |||||||||
| 338 | } | ||||||||||
| 339 | 1 | }; | |||||||||
| 340 | |||||||||||
| 341 | 1 | package Cfn::Resource::Properties::Object::AWS::KinesisAnalyticsV2::Application::PropertyGroup { | |||||||||
| 342 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 343 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 344 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 345 | |||||||||||
| 346 | 1 | has PropertyGroupId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 347 | 1 | has PropertyMap => (isa => 'Cfn::Value::Json|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 348 | } | ||||||||||
| 349 | |||||||||||
| 350 | 1 | subtype 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::ParallelismConfiguration', | |||||||||
| 351 | as 'Cfn::Value'; | ||||||||||
| 352 | |||||||||||
| 353 | coerce 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::ParallelismConfiguration', | ||||||||||
| 354 | from 'HashRef', | ||||||||||
| 355 | via { | ||||||||||
| 356 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 357 | 0 | return $f | |||||||||
| 358 | } else { | ||||||||||
| 359 | 0 | return Cfn::Resource::Properties::Object::AWS::KinesisAnalyticsV2::Application::ParallelismConfiguration->new( %$_ ); | |||||||||
| 360 | } | ||||||||||
| 361 | 1 | }; | |||||||||
| 362 | |||||||||||
| 363 | 1 | package Cfn::Resource::Properties::Object::AWS::KinesisAnalyticsV2::Application::ParallelismConfiguration { | |||||||||
| 364 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 365 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 366 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 367 | |||||||||||
| 368 | 1 | has AutoScalingEnabled => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 369 | 1 | has ConfigurationType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 370 | 1 | has Parallelism => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 371 | 1 | has ParallelismPerKPU => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 372 | } | ||||||||||
| 373 | |||||||||||
| 374 | 1 | subtype 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::MonitoringConfiguration', | |||||||||
| 375 | as 'Cfn::Value'; | ||||||||||
| 376 | |||||||||||
| 377 | coerce 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::MonitoringConfiguration', | ||||||||||
| 378 | from 'HashRef', | ||||||||||
| 379 | via { | ||||||||||
| 380 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 381 | 0 | return $f | |||||||||
| 382 | } else { | ||||||||||
| 383 | 0 | return Cfn::Resource::Properties::Object::AWS::KinesisAnalyticsV2::Application::MonitoringConfiguration->new( %$_ ); | |||||||||
| 384 | } | ||||||||||
| 385 | 1 | }; | |||||||||
| 386 | |||||||||||
| 387 | 1 | package Cfn::Resource::Properties::Object::AWS::KinesisAnalyticsV2::Application::MonitoringConfiguration { | |||||||||
| 388 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 389 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 390 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 391 | |||||||||||
| 392 | 1 | has ConfigurationType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 393 | 1 | has LogLevel => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 394 | 1 | has MetricsLevel => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 395 | } | ||||||||||
| 396 | subtype 'ArrayOfCfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::Input', | ||||||||||
| 397 | as 'Cfn::Value', | ||||||||||
| 398 | 0 | ▶ | where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 399 | 0 | ▶ | message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=1.2
| |||||||||||
| 400 | |||||||||||
| 401 | coerce 'ArrayOfCfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::Input', | ||||||||||
| 402 | from 'HashRef', | ||||||||||
| 403 | via { | ||||||||||
| 404 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 405 | 0 | return $f | |||||||||
| 406 | } else { | ||||||||||
| 407 | 0 | die 'Only accepts functions'; | |||||||||
| 408 | } | ||||||||||
| 409 | }, | ||||||||||
| 410 | from 'ArrayRef', | ||||||||||
| 411 | via { | ||||||||||
| 412 | Cfn::Value::Array->new(Value => [ | ||||||||||
| 413 | map { | ||||||||||
| 414 | 0 | ▶ | Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::Input')->coerce($_) | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 415 | } @$_ | ||||||||||
| 416 | ]); | ||||||||||
| 417 | 1 | }; | |||||||||
| 418 | |||||||||||
| 419 | 1 | subtype 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::Input', | |||||||||
| 420 | as 'Cfn::Value'; | ||||||||||
| 421 | |||||||||||
| 422 | coerce 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::Input', | ||||||||||
| 423 | from 'HashRef', | ||||||||||
| 424 | via { | ||||||||||
| 425 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 426 | 0 | return $f | |||||||||
| 427 | } else { | ||||||||||
| 428 | 0 | return Cfn::Resource::Properties::Object::AWS::KinesisAnalyticsV2::Application::Input->new( %$_ ); | |||||||||
| 429 | } | ||||||||||
| 430 | 1 | }; | |||||||||
| 431 | |||||||||||
| 432 | 1 | package Cfn::Resource::Properties::Object::AWS::KinesisAnalyticsV2::Application::Input { | |||||||||
| 433 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 434 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 435 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 436 | |||||||||||
| 437 | 1 | has InputParallelism => (isa => 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::InputParallelism', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 438 | 1 | has InputProcessingConfiguration => (isa => 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::InputProcessingConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 439 | 1 | has InputSchema => (isa => 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::InputSchema', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 440 | 1 | has KinesisFirehoseInput => (isa => 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::KinesisFirehoseInput', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 441 | 1 | has KinesisStreamsInput => (isa => 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::KinesisStreamsInput', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 442 | 1 | has NamePrefix => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 443 | } | ||||||||||
| 444 | |||||||||||
| 445 | 1 | subtype 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::CodeContent', | |||||||||
| 446 | as 'Cfn::Value'; | ||||||||||
| 447 | |||||||||||
| 448 | coerce 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::CodeContent', | ||||||||||
| 449 | from 'HashRef', | ||||||||||
| 450 | via { | ||||||||||
| 451 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 452 | 0 | return $f | |||||||||
| 453 | } else { | ||||||||||
| 454 | 0 | return Cfn::Resource::Properties::Object::AWS::KinesisAnalyticsV2::Application::CodeContent->new( %$_ ); | |||||||||
| 455 | } | ||||||||||
| 456 | 1 | }; | |||||||||
| 457 | |||||||||||
| 458 | 1 | package Cfn::Resource::Properties::Object::AWS::KinesisAnalyticsV2::Application::CodeContent { | |||||||||
| 459 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 460 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 461 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 462 | |||||||||||
| 463 | 1 | has S3ContentLocation => (isa => 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::S3ContentLocation', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 464 | 1 | has TextContent => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 465 | 1 | has ZipFileContent => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 466 | } | ||||||||||
| 467 | |||||||||||
| 468 | 1 | subtype 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::CheckpointConfiguration', | |||||||||
| 469 | as 'Cfn::Value'; | ||||||||||
| 470 | |||||||||||
| 471 | coerce 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::CheckpointConfiguration', | ||||||||||
| 472 | from 'HashRef', | ||||||||||
| 473 | via { | ||||||||||
| 474 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 475 | 0 | return $f | |||||||||
| 476 | } else { | ||||||||||
| 477 | 0 | return Cfn::Resource::Properties::Object::AWS::KinesisAnalyticsV2::Application::CheckpointConfiguration->new( %$_ ); | |||||||||
| 478 | } | ||||||||||
| 479 | 1 | }; | |||||||||
| 480 | |||||||||||
| 481 | 1 | package Cfn::Resource::Properties::Object::AWS::KinesisAnalyticsV2::Application::CheckpointConfiguration { | |||||||||
| 482 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 483 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 484 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 485 | |||||||||||
| 486 | 1 | has CheckpointingEnabled => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 487 | 1 | has CheckpointInterval => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 488 | 1 | has ConfigurationType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 489 | 1 | has MinPauseBetweenCheckpoints => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 490 | } | ||||||||||
| 491 | |||||||||||
| 492 | 1 | subtype 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::SqlApplicationConfiguration', | |||||||||
| 493 | as 'Cfn::Value'; | ||||||||||
| 494 | |||||||||||
| 495 | coerce 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::SqlApplicationConfiguration', | ||||||||||
| 496 | from 'HashRef', | ||||||||||
| 497 | via { | ||||||||||
| 498 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 499 | 0 | return $f | |||||||||
| 500 | } else { | ||||||||||
| 501 | 0 | return Cfn::Resource::Properties::Object::AWS::KinesisAnalyticsV2::Application::SqlApplicationConfiguration->new( %$_ ); | |||||||||
| 502 | } | ||||||||||
| 503 | 1 | }; | |||||||||
| 504 | |||||||||||
| 505 | 1 | package Cfn::Resource::Properties::Object::AWS::KinesisAnalyticsV2::Application::SqlApplicationConfiguration { | |||||||||
| 506 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 507 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 508 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 509 | |||||||||||
| 510 | 1 | has Inputs => (isa => 'ArrayOfCfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::Input', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 511 | } | ||||||||||
| 512 | |||||||||||
| 513 | 1 | subtype 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::FlinkApplicationConfiguration', | |||||||||
| 514 | as 'Cfn::Value'; | ||||||||||
| 515 | |||||||||||
| 516 | coerce 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::FlinkApplicationConfiguration', | ||||||||||
| 517 | from 'HashRef', | ||||||||||
| 518 | via { | ||||||||||
| 519 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 520 | 0 | return $f | |||||||||
| 521 | } else { | ||||||||||
| 522 | 0 | return Cfn::Resource::Properties::Object::AWS::KinesisAnalyticsV2::Application::FlinkApplicationConfiguration->new( %$_ ); | |||||||||
| 523 | } | ||||||||||
| 524 | 1 | }; | |||||||||
| 525 | |||||||||||
| 526 | 1 | package Cfn::Resource::Properties::Object::AWS::KinesisAnalyticsV2::Application::FlinkApplicationConfiguration { | |||||||||
| 527 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 528 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 529 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 530 | |||||||||||
| 531 | 1 | has CheckpointConfiguration => (isa => 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::CheckpointConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 532 | 1 | has MonitoringConfiguration => (isa => 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::MonitoringConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 533 | 1 | has ParallelismConfiguration => (isa => 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::ParallelismConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 534 | } | ||||||||||
| 535 | |||||||||||
| 536 | 1 | subtype 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::EnvironmentProperties', | |||||||||
| 537 | as 'Cfn::Value'; | ||||||||||
| 538 | |||||||||||
| 539 | coerce 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::EnvironmentProperties', | ||||||||||
| 540 | from 'HashRef', | ||||||||||
| 541 | via { | ||||||||||
| 542 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 543 | 0 | return $f | |||||||||
| 544 | } else { | ||||||||||
| 545 | 0 | return Cfn::Resource::Properties::Object::AWS::KinesisAnalyticsV2::Application::EnvironmentProperties->new( %$_ ); | |||||||||
| 546 | } | ||||||||||
| 547 | 1 | }; | |||||||||
| 548 | |||||||||||
| 549 | 1 | package Cfn::Resource::Properties::Object::AWS::KinesisAnalyticsV2::Application::EnvironmentProperties { | |||||||||
| 550 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 551 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 552 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 553 | |||||||||||
| 554 | 1 | has PropertyGroups => (isa => 'ArrayOfCfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::PropertyGroup', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 555 | } | ||||||||||
| 556 | |||||||||||
| 557 | 1 | subtype 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::ApplicationSnapshotConfiguration', | |||||||||
| 558 | as 'Cfn::Value'; | ||||||||||
| 559 | |||||||||||
| 560 | coerce 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::ApplicationSnapshotConfiguration', | ||||||||||
| 561 | from 'HashRef', | ||||||||||
| 562 | via { | ||||||||||
| 563 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 564 | 0 | return $f | |||||||||
| 565 | } else { | ||||||||||
| 566 | 0 | return Cfn::Resource::Properties::Object::AWS::KinesisAnalyticsV2::Application::ApplicationSnapshotConfiguration->new( %$_ ); | |||||||||
| 567 | } | ||||||||||
| 568 | 1 | }; | |||||||||
| 569 | |||||||||||
| 570 | 1 | package Cfn::Resource::Properties::Object::AWS::KinesisAnalyticsV2::Application::ApplicationSnapshotConfiguration { | |||||||||
| 571 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 572 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 573 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 574 | |||||||||||
| 575 | 1 | has SnapshotsEnabled => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 576 | } | ||||||||||
| 577 | |||||||||||
| 578 | 1 | subtype 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::ApplicationCodeConfiguration', | |||||||||
| 579 | as 'Cfn::Value'; | ||||||||||
| 580 | |||||||||||
| 581 | coerce 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::ApplicationCodeConfiguration', | ||||||||||
| 582 | from 'HashRef', | ||||||||||
| 583 | via { | ||||||||||
| 584 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 585 | 0 | return $f | |||||||||
| 586 | } else { | ||||||||||
| 587 | 0 | return Cfn::Resource::Properties::Object::AWS::KinesisAnalyticsV2::Application::ApplicationCodeConfiguration->new( %$_ ); | |||||||||
| 588 | } | ||||||||||
| 589 | 1 | }; | |||||||||
| 590 | |||||||||||
| 591 | 1 | package Cfn::Resource::Properties::Object::AWS::KinesisAnalyticsV2::Application::ApplicationCodeConfiguration { | |||||||||
| 592 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 593 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 594 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 595 | |||||||||||
| 596 | 1 | has CodeContent => (isa => 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::CodeContent', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 597 | 1 | has CodeContentType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 598 | } | ||||||||||
| 599 | |||||||||||
| 600 | 1 | subtype 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::ApplicationConfiguration', | |||||||||
| 601 | as 'Cfn::Value'; | ||||||||||
| 602 | |||||||||||
| 603 | coerce 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::ApplicationConfiguration', | ||||||||||
| 604 | from 'HashRef', | ||||||||||
| 605 | via { | ||||||||||
| 606 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 607 | 0 | return $f | |||||||||
| 608 | } else { | ||||||||||
| 609 | 0 | return Cfn::Resource::Properties::Object::AWS::KinesisAnalyticsV2::Application::ApplicationConfiguration->new( %$_ ); | |||||||||
| 610 | } | ||||||||||
| 611 | 1 | }; | |||||||||
| 612 | |||||||||||
| 613 | 1 | package Cfn::Resource::Properties::Object::AWS::KinesisAnalyticsV2::Application::ApplicationConfiguration { | |||||||||
| 614 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 615 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 616 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 617 | |||||||||||
| 618 | 1 | has ApplicationCodeConfiguration => (isa => 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::ApplicationCodeConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 619 | 1 | has ApplicationSnapshotConfiguration => (isa => 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::ApplicationSnapshotConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 620 | 1 | has EnvironmentProperties => (isa => 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::EnvironmentProperties', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 621 | 1 | has FlinkApplicationConfiguration => (isa => 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::FlinkApplicationConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 622 | 1 | has SqlApplicationConfiguration => (isa => 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::SqlApplicationConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 623 | } | ||||||||||
| 624 | |||||||||||
| 625 | 1 | package Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application { | |||||||||
| 626 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 627 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 628 | 1 | extends 'Cfn::Resource::Properties'; | |||||||||
| 629 | |||||||||||
| 630 | 1 | has ApplicationConfiguration => (isa => 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::ApplicationConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 631 | 1 | has ApplicationDescription => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 632 | 1 | has ApplicationName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 633 | 1 | has RuntimeEnvironment => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 634 | 1 | has ServiceExecutionRole => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 635 | 1 | has Tags => (isa => 'ArrayOfCfn::Resource::Properties::TagType', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 636 | } | ||||||||||
| 637 | |||||||||||
| 638 | 1 | 1; | |||||||||
| 639 | ### main pod documentation begin ### | ||||||||||
| 640 | |||||||||||
| 641 | =encoding UTF-8 | ||||||||||
| 642 | |||||||||||
| 643 | =head1 NAME | ||||||||||
| 644 | |||||||||||
| 645 | Cfn::Resource::AWS::KinesisAnalyticsV2::Application - Cfn resource for AWS::KinesisAnalyticsV2::Application | ||||||||||
| 646 | |||||||||||
| 647 | =head1 DESCRIPTION | ||||||||||
| 648 | |||||||||||
| 649 | This module implements a Perl module that represents the CloudFormation object AWS::KinesisAnalyticsV2::Application. | ||||||||||
| 650 | |||||||||||
| 651 | See L<Cfn> for more information on how to use it. | ||||||||||
| 652 | |||||||||||
| 653 | =head1 AUTHOR | ||||||||||
| 654 | |||||||||||
| 655 | Jose Luis Martinez | ||||||||||
| 656 | CAPSiDE | ||||||||||
| 657 | jlmartinez@capside.com | ||||||||||
| 658 | |||||||||||
| 659 | =head1 COPYRIGHT and LICENSE | ||||||||||
| 660 | |||||||||||
| 661 | Copyright (c) 2013 by CAPSiDE | ||||||||||
| 662 | This code is distributed under the Apache 2 License. The full text of the | ||||||||||
| 663 | license can be found in the LICENSE file included with this module. | ||||||||||
| 664 | |||||||||||
| 665 | =cut | ||||||||||