Class: AWSCDK::Sagemaker::CfnMonitoringSchedule::S3OutputProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Sagemaker::CfnMonitoringSchedule::S3OutputProperty
- Defined in:
- sagemaker/cfn_monitoring_schedule.rb
Overview
Information about where and how you want to store the results of a monitoring job.
Instance Attribute Summary collapse
-
#local_path ⇒ String
readonly
The local path to the S3 storage location where 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 S3 storage location where 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.
1612 1613 1614 1615 1616 1617 1618 1619 |
# File 'sagemaker/cfn_monitoring_schedule.rb', line 1612 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 S3 storage location where SageMaker saves the results of a monitoring job.
LocalPath is an absolute path for the output data.
1627 1628 1629 |
# File 'sagemaker/cfn_monitoring_schedule.rb', line 1627 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.
1637 1638 1639 |
# File 'sagemaker/cfn_monitoring_schedule.rb', line 1637 def s3_upload_mode @s3_upload_mode end |
#s3_uri ⇒ String (readonly)
A URI that identifies the S3 storage location where SageMaker saves the results of a monitoring job.
1632 1633 1634 |
# File 'sagemaker/cfn_monitoring_schedule.rb', line 1632 def s3_uri @s3_uri end |
Class Method Details
.jsii_properties ⇒ Object
1639 1640 1641 1642 1643 1644 1645 |
# File 'sagemaker/cfn_monitoring_schedule.rb', line 1639 def self.jsii_properties { :local_path => "localPath", :s3_uri => "s3Uri", :s3_upload_mode => "s3UploadMode", } end |
Instance Method Details
#to_jsii ⇒ Object
1647 1648 1649 1650 1651 1652 1653 1654 1655 |
# File 'sagemaker/cfn_monitoring_schedule.rb', line 1647 def to_jsii result = {} result.merge!({ "localPath" => @local_path, "s3Uri" => @s3_uri, "s3UploadMode" => @s3_upload_mode, }) result.compact end |