| 1 | # AWS::IoTEvents::DetectorModel generated from spec 11.1.0 | ||||||||||
| 2 | 1 | ▶ | use Moose::Util::TypeConstraints; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 3 | |||||||||||
| 4 | coerce 'Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel', | ||||||||||
| 5 | from 'HashRef', | ||||||||||
| 6 | 0 | ▶ | via { Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel->new( %$_ ) }; | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=1.2
| |||||||||||
| 7 | |||||||||||
| 8 | 1 | package Cfn::Resource::AWS::IoTEvents::DetectorModel { | |||||||||
| 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::IoTEvents::DetectorModel', 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::IoTEvents::DetectorModel::Sqs', | |||||||||
| 24 | as 'Cfn::Value'; | ||||||||||
| 25 | |||||||||||
| 26 | coerce 'Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel::Sqs', | ||||||||||
| 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::AWS::IoTEvents::DetectorModel::SqsValue->new( %$_ ); | |||||||||
| 33 | } | ||||||||||
| 34 | 1 | }; | |||||||||
| 35 | |||||||||||
| 36 | 1 | package Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel::SqsValue { | |||||||||
| 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 QueueUrl => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 42 | 1 | has UseBase64 => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 43 | } | ||||||||||
| 44 | |||||||||||
| 45 | 1 | subtype 'Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel::Sns', | |||||||||
| 46 | as 'Cfn::Value'; | ||||||||||
| 47 | |||||||||||
| 48 | coerce 'Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel::Sns', | ||||||||||
| 49 | from 'HashRef', | ||||||||||
| 50 | via { | ||||||||||
| 51 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 52 | 0 | return $f | |||||||||
| 53 | } else { | ||||||||||
| 54 | 0 | return Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel::SnsValue->new( %$_ ); | |||||||||
| 55 | } | ||||||||||
| 56 | 1 | }; | |||||||||
| 57 | |||||||||||
| 58 | 1 | package Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel::SnsValue { | |||||||||
| 59 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 60 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 61 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 62 | |||||||||||
| 63 | 1 | has TargetArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 64 | } | ||||||||||
| 65 | |||||||||||
| 66 | 1 | subtype 'Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel::SetVariable', | |||||||||
| 67 | as 'Cfn::Value'; | ||||||||||
| 68 | |||||||||||
| 69 | coerce 'Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel::SetVariable', | ||||||||||
| 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::AWS::IoTEvents::DetectorModel::SetVariableValue->new( %$_ ); | |||||||||
| 76 | } | ||||||||||
| 77 | 1 | }; | |||||||||
| 78 | |||||||||||
| 79 | 1 | package Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel::SetVariableValue { | |||||||||
| 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 Value => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 85 | 1 | has VariableName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 86 | } | ||||||||||
| 87 | |||||||||||
| 88 | 1 | subtype 'Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel::SetTimer', | |||||||||
| 89 | as 'Cfn::Value'; | ||||||||||
| 90 | |||||||||||
| 91 | coerce 'Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel::SetTimer', | ||||||||||
| 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::AWS::IoTEvents::DetectorModel::SetTimerValue->new( %$_ ); | |||||||||
| 98 | } | ||||||||||
| 99 | 1 | }; | |||||||||
| 100 | |||||||||||
| 101 | 1 | package Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel::SetTimerValue { | |||||||||
| 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 Seconds => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 107 | 1 | has TimerName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 108 | } | ||||||||||
| 109 | |||||||||||
| 110 | 1 | subtype 'Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel::ResetTimer', | |||||||||
| 111 | as 'Cfn::Value'; | ||||||||||
| 112 | |||||||||||
| 113 | coerce 'Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel::ResetTimer', | ||||||||||
| 114 | from 'HashRef', | ||||||||||
| 115 | via { | ||||||||||
| 116 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 117 | 0 | return $f | |||||||||
| 118 | } else { | ||||||||||
| 119 | 0 | return Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel::ResetTimerValue->new( %$_ ); | |||||||||
| 120 | } | ||||||||||
| 121 | 1 | }; | |||||||||
| 122 | |||||||||||
| 123 | 1 | package Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel::ResetTimerValue { | |||||||||
| 124 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 125 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 126 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 127 | |||||||||||
| 128 | 1 | has TimerName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 129 | } | ||||||||||
| 130 | |||||||||||
| 131 | 1 | subtype 'Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel::Lambda', | |||||||||
| 132 | as 'Cfn::Value'; | ||||||||||
| 133 | |||||||||||
| 134 | coerce 'Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel::Lambda', | ||||||||||
| 135 | from 'HashRef', | ||||||||||
| 136 | via { | ||||||||||
| 137 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 138 | 0 | return $f | |||||||||
| 139 | } else { | ||||||||||
| 140 | 0 | return Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel::LambdaValue->new( %$_ ); | |||||||||
| 141 | } | ||||||||||
| 142 | 1 | }; | |||||||||
| 143 | |||||||||||
| 144 | 1 | package Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel::LambdaValue { | |||||||||
| 145 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 146 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 147 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 148 | |||||||||||
| 149 | 1 | has FunctionArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 150 | } | ||||||||||
| 151 | |||||||||||
| 152 | 1 | subtype 'Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel::IotTopicPublish', | |||||||||
| 153 | as 'Cfn::Value'; | ||||||||||
| 154 | |||||||||||
| 155 | coerce 'Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel::IotTopicPublish', | ||||||||||
| 156 | from 'HashRef', | ||||||||||
| 157 | via { | ||||||||||
| 158 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 159 | 0 | return $f | |||||||||
| 160 | } else { | ||||||||||
| 161 | 0 | return Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel::IotTopicPublishValue->new( %$_ ); | |||||||||
| 162 | } | ||||||||||
| 163 | 1 | }; | |||||||||
| 164 | |||||||||||
| 165 | 1 | package Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel::IotTopicPublishValue { | |||||||||
| 166 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 167 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 168 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 169 | |||||||||||
| 170 | 1 | has MqttTopic => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 171 | } | ||||||||||
| 172 | |||||||||||
| 173 | 1 | subtype 'Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel::IotEvents', | |||||||||
| 174 | as 'Cfn::Value'; | ||||||||||
| 175 | |||||||||||
| 176 | coerce 'Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel::IotEvents', | ||||||||||
| 177 | from 'HashRef', | ||||||||||
| 178 | via { | ||||||||||
| 179 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 180 | 0 | return $f | |||||||||
| 181 | } else { | ||||||||||
| 182 | 0 | return Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel::IotEventsValue->new( %$_ ); | |||||||||
| 183 | } | ||||||||||
| 184 | 1 | }; | |||||||||
| 185 | |||||||||||
| 186 | 1 | package Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel::IotEventsValue { | |||||||||
| 187 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 188 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 189 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 190 | |||||||||||
| 191 | 1 | has InputName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 192 | } | ||||||||||
| 193 | |||||||||||
| 194 | 1 | subtype 'Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel::Firehose', | |||||||||
| 195 | as 'Cfn::Value'; | ||||||||||
| 196 | |||||||||||
| 197 | coerce 'Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel::Firehose', | ||||||||||
| 198 | from 'HashRef', | ||||||||||
| 199 | via { | ||||||||||
| 200 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 201 | 0 | return $f | |||||||||
| 202 | } else { | ||||||||||
| 203 | 0 | return Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel::FirehoseValue->new( %$_ ); | |||||||||
| 204 | } | ||||||||||
| 205 | 1 | }; | |||||||||
| 206 | |||||||||||
| 207 | 1 | package Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel::FirehoseValue { | |||||||||
| 208 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 209 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 210 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 211 | |||||||||||
| 212 | 1 | has DeliveryStreamName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 213 | 1 | has Separator => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 214 | } | ||||||||||
| 215 | |||||||||||
| 216 | 1 | subtype 'Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel::ClearTimer', | |||||||||
| 217 | as 'Cfn::Value'; | ||||||||||
| 218 | |||||||||||
| 219 | coerce 'Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel::ClearTimer', | ||||||||||
| 220 | from 'HashRef', | ||||||||||
| 221 | via { | ||||||||||
| 222 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 223 | 0 | return $f | |||||||||
| 224 | } else { | ||||||||||
| 225 | 0 | return Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel::ClearTimerValue->new( %$_ ); | |||||||||
| 226 | } | ||||||||||
| 227 | 1 | }; | |||||||||
| 228 | |||||||||||
| 229 | 1 | package Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel::ClearTimerValue { | |||||||||
| 230 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 231 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 232 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 233 | |||||||||||
| 234 | 1 | has TimerName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 235 | } | ||||||||||
| 236 | subtype 'ArrayOfCfn::Resource::Properties::AWS::IoTEvents::DetectorModel::Action', | ||||||||||
| 237 | as 'Cfn::Value', | ||||||||||
| 238 | 0 | ▶ | where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 239 | 0 | ▶ | message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=1.2
| |||||||||||
| 240 | |||||||||||
| 241 | coerce 'ArrayOfCfn::Resource::Properties::AWS::IoTEvents::DetectorModel::Action', | ||||||||||
| 242 | from 'HashRef', | ||||||||||
| 243 | via { | ||||||||||
| 244 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 245 | 0 | return $f | |||||||||
| 246 | } else { | ||||||||||
| 247 | 0 | die 'Only accepts functions'; | |||||||||
| 248 | } | ||||||||||
| 249 | }, | ||||||||||
| 250 | from 'ArrayRef', | ||||||||||
| 251 | via { | ||||||||||
| 252 | Cfn::Value::Array->new(Value => [ | ||||||||||
| 253 | map { | ||||||||||
| 254 | 0 | ▶ | Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel::Action')->coerce($_) | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 255 | } @$_ | ||||||||||
| 256 | ]); | ||||||||||
| 257 | 1 | }; | |||||||||
| 258 | |||||||||||
| 259 | 1 | subtype 'Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel::Action', | |||||||||
| 260 | as 'Cfn::Value'; | ||||||||||
| 261 | |||||||||||
| 262 | coerce 'Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel::Action', | ||||||||||
| 263 | from 'HashRef', | ||||||||||
| 264 | via { | ||||||||||
| 265 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 266 | 0 | return $f | |||||||||
| 267 | } else { | ||||||||||
| 268 | 0 | return Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel::ActionValue->new( %$_ ); | |||||||||
| 269 | } | ||||||||||
| 270 | 1 | }; | |||||||||
| 271 | |||||||||||
| 272 | 1 | package Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel::ActionValue { | |||||||||
| 273 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 274 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 275 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 276 | |||||||||||
| 277 | 1 | has ClearTimer => (isa => 'Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel::ClearTimer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 278 | 1 | has Firehose => (isa => 'Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel::Firehose', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 279 | 1 | has IotEvents => (isa => 'Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel::IotEvents', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 280 | 1 | has IotTopicPublish => (isa => 'Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel::IotTopicPublish', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 281 | 1 | has Lambda => (isa => 'Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel::Lambda', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 282 | 1 | has ResetTimer => (isa => 'Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel::ResetTimer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 283 | 1 | has SetTimer => (isa => 'Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel::SetTimer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 284 | 1 | has SetVariable => (isa => 'Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel::SetVariable', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 285 | 1 | has Sns => (isa => 'Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel::Sns', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 286 | 1 | has Sqs => (isa => 'Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel::Sqs', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 287 | } | ||||||||||
| 288 | subtype 'ArrayOfCfn::Resource::Properties::AWS::IoTEvents::DetectorModel::TransitionEvent', | ||||||||||
| 289 | as 'Cfn::Value', | ||||||||||
| 290 | 0 | ▶ | where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 291 | 0 | ▶ | message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=1.2
| |||||||||||
| 292 | |||||||||||
| 293 | coerce 'ArrayOfCfn::Resource::Properties::AWS::IoTEvents::DetectorModel::TransitionEvent', | ||||||||||
| 294 | from 'HashRef', | ||||||||||
| 295 | via { | ||||||||||
| 296 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 297 | 0 | return $f | |||||||||
| 298 | } else { | ||||||||||
| 299 | 0 | die 'Only accepts functions'; | |||||||||
| 300 | } | ||||||||||
| 301 | }, | ||||||||||
| 302 | from 'ArrayRef', | ||||||||||
| 303 | via { | ||||||||||
| 304 | Cfn::Value::Array->new(Value => [ | ||||||||||
| 305 | map { | ||||||||||
| 306 | 0 | ▶ | Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel::TransitionEvent')->coerce($_) | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 307 | } @$_ | ||||||||||
| 308 | ]); | ||||||||||
| 309 | 1 | }; | |||||||||
| 310 | |||||||||||
| 311 | 1 | subtype 'Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel::TransitionEvent', | |||||||||
| 312 | as 'Cfn::Value'; | ||||||||||
| 313 | |||||||||||
| 314 | coerce 'Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel::TransitionEvent', | ||||||||||
| 315 | from 'HashRef', | ||||||||||
| 316 | via { | ||||||||||
| 317 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 318 | 0 | return $f | |||||||||
| 319 | } else { | ||||||||||
| 320 | 0 | return Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel::TransitionEventValue->new( %$_ ); | |||||||||
| 321 | } | ||||||||||
| 322 | 1 | }; | |||||||||
| 323 | |||||||||||
| 324 | 1 | package Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel::TransitionEventValue { | |||||||||
| 325 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 326 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 327 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 328 | |||||||||||
| 329 | 1 | has Actions => (isa => 'ArrayOfCfn::Resource::Properties::AWS::IoTEvents::DetectorModel::Action', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 330 | 1 | has Condition => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 331 | 1 | has EventName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 332 | 1 | has NextState => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 333 | } | ||||||||||
| 334 | subtype 'ArrayOfCfn::Resource::Properties::AWS::IoTEvents::DetectorModel::Event', | ||||||||||
| 335 | as 'Cfn::Value', | ||||||||||
| 336 | 0 | ▶ | where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 337 | 0 | ▶ | message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=1.2
| |||||||||||
| 338 | |||||||||||
| 339 | coerce 'ArrayOfCfn::Resource::Properties::AWS::IoTEvents::DetectorModel::Event', | ||||||||||
| 340 | from 'HashRef', | ||||||||||
| 341 | via { | ||||||||||
| 342 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 343 | 0 | return $f | |||||||||
| 344 | } else { | ||||||||||
| 345 | 0 | die 'Only accepts functions'; | |||||||||
| 346 | } | ||||||||||
| 347 | }, | ||||||||||
| 348 | from 'ArrayRef', | ||||||||||
| 349 | via { | ||||||||||
| 350 | Cfn::Value::Array->new(Value => [ | ||||||||||
| 351 | map { | ||||||||||
| 352 | 0 | ▶ | Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel::Event')->coerce($_) | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 353 | } @$_ | ||||||||||
| 354 | ]); | ||||||||||
| 355 | 1 | }; | |||||||||
| 356 | |||||||||||
| 357 | 1 | subtype 'Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel::Event', | |||||||||
| 358 | as 'Cfn::Value'; | ||||||||||
| 359 | |||||||||||
| 360 | coerce 'Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel::Event', | ||||||||||
| 361 | from 'HashRef', | ||||||||||
| 362 | via { | ||||||||||
| 363 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 364 | 0 | return $f | |||||||||
| 365 | } else { | ||||||||||
| 366 | 0 | return Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel::EventValue->new( %$_ ); | |||||||||
| 367 | } | ||||||||||
| 368 | 1 | }; | |||||||||
| 369 | |||||||||||
| 370 | 1 | package Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel::EventValue { | |||||||||
| 371 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 372 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 373 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 374 | |||||||||||
| 375 | 1 | has Actions => (isa => 'ArrayOfCfn::Resource::Properties::AWS::IoTEvents::DetectorModel::Action', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 376 | 1 | has Condition => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 377 | 1 | has EventName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 378 | } | ||||||||||
| 379 | |||||||||||
| 380 | 1 | subtype 'Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel::OnInput', | |||||||||
| 381 | as 'Cfn::Value'; | ||||||||||
| 382 | |||||||||||
| 383 | coerce 'Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel::OnInput', | ||||||||||
| 384 | from 'HashRef', | ||||||||||
| 385 | via { | ||||||||||
| 386 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 387 | 0 | return $f | |||||||||
| 388 | } else { | ||||||||||
| 389 | 0 | return Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel::OnInputValue->new( %$_ ); | |||||||||
| 390 | } | ||||||||||
| 391 | 1 | }; | |||||||||
| 392 | |||||||||||
| 393 | 1 | package Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel::OnInputValue { | |||||||||
| 394 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 395 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 396 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 397 | |||||||||||
| 398 | 1 | has Events => (isa => 'ArrayOfCfn::Resource::Properties::AWS::IoTEvents::DetectorModel::Event', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 399 | 1 | has TransitionEvents => (isa => 'ArrayOfCfn::Resource::Properties::AWS::IoTEvents::DetectorModel::TransitionEvent', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 400 | } | ||||||||||
| 401 | |||||||||||
| 402 | 1 | subtype 'Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel::OnExit', | |||||||||
| 403 | as 'Cfn::Value'; | ||||||||||
| 404 | |||||||||||
| 405 | coerce 'Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel::OnExit', | ||||||||||
| 406 | from 'HashRef', | ||||||||||
| 407 | via { | ||||||||||
| 408 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 409 | 0 | return $f | |||||||||
| 410 | } else { | ||||||||||
| 411 | 0 | return Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel::OnExitValue->new( %$_ ); | |||||||||
| 412 | } | ||||||||||
| 413 | 1 | }; | |||||||||
| 414 | |||||||||||
| 415 | 1 | package Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel::OnExitValue { | |||||||||
| 416 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 417 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 418 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 419 | |||||||||||
| 420 | 1 | has Events => (isa => 'ArrayOfCfn::Resource::Properties::AWS::IoTEvents::DetectorModel::Event', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 421 | } | ||||||||||
| 422 | |||||||||||
| 423 | 1 | subtype 'Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel::OnEnter', | |||||||||
| 424 | as 'Cfn::Value'; | ||||||||||
| 425 | |||||||||||
| 426 | coerce 'Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel::OnEnter', | ||||||||||
| 427 | from 'HashRef', | ||||||||||
| 428 | via { | ||||||||||
| 429 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 430 | 0 | return $f | |||||||||
| 431 | } else { | ||||||||||
| 432 | 0 | return Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel::OnEnterValue->new( %$_ ); | |||||||||
| 433 | } | ||||||||||
| 434 | 1 | }; | |||||||||
| 435 | |||||||||||
| 436 | 1 | package Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel::OnEnterValue { | |||||||||
| 437 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 438 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 439 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 440 | |||||||||||
| 441 | 1 | has Events => (isa => 'ArrayOfCfn::Resource::Properties::AWS::IoTEvents::DetectorModel::Event', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 442 | } | ||||||||||
| 443 | subtype 'ArrayOfCfn::Resource::Properties::AWS::IoTEvents::DetectorModel::State', | ||||||||||
| 444 | as 'Cfn::Value', | ||||||||||
| 445 | 0 | ▶ | where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 446 | 0 | ▶ | message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=1.2
| |||||||||||
| 447 | |||||||||||
| 448 | coerce 'ArrayOfCfn::Resource::Properties::AWS::IoTEvents::DetectorModel::State', | ||||||||||
| 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 | die 'Only accepts functions'; | |||||||||
| 455 | } | ||||||||||
| 456 | }, | ||||||||||
| 457 | from 'ArrayRef', | ||||||||||
| 458 | via { | ||||||||||
| 459 | Cfn::Value::Array->new(Value => [ | ||||||||||
| 460 | map { | ||||||||||
| 461 | 0 | ▶ | Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel::State')->coerce($_) | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 462 | } @$_ | ||||||||||
| 463 | ]); | ||||||||||
| 464 | 1 | }; | |||||||||
| 465 | |||||||||||
| 466 | 1 | subtype 'Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel::State', | |||||||||
| 467 | as 'Cfn::Value'; | ||||||||||
| 468 | |||||||||||
| 469 | coerce 'Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel::State', | ||||||||||
| 470 | from 'HashRef', | ||||||||||
| 471 | via { | ||||||||||
| 472 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 473 | 0 | return $f | |||||||||
| 474 | } else { | ||||||||||
| 475 | 0 | return Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel::StateValue->new( %$_ ); | |||||||||
| 476 | } | ||||||||||
| 477 | 1 | }; | |||||||||
| 478 | |||||||||||
| 479 | 1 | package Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel::StateValue { | |||||||||
| 480 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 481 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 482 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 483 | |||||||||||
| 484 | 1 | has OnEnter => (isa => 'Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel::OnEnter', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 485 | 1 | has OnExit => (isa => 'Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel::OnExit', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 486 | 1 | has OnInput => (isa => 'Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel::OnInput', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 487 | 1 | has StateName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 488 | } | ||||||||||
| 489 | |||||||||||
| 490 | 1 | subtype 'Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel::DetectorModelDefinition', | |||||||||
| 491 | as 'Cfn::Value'; | ||||||||||
| 492 | |||||||||||
| 493 | coerce 'Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel::DetectorModelDefinition', | ||||||||||
| 494 | from 'HashRef', | ||||||||||
| 495 | via { | ||||||||||
| 496 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 497 | 0 | return $f | |||||||||
| 498 | } else { | ||||||||||
| 499 | 0 | return Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel::DetectorModelDefinitionValue->new( %$_ ); | |||||||||
| 500 | } | ||||||||||
| 501 | 1 | }; | |||||||||
| 502 | |||||||||||
| 503 | 1 | package Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel::DetectorModelDefinitionValue { | |||||||||
| 504 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 505 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 506 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 507 | |||||||||||
| 508 | 1 | has InitialStateName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 509 | 1 | has States => (isa => 'ArrayOfCfn::Resource::Properties::AWS::IoTEvents::DetectorModel::State', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 510 | } | ||||||||||
| 511 | |||||||||||
| 512 | 1 | package Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel { | |||||||||
| 513 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 514 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 515 | 1 | extends 'Cfn::Resource::Properties'; | |||||||||
| 516 | |||||||||||
| 517 | 1 | has DetectorModelDefinition => (isa => 'Cfn::Resource::Properties::AWS::IoTEvents::DetectorModel::DetectorModelDefinition', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 518 | 1 | has DetectorModelDescription => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 519 | 1 | has DetectorModelName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 520 | 1 | has EvaluationMethod => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 521 | 1 | has Key => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 522 | 1 | has RoleArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 523 | 1 | has Tags => (isa => 'ArrayOfCfn::Resource::Properties::TagType', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 524 | } | ||||||||||
| 525 | |||||||||||
| 526 | 1 | 1; | |||||||||