Class: AWSCDK::Sagemaker::CfnModelQualityJobDefinition::ModelQualityBaselineConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Sagemaker::CfnModelQualityJobDefinition::ModelQualityBaselineConfigProperty
- Defined in:
- sagemaker/cfn_model_quality_job_definition.rb
Overview
Configuration for monitoring constraints and monitoring statistics.
These baseline resources are compared against the results of the current job from the series of jobs scheduled to collect data periodically.
Instance Attribute Summary collapse
-
#baselining_job_name ⇒ String?
readonly
The name of the job that performs baselining for the monitoring job.
-
#constraints_resource ⇒ AWSCDK::IResolvable, ...
readonly
The constraints resource for a monitoring job.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(baselining_job_name: nil, constraints_resource: nil) ⇒ ModelQualityBaselineConfigProperty
constructor
A new instance of ModelQualityBaselineConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(baselining_job_name: nil, constraints_resource: nil) ⇒ ModelQualityBaselineConfigProperty
Returns a new instance of ModelQualityBaselineConfigProperty.
1228 1229 1230 1231 1232 1233 |
# File 'sagemaker/cfn_model_quality_job_definition.rb', line 1228 def initialize(baselining_job_name: nil, constraints_resource: nil) @baselining_job_name = baselining_job_name Jsii::Type.check_type(@baselining_job_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "baseliningJobName") unless @baselining_job_name.nil? @constraints_resource = constraints_resource.is_a?(Hash) ? ::AWSCDK::Sagemaker::CfnModelQualityJobDefinition::ConstraintsResourceProperty.new(**constraints_resource.transform_keys(&:to_sym)) : constraints_resource Jsii::Type.check_type(@constraints_resource, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19zYWdlbWFrZXIuQ2ZuTW9kZWxRdWFsaXR5Sm9iRGVmaW5pdGlvbi5Db25zdHJhaW50c1Jlc291cmNlUHJvcGVydHkifV19fQ==")), "constraintsResource") unless @constraints_resource.nil? end |
Instance Attribute Details
#baselining_job_name ⇒ String? (readonly)
The name of the job that performs baselining for the monitoring job.
1239 1240 1241 |
# File 'sagemaker/cfn_model_quality_job_definition.rb', line 1239 def baselining_job_name @baselining_job_name end |
#constraints_resource ⇒ AWSCDK::IResolvable, ... (readonly)
The constraints resource for a monitoring job.
1244 1245 1246 |
# File 'sagemaker/cfn_model_quality_job_definition.rb', line 1244 def constraints_resource @constraints_resource end |
Class Method Details
.jsii_properties ⇒ Object
1246 1247 1248 1249 1250 1251 |
# File 'sagemaker/cfn_model_quality_job_definition.rb', line 1246 def self.jsii_properties { :baselining_job_name => "baseliningJobName", :constraints_resource => "constraintsResource", } end |
Instance Method Details
#to_jsii ⇒ Object
1253 1254 1255 1256 1257 1258 1259 1260 |
# File 'sagemaker/cfn_model_quality_job_definition.rb', line 1253 def to_jsii result = {} result.merge!({ "baseliningJobName" => @baselining_job_name, "constraintsResource" => @constraints_resource, }) result.compact end |