Class: AWSCDK::Sagemaker::CfnMonitoringSchedule::MonitoringAppSpecificationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Sagemaker::CfnMonitoringSchedule::MonitoringAppSpecificationProperty
- Defined in:
- sagemaker/cfn_monitoring_schedule.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 used to run the monitoring job.
-
#image_uri ⇒ String
readonly
The container image to be run by the monitoring job.
-
#post_analytics_processor_source_uri ⇒ String?
readonly
An Amazon S3 URI to a script that is called after analysis has been performed.
-
#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:, container_arguments: nil, container_entrypoint: nil, post_analytics_processor_source_uri: nil, record_preprocessor_source_uri: nil) ⇒ MonitoringAppSpecificationProperty
constructor
A new instance of MonitoringAppSpecificationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(image_uri:, container_arguments: nil, container_entrypoint: nil, post_analytics_processor_source_uri: nil, record_preprocessor_source_uri: nil) ⇒ MonitoringAppSpecificationProperty
Returns a new instance of MonitoringAppSpecificationProperty.
1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 |
# File 'sagemaker/cfn_monitoring_schedule.rb', line 1043 def initialize(image_uri:, container_arguments: nil, container_entrypoint: 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") @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? @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.
1065 1066 1067 |
# File 'sagemaker/cfn_monitoring_schedule.rb', line 1065 def container_arguments @container_arguments end |
#container_entrypoint ⇒ Array<String>? (readonly)
Specifies the entrypoint for a container used to run the monitoring job.
1070 1071 1072 |
# File 'sagemaker/cfn_monitoring_schedule.rb', line 1070 def container_entrypoint @container_entrypoint end |
#image_uri ⇒ String (readonly)
The container image to be run by the monitoring job.
1060 1061 1062 |
# File 'sagemaker/cfn_monitoring_schedule.rb', line 1060 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.
1077 1078 1079 |
# File 'sagemaker/cfn_monitoring_schedule.rb', line 1077 def post_analytics_processor_source_uri @post_analytics_processor_source_uri 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.
1084 1085 1086 |
# File 'sagemaker/cfn_monitoring_schedule.rb', line 1084 def record_preprocessor_source_uri @record_preprocessor_source_uri end |
Class Method Details
.jsii_properties ⇒ Object
1086 1087 1088 1089 1090 1091 1092 1093 1094 |
# File 'sagemaker/cfn_monitoring_schedule.rb', line 1086 def self.jsii_properties { :image_uri => "imageUri", :container_arguments => "containerArguments", :container_entrypoint => "containerEntrypoint", :post_analytics_processor_source_uri => "postAnalyticsProcessorSourceUri", :record_preprocessor_source_uri => "recordPreprocessorSourceUri", } end |
Instance Method Details
#to_jsii ⇒ Object
1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 |
# File 'sagemaker/cfn_monitoring_schedule.rb', line 1096 def to_jsii result = {} result.merge!({ "imageUri" => @image_uri, "containerArguments" => @container_arguments, "containerEntrypoint" => @container_entrypoint, "postAnalyticsProcessorSourceUri" => @post_analytics_processor_source_uri, "recordPreprocessorSourceUri" => @record_preprocessor_source_uri, }) result.compact end |