Class: AWSCDK::Sagemaker::CfnModelQualityJobDefinition::ModelQualityAppSpecificationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Sagemaker::CfnModelQualityJobDefinition::ModelQualityAppSpecificationProperty
- Defined in:
- sagemaker/cfn_model_quality_job_definition.rb
Overview
Container image configuration object for the monitoring job.
Instance Attribute Summary collapse
-
#container_arguments ⇒ Array<String>?
readonly
An array of arguments for the container used to run the monitoring job.
-
#container_entrypoint ⇒ Array<String>?
readonly
Specifies the entrypoint for a container that the monitoring job runs.
-
#environment ⇒ AWSCDK::IResolvable, ...
readonly
Sets the environment variables in the container that the monitoring job runs.
-
#image_uri ⇒ String
readonly
The address of the container image that the monitoring job runs.
-
#post_analytics_processor_source_uri ⇒ String?
readonly
An Amazon S3 URI to a script that is called after analysis has been performed.
-
#problem_type ⇒ String
readonly
The machine learning problem type of the model that the monitoring job monitors.
-
#record_preprocessor_source_uri ⇒ String?
readonly
An Amazon S3 URI to a script that is called per row prior to running analysis.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(image_uri:, problem_type:, container_arguments: nil, container_entrypoint: nil, environment: nil, post_analytics_processor_source_uri: nil, record_preprocessor_source_uri: nil) ⇒ ModelQualityAppSpecificationProperty
constructor
A new instance of ModelQualityAppSpecificationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(image_uri:, problem_type:, container_arguments: nil, container_entrypoint: nil, environment: nil, post_analytics_processor_source_uri: nil, record_preprocessor_source_uri: nil) ⇒ ModelQualityAppSpecificationProperty
Returns a new instance of ModelQualityAppSpecificationProperty.
1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 |
# File 'sagemaker/cfn_model_quality_job_definition.rb', line 1134 def initialize(image_uri:, problem_type:, container_arguments: nil, container_entrypoint: nil, environment: nil, post_analytics_processor_source_uri: nil, record_preprocessor_source_uri: nil) @image_uri = image_uri Jsii::Type.check_type(@image_uri, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "imageUri") @problem_type = problem_type Jsii::Type.check_type(@problem_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "problemType") @container_arguments = container_arguments Jsii::Type.check_type(@container_arguments, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "containerArguments") unless @container_arguments.nil? @container_entrypoint = container_entrypoint Jsii::Type.check_type(@container_entrypoint, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "containerEntrypoint") unless @container_entrypoint.nil? @environment = environment Jsii::Type.check_type(@environment, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsicHJpbWl0aXZlIjoic3RyaW5nIn0sImtpbmQiOiJtYXAifX1dfX0=")), "environment") unless @environment.nil? @post_analytics_processor_source_uri = post_analytics_processor_source_uri Jsii::Type.check_type(@post_analytics_processor_source_uri, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "postAnalyticsProcessorSourceUri") unless @post_analytics_processor_source_uri.nil? @record_preprocessor_source_uri = record_preprocessor_source_uri Jsii::Type.check_type(@record_preprocessor_source_uri, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "recordPreprocessorSourceUri") unless @record_preprocessor_source_uri.nil? end |
Instance Attribute Details
#container_arguments ⇒ Array<String>? (readonly)
An array of arguments for the container used to run the monitoring job.
1165 1166 1167 |
# File 'sagemaker/cfn_model_quality_job_definition.rb', line 1165 def container_arguments @container_arguments end |
#container_entrypoint ⇒ Array<String>? (readonly)
Specifies the entrypoint for a container that the monitoring job runs.
1170 1171 1172 |
# File 'sagemaker/cfn_model_quality_job_definition.rb', line 1170 def container_entrypoint @container_entrypoint end |
#environment ⇒ AWSCDK::IResolvable, ... (readonly)
Sets the environment variables in the container that the monitoring job runs.
1175 1176 1177 |
# File 'sagemaker/cfn_model_quality_job_definition.rb', line 1175 def environment @environment end |
#image_uri ⇒ String (readonly)
The address of the container image that the monitoring job runs.
1155 1156 1157 |
# File 'sagemaker/cfn_model_quality_job_definition.rb', line 1155 def image_uri @image_uri end |
#post_analytics_processor_source_uri ⇒ String? (readonly)
An Amazon S3 URI to a script that is called after analysis has been performed.
Applicable only for the built-in (first party) containers.
1182 1183 1184 |
# File 'sagemaker/cfn_model_quality_job_definition.rb', line 1182 def post_analytics_processor_source_uri @post_analytics_processor_source_uri end |
#problem_type ⇒ String (readonly)
The machine learning problem type of the model that the monitoring job monitors.
1160 1161 1162 |
# File 'sagemaker/cfn_model_quality_job_definition.rb', line 1160 def problem_type @problem_type end |
#record_preprocessor_source_uri ⇒ String? (readonly)
An Amazon S3 URI to a script that is called per row prior to running analysis.
It can base64 decode the payload and convert it into a flattened JSON so that the built-in container can use the converted data. Applicable only for the built-in (first party) containers.
1189 1190 1191 |
# File 'sagemaker/cfn_model_quality_job_definition.rb', line 1189 def record_preprocessor_source_uri @record_preprocessor_source_uri end |
Class Method Details
.jsii_properties ⇒ Object
1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 |
# File 'sagemaker/cfn_model_quality_job_definition.rb', line 1191 def self.jsii_properties { :image_uri => "imageUri", :problem_type => "problemType", :container_arguments => "containerArguments", :container_entrypoint => "containerEntrypoint", :environment => "environment", :post_analytics_processor_source_uri => "postAnalyticsProcessorSourceUri", :record_preprocessor_source_uri => "recordPreprocessorSourceUri", } end |
Instance Method Details
#to_jsii ⇒ Object
1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 |
# File 'sagemaker/cfn_model_quality_job_definition.rb', line 1203 def to_jsii result = {} result.merge!({ "imageUri" => @image_uri, "problemType" => @problem_type, "containerArguments" => @container_arguments, "containerEntrypoint" => @container_entrypoint, "environment" => @environment, "postAnalyticsProcessorSourceUri" => @post_analytics_processor_source_uri, "recordPreprocessorSourceUri" => @record_preprocessor_source_uri, }) result.compact end |