Class: AWSCDK::Sagemaker::CfnProcessingJob::ProcessingOutputsObjectProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Sagemaker::CfnProcessingJob::ProcessingOutputsObjectProperty
- Defined in:
- sagemaker/cfn_processing_job.rb
Overview
Describes the results of a processing job.
The processing output must specify exactly one of either S3Output or FeatureStoreOutput types.
Instance Attribute Summary collapse
-
#app_managed ⇒ Boolean, ...
readonly
When
True, output operations such as data upload are managed natively by the processing job application. -
#feature_store_output ⇒ AWSCDK::IResolvable, ...
readonly
Configuration for processing job outputs in Amazon SageMaker Feature Store.
-
#output_name ⇒ String
readonly
The name for the processing job output.
-
#s3_output ⇒ AWSCDK::IResolvable, ...
readonly
Configuration for uploading output data to Amazon S3 from the processing container.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(output_name:, app_managed: nil, feature_store_output: nil, s3_output: nil) ⇒ ProcessingOutputsObjectProperty
constructor
A new instance of ProcessingOutputsObjectProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(output_name:, app_managed: nil, feature_store_output: nil, s3_output: nil) ⇒ ProcessingOutputsObjectProperty
Returns a new instance of ProcessingOutputsObjectProperty.
1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 |
# File 'sagemaker/cfn_processing_job.rb', line 1332 def initialize(output_name:, app_managed: nil, feature_store_output: nil, s3_output: nil) @output_name = output_name Jsii::Type.check_type(@output_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "outputName") @app_managed = app_managed Jsii::Type.check_type(@app_managed, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "appManaged") unless @app_managed.nil? @feature_store_output = feature_store_output.is_a?(Hash) ? ::AWSCDK::Sagemaker::CfnProcessingJob::FeatureStoreOutputProperty.new(**feature_store_output.transform_keys(&:to_sym)) : feature_store_output Jsii::Type.check_type(@feature_store_output, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19zYWdlbWFrZXIuQ2ZuUHJvY2Vzc2luZ0pvYi5GZWF0dXJlU3RvcmVPdXRwdXRQcm9wZXJ0eSJ9XX19")), "featureStoreOutput") unless @feature_store_output.nil? @s3_output = s3_output.is_a?(Hash) ? ::AWSCDK::Sagemaker::CfnProcessingJob::S3OutputProperty.new(**s3_output.transform_keys(&:to_sym)) : s3_output Jsii::Type.check_type(@s3_output, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19zYWdlbWFrZXIuQ2ZuUHJvY2Vzc2luZ0pvYi5TM091dHB1dFByb3BlcnR5In1dfX0=")), "s3Output") unless @s3_output.nil? end |
Instance Attribute Details
#app_managed ⇒ Boolean, ... (readonly)
When True , output operations such as data upload are managed natively by the processing job application.
When False (default), output operations are managed by Amazon SageMaker.
1354 1355 1356 |
# File 'sagemaker/cfn_processing_job.rb', line 1354 def app_managed @app_managed end |
#feature_store_output ⇒ AWSCDK::IResolvable, ... (readonly)
Configuration for processing job outputs in Amazon SageMaker Feature Store.
1359 1360 1361 |
# File 'sagemaker/cfn_processing_job.rb', line 1359 def feature_store_output @feature_store_output end |
#output_name ⇒ String (readonly)
The name for the processing job output.
1347 1348 1349 |
# File 'sagemaker/cfn_processing_job.rb', line 1347 def output_name @output_name end |
#s3_output ⇒ AWSCDK::IResolvable, ... (readonly)
Configuration for uploading output data to Amazon S3 from the processing container.
1364 1365 1366 |
# File 'sagemaker/cfn_processing_job.rb', line 1364 def s3_output @s3_output end |
Class Method Details
.jsii_properties ⇒ Object
1366 1367 1368 1369 1370 1371 1372 1373 |
# File 'sagemaker/cfn_processing_job.rb', line 1366 def self.jsii_properties { :output_name => "outputName", :app_managed => "appManaged", :feature_store_output => "featureStoreOutput", :s3_output => "s3Output", } end |
Instance Method Details
#to_jsii ⇒ Object
1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 |
# File 'sagemaker/cfn_processing_job.rb', line 1375 def to_jsii result = {} result.merge!({ "outputName" => @output_name, "appManaged" => @app_managed, "featureStoreOutput" => @feature_store_output, "s3Output" => @s3_output, }) result.compact end |