Class: AWSCDK::Sagemaker::CfnModelExplainabilityJobDefinition::S3OutputProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Sagemaker::CfnModelExplainabilityJobDefinition::S3OutputProperty
- Defined in:
- sagemaker/cfn_model_explainability_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.
1389 1390 1391 1392 1393 1394 1395 1396 |
# File 'sagemaker/cfn_model_explainability_job_definition.rb', line 1389 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.
1404 1405 1406 |
# File 'sagemaker/cfn_model_explainability_job_definition.rb', line 1404 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.
1414 1415 1416 |
# File 'sagemaker/cfn_model_explainability_job_definition.rb', line 1414 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.
1409 1410 1411 |
# File 'sagemaker/cfn_model_explainability_job_definition.rb', line 1409 def s3_uri @s3_uri end |
Class Method Details
.jsii_properties ⇒ Object
1416 1417 1418 1419 1420 1421 1422 |
# File 'sagemaker/cfn_model_explainability_job_definition.rb', line 1416 def self.jsii_properties { :local_path => "localPath", :s3_uri => "s3Uri", :s3_upload_mode => "s3UploadMode", } end |
Instance Method Details
#to_jsii ⇒ Object
1424 1425 1426 1427 1428 1429 1430 1431 1432 |
# File 'sagemaker/cfn_model_explainability_job_definition.rb', line 1424 def to_jsii result = {} result.merge!({ "localPath" => @local_path, "s3Uri" => @s3_uri, "s3UploadMode" => @s3_upload_mode, }) result.compact end |