Class: AWSCDK::Sagemaker::CfnMonitoringSchedule::MonitoringInputProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
sagemaker/cfn_monitoring_schedule.rb

Overview

The inputs for a monitoring job.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(batch_transform_input: nil, endpoint_input: nil) ⇒ MonitoringInputProperty

Returns a new instance of MonitoringInputProperty.

Parameters:



1220
1221
1222
1223
1224
1225
# File 'sagemaker/cfn_monitoring_schedule.rb', line 1220

def initialize(batch_transform_input: nil, endpoint_input: nil)
  @batch_transform_input = batch_transform_input.is_a?(Hash) ? ::AWSCDK::Sagemaker::CfnMonitoringSchedule::BatchTransformInputProperty.new(**batch_transform_input.transform_keys(&:to_sym)) : batch_transform_input
  Jsii::Type.check_type(@batch_transform_input, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19zYWdlbWFrZXIuQ2ZuTW9uaXRvcmluZ1NjaGVkdWxlLkJhdGNoVHJhbnNmb3JtSW5wdXRQcm9wZXJ0eSJ9XX19")), "batchTransformInput") unless @batch_transform_input.nil?
  @endpoint_input = endpoint_input.is_a?(Hash) ? ::AWSCDK::Sagemaker::CfnMonitoringSchedule::EndpointInputProperty.new(**endpoint_input.transform_keys(&:to_sym)) : endpoint_input
  Jsii::Type.check_type(@endpoint_input, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19zYWdlbWFrZXIuQ2ZuTW9uaXRvcmluZ1NjaGVkdWxlLkVuZHBvaW50SW5wdXRQcm9wZXJ0eSJ9XX19")), "endpointInput") unless @endpoint_input.nil?
end

Instance Attribute Details

#batch_transform_inputAWSCDK::IResolvable, ... (readonly)

Input object for the batch transform job.



1231
1232
1233
# File 'sagemaker/cfn_monitoring_schedule.rb', line 1231

def batch_transform_input
  @batch_transform_input
end

#endpoint_inputAWSCDK::IResolvable, ... (readonly)

The endpoint for a monitoring job.



1236
1237
1238
# File 'sagemaker/cfn_monitoring_schedule.rb', line 1236

def endpoint_input
  @endpoint_input
end

Class Method Details

.jsii_propertiesObject



1238
1239
1240
1241
1242
1243
# File 'sagemaker/cfn_monitoring_schedule.rb', line 1238

def self.jsii_properties
  {
    :batch_transform_input => "batchTransformInput",
    :endpoint_input => "endpointInput",
  }
end

Instance Method Details

#to_jsiiObject



1245
1246
1247
1248
1249
1250
1251
1252
# File 'sagemaker/cfn_monitoring_schedule.rb', line 1245

def to_jsii
  result = {}
  result.merge!({
    "batchTransformInput" => @batch_transform_input,
    "endpointInput" => @endpoint_input,
  })
  result.compact
end