| 1 | # AWS::ApplicationInsights::Application generated from spec 20.1.0 | ||||||||||
| 2 | 1 | ▶ | use Moose::Util::TypeConstraints; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 3 | |||||||||||
| 4 | coerce 'Cfn::Resource::Properties::AWS::ApplicationInsights::Application', | ||||||||||
| 5 | from 'HashRef', | ||||||||||
| 6 | 0 | ▶ | via { Cfn::Resource::Properties::AWS::ApplicationInsights::Application->new( %$_ ) }; | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=1.2
| |||||||||||
| 7 | |||||||||||
| 8 | 1 | package Cfn::Resource::AWS::ApplicationInsights::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::ApplicationInsights::Application', is => 'rw', coerce => 1); | |||||||||
| 12 | |||||||||||
| 13 | sub AttributeList { | ||||||||||
| 14 | 1 | ▶ | [ 'ApplicationARN' ] | ||||||||
|
Subroutine
AttributeList: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||
| 15 | } | ||||||||||
| 16 | sub supported_regions { | ||||||||||
| 17 | 1 | ▶ | [ 'af-south-1','ap-east-1','ap-northeast-1','ap-northeast-2','ap-south-1','ap-southeast-1','ap-southeast-2','ca-central-1','eu-central-1','eu-north-1','eu-south-1','eu-west-1','eu-west-2','eu-west-3','me-south-1','sa-east-1','us-east-1','us-east-2','us-west-1','us-west-2' ] | ||||||||
|
Subroutine
supported_regions: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||
| 18 | } | ||||||||||
| 19 | } | ||||||||||
| 20 | |||||||||||
| 21 | |||||||||||
| 22 | subtype 'ArrayOfCfn::Resource::Properties::AWS::ApplicationInsights::Application::WindowsEvent', | ||||||||||
| 23 | as 'Cfn::Value', | ||||||||||
| 24 | 0 | ▶ | where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 25 | 0 | ▶ | message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=1.2
| |||||||||||
| 26 | |||||||||||
| 27 | coerce 'ArrayOfCfn::Resource::Properties::AWS::ApplicationInsights::Application::WindowsEvent', | ||||||||||
| 28 | from 'HashRef', | ||||||||||
| 29 | via { | ||||||||||
| 30 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 31 | 0 | return $f | |||||||||
| 32 | } else { | ||||||||||
| 33 | 0 | die 'Only accepts functions'; | |||||||||
| 34 | } | ||||||||||
| 35 | }, | ||||||||||
| 36 | from 'ArrayRef', | ||||||||||
| 37 | via { | ||||||||||
| 38 | Cfn::Value::Array->new(Value => [ | ||||||||||
| 39 | map { | ||||||||||
| 40 | 0 | ▶ | Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::ApplicationInsights::Application::WindowsEvent')->coerce($_) | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 41 | } @$_ | ||||||||||
| 42 | ]); | ||||||||||
| 43 | 1 | }; | |||||||||
| 44 | |||||||||||
| 45 | 1 | subtype 'Cfn::Resource::Properties::AWS::ApplicationInsights::Application::WindowsEvent', | |||||||||
| 46 | as 'Cfn::Value'; | ||||||||||
| 47 | |||||||||||
| 48 | coerce 'Cfn::Resource::Properties::AWS::ApplicationInsights::Application::WindowsEvent', | ||||||||||
| 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::Object::AWS::ApplicationInsights::Application::WindowsEvent->new( %$_ ); | |||||||||
| 55 | } | ||||||||||
| 56 | 1 | }; | |||||||||
| 57 | |||||||||||
| 58 | 1 | package Cfn::Resource::Properties::Object::AWS::ApplicationInsights::Application::WindowsEvent { | |||||||||
| 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 EventLevels => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 64 | 1 | has EventName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 65 | 1 | has LogGroupName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 66 | 1 | has PatternSet => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 67 | } | ||||||||||
| 68 | subtype 'ArrayOfCfn::Resource::Properties::AWS::ApplicationInsights::Application::Log', | ||||||||||
| 69 | as 'Cfn::Value', | ||||||||||
| 70 | 0 | ▶ | where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 71 | 0 | ▶ | message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=1.2
| |||||||||||
| 72 | |||||||||||
| 73 | coerce 'ArrayOfCfn::Resource::Properties::AWS::ApplicationInsights::Application::Log', | ||||||||||
| 74 | from 'HashRef', | ||||||||||
| 75 | via { | ||||||||||
| 76 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 77 | 0 | return $f | |||||||||
| 78 | } else { | ||||||||||
| 79 | 0 | die 'Only accepts functions'; | |||||||||
| 80 | } | ||||||||||
| 81 | }, | ||||||||||
| 82 | from 'ArrayRef', | ||||||||||
| 83 | via { | ||||||||||
| 84 | Cfn::Value::Array->new(Value => [ | ||||||||||
| 85 | map { | ||||||||||
| 86 | 0 | ▶ | Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::ApplicationInsights::Application::Log')->coerce($_) | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 87 | } @$_ | ||||||||||
| 88 | ]); | ||||||||||
| 89 | 1 | }; | |||||||||
| 90 | |||||||||||
| 91 | 1 | subtype 'Cfn::Resource::Properties::AWS::ApplicationInsights::Application::Log', | |||||||||
| 92 | as 'Cfn::Value'; | ||||||||||
| 93 | |||||||||||
| 94 | coerce 'Cfn::Resource::Properties::AWS::ApplicationInsights::Application::Log', | ||||||||||
| 95 | from 'HashRef', | ||||||||||
| 96 | via { | ||||||||||
| 97 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 98 | 0 | return $f | |||||||||
| 99 | } else { | ||||||||||
| 100 | 0 | return Cfn::Resource::Properties::Object::AWS::ApplicationInsights::Application::Log->new( %$_ ); | |||||||||
| 101 | } | ||||||||||
| 102 | 1 | }; | |||||||||
| 103 | |||||||||||
| 104 | 1 | package Cfn::Resource::Properties::Object::AWS::ApplicationInsights::Application::Log { | |||||||||
| 105 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 106 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 107 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 108 | |||||||||||
| 109 | 1 | has Encoding => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 110 | 1 | has LogGroupName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 111 | 1 | has LogPath => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 112 | 1 | has LogType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 113 | 1 | has PatternSet => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 114 | } | ||||||||||
| 115 | subtype 'ArrayOfCfn::Resource::Properties::AWS::ApplicationInsights::Application::AlarmMetric', | ||||||||||
| 116 | as 'Cfn::Value', | ||||||||||
| 117 | 0 | ▶ | where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 118 | 0 | ▶ | message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=1.2
| |||||||||||
| 119 | |||||||||||
| 120 | coerce 'ArrayOfCfn::Resource::Properties::AWS::ApplicationInsights::Application::AlarmMetric', | ||||||||||
| 121 | from 'HashRef', | ||||||||||
| 122 | via { | ||||||||||
| 123 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 124 | 0 | return $f | |||||||||
| 125 | } else { | ||||||||||
| 126 | 0 | die 'Only accepts functions'; | |||||||||
| 127 | } | ||||||||||
| 128 | }, | ||||||||||
| 129 | from 'ArrayRef', | ||||||||||
| 130 | via { | ||||||||||
| 131 | Cfn::Value::Array->new(Value => [ | ||||||||||
| 132 | map { | ||||||||||
| 133 | 0 | ▶ | Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::ApplicationInsights::Application::AlarmMetric')->coerce($_) | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 134 | } @$_ | ||||||||||
| 135 | ]); | ||||||||||
| 136 | 1 | }; | |||||||||
| 137 | |||||||||||
| 138 | 1 | subtype 'Cfn::Resource::Properties::AWS::ApplicationInsights::Application::AlarmMetric', | |||||||||
| 139 | as 'Cfn::Value'; | ||||||||||
| 140 | |||||||||||
| 141 | coerce 'Cfn::Resource::Properties::AWS::ApplicationInsights::Application::AlarmMetric', | ||||||||||
| 142 | from 'HashRef', | ||||||||||
| 143 | via { | ||||||||||
| 144 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 145 | 0 | return $f | |||||||||
| 146 | } else { | ||||||||||
| 147 | 0 | return Cfn::Resource::Properties::Object::AWS::ApplicationInsights::Application::AlarmMetric->new( %$_ ); | |||||||||
| 148 | } | ||||||||||
| 149 | 1 | }; | |||||||||
| 150 | |||||||||||
| 151 | 1 | package Cfn::Resource::Properties::Object::AWS::ApplicationInsights::Application::AlarmMetric { | |||||||||
| 152 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 153 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 154 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 155 | |||||||||||
| 156 | 1 | has AlarmMetricName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 157 | } | ||||||||||
| 158 | |||||||||||
| 159 | 1 | subtype 'Cfn::Resource::Properties::AWS::ApplicationInsights::Application::SubComponentConfigurationDetails', | |||||||||
| 160 | as 'Cfn::Value'; | ||||||||||
| 161 | |||||||||||
| 162 | coerce 'Cfn::Resource::Properties::AWS::ApplicationInsights::Application::SubComponentConfigurationDetails', | ||||||||||
| 163 | from 'HashRef', | ||||||||||
| 164 | via { | ||||||||||
| 165 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 166 | 0 | return $f | |||||||||
| 167 | } else { | ||||||||||
| 168 | 0 | return Cfn::Resource::Properties::Object::AWS::ApplicationInsights::Application::SubComponentConfigurationDetails->new( %$_ ); | |||||||||
| 169 | } | ||||||||||
| 170 | 1 | }; | |||||||||
| 171 | |||||||||||
| 172 | 1 | package Cfn::Resource::Properties::Object::AWS::ApplicationInsights::Application::SubComponentConfigurationDetails { | |||||||||
| 173 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 174 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 175 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 176 | |||||||||||
| 177 | 1 | has AlarmMetrics => (isa => 'ArrayOfCfn::Resource::Properties::AWS::ApplicationInsights::Application::AlarmMetric', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 178 | 1 | has Logs => (isa => 'ArrayOfCfn::Resource::Properties::AWS::ApplicationInsights::Application::Log', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 179 | 1 | has WindowsEvents => (isa => 'ArrayOfCfn::Resource::Properties::AWS::ApplicationInsights::Application::WindowsEvent', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 180 | } | ||||||||||
| 181 | subtype 'ArrayOfCfn::Resource::Properties::AWS::ApplicationInsights::Application::Alarm', | ||||||||||
| 182 | as 'Cfn::Value', | ||||||||||
| 183 | 0 | ▶ | where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 184 | 0 | ▶ | message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=1.2
| |||||||||||
| 185 | |||||||||||
| 186 | coerce 'ArrayOfCfn::Resource::Properties::AWS::ApplicationInsights::Application::Alarm', | ||||||||||
| 187 | from 'HashRef', | ||||||||||
| 188 | via { | ||||||||||
| 189 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 190 | 0 | return $f | |||||||||
| 191 | } else { | ||||||||||
| 192 | 0 | die 'Only accepts functions'; | |||||||||
| 193 | } | ||||||||||
| 194 | }, | ||||||||||
| 195 | from 'ArrayRef', | ||||||||||
| 196 | via { | ||||||||||
| 197 | Cfn::Value::Array->new(Value => [ | ||||||||||
| 198 | map { | ||||||||||
| 199 | 0 | ▶ | Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::ApplicationInsights::Application::Alarm')->coerce($_) | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 200 | } @$_ | ||||||||||
| 201 | ]); | ||||||||||
| 202 | 1 | }; | |||||||||
| 203 | |||||||||||
| 204 | 1 | subtype 'Cfn::Resource::Properties::AWS::ApplicationInsights::Application::Alarm', | |||||||||
| 205 | as 'Cfn::Value'; | ||||||||||
| 206 | |||||||||||
| 207 | coerce 'Cfn::Resource::Properties::AWS::ApplicationInsights::Application::Alarm', | ||||||||||
| 208 | from 'HashRef', | ||||||||||
| 209 | via { | ||||||||||
| 210 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 211 | 0 | return $f | |||||||||
| 212 | } else { | ||||||||||
| 213 | 0 | return Cfn::Resource::Properties::Object::AWS::ApplicationInsights::Application::Alarm->new( %$_ ); | |||||||||
| 214 | } | ||||||||||
| 215 | 1 | }; | |||||||||
| 216 | |||||||||||
| 217 | 1 | package Cfn::Resource::Properties::Object::AWS::ApplicationInsights::Application::Alarm { | |||||||||
| 218 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 219 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 220 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 221 | |||||||||||
| 222 | 1 | has AlarmName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 223 | 1 | has Severity => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 224 | } | ||||||||||
| 225 | subtype 'ArrayOfCfn::Resource::Properties::AWS::ApplicationInsights::Application::SubComponentTypeConfiguration', | ||||||||||
| 226 | as 'Cfn::Value', | ||||||||||
| 227 | 0 | ▶ | where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 228 | 0 | ▶ | message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=1.2
| |||||||||||
| 229 | |||||||||||
| 230 | coerce 'ArrayOfCfn::Resource::Properties::AWS::ApplicationInsights::Application::SubComponentTypeConfiguration', | ||||||||||
| 231 | from 'HashRef', | ||||||||||
| 232 | via { | ||||||||||
| 233 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 234 | 0 | return $f | |||||||||
| 235 | } else { | ||||||||||
| 236 | 0 | die 'Only accepts functions'; | |||||||||
| 237 | } | ||||||||||
| 238 | }, | ||||||||||
| 239 | from 'ArrayRef', | ||||||||||
| 240 | via { | ||||||||||
| 241 | Cfn::Value::Array->new(Value => [ | ||||||||||
| 242 | map { | ||||||||||
| 243 | 0 | ▶ | Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::ApplicationInsights::Application::SubComponentTypeConfiguration')->coerce($_) | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 244 | } @$_ | ||||||||||
| 245 | ]); | ||||||||||
| 246 | 1 | }; | |||||||||
| 247 | |||||||||||
| 248 | 1 | subtype 'Cfn::Resource::Properties::AWS::ApplicationInsights::Application::SubComponentTypeConfiguration', | |||||||||
| 249 | as 'Cfn::Value'; | ||||||||||
| 250 | |||||||||||
| 251 | coerce 'Cfn::Resource::Properties::AWS::ApplicationInsights::Application::SubComponentTypeConfiguration', | ||||||||||
| 252 | from 'HashRef', | ||||||||||
| 253 | via { | ||||||||||
| 254 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 255 | 0 | return $f | |||||||||
| 256 | } else { | ||||||||||
| 257 | 0 | return Cfn::Resource::Properties::Object::AWS::ApplicationInsights::Application::SubComponentTypeConfiguration->new( %$_ ); | |||||||||
| 258 | } | ||||||||||
| 259 | 1 | }; | |||||||||
| 260 | |||||||||||
| 261 | 1 | package Cfn::Resource::Properties::Object::AWS::ApplicationInsights::Application::SubComponentTypeConfiguration { | |||||||||
| 262 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 263 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 264 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 265 | |||||||||||
| 266 | 1 | has SubComponentConfigurationDetails => (isa => 'Cfn::Resource::Properties::AWS::ApplicationInsights::Application::SubComponentConfigurationDetails', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 267 | 1 | has SubComponentType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 268 | } | ||||||||||
| 269 | |||||||||||
| 270 | 1 | subtype 'Cfn::Resource::Properties::AWS::ApplicationInsights::Application::ConfigurationDetails', | |||||||||
| 271 | as 'Cfn::Value'; | ||||||||||
| 272 | |||||||||||
| 273 | coerce 'Cfn::Resource::Properties::AWS::ApplicationInsights::Application::ConfigurationDetails', | ||||||||||
| 274 | from 'HashRef', | ||||||||||
| 275 | via { | ||||||||||
| 276 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 277 | 0 | return $f | |||||||||
| 278 | } else { | ||||||||||
| 279 | 0 | return Cfn::Resource::Properties::Object::AWS::ApplicationInsights::Application::ConfigurationDetails->new( %$_ ); | |||||||||
| 280 | } | ||||||||||
| 281 | 1 | }; | |||||||||
| 282 | |||||||||||
| 283 | 1 | package Cfn::Resource::Properties::Object::AWS::ApplicationInsights::Application::ConfigurationDetails { | |||||||||
| 284 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 285 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 286 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 287 | |||||||||||
| 288 | 1 | has AlarmMetrics => (isa => 'ArrayOfCfn::Resource::Properties::AWS::ApplicationInsights::Application::AlarmMetric', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 289 | 1 | has Alarms => (isa => 'ArrayOfCfn::Resource::Properties::AWS::ApplicationInsights::Application::Alarm', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 290 | 1 | has Logs => (isa => 'ArrayOfCfn::Resource::Properties::AWS::ApplicationInsights::Application::Log', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 291 | 1 | has WindowsEvents => (isa => 'ArrayOfCfn::Resource::Properties::AWS::ApplicationInsights::Application::WindowsEvent', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 292 | } | ||||||||||
| 293 | subtype 'ArrayOfCfn::Resource::Properties::AWS::ApplicationInsights::Application::LogPattern', | ||||||||||
| 294 | as 'Cfn::Value', | ||||||||||
| 295 | 0 | ▶ | where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 296 | 0 | ▶ | message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=1.2
| |||||||||||
| 297 | |||||||||||
| 298 | coerce 'ArrayOfCfn::Resource::Properties::AWS::ApplicationInsights::Application::LogPattern', | ||||||||||
| 299 | from 'HashRef', | ||||||||||
| 300 | via { | ||||||||||
| 301 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 302 | 0 | return $f | |||||||||
| 303 | } else { | ||||||||||
| 304 | 0 | die 'Only accepts functions'; | |||||||||
| 305 | } | ||||||||||
| 306 | }, | ||||||||||
| 307 | from 'ArrayRef', | ||||||||||
| 308 | via { | ||||||||||
| 309 | Cfn::Value::Array->new(Value => [ | ||||||||||
| 310 | map { | ||||||||||
| 311 | 0 | ▶ | Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::ApplicationInsights::Application::LogPattern')->coerce($_) | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 312 | } @$_ | ||||||||||
| 313 | ]); | ||||||||||
| 314 | 1 | }; | |||||||||
| 315 | |||||||||||
| 316 | 1 | subtype 'Cfn::Resource::Properties::AWS::ApplicationInsights::Application::LogPattern', | |||||||||
| 317 | as 'Cfn::Value'; | ||||||||||
| 318 | |||||||||||
| 319 | coerce 'Cfn::Resource::Properties::AWS::ApplicationInsights::Application::LogPattern', | ||||||||||
| 320 | from 'HashRef', | ||||||||||
| 321 | via { | ||||||||||
| 322 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 323 | 0 | return $f | |||||||||
| 324 | } else { | ||||||||||
| 325 | 0 | return Cfn::Resource::Properties::Object::AWS::ApplicationInsights::Application::LogPattern->new( %$_ ); | |||||||||
| 326 | } | ||||||||||
| 327 | 1 | }; | |||||||||
| 328 | |||||||||||
| 329 | 1 | package Cfn::Resource::Properties::Object::AWS::ApplicationInsights::Application::LogPattern { | |||||||||
| 330 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 331 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 332 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 333 | |||||||||||
| 334 | 1 | has Pattern => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 335 | 1 | has PatternName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 336 | 1 | has Rank => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 337 | } | ||||||||||
| 338 | |||||||||||
| 339 | 1 | subtype 'Cfn::Resource::Properties::AWS::ApplicationInsights::Application::ComponentConfiguration', | |||||||||
| 340 | as 'Cfn::Value'; | ||||||||||
| 341 | |||||||||||
| 342 | coerce 'Cfn::Resource::Properties::AWS::ApplicationInsights::Application::ComponentConfiguration', | ||||||||||
| 343 | from 'HashRef', | ||||||||||
| 344 | via { | ||||||||||
| 345 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 346 | 0 | return $f | |||||||||
| 347 | } else { | ||||||||||
| 348 | 0 | return Cfn::Resource::Properties::Object::AWS::ApplicationInsights::Application::ComponentConfiguration->new( %$_ ); | |||||||||
| 349 | } | ||||||||||
| 350 | 1 | }; | |||||||||
| 351 | |||||||||||
| 352 | 1 | package Cfn::Resource::Properties::Object::AWS::ApplicationInsights::Application::ComponentConfiguration { | |||||||||
| 353 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 354 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 355 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 356 | |||||||||||
| 357 | 1 | has ConfigurationDetails => (isa => 'Cfn::Resource::Properties::AWS::ApplicationInsights::Application::ConfigurationDetails', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 358 | 1 | has SubComponentTypeConfigurations => (isa => 'ArrayOfCfn::Resource::Properties::AWS::ApplicationInsights::Application::SubComponentTypeConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 359 | } | ||||||||||
| 360 | subtype 'ArrayOfCfn::Resource::Properties::AWS::ApplicationInsights::Application::LogPatternSet', | ||||||||||
| 361 | as 'Cfn::Value', | ||||||||||
| 362 | 0 | ▶ | where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 363 | 0 | ▶ | message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=1.2
| |||||||||||
| 364 | |||||||||||
| 365 | coerce 'ArrayOfCfn::Resource::Properties::AWS::ApplicationInsights::Application::LogPatternSet', | ||||||||||
| 366 | from 'HashRef', | ||||||||||
| 367 | via { | ||||||||||
| 368 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 369 | 0 | return $f | |||||||||
| 370 | } else { | ||||||||||
| 371 | 0 | die 'Only accepts functions'; | |||||||||
| 372 | } | ||||||||||
| 373 | }, | ||||||||||
| 374 | from 'ArrayRef', | ||||||||||
| 375 | via { | ||||||||||
| 376 | Cfn::Value::Array->new(Value => [ | ||||||||||
| 377 | map { | ||||||||||
| 378 | 0 | ▶ | Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::ApplicationInsights::Application::LogPatternSet')->coerce($_) | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 379 | } @$_ | ||||||||||
| 380 | ]); | ||||||||||
| 381 | 1 | }; | |||||||||
| 382 | |||||||||||
| 383 | 1 | subtype 'Cfn::Resource::Properties::AWS::ApplicationInsights::Application::LogPatternSet', | |||||||||
| 384 | as 'Cfn::Value'; | ||||||||||
| 385 | |||||||||||
| 386 | coerce 'Cfn::Resource::Properties::AWS::ApplicationInsights::Application::LogPatternSet', | ||||||||||
| 387 | from 'HashRef', | ||||||||||
| 388 | via { | ||||||||||
| 389 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 390 | 0 | return $f | |||||||||
| 391 | } else { | ||||||||||
| 392 | 0 | return Cfn::Resource::Properties::Object::AWS::ApplicationInsights::Application::LogPatternSet->new( %$_ ); | |||||||||
| 393 | } | ||||||||||
| 394 | 1 | }; | |||||||||
| 395 | |||||||||||
| 396 | 1 | package Cfn::Resource::Properties::Object::AWS::ApplicationInsights::Application::LogPatternSet { | |||||||||
| 397 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 398 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 399 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 400 | |||||||||||
| 401 | 1 | has LogPatterns => (isa => 'ArrayOfCfn::Resource::Properties::AWS::ApplicationInsights::Application::LogPattern', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 402 | 1 | has PatternSetName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 403 | } | ||||||||||
| 404 | subtype 'ArrayOfCfn::Resource::Properties::AWS::ApplicationInsights::Application::CustomComponent', | ||||||||||
| 405 | as 'Cfn::Value', | ||||||||||
| 406 | 0 | ▶ | where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 407 | 0 | ▶ | message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=1.2
| |||||||||||
| 408 | |||||||||||
| 409 | coerce 'ArrayOfCfn::Resource::Properties::AWS::ApplicationInsights::Application::CustomComponent', | ||||||||||
| 410 | from 'HashRef', | ||||||||||
| 411 | via { | ||||||||||
| 412 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 413 | 0 | return $f | |||||||||
| 414 | } else { | ||||||||||
| 415 | 0 | die 'Only accepts functions'; | |||||||||
| 416 | } | ||||||||||
| 417 | }, | ||||||||||
| 418 | from 'ArrayRef', | ||||||||||
| 419 | via { | ||||||||||
| 420 | Cfn::Value::Array->new(Value => [ | ||||||||||
| 421 | map { | ||||||||||
| 422 | 0 | ▶ | Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::ApplicationInsights::Application::CustomComponent')->coerce($_) | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 423 | } @$_ | ||||||||||
| 424 | ]); | ||||||||||
| 425 | 1 | }; | |||||||||
| 426 | |||||||||||
| 427 | 1 | subtype 'Cfn::Resource::Properties::AWS::ApplicationInsights::Application::CustomComponent', | |||||||||
| 428 | as 'Cfn::Value'; | ||||||||||
| 429 | |||||||||||
| 430 | coerce 'Cfn::Resource::Properties::AWS::ApplicationInsights::Application::CustomComponent', | ||||||||||
| 431 | from 'HashRef', | ||||||||||
| 432 | via { | ||||||||||
| 433 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 434 | 0 | return $f | |||||||||
| 435 | } else { | ||||||||||
| 436 | 0 | return Cfn::Resource::Properties::Object::AWS::ApplicationInsights::Application::CustomComponent->new( %$_ ); | |||||||||
| 437 | } | ||||||||||
| 438 | 1 | }; | |||||||||
| 439 | |||||||||||
| 440 | 1 | package Cfn::Resource::Properties::Object::AWS::ApplicationInsights::Application::CustomComponent { | |||||||||
| 441 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 442 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 443 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 444 | |||||||||||
| 445 | 1 | has ComponentName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 446 | 1 | has ResourceList => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 447 | } | ||||||||||
| 448 | subtype 'ArrayOfCfn::Resource::Properties::AWS::ApplicationInsights::Application::ComponentMonitoringSetting', | ||||||||||
| 449 | as 'Cfn::Value', | ||||||||||
| 450 | 0 | ▶ | where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 451 | 0 | ▶ | message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=1.2
| |||||||||||
| 452 | |||||||||||
| 453 | coerce 'ArrayOfCfn::Resource::Properties::AWS::ApplicationInsights::Application::ComponentMonitoringSetting', | ||||||||||
| 454 | from 'HashRef', | ||||||||||
| 455 | via { | ||||||||||
| 456 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 457 | 0 | return $f | |||||||||
| 458 | } else { | ||||||||||
| 459 | 0 | die 'Only accepts functions'; | |||||||||
| 460 | } | ||||||||||
| 461 | }, | ||||||||||
| 462 | from 'ArrayRef', | ||||||||||
| 463 | via { | ||||||||||
| 464 | Cfn::Value::Array->new(Value => [ | ||||||||||
| 465 | map { | ||||||||||
| 466 | 0 | ▶ | Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::ApplicationInsights::Application::ComponentMonitoringSetting')->coerce($_) | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 467 | } @$_ | ||||||||||
| 468 | ]); | ||||||||||
| 469 | 1 | }; | |||||||||
| 470 | |||||||||||
| 471 | 1 | subtype 'Cfn::Resource::Properties::AWS::ApplicationInsights::Application::ComponentMonitoringSetting', | |||||||||
| 472 | as 'Cfn::Value'; | ||||||||||
| 473 | |||||||||||
| 474 | coerce 'Cfn::Resource::Properties::AWS::ApplicationInsights::Application::ComponentMonitoringSetting', | ||||||||||
| 475 | from 'HashRef', | ||||||||||
| 476 | via { | ||||||||||
| 477 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 478 | 0 | return $f | |||||||||
| 479 | } else { | ||||||||||
| 480 | 0 | return Cfn::Resource::Properties::Object::AWS::ApplicationInsights::Application::ComponentMonitoringSetting->new( %$_ ); | |||||||||
| 481 | } | ||||||||||
| 482 | 1 | }; | |||||||||
| 483 | |||||||||||
| 484 | 1 | package Cfn::Resource::Properties::Object::AWS::ApplicationInsights::Application::ComponentMonitoringSetting { | |||||||||
| 485 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 486 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 487 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 488 | |||||||||||
| 489 | 1 | has ComponentARN => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 490 | 1 | has ComponentConfigurationMode => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 491 | 1 | has ComponentName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 492 | 1 | has CustomComponentConfiguration => (isa => 'Cfn::Resource::Properties::AWS::ApplicationInsights::Application::ComponentConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 493 | 1 | has DefaultOverwriteComponentConfiguration => (isa => 'Cfn::Resource::Properties::AWS::ApplicationInsights::Application::ComponentConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 494 | 1 | has Tier => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 495 | } | ||||||||||
| 496 | |||||||||||
| 497 | 1 | package Cfn::Resource::Properties::AWS::ApplicationInsights::Application { | |||||||||
| 498 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 499 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 500 | 1 | extends 'Cfn::Resource::Properties'; | |||||||||
| 501 | |||||||||||
| 502 | 1 | has AutoConfigurationEnabled => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 503 | 1 | has CWEMonitorEnabled => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 504 | 1 | has ComponentMonitoringSettings => (isa => 'ArrayOfCfn::Resource::Properties::AWS::ApplicationInsights::Application::ComponentMonitoringSetting', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 505 | 1 | has CustomComponents => (isa => 'ArrayOfCfn::Resource::Properties::AWS::ApplicationInsights::Application::CustomComponent', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 506 | 1 | has LogPatternSets => (isa => 'ArrayOfCfn::Resource::Properties::AWS::ApplicationInsights::Application::LogPatternSet', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 507 | 1 | has OpsCenterEnabled => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 508 | 1 | has OpsItemSNSTopicArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 509 | 1 | has ResourceGroupName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 510 | 1 | has Tags => (isa => 'ArrayOfCfn::Resource::Properties::TagType', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 511 | } | ||||||||||
| 512 | |||||||||||
| 513 | 1 | 1; | |||||||||
| 514 | ### main pod documentation begin ### | ||||||||||
| 515 | |||||||||||
| 516 | =encoding UTF-8 | ||||||||||
| 517 | |||||||||||
| 518 | =head1 NAME | ||||||||||
| 519 | |||||||||||
| 520 | Cfn::Resource::AWS::ApplicationInsights::Application - Cfn resource for AWS::ApplicationInsights::Application | ||||||||||
| 521 | |||||||||||
| 522 | =head1 DESCRIPTION | ||||||||||
| 523 | |||||||||||
| 524 | This module implements a Perl module that represents the CloudFormation object AWS::ApplicationInsights::Application. | ||||||||||
| 525 | |||||||||||
| 526 | See L<Cfn> for more information on how to use it. | ||||||||||
| 527 | |||||||||||
| 528 | =head1 AUTHOR | ||||||||||
| 529 | |||||||||||
| 530 | Jose Luis Martinez | ||||||||||
| 531 | CAPSiDE | ||||||||||
| 532 | jlmartinez@capside.com | ||||||||||
| 533 | |||||||||||
| 534 | =head1 COPYRIGHT and LICENSE | ||||||||||
| 535 | |||||||||||
| 536 | Copyright (c) 2013 by CAPSiDE | ||||||||||
| 537 | This code is distributed under the Apache 2 License. The full text of the | ||||||||||
| 538 | license can be found in the LICENSE file included with this module. | ||||||||||
| 539 | |||||||||||
| 540 | =cut | ||||||||||