« Cfn/Resource/AWS/SageMaker/ModelQualityJobDefinition.pm
↑ Summary
Cfn/Resource/AWS/SageMaker/NotebookInstance.pm »
| 1 | # AWS::SageMaker::MonitoringSchedule generated from spec 22.0.0 | ||
| 2 | use Moose::Util::TypeConstraints; | ||
| 3 | |||
| 4 | coerce 'Cfn::Resource::Properties::AWS::SageMaker::MonitoringSchedule', | ||
| 5 | from 'HashRef', | ||
| 6 | via { Cfn::Resource::Properties::AWS::SageMaker::MonitoringSchedule->new( %$_ ) }; | ||
| 7 | |||
| 8 | package Cfn::Resource::AWS::SageMaker::MonitoringSchedule { | ||
| 9 | use Moose; | ||
| 10 | extends 'Cfn::Resource'; | ||
| 11 | has Properties => (isa => 'Cfn::Resource::Properties::AWS::SageMaker::MonitoringSchedule', is => 'rw', coerce => 1); | ||
| 12 | |||
| 13 | sub AttributeList { | ||
| 14 | [ 'CreationTime','LastModifiedTime','MonitoringScheduleArn' ] | ||
| 15 | } | ||
| 16 | sub supported_regions { | ||
| 17 | [ 'ap-east-1','ap-northeast-1','ap-northeast-2','ap-south-1','ap-southeast-1','ap-southeast-2','ca-central-1','cn-north-1','cn-northwest-1','eu-central-1','eu-north-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' ] | ||
| 18 | } | ||
| 19 | } | ||
| 20 | |||
| 21 | |||
| 22 | |||
| 23 | subtype 'Cfn::Resource::Properties::AWS::SageMaker::MonitoringSchedule::S3Output', | ||
| 24 | as 'Cfn::Value'; | ||
| 25 | |||
| 26 | coerce 'Cfn::Resource::Properties::AWS::SageMaker::MonitoringSchedule::S3Output', | ||
| 27 | from 'HashRef', | ||
| 28 | via { | ||
| 29 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 30 | return $f | ||
| 31 | } else { | ||
| 32 | return Cfn::Resource::Properties::Object::AWS::SageMaker::MonitoringSchedule::S3Output->new( %$_ ); | ||
| 33 | } | ||
| 34 | }; | ||
| 35 | |||
| 36 | package Cfn::Resource::Properties::Object::AWS::SageMaker::MonitoringSchedule::S3Output { | ||
| 37 | use Moose; | ||
| 38 | use MooseX::StrictConstructor; | ||
| 39 | extends 'Cfn::Value::TypedValue'; | ||
| 40 | |||
| 41 | has LocalPath => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 42 | has S3UploadMode => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 43 | has S3Uri => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 44 | } | ||
| 45 | |||
| 46 | subtype 'Cfn::Resource::Properties::AWS::SageMaker::MonitoringSchedule::EndpointInput', | ||
| 47 | as 'Cfn::Value'; | ||
| 48 | |||
| 49 | coerce 'Cfn::Resource::Properties::AWS::SageMaker::MonitoringSchedule::EndpointInput', | ||
| 50 | from 'HashRef', | ||
| 51 | via { | ||
| 52 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 53 | return $f | ||
| 54 | } else { | ||
| 55 | return Cfn::Resource::Properties::Object::AWS::SageMaker::MonitoringSchedule::EndpointInput->new( %$_ ); | ||
| 56 | } | ||
| 57 | }; | ||
| 58 | |||
| 59 | package Cfn::Resource::Properties::Object::AWS::SageMaker::MonitoringSchedule::EndpointInput { | ||
| 60 | use Moose; | ||
| 61 | use MooseX::StrictConstructor; | ||
| 62 | extends 'Cfn::Value::TypedValue'; | ||
| 63 | |||
| 64 | has EndpointName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 65 | has LocalPath => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 66 | has S3DataDistributionType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 67 | has S3InputMode => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 68 | } | ||
| 69 | |||
| 70 | subtype 'Cfn::Resource::Properties::AWS::SageMaker::MonitoringSchedule::VpcConfig', | ||
| 71 | as 'Cfn::Value'; | ||
| 72 | |||
| 73 | coerce 'Cfn::Resource::Properties::AWS::SageMaker::MonitoringSchedule::VpcConfig', | ||
| 74 | from 'HashRef', | ||
| 75 | via { | ||
| 76 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 77 | return $f | ||
| 78 | } else { | ||
| 79 | return Cfn::Resource::Properties::Object::AWS::SageMaker::MonitoringSchedule::VpcConfig->new( %$_ ); | ||
| 80 | } | ||
| 81 | }; | ||
| 82 | |||
| 83 | package Cfn::Resource::Properties::Object::AWS::SageMaker::MonitoringSchedule::VpcConfig { | ||
| 84 | use Moose; | ||
| 85 | use MooseX::StrictConstructor; | ||
| 86 | extends 'Cfn::Value::TypedValue'; | ||
| 87 | |||
| 88 | has SecurityGroupIds => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 89 | has Subnets => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 90 | } | ||
| 91 | |||
| 92 | subtype 'Cfn::Resource::Properties::AWS::SageMaker::MonitoringSchedule::StatisticsResource', | ||
| 93 | as 'Cfn::Value'; | ||
| 94 | |||
| 95 | coerce 'Cfn::Resource::Properties::AWS::SageMaker::MonitoringSchedule::StatisticsResource', | ||
| 96 | from 'HashRef', | ||
| 97 | via { | ||
| 98 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 99 | return $f | ||
| 100 | } else { | ||
| 101 | return Cfn::Resource::Properties::Object::AWS::SageMaker::MonitoringSchedule::StatisticsResource->new( %$_ ); | ||
| 102 | } | ||
| 103 | }; | ||
| 104 | |||
| 105 | package Cfn::Resource::Properties::Object::AWS::SageMaker::MonitoringSchedule::StatisticsResource { | ||
| 106 | use Moose; | ||
| 107 | use MooseX::StrictConstructor; | ||
| 108 | extends 'Cfn::Value::TypedValue'; | ||
| 109 | |||
| 110 | has S3Uri => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 111 | } | ||
| 112 | subtype 'ArrayOfCfn::Resource::Properties::AWS::SageMaker::MonitoringSchedule::MonitoringOutput', | ||
| 113 | as 'Cfn::Value', | ||
| 114 | where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, | ||
| 115 | message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; | ||
| 116 | |||
| 117 | coerce 'ArrayOfCfn::Resource::Properties::AWS::SageMaker::MonitoringSchedule::MonitoringOutput', | ||
| 118 | from 'HashRef', | ||
| 119 | via { | ||
| 120 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 121 | return $f | ||
| 122 | } else { | ||
| 123 | die 'Only accepts functions'; | ||
| 124 | } | ||
| 125 | }, | ||
| 126 | from 'ArrayRef', | ||
| 127 | via { | ||
| 128 | Cfn::Value::Array->new(Value => [ | ||
| 129 | map { | ||
| 130 | Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::SageMaker::MonitoringSchedule::MonitoringOutput')->coerce($_) | ||
| 131 | } @$_ | ||
| 132 | ]); | ||
| 133 | }; | ||
| 134 | |||
| 135 | subtype 'Cfn::Resource::Properties::AWS::SageMaker::MonitoringSchedule::MonitoringOutput', | ||
| 136 | as 'Cfn::Value'; | ||
| 137 | |||
| 138 | coerce 'Cfn::Resource::Properties::AWS::SageMaker::MonitoringSchedule::MonitoringOutput', | ||
| 139 | from 'HashRef', | ||
| 140 | via { | ||
| 141 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 142 | return $f | ||
| 143 | } else { | ||
| 144 | return Cfn::Resource::Properties::Object::AWS::SageMaker::MonitoringSchedule::MonitoringOutput->new( %$_ ); | ||
| 145 | } | ||
| 146 | }; | ||
| 147 | |||
| 148 | package Cfn::Resource::Properties::Object::AWS::SageMaker::MonitoringSchedule::MonitoringOutput { | ||
| 149 | use Moose; | ||
| 150 | use MooseX::StrictConstructor; | ||
| 151 | extends 'Cfn::Value::TypedValue'; | ||
| 152 | |||
| 153 | has S3Output => (isa => 'Cfn::Resource::Properties::AWS::SageMaker::MonitoringSchedule::S3Output', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 154 | } | ||
| 155 | subtype 'ArrayOfCfn::Resource::Properties::AWS::SageMaker::MonitoringSchedule::MonitoringInput', | ||
| 156 | as 'Cfn::Value', | ||
| 157 | where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, | ||
| 158 | message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; | ||
| 159 | |||
| 160 | coerce 'ArrayOfCfn::Resource::Properties::AWS::SageMaker::MonitoringSchedule::MonitoringInput', | ||
| 161 | from 'HashRef', | ||
| 162 | via { | ||
| 163 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 164 | return $f | ||
| 165 | } else { | ||
| 166 | die 'Only accepts functions'; | ||
| 167 | } | ||
| 168 | }, | ||
| 169 | from 'ArrayRef', | ||
| 170 | via { | ||
| 171 | Cfn::Value::Array->new(Value => [ | ||
| 172 | map { | ||
| 173 | Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::SageMaker::MonitoringSchedule::MonitoringInput')->coerce($_) | ||
| 174 | } @$_ | ||
| 175 | ]); | ||
| 176 | }; | ||
| 177 | |||
| 178 | subtype 'Cfn::Resource::Properties::AWS::SageMaker::MonitoringSchedule::MonitoringInput', | ||
| 179 | as 'Cfn::Value'; | ||
| 180 | |||
| 181 | coerce 'Cfn::Resource::Properties::AWS::SageMaker::MonitoringSchedule::MonitoringInput', | ||
| 182 | from 'HashRef', | ||
| 183 | via { | ||
| 184 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 185 | return $f | ||
| 186 | } else { | ||
| 187 | return Cfn::Resource::Properties::Object::AWS::SageMaker::MonitoringSchedule::MonitoringInput->new( %$_ ); | ||
| 188 | } | ||
| 189 | }; | ||
| 190 | |||
| 191 | package Cfn::Resource::Properties::Object::AWS::SageMaker::MonitoringSchedule::MonitoringInput { | ||
| 192 | use Moose; | ||
| 193 | use MooseX::StrictConstructor; | ||
| 194 | extends 'Cfn::Value::TypedValue'; | ||
| 195 | |||
| 196 | has EndpointInput => (isa => 'Cfn::Resource::Properties::AWS::SageMaker::MonitoringSchedule::EndpointInput', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 197 | } | ||
| 198 | |||
| 199 | subtype 'Cfn::Resource::Properties::AWS::SageMaker::MonitoringSchedule::ConstraintsResource', | ||
| 200 | as 'Cfn::Value'; | ||
| 201 | |||
| 202 | coerce 'Cfn::Resource::Properties::AWS::SageMaker::MonitoringSchedule::ConstraintsResource', | ||
| 203 | from 'HashRef', | ||
| 204 | via { | ||
| 205 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 206 | return $f | ||
| 207 | } else { | ||
| 208 | return Cfn::Resource::Properties::Object::AWS::SageMaker::MonitoringSchedule::ConstraintsResource->new( %$_ ); | ||
| 209 | } | ||
| 210 | }; | ||
| 211 | |||
| 212 | package Cfn::Resource::Properties::Object::AWS::SageMaker::MonitoringSchedule::ConstraintsResource { | ||
| 213 | use Moose; | ||
| 214 | use MooseX::StrictConstructor; | ||
| 215 | extends 'Cfn::Value::TypedValue'; | ||
| 216 | |||
| 217 | has S3Uri => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 218 | } | ||
| 219 | |||
| 220 | subtype 'Cfn::Resource::Properties::AWS::SageMaker::MonitoringSchedule::ClusterConfig', | ||
| 221 | as 'Cfn::Value'; | ||
| 222 | |||
| 223 | coerce 'Cfn::Resource::Properties::AWS::SageMaker::MonitoringSchedule::ClusterConfig', | ||
| 224 | from 'HashRef', | ||
| 225 | via { | ||
| 226 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 227 | return $f | ||
| 228 | } else { | ||
| 229 | return Cfn::Resource::Properties::Object::AWS::SageMaker::MonitoringSchedule::ClusterConfig->new( %$_ ); | ||
| 230 | } | ||
| 231 | }; | ||
| 232 | |||
| 233 | package Cfn::Resource::Properties::Object::AWS::SageMaker::MonitoringSchedule::ClusterConfig { | ||
| 234 | use Moose; | ||
| 235 | use MooseX::StrictConstructor; | ||
| 236 | extends 'Cfn::Value::TypedValue'; | ||
| 237 | |||
| 238 | has InstanceCount => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 239 | has InstanceType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 240 | has VolumeKmsKeyId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 241 | has VolumeSizeInGB => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 242 | } | ||
| 243 | |||
| 244 | subtype 'Cfn::Resource::Properties::AWS::SageMaker::MonitoringSchedule::StoppingCondition', | ||
| 245 | as 'Cfn::Value'; | ||
| 246 | |||
| 247 | coerce 'Cfn::Resource::Properties::AWS::SageMaker::MonitoringSchedule::StoppingCondition', | ||
| 248 | from 'HashRef', | ||
| 249 | via { | ||
| 250 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 251 | return $f | ||
| 252 | } else { | ||
| 253 | return Cfn::Resource::Properties::Object::AWS::SageMaker::MonitoringSchedule::StoppingCondition->new( %$_ ); | ||
| 254 | } | ||
| 255 | }; | ||
| 256 | |||
| 257 | package Cfn::Resource::Properties::Object::AWS::SageMaker::MonitoringSchedule::StoppingCondition { | ||
| 258 | use Moose; | ||
| 259 | use MooseX::StrictConstructor; | ||
| 260 | extends 'Cfn::Value::TypedValue'; | ||
| 261 | |||
| 262 | has MaxRuntimeInSeconds => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 263 | } | ||
| 264 | |||
| 265 | subtype 'Cfn::Resource::Properties::AWS::SageMaker::MonitoringSchedule::NetworkConfig', | ||
| 266 | as 'Cfn::Value'; | ||
| 267 | |||
| 268 | coerce 'Cfn::Resource::Properties::AWS::SageMaker::MonitoringSchedule::NetworkConfig', | ||
| 269 | from 'HashRef', | ||
| 270 | via { | ||
| 271 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 272 | return $f | ||
| 273 | } else { | ||
| 274 | return Cfn::Resource::Properties::Object::AWS::SageMaker::MonitoringSchedule::NetworkConfig->new( %$_ ); | ||
| 275 | } | ||
| 276 | }; | ||
| 277 | |||
| 278 | package Cfn::Resource::Properties::Object::AWS::SageMaker::MonitoringSchedule::NetworkConfig { | ||
| 279 | use Moose; | ||
| 280 | use MooseX::StrictConstructor; | ||
| 281 | extends 'Cfn::Value::TypedValue'; | ||
| 282 | |||
| 283 | has EnableInterContainerTrafficEncryption => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 284 | has EnableNetworkIsolation => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 285 | has VpcConfig => (isa => 'Cfn::Resource::Properties::AWS::SageMaker::MonitoringSchedule::VpcConfig', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 286 | } | ||
| 287 | |||
| 288 | subtype 'Cfn::Resource::Properties::AWS::SageMaker::MonitoringSchedule::MonitoringResources', | ||
| 289 | as 'Cfn::Value'; | ||
| 290 | |||
| 291 | coerce 'Cfn::Resource::Properties::AWS::SageMaker::MonitoringSchedule::MonitoringResources', | ||
| 292 | from 'HashRef', | ||
| 293 | via { | ||
| 294 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 295 | return $f | ||
| 296 | } else { | ||
| 297 | return Cfn::Resource::Properties::Object::AWS::SageMaker::MonitoringSchedule::MonitoringResources->new( %$_ ); | ||
| 298 | } | ||
| 299 | }; | ||
| 300 | |||
| 301 | package Cfn::Resource::Properties::Object::AWS::SageMaker::MonitoringSchedule::MonitoringResources { | ||
| 302 | use Moose; | ||
| 303 | use MooseX::StrictConstructor; | ||
| 304 | extends 'Cfn::Value::TypedValue'; | ||
| 305 | |||
| 306 | has ClusterConfig => (isa => 'Cfn::Resource::Properties::AWS::SageMaker::MonitoringSchedule::ClusterConfig', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 307 | } | ||
| 308 | |||
| 309 | subtype 'Cfn::Resource::Properties::AWS::SageMaker::MonitoringSchedule::MonitoringOutputConfig', | ||
| 310 | as 'Cfn::Value'; | ||
| 311 | |||
| 312 | coerce 'Cfn::Resource::Properties::AWS::SageMaker::MonitoringSchedule::MonitoringOutputConfig', | ||
| 313 | from 'HashRef', | ||
| 314 | via { | ||
| 315 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 316 | return $f | ||
| 317 | } else { | ||
| 318 | return Cfn::Resource::Properties::Object::AWS::SageMaker::MonitoringSchedule::MonitoringOutputConfig->new( %$_ ); | ||
| 319 | } | ||
| 320 | }; | ||
| 321 | |||
| 322 | package Cfn::Resource::Properties::Object::AWS::SageMaker::MonitoringSchedule::MonitoringOutputConfig { | ||
| 323 | use Moose; | ||
| 324 | use MooseX::StrictConstructor; | ||
| 325 | extends 'Cfn::Value::TypedValue'; | ||
| 326 | |||
| 327 | has KmsKeyId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 328 | has MonitoringOutputs => (isa => 'ArrayOfCfn::Resource::Properties::AWS::SageMaker::MonitoringSchedule::MonitoringOutput', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 329 | } | ||
| 330 | |||
| 331 | subtype 'Cfn::Resource::Properties::AWS::SageMaker::MonitoringSchedule::MonitoringInputs', | ||
| 332 | as 'Cfn::Value'; | ||
| 333 | |||
| 334 | coerce 'Cfn::Resource::Properties::AWS::SageMaker::MonitoringSchedule::MonitoringInputs', | ||
| 335 | from 'HashRef', | ||
| 336 | via { | ||
| 337 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 338 | return $f | ||
| 339 | } else { | ||
| 340 | return Cfn::Resource::Properties::Object::AWS::SageMaker::MonitoringSchedule::MonitoringInputs->new( %$_ ); | ||
| 341 | } | ||
| 342 | }; | ||
| 343 | |||
| 344 | package Cfn::Resource::Properties::Object::AWS::SageMaker::MonitoringSchedule::MonitoringInputs { | ||
| 345 | use Moose; | ||
| 346 | use MooseX::StrictConstructor; | ||
| 347 | extends 'Cfn::Value::TypedValue'; | ||
| 348 | |||
| 349 | has MonitoringInputs => (isa => 'ArrayOfCfn::Resource::Properties::AWS::SageMaker::MonitoringSchedule::MonitoringInput', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 350 | } | ||
| 351 | |||
| 352 | subtype 'Cfn::Resource::Properties::AWS::SageMaker::MonitoringSchedule::MonitoringAppSpecification', | ||
| 353 | as 'Cfn::Value'; | ||
| 354 | |||
| 355 | coerce 'Cfn::Resource::Properties::AWS::SageMaker::MonitoringSchedule::MonitoringAppSpecification', | ||
| 356 | from 'HashRef', | ||
| 357 | via { | ||
| 358 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 359 | return $f | ||
| 360 | } else { | ||
| 361 | return Cfn::Resource::Properties::Object::AWS::SageMaker::MonitoringSchedule::MonitoringAppSpecification->new( %$_ ); | ||
| 362 | } | ||
| 363 | }; | ||
| 364 | |||
| 365 | package Cfn::Resource::Properties::Object::AWS::SageMaker::MonitoringSchedule::MonitoringAppSpecification { | ||
| 366 | use Moose; | ||
| 367 | use MooseX::StrictConstructor; | ||
| 368 | extends 'Cfn::Value::TypedValue'; | ||
| 369 | |||
| 370 | has ContainerArguments => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 371 | has ContainerEntrypoint => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 372 | has ImageUri => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 373 | has PostAnalyticsProcessorSourceUri => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 374 | has RecordPreprocessorSourceUri => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 375 | } | ||
| 376 | |||
| 377 | subtype 'Cfn::Resource::Properties::AWS::SageMaker::MonitoringSchedule::Environment', | ||
| 378 | as 'Cfn::Value'; | ||
| 379 | |||
| 380 | coerce 'Cfn::Resource::Properties::AWS::SageMaker::MonitoringSchedule::Environment', | ||
| 381 | from 'HashRef', | ||
| 382 | via { | ||
| 383 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 384 | return $f | ||
| 385 | } else { | ||
| 386 | return Cfn::Resource::Properties::Object::AWS::SageMaker::MonitoringSchedule::Environment->new( %$_ ); | ||
| 387 | } | ||
| 388 | }; | ||
| 389 | |||
| 390 | package Cfn::Resource::Properties::Object::AWS::SageMaker::MonitoringSchedule::Environment { | ||
| 391 | use Moose; | ||
| 392 | use MooseX::StrictConstructor; | ||
| 393 | extends 'Cfn::Value::TypedValue'; | ||
| 394 | |||
| 395 | } | ||
| 396 | |||
| 397 | subtype 'Cfn::Resource::Properties::AWS::SageMaker::MonitoringSchedule::BaselineConfig', | ||
| 398 | as 'Cfn::Value'; | ||
| 399 | |||
| 400 | coerce 'Cfn::Resource::Properties::AWS::SageMaker::MonitoringSchedule::BaselineConfig', | ||
| 401 | from 'HashRef', | ||
| 402 | via { | ||
| 403 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 404 | return $f | ||
| 405 | } else { | ||
| 406 | return Cfn::Resource::Properties::Object::AWS::SageMaker::MonitoringSchedule::BaselineConfig->new( %$_ ); | ||
| 407 | } | ||
| 408 | }; | ||
| 409 | |||
| 410 | package Cfn::Resource::Properties::Object::AWS::SageMaker::MonitoringSchedule::BaselineConfig { | ||
| 411 | use Moose; | ||
| 412 | use MooseX::StrictConstructor; | ||
| 413 | extends 'Cfn::Value::TypedValue'; | ||
| 414 | |||
| 415 | has ConstraintsResource => (isa => 'Cfn::Resource::Properties::AWS::SageMaker::MonitoringSchedule::ConstraintsResource', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 416 | has StatisticsResource => (isa => 'Cfn::Resource::Properties::AWS::SageMaker::MonitoringSchedule::StatisticsResource', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 417 | } | ||
| 418 | |||
| 419 | subtype 'Cfn::Resource::Properties::AWS::SageMaker::MonitoringSchedule::ScheduleConfig', | ||
| 420 | as 'Cfn::Value'; | ||
| 421 | |||
| 422 | coerce 'Cfn::Resource::Properties::AWS::SageMaker::MonitoringSchedule::ScheduleConfig', | ||
| 423 | from 'HashRef', | ||
| 424 | via { | ||
| 425 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 426 | return $f | ||
| 427 | } else { | ||
| 428 | return Cfn::Resource::Properties::Object::AWS::SageMaker::MonitoringSchedule::ScheduleConfig->new( %$_ ); | ||
| 429 | } | ||
| 430 | }; | ||
| 431 | |||
| 432 | package Cfn::Resource::Properties::Object::AWS::SageMaker::MonitoringSchedule::ScheduleConfig { | ||
| 433 | use Moose; | ||
| 434 | use MooseX::StrictConstructor; | ||
| 435 | extends 'Cfn::Value::TypedValue'; | ||
| 436 | |||
| 437 | has ScheduleExpression => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 438 | } | ||
| 439 | |||
| 440 | subtype 'Cfn::Resource::Properties::AWS::SageMaker::MonitoringSchedule::MonitoringJobDefinition', | ||
| 441 | as 'Cfn::Value'; | ||
| 442 | |||
| 443 | coerce 'Cfn::Resource::Properties::AWS::SageMaker::MonitoringSchedule::MonitoringJobDefinition', | ||
| 444 | from 'HashRef', | ||
| 445 | via { | ||
| 446 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 447 | return $f | ||
| 448 | } else { | ||
| 449 | return Cfn::Resource::Properties::Object::AWS::SageMaker::MonitoringSchedule::MonitoringJobDefinition->new( %$_ ); | ||
| 450 | } | ||
| 451 | }; | ||
| 452 | |||
| 453 | package Cfn::Resource::Properties::Object::AWS::SageMaker::MonitoringSchedule::MonitoringJobDefinition { | ||
| 454 | use Moose; | ||
| 455 | use MooseX::StrictConstructor; | ||
| 456 | extends 'Cfn::Value::TypedValue'; | ||
| 457 | |||
| 458 | has BaselineConfig => (isa => 'Cfn::Resource::Properties::AWS::SageMaker::MonitoringSchedule::BaselineConfig', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 459 | has Environment => (isa => 'Cfn::Resource::Properties::AWS::SageMaker::MonitoringSchedule::Environment', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 460 | has MonitoringAppSpecification => (isa => 'Cfn::Resource::Properties::AWS::SageMaker::MonitoringSchedule::MonitoringAppSpecification', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 461 | has MonitoringInputs => (isa => 'Cfn::Resource::Properties::AWS::SageMaker::MonitoringSchedule::MonitoringInputs', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 462 | has MonitoringOutputConfig => (isa => 'Cfn::Resource::Properties::AWS::SageMaker::MonitoringSchedule::MonitoringOutputConfig', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 463 | has MonitoringResources => (isa => 'Cfn::Resource::Properties::AWS::SageMaker::MonitoringSchedule::MonitoringResources', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 464 | has NetworkConfig => (isa => 'Cfn::Resource::Properties::AWS::SageMaker::MonitoringSchedule::NetworkConfig', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 465 | has RoleArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 466 | has StoppingCondition => (isa => 'Cfn::Resource::Properties::AWS::SageMaker::MonitoringSchedule::StoppingCondition', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 467 | } | ||
| 468 | |||
| 469 | subtype 'Cfn::Resource::Properties::AWS::SageMaker::MonitoringSchedule::MonitoringScheduleConfig', | ||
| 470 | as 'Cfn::Value'; | ||
| 471 | |||
| 472 | coerce 'Cfn::Resource::Properties::AWS::SageMaker::MonitoringSchedule::MonitoringScheduleConfig', | ||
| 473 | from 'HashRef', | ||
| 474 | via { | ||
| 475 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 476 | return $f | ||
| 477 | } else { | ||
| 478 | return Cfn::Resource::Properties::Object::AWS::SageMaker::MonitoringSchedule::MonitoringScheduleConfig->new( %$_ ); | ||
| 479 | } | ||
| 480 | }; | ||
| 481 | |||
| 482 | package Cfn::Resource::Properties::Object::AWS::SageMaker::MonitoringSchedule::MonitoringScheduleConfig { | ||
| 483 | use Moose; | ||
| 484 | use MooseX::StrictConstructor; | ||
| 485 | extends 'Cfn::Value::TypedValue'; | ||
| 486 | |||
| 487 | has MonitoringJobDefinition => (isa => 'Cfn::Resource::Properties::AWS::SageMaker::MonitoringSchedule::MonitoringJobDefinition', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 488 | has MonitoringJobDefinitionName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 489 | has MonitoringType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 490 | has ScheduleConfig => (isa => 'Cfn::Resource::Properties::AWS::SageMaker::MonitoringSchedule::ScheduleConfig', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 491 | } | ||
| 492 | |||
| 493 | subtype 'Cfn::Resource::Properties::AWS::SageMaker::MonitoringSchedule::MonitoringExecutionSummary', | ||
| 494 | as 'Cfn::Value'; | ||
| 495 | |||
| 496 | coerce 'Cfn::Resource::Properties::AWS::SageMaker::MonitoringSchedule::MonitoringExecutionSummary', | ||
| 497 | from 'HashRef', | ||
| 498 | via { | ||
| 499 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 500 | return $f | ||
| 501 | } else { | ||
| 502 | return Cfn::Resource::Properties::Object::AWS::SageMaker::MonitoringSchedule::MonitoringExecutionSummary->new( %$_ ); | ||
| 503 | } | ||
| 504 | }; | ||
| 505 | |||
| 506 | package Cfn::Resource::Properties::Object::AWS::SageMaker::MonitoringSchedule::MonitoringExecutionSummary { | ||
| 507 | use Moose; | ||
| 508 | use MooseX::StrictConstructor; | ||
| 509 | extends 'Cfn::Value::TypedValue'; | ||
| 510 | |||
| 511 | has CreationTime => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 512 | has EndpointName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 513 | has FailureReason => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 514 | has LastModifiedTime => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 515 | has MonitoringExecutionStatus => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 516 | has MonitoringScheduleName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 517 | has ProcessingJobArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 518 | has ScheduledTime => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 519 | } | ||
| 520 | |||
| 521 | package Cfn::Resource::Properties::AWS::SageMaker::MonitoringSchedule { | ||
| 522 | use Moose; | ||
| 523 | use MooseX::StrictConstructor; | ||
| 524 | extends 'Cfn::Resource::Properties'; | ||
| 525 | |||
| 526 | has EndpointName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 527 | has FailureReason => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 528 | has LastMonitoringExecutionSummary => (isa => 'Cfn::Resource::Properties::AWS::SageMaker::MonitoringSchedule::MonitoringExecutionSummary', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 529 | has MonitoringScheduleConfig => (isa => 'Cfn::Resource::Properties::AWS::SageMaker::MonitoringSchedule::MonitoringScheduleConfig', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 530 | has MonitoringScheduleName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | ||
| 531 | has MonitoringScheduleStatus => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 532 | has Tags => (isa => 'ArrayOfCfn::Resource::Properties::TagType', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 533 | } | ||
| 534 | |||
| 535 | 1; | ||
| 536 | ### main pod documentation begin ### | ||
| 537 | |||
| 538 | =encoding UTF-8 | ||
| 539 | |||
| 540 | =head1 NAME | ||
| 541 | |||
| 542 | Cfn::Resource::AWS::SageMaker::MonitoringSchedule - Cfn resource for AWS::SageMaker::MonitoringSchedule | ||
| 543 | |||
| 544 | =head1 DESCRIPTION | ||
| 545 | |||
| 546 | This module implements a Perl module that represents the CloudFormation object AWS::SageMaker::MonitoringSchedule. | ||
| 547 | |||
| 548 | See L<Cfn> for more information on how to use it. | ||
| 549 | |||
| 550 | =head1 AUTHOR | ||
| 551 | |||
| 552 | Jose Luis Martinez | ||
| 553 | CAPSiDE | ||
| 554 | jlmartinez@capside.com | ||
| 555 | |||
| 556 | =head1 COPYRIGHT and LICENSE | ||
| 557 | |||
| 558 | Copyright (c) 2013 by CAPSiDE | ||
| 559 | This code is distributed under the Apache 2 License. The full text of the | ||
| 560 | license can be found in the LICENSE file included with this module. | ||
| 561 | |||
| 562 | =cut |