« Cfn/Resource/AWS/SageMaker/Model.pm
↑ Summary
Cfn/Resource/AWS/SageMaker/ModelExplainabilityJobDefinition.pm »
| 1 | # AWS::SageMaker::ModelBiasJobDefinition generated from spec 22.0.0 | ||
| 2 | use Moose::Util::TypeConstraints; | ||
| 3 | |||
| 4 | coerce 'Cfn::Resource::Properties::AWS::SageMaker::ModelBiasJobDefinition', | ||
| 5 | from 'HashRef', | ||
| 6 | via { Cfn::Resource::Properties::AWS::SageMaker::ModelBiasJobDefinition->new( %$_ ) }; | ||
| 7 | |||
| 8 | package Cfn::Resource::AWS::SageMaker::ModelBiasJobDefinition { | ||
| 9 | use Moose; | ||
| 10 | extends 'Cfn::Resource'; | ||
| 11 | has Properties => (isa => 'Cfn::Resource::Properties::AWS::SageMaker::ModelBiasJobDefinition', is => 'rw', coerce => 1); | ||
| 12 | |||
| 13 | sub AttributeList { | ||
| 14 | [ 'CreationTime','JobDefinitionArn' ] | ||
| 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','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::ModelBiasJobDefinition::S3Output', | ||
| 24 | as 'Cfn::Value'; | ||
| 25 | |||
| 26 | coerce 'Cfn::Resource::Properties::AWS::SageMaker::ModelBiasJobDefinition::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::ModelBiasJobDefinition::S3Output->new( %$_ ); | ||
| 33 | } | ||
| 34 | }; | ||
| 35 | |||
| 36 | package Cfn::Resource::Properties::Object::AWS::SageMaker::ModelBiasJobDefinition::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 => 'Immutable'); | ||
| 42 | has S3UploadMode => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | ||
| 43 | has S3Uri => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | ||
| 44 | } | ||
| 45 | |||
| 46 | subtype 'Cfn::Resource::Properties::AWS::SageMaker::ModelBiasJobDefinition::VpcConfig', | ||
| 47 | as 'Cfn::Value'; | ||
| 48 | |||
| 49 | coerce 'Cfn::Resource::Properties::AWS::SageMaker::ModelBiasJobDefinition::VpcConfig', | ||
| 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::ModelBiasJobDefinition::VpcConfig->new( %$_ ); | ||
| 56 | } | ||
| 57 | }; | ||
| 58 | |||
| 59 | package Cfn::Resource::Properties::Object::AWS::SageMaker::ModelBiasJobDefinition::VpcConfig { | ||
| 60 | use Moose; | ||
| 61 | use MooseX::StrictConstructor; | ||
| 62 | extends 'Cfn::Value::TypedValue'; | ||
| 63 | |||
| 64 | has SecurityGroupIds => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | ||
| 65 | has Subnets => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | ||
| 66 | } | ||
| 67 | subtype 'ArrayOfCfn::Resource::Properties::AWS::SageMaker::ModelBiasJobDefinition::MonitoringOutput', | ||
| 68 | as 'Cfn::Value', | ||
| 69 | where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, | ||
| 70 | message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; | ||
| 71 | |||
| 72 | coerce 'ArrayOfCfn::Resource::Properties::AWS::SageMaker::ModelBiasJobDefinition::MonitoringOutput', | ||
| 73 | from 'HashRef', | ||
| 74 | via { | ||
| 75 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 76 | return $f | ||
| 77 | } else { | ||
| 78 | die 'Only accepts functions'; | ||
| 79 | } | ||
| 80 | }, | ||
| 81 | from 'ArrayRef', | ||
| 82 | via { | ||
| 83 | Cfn::Value::Array->new(Value => [ | ||
| 84 | map { | ||
| 85 | Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::SageMaker::ModelBiasJobDefinition::MonitoringOutput')->coerce($_) | ||
| 86 | } @$_ | ||
| 87 | ]); | ||
| 88 | }; | ||
| 89 | |||
| 90 | subtype 'Cfn::Resource::Properties::AWS::SageMaker::ModelBiasJobDefinition::MonitoringOutput', | ||
| 91 | as 'Cfn::Value'; | ||
| 92 | |||
| 93 | coerce 'Cfn::Resource::Properties::AWS::SageMaker::ModelBiasJobDefinition::MonitoringOutput', | ||
| 94 | from 'HashRef', | ||
| 95 | via { | ||
| 96 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 97 | return $f | ||
| 98 | } else { | ||
| 99 | return Cfn::Resource::Properties::Object::AWS::SageMaker::ModelBiasJobDefinition::MonitoringOutput->new( %$_ ); | ||
| 100 | } | ||
| 101 | }; | ||
| 102 | |||
| 103 | package Cfn::Resource::Properties::Object::AWS::SageMaker::ModelBiasJobDefinition::MonitoringOutput { | ||
| 104 | use Moose; | ||
| 105 | use MooseX::StrictConstructor; | ||
| 106 | extends 'Cfn::Value::TypedValue'; | ||
| 107 | |||
| 108 | has S3Output => (isa => 'Cfn::Resource::Properties::AWS::SageMaker::ModelBiasJobDefinition::S3Output', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | ||
| 109 | } | ||
| 110 | |||
| 111 | subtype 'Cfn::Resource::Properties::AWS::SageMaker::ModelBiasJobDefinition::MonitoringGroundTruthS3Input', | ||
| 112 | as 'Cfn::Value'; | ||
| 113 | |||
| 114 | coerce 'Cfn::Resource::Properties::AWS::SageMaker::ModelBiasJobDefinition::MonitoringGroundTruthS3Input', | ||
| 115 | from 'HashRef', | ||
| 116 | via { | ||
| 117 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 118 | return $f | ||
| 119 | } else { | ||
| 120 | return Cfn::Resource::Properties::Object::AWS::SageMaker::ModelBiasJobDefinition::MonitoringGroundTruthS3Input->new( %$_ ); | ||
| 121 | } | ||
| 122 | }; | ||
| 123 | |||
| 124 | package Cfn::Resource::Properties::Object::AWS::SageMaker::ModelBiasJobDefinition::MonitoringGroundTruthS3Input { | ||
| 125 | use Moose; | ||
| 126 | use MooseX::StrictConstructor; | ||
| 127 | extends 'Cfn::Value::TypedValue'; | ||
| 128 | |||
| 129 | has S3Uri => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | ||
| 130 | } | ||
| 131 | |||
| 132 | subtype 'Cfn::Resource::Properties::AWS::SageMaker::ModelBiasJobDefinition::Environment', | ||
| 133 | as 'Cfn::Value'; | ||
| 134 | |||
| 135 | coerce 'Cfn::Resource::Properties::AWS::SageMaker::ModelBiasJobDefinition::Environment', | ||
| 136 | from 'HashRef', | ||
| 137 | via { | ||
| 138 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 139 | return $f | ||
| 140 | } else { | ||
| 141 | return Cfn::Resource::Properties::Object::AWS::SageMaker::ModelBiasJobDefinition::Environment->new( %$_ ); | ||
| 142 | } | ||
| 143 | }; | ||
| 144 | |||
| 145 | package Cfn::Resource::Properties::Object::AWS::SageMaker::ModelBiasJobDefinition::Environment { | ||
| 146 | use Moose; | ||
| 147 | use MooseX::StrictConstructor; | ||
| 148 | extends 'Cfn::Value::TypedValue'; | ||
| 149 | |||
| 150 | } | ||
| 151 | |||
| 152 | subtype 'Cfn::Resource::Properties::AWS::SageMaker::ModelBiasJobDefinition::EndpointInput', | ||
| 153 | as 'Cfn::Value'; | ||
| 154 | |||
| 155 | coerce 'Cfn::Resource::Properties::AWS::SageMaker::ModelBiasJobDefinition::EndpointInput', | ||
| 156 | from 'HashRef', | ||
| 157 | via { | ||
| 158 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 159 | return $f | ||
| 160 | } else { | ||
| 161 | return Cfn::Resource::Properties::Object::AWS::SageMaker::ModelBiasJobDefinition::EndpointInput->new( %$_ ); | ||
| 162 | } | ||
| 163 | }; | ||
| 164 | |||
| 165 | package Cfn::Resource::Properties::Object::AWS::SageMaker::ModelBiasJobDefinition::EndpointInput { | ||
| 166 | use Moose; | ||
| 167 | use MooseX::StrictConstructor; | ||
| 168 | extends 'Cfn::Value::TypedValue'; | ||
| 169 | |||
| 170 | has EndpointName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | ||
| 171 | has EndTimeOffset => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | ||
| 172 | has FeaturesAttribute => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | ||
| 173 | has InferenceAttribute => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | ||
| 174 | has LocalPath => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | ||
| 175 | has ProbabilityAttribute => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | ||
| 176 | has ProbabilityThresholdAttribute => (isa => 'Cfn::Value::Double', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | ||
| 177 | has S3DataDistributionType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | ||
| 178 | has S3InputMode => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | ||
| 179 | has StartTimeOffset => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | ||
| 180 | } | ||
| 181 | |||
| 182 | subtype 'Cfn::Resource::Properties::AWS::SageMaker::ModelBiasJobDefinition::ConstraintsResource', | ||
| 183 | as 'Cfn::Value'; | ||
| 184 | |||
| 185 | coerce 'Cfn::Resource::Properties::AWS::SageMaker::ModelBiasJobDefinition::ConstraintsResource', | ||
| 186 | from 'HashRef', | ||
| 187 | via { | ||
| 188 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 189 | return $f | ||
| 190 | } else { | ||
| 191 | return Cfn::Resource::Properties::Object::AWS::SageMaker::ModelBiasJobDefinition::ConstraintsResource->new( %$_ ); | ||
| 192 | } | ||
| 193 | }; | ||
| 194 | |||
| 195 | package Cfn::Resource::Properties::Object::AWS::SageMaker::ModelBiasJobDefinition::ConstraintsResource { | ||
| 196 | use Moose; | ||
| 197 | use MooseX::StrictConstructor; | ||
| 198 | extends 'Cfn::Value::TypedValue'; | ||
| 199 | |||
| 200 | has S3Uri => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | ||
| 201 | } | ||
| 202 | |||
| 203 | subtype 'Cfn::Resource::Properties::AWS::SageMaker::ModelBiasJobDefinition::ClusterConfig', | ||
| 204 | as 'Cfn::Value'; | ||
| 205 | |||
| 206 | coerce 'Cfn::Resource::Properties::AWS::SageMaker::ModelBiasJobDefinition::ClusterConfig', | ||
| 207 | from 'HashRef', | ||
| 208 | via { | ||
| 209 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 210 | return $f | ||
| 211 | } else { | ||
| 212 | return Cfn::Resource::Properties::Object::AWS::SageMaker::ModelBiasJobDefinition::ClusterConfig->new( %$_ ); | ||
| 213 | } | ||
| 214 | }; | ||
| 215 | |||
| 216 | package Cfn::Resource::Properties::Object::AWS::SageMaker::ModelBiasJobDefinition::ClusterConfig { | ||
| 217 | use Moose; | ||
| 218 | use MooseX::StrictConstructor; | ||
| 219 | extends 'Cfn::Value::TypedValue'; | ||
| 220 | |||
| 221 | has InstanceCount => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | ||
| 222 | has InstanceType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | ||
| 223 | has VolumeKmsKeyId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | ||
| 224 | has VolumeSizeInGB => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | ||
| 225 | } | ||
| 226 | |||
| 227 | subtype 'Cfn::Resource::Properties::AWS::SageMaker::ModelBiasJobDefinition::StoppingCondition', | ||
| 228 | as 'Cfn::Value'; | ||
| 229 | |||
| 230 | coerce 'Cfn::Resource::Properties::AWS::SageMaker::ModelBiasJobDefinition::StoppingCondition', | ||
| 231 | from 'HashRef', | ||
| 232 | via { | ||
| 233 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 234 | return $f | ||
| 235 | } else { | ||
| 236 | return Cfn::Resource::Properties::Object::AWS::SageMaker::ModelBiasJobDefinition::StoppingCondition->new( %$_ ); | ||
| 237 | } | ||
| 238 | }; | ||
| 239 | |||
| 240 | package Cfn::Resource::Properties::Object::AWS::SageMaker::ModelBiasJobDefinition::StoppingCondition { | ||
| 241 | use Moose; | ||
| 242 | use MooseX::StrictConstructor; | ||
| 243 | extends 'Cfn::Value::TypedValue'; | ||
| 244 | |||
| 245 | has MaxRuntimeInSeconds => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | ||
| 246 | } | ||
| 247 | |||
| 248 | subtype 'Cfn::Resource::Properties::AWS::SageMaker::ModelBiasJobDefinition::NetworkConfig', | ||
| 249 | as 'Cfn::Value'; | ||
| 250 | |||
| 251 | coerce 'Cfn::Resource::Properties::AWS::SageMaker::ModelBiasJobDefinition::NetworkConfig', | ||
| 252 | from 'HashRef', | ||
| 253 | via { | ||
| 254 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 255 | return $f | ||
| 256 | } else { | ||
| 257 | return Cfn::Resource::Properties::Object::AWS::SageMaker::ModelBiasJobDefinition::NetworkConfig->new( %$_ ); | ||
| 258 | } | ||
| 259 | }; | ||
| 260 | |||
| 261 | package Cfn::Resource::Properties::Object::AWS::SageMaker::ModelBiasJobDefinition::NetworkConfig { | ||
| 262 | use Moose; | ||
| 263 | use MooseX::StrictConstructor; | ||
| 264 | extends 'Cfn::Value::TypedValue'; | ||
| 265 | |||
| 266 | has EnableInterContainerTrafficEncryption => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | ||
| 267 | has EnableNetworkIsolation => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | ||
| 268 | has VpcConfig => (isa => 'Cfn::Resource::Properties::AWS::SageMaker::ModelBiasJobDefinition::VpcConfig', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | ||
| 269 | } | ||
| 270 | |||
| 271 | subtype 'Cfn::Resource::Properties::AWS::SageMaker::ModelBiasJobDefinition::MonitoringResources', | ||
| 272 | as 'Cfn::Value'; | ||
| 273 | |||
| 274 | coerce 'Cfn::Resource::Properties::AWS::SageMaker::ModelBiasJobDefinition::MonitoringResources', | ||
| 275 | from 'HashRef', | ||
| 276 | via { | ||
| 277 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 278 | return $f | ||
| 279 | } else { | ||
| 280 | return Cfn::Resource::Properties::Object::AWS::SageMaker::ModelBiasJobDefinition::MonitoringResources->new( %$_ ); | ||
| 281 | } | ||
| 282 | }; | ||
| 283 | |||
| 284 | package Cfn::Resource::Properties::Object::AWS::SageMaker::ModelBiasJobDefinition::MonitoringResources { | ||
| 285 | use Moose; | ||
| 286 | use MooseX::StrictConstructor; | ||
| 287 | extends 'Cfn::Value::TypedValue'; | ||
| 288 | |||
| 289 | has ClusterConfig => (isa => 'Cfn::Resource::Properties::AWS::SageMaker::ModelBiasJobDefinition::ClusterConfig', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | ||
| 290 | } | ||
| 291 | |||
| 292 | subtype 'Cfn::Resource::Properties::AWS::SageMaker::ModelBiasJobDefinition::MonitoringOutputConfig', | ||
| 293 | as 'Cfn::Value'; | ||
| 294 | |||
| 295 | coerce 'Cfn::Resource::Properties::AWS::SageMaker::ModelBiasJobDefinition::MonitoringOutputConfig', | ||
| 296 | from 'HashRef', | ||
| 297 | via { | ||
| 298 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 299 | return $f | ||
| 300 | } else { | ||
| 301 | return Cfn::Resource::Properties::Object::AWS::SageMaker::ModelBiasJobDefinition::MonitoringOutputConfig->new( %$_ ); | ||
| 302 | } | ||
| 303 | }; | ||
| 304 | |||
| 305 | package Cfn::Resource::Properties::Object::AWS::SageMaker::ModelBiasJobDefinition::MonitoringOutputConfig { | ||
| 306 | use Moose; | ||
| 307 | use MooseX::StrictConstructor; | ||
| 308 | extends 'Cfn::Value::TypedValue'; | ||
| 309 | |||
| 310 | has KmsKeyId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | ||
| 311 | has MonitoringOutputs => (isa => 'ArrayOfCfn::Resource::Properties::AWS::SageMaker::ModelBiasJobDefinition::MonitoringOutput', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | ||
| 312 | } | ||
| 313 | |||
| 314 | subtype 'Cfn::Resource::Properties::AWS::SageMaker::ModelBiasJobDefinition::ModelBiasJobInput', | ||
| 315 | as 'Cfn::Value'; | ||
| 316 | |||
| 317 | coerce 'Cfn::Resource::Properties::AWS::SageMaker::ModelBiasJobDefinition::ModelBiasJobInput', | ||
| 318 | from 'HashRef', | ||
| 319 | via { | ||
| 320 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 321 | return $f | ||
| 322 | } else { | ||
| 323 | return Cfn::Resource::Properties::Object::AWS::SageMaker::ModelBiasJobDefinition::ModelBiasJobInput->new( %$_ ); | ||
| 324 | } | ||
| 325 | }; | ||
| 326 | |||
| 327 | package Cfn::Resource::Properties::Object::AWS::SageMaker::ModelBiasJobDefinition::ModelBiasJobInput { | ||
| 328 | use Moose; | ||
| 329 | use MooseX::StrictConstructor; | ||
| 330 | extends 'Cfn::Value::TypedValue'; | ||
| 331 | |||
| 332 | has EndpointInput => (isa => 'Cfn::Resource::Properties::AWS::SageMaker::ModelBiasJobDefinition::EndpointInput', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | ||
| 333 | has GroundTruthS3Input => (isa => 'Cfn::Resource::Properties::AWS::SageMaker::ModelBiasJobDefinition::MonitoringGroundTruthS3Input', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | ||
| 334 | } | ||
| 335 | |||
| 336 | subtype 'Cfn::Resource::Properties::AWS::SageMaker::ModelBiasJobDefinition::ModelBiasBaselineConfig', | ||
| 337 | as 'Cfn::Value'; | ||
| 338 | |||
| 339 | coerce 'Cfn::Resource::Properties::AWS::SageMaker::ModelBiasJobDefinition::ModelBiasBaselineConfig', | ||
| 340 | from 'HashRef', | ||
| 341 | via { | ||
| 342 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 343 | return $f | ||
| 344 | } else { | ||
| 345 | return Cfn::Resource::Properties::Object::AWS::SageMaker::ModelBiasJobDefinition::ModelBiasBaselineConfig->new( %$_ ); | ||
| 346 | } | ||
| 347 | }; | ||
| 348 | |||
| 349 | package Cfn::Resource::Properties::Object::AWS::SageMaker::ModelBiasJobDefinition::ModelBiasBaselineConfig { | ||
| 350 | use Moose; | ||
| 351 | use MooseX::StrictConstructor; | ||
| 352 | extends 'Cfn::Value::TypedValue'; | ||
| 353 | |||
| 354 | has BaseliningJobName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | ||
| 355 | has ConstraintsResource => (isa => 'Cfn::Resource::Properties::AWS::SageMaker::ModelBiasJobDefinition::ConstraintsResource', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | ||
| 356 | } | ||
| 357 | |||
| 358 | subtype 'Cfn::Resource::Properties::AWS::SageMaker::ModelBiasJobDefinition::ModelBiasAppSpecification', | ||
| 359 | as 'Cfn::Value'; | ||
| 360 | |||
| 361 | coerce 'Cfn::Resource::Properties::AWS::SageMaker::ModelBiasJobDefinition::ModelBiasAppSpecification', | ||
| 362 | from 'HashRef', | ||
| 363 | via { | ||
| 364 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 365 | return $f | ||
| 366 | } else { | ||
| 367 | return Cfn::Resource::Properties::Object::AWS::SageMaker::ModelBiasJobDefinition::ModelBiasAppSpecification->new( %$_ ); | ||
| 368 | } | ||
| 369 | }; | ||
| 370 | |||
| 371 | package Cfn::Resource::Properties::Object::AWS::SageMaker::ModelBiasJobDefinition::ModelBiasAppSpecification { | ||
| 372 | use Moose; | ||
| 373 | use MooseX::StrictConstructor; | ||
| 374 | extends 'Cfn::Value::TypedValue'; | ||
| 375 | |||
| 376 | has ConfigUri => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | ||
| 377 | has Environment => (isa => 'Cfn::Resource::Properties::AWS::SageMaker::ModelBiasJobDefinition::Environment', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | ||
| 378 | has ImageUri => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | ||
| 379 | } | ||
| 380 | |||
| 381 | package Cfn::Resource::Properties::AWS::SageMaker::ModelBiasJobDefinition { | ||
| 382 | use Moose; | ||
| 383 | use MooseX::StrictConstructor; | ||
| 384 | extends 'Cfn::Resource::Properties'; | ||
| 385 | |||
| 386 | has JobDefinitionName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | ||
| 387 | has JobResources => (isa => 'Cfn::Resource::Properties::AWS::SageMaker::ModelBiasJobDefinition::MonitoringResources', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | ||
| 388 | has ModelBiasAppSpecification => (isa => 'Cfn::Resource::Properties::AWS::SageMaker::ModelBiasJobDefinition::ModelBiasAppSpecification', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | ||
| 389 | has ModelBiasBaselineConfig => (isa => 'Cfn::Resource::Properties::AWS::SageMaker::ModelBiasJobDefinition::ModelBiasBaselineConfig', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | ||
| 390 | has ModelBiasJobInput => (isa => 'Cfn::Resource::Properties::AWS::SageMaker::ModelBiasJobDefinition::ModelBiasJobInput', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | ||
| 391 | has ModelBiasJobOutputConfig => (isa => 'Cfn::Resource::Properties::AWS::SageMaker::ModelBiasJobDefinition::MonitoringOutputConfig', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | ||
| 392 | has NetworkConfig => (isa => 'Cfn::Resource::Properties::AWS::SageMaker::ModelBiasJobDefinition::NetworkConfig', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | ||
| 393 | has RoleArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | ||
| 394 | has StoppingCondition => (isa => 'Cfn::Resource::Properties::AWS::SageMaker::ModelBiasJobDefinition::StoppingCondition', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | ||
| 395 | has Tags => (isa => 'ArrayOfCfn::Resource::Properties::TagType', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | ||
| 396 | } | ||
| 397 | |||
| 398 | 1; | ||
| 399 | ### main pod documentation begin ### | ||
| 400 | |||
| 401 | =encoding UTF-8 | ||
| 402 | |||
| 403 | =head1 NAME | ||
| 404 | |||
| 405 | Cfn::Resource::AWS::SageMaker::ModelBiasJobDefinition - Cfn resource for AWS::SageMaker::ModelBiasJobDefinition | ||
| 406 | |||
| 407 | =head1 DESCRIPTION | ||
| 408 | |||
| 409 | This module implements a Perl module that represents the CloudFormation object AWS::SageMaker::ModelBiasJobDefinition. | ||
| 410 | |||
| 411 | See L<Cfn> for more information on how to use it. | ||
| 412 | |||
| 413 | =head1 AUTHOR | ||
| 414 | |||
| 415 | Jose Luis Martinez | ||
| 416 | CAPSiDE | ||
| 417 | jlmartinez@capside.com | ||
| 418 | |||
| 419 | =head1 COPYRIGHT and LICENSE | ||
| 420 | |||
| 421 | Copyright (c) 2013 by CAPSiDE | ||
| 422 | This code is distributed under the Apache 2 License. The full text of the | ||
| 423 | license can be found in the LICENSE file included with this module. | ||
| 424 | |||
| 425 | =cut |