Class: AWSCDK::Sagemaker::CfnModelBiasJobDefinition::S3OutputProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
sagemaker/cfn_model_bias_job_definition.rb

Overview

The Amazon S3 storage location where the results of a monitoring job are saved.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(local_path:, s3_uri:, s3_upload_mode: nil) ⇒ S3OutputProperty

Returns a new instance of S3OutputProperty.

Parameters:

  • local_path (String)

    The local path to the Amazon S3 storage location where Amazon SageMaker saves the results of a monitoring job.

  • s3_uri (String)

    A URI that identifies the Amazon S3 storage location where Amazon SageMaker saves the results of a monitoring job.

  • s3_upload_mode (String, nil) (defaults to: nil)

    Whether to upload the results of the monitoring job continuously or after the job completes.



1500
1501
1502
1503
1504
1505
1506
1507
# File 'sagemaker/cfn_model_bias_job_definition.rb', line 1500

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_pathString (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.



1515
1516
1517
# File 'sagemaker/cfn_model_bias_job_definition.rb', line 1515

def local_path
  @local_path
end

#s3_upload_modeString? (readonly)

Whether to upload the results of the monitoring job continuously or after the job completes.



1525
1526
1527
# File 'sagemaker/cfn_model_bias_job_definition.rb', line 1525

def s3_upload_mode
  @s3_upload_mode
end

#s3_uriString (readonly)

A URI that identifies the Amazon S3 storage location where Amazon SageMaker saves the results of a monitoring job.



1520
1521
1522
# File 'sagemaker/cfn_model_bias_job_definition.rb', line 1520

def s3_uri
  @s3_uri
end

Class Method Details

.jsii_propertiesObject



1527
1528
1529
1530
1531
1532
1533
# File 'sagemaker/cfn_model_bias_job_definition.rb', line 1527

def self.jsii_properties
  {
    :local_path => "localPath",
    :s3_uri => "s3Uri",
    :s3_upload_mode => "s3UploadMode",
  }
end

Instance Method Details

#to_jsiiObject



1535
1536
1537
1538
1539
1540
1541
1542
1543
# File 'sagemaker/cfn_model_bias_job_definition.rb', line 1535

def to_jsii
  result = {}
  result.merge!({
    "localPath" => @local_path,
    "s3Uri" => @s3_uri,
    "s3UploadMode" => @s3_upload_mode,
  })
  result.compact
end