Class: AWSCDK::Sagemaker::CfnModelQualityJobDefinition::S3OutputProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Sagemaker::CfnModelQualityJobDefinition::S3OutputProperty
- Defined in:
- sagemaker/cfn_model_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.
1528 1529 1530 1531 1532 1533 1534 1535 |
# File 'sagemaker/cfn_model_quality_job_definition.rb', line 1528 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.
1543 1544 1545 |
# File 'sagemaker/cfn_model_quality_job_definition.rb', line 1543 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.
1553 1554 1555 |
# File 'sagemaker/cfn_model_quality_job_definition.rb', line 1553 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.
1548 1549 1550 |
# File 'sagemaker/cfn_model_quality_job_definition.rb', line 1548 def s3_uri @s3_uri end |
Class Method Details
.jsii_properties ⇒ Object
1555 1556 1557 1558 1559 1560 1561 |
# File 'sagemaker/cfn_model_quality_job_definition.rb', line 1555 def self.jsii_properties { :local_path => "localPath", :s3_uri => "s3Uri", :s3_upload_mode => "s3UploadMode", } end |
Instance Method Details
#to_jsii ⇒ Object
1563 1564 1565 1566 1567 1568 1569 1570 1571 |
# File 'sagemaker/cfn_model_quality_job_definition.rb', line 1563 def to_jsii result = {} result.merge!({ "localPath" => @local_path, "s3Uri" => @s3_uri, "s3UploadMode" => @s3_upload_mode, }) result.compact end |