Class: AWSCDK::Sagemaker::CfnDataQualityJobDefinition::S3OutputProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Sagemaker::CfnDataQualityJobDefinition::S3OutputProperty
- Defined in:
- sagemaker/cfn_data_quality_job_definition.rb
Overview
The Amazon S3 storage location where the results of a monitoring job are saved.
Instance Attribute Summary collapse
-
#local_path ⇒ String
readonly
The local path to the Amazon S3 storage location where Amazon SageMaker saves the results of a monitoring job.
-
#s3_upload_mode ⇒ String?
readonly
Whether to upload the results of the monitoring job continuously or after the job completes.
-
#s3_uri ⇒ String
readonly
A URI that identifies the Amazon S3 storage location where Amazon SageMaker saves the results of a monitoring job.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(local_path:, s3_uri:, s3_upload_mode: nil) ⇒ S3OutputProperty
constructor
A new instance of S3OutputProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(local_path:, s3_uri:, s3_upload_mode: nil) ⇒ S3OutputProperty
Returns a new instance of S3OutputProperty.
1399 1400 1401 1402 1403 1404 1405 1406 |
# File 'sagemaker/cfn_data_quality_job_definition.rb', line 1399 def initialize(local_path:, s3_uri:, s3_upload_mode: nil) @local_path = local_path Jsii::Type.check_type(@local_path, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "localPath") @s3_uri = s3_uri Jsii::Type.check_type(@s3_uri, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "s3Uri") @s3_upload_mode = s3_upload_mode Jsii::Type.check_type(@s3_upload_mode, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "s3UploadMode") unless @s3_upload_mode.nil? end |
Instance Attribute Details
#local_path ⇒ String (readonly)
The local path to the Amazon S3 storage location where Amazon SageMaker saves the results of a monitoring job.
LocalPath is an absolute path for the output data.
1414 1415 1416 |
# File 'sagemaker/cfn_data_quality_job_definition.rb', line 1414 def local_path @local_path end |
#s3_upload_mode ⇒ String? (readonly)
Whether to upload the results of the monitoring job continuously or after the job completes.
1424 1425 1426 |
# File 'sagemaker/cfn_data_quality_job_definition.rb', line 1424 def s3_upload_mode @s3_upload_mode end |
#s3_uri ⇒ String (readonly)
A URI that identifies the Amazon S3 storage location where Amazon SageMaker saves the results of a monitoring job.
1419 1420 1421 |
# File 'sagemaker/cfn_data_quality_job_definition.rb', line 1419 def s3_uri @s3_uri end |
Class Method Details
.jsii_properties ⇒ Object
1426 1427 1428 1429 1430 1431 1432 |
# File 'sagemaker/cfn_data_quality_job_definition.rb', line 1426 def self.jsii_properties { :local_path => "localPath", :s3_uri => "s3Uri", :s3_upload_mode => "s3UploadMode", } end |
Instance Method Details
#to_jsii ⇒ Object
1434 1435 1436 1437 1438 1439 1440 1441 1442 |
# File 'sagemaker/cfn_data_quality_job_definition.rb', line 1434 def to_jsii result = {} result.merge!({ "localPath" => @local_path, "s3Uri" => @s3_uri, "s3UploadMode" => @s3_upload_mode, }) result.compact end |