Class: AWSCDK::Sagemaker::CfnMonitoringSchedule::BatchTransformInputProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Sagemaker::CfnMonitoringSchedule::BatchTransformInputProperty
- Defined in:
- sagemaker/cfn_monitoring_schedule.rb
Overview
Input object for the batch transform job.
Instance Attribute Summary collapse
-
#data_captured_destination_s3_uri ⇒ String
readonly
The Amazon S3 location being used to capture the data.
-
#dataset_format ⇒ AWSCDK::IResolvable, AWSCDK::Sagemaker::CfnMonitoringSchedule::DatasetFormatProperty
readonly
The dataset format for your batch transform job.
-
#exclude_features_attribute ⇒ String?
readonly
The attributes of the input data to exclude from the analysis.
-
#local_path ⇒ String
readonly
Path to the filesystem where the batch transform data is available to the container.
-
#s3_data_distribution_type ⇒ String?
readonly
Whether input data distributed in Amazon S3 is fully replicated or sharded by an S3 key.
-
#s3_input_mode ⇒ String?
readonly
Whether the
PipeorFileis used as the input mode for transferring data for the monitoring job.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(data_captured_destination_s3_uri:, dataset_format:, local_path:, exclude_features_attribute: nil, s3_data_distribution_type: nil, s3_input_mode: nil) ⇒ BatchTransformInputProperty
constructor
A new instance of BatchTransformInputProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(data_captured_destination_s3_uri:, dataset_format:, local_path:, exclude_features_attribute: nil, s3_data_distribution_type: nil, s3_input_mode: nil) ⇒ BatchTransformInputProperty
Returns a new instance of BatchTransformInputProperty.
661 662 663 664 665 666 667 668 669 670 671 672 673 674 |
# File 'sagemaker/cfn_monitoring_schedule.rb', line 661 def initialize(data_captured_destination_s3_uri:, dataset_format:, local_path:, exclude_features_attribute: nil, s3_data_distribution_type: nil, s3_input_mode: nil) @data_captured_destination_s3_uri = data_captured_destination_s3_uri Jsii::Type.check_type(@data_captured_destination_s3_uri, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "dataCapturedDestinationS3Uri") @dataset_format = dataset_format.is_a?(Hash) ? ::AWSCDK::Sagemaker::CfnMonitoringSchedule::DatasetFormatProperty.new(**dataset_format.transform_keys(&:to_sym)) : dataset_format Jsii::Type.check_type(@dataset_format, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19zYWdlbWFrZXIuQ2ZuTW9uaXRvcmluZ1NjaGVkdWxlLkRhdGFzZXRGb3JtYXRQcm9wZXJ0eSJ9XX19")), "datasetFormat") @local_path = local_path Jsii::Type.check_type(@local_path, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "localPath") @exclude_features_attribute = exclude_features_attribute Jsii::Type.check_type(@exclude_features_attribute, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "excludeFeaturesAttribute") unless @exclude_features_attribute.nil? @s3_data_distribution_type = s3_data_distribution_type Jsii::Type.check_type(@s3_data_distribution_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "s3DataDistributionType") unless @s3_data_distribution_type.nil? @s3_input_mode = s3_input_mode Jsii::Type.check_type(@s3_input_mode, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "s3InputMode") unless @s3_input_mode.nil? end |
Instance Attribute Details
#data_captured_destination_s3_uri ⇒ String (readonly)
The Amazon S3 location being used to capture the data.
680 681 682 |
# File 'sagemaker/cfn_monitoring_schedule.rb', line 680 def data_captured_destination_s3_uri @data_captured_destination_s3_uri end |
#dataset_format ⇒ AWSCDK::IResolvable, AWSCDK::Sagemaker::CfnMonitoringSchedule::DatasetFormatProperty (readonly)
The dataset format for your batch transform job.
685 686 687 |
# File 'sagemaker/cfn_monitoring_schedule.rb', line 685 def dataset_format @dataset_format end |
#exclude_features_attribute ⇒ String? (readonly)
The attributes of the input data to exclude from the analysis.
695 696 697 |
# File 'sagemaker/cfn_monitoring_schedule.rb', line 695 def exclude_features_attribute @exclude_features_attribute end |
#local_path ⇒ String (readonly)
Path to the filesystem where the batch transform data is available to the container.
690 691 692 |
# File 'sagemaker/cfn_monitoring_schedule.rb', line 690 def local_path @local_path end |
#s3_data_distribution_type ⇒ String? (readonly)
Whether input data distributed in Amazon S3 is fully replicated or sharded by an S3 key.
Defaults to FullyReplicated
702 703 704 |
# File 'sagemaker/cfn_monitoring_schedule.rb', line 702 def s3_data_distribution_type @s3_data_distribution_type end |
#s3_input_mode ⇒ String? (readonly)
Whether the Pipe or File is used as the input mode for transferring data for the monitoring job.
Pipe mode is recommended for large datasets. File mode is useful for small files that fit in memory. Defaults to File .
709 710 711 |
# File 'sagemaker/cfn_monitoring_schedule.rb', line 709 def s3_input_mode @s3_input_mode end |
Class Method Details
.jsii_properties ⇒ Object
711 712 713 714 715 716 717 718 719 720 |
# File 'sagemaker/cfn_monitoring_schedule.rb', line 711 def self.jsii_properties { :data_captured_destination_s3_uri => "dataCapturedDestinationS3Uri", :dataset_format => "datasetFormat", :local_path => "localPath", :exclude_features_attribute => "excludeFeaturesAttribute", :s3_data_distribution_type => "s3DataDistributionType", :s3_input_mode => "s3InputMode", } end |
Instance Method Details
#to_jsii ⇒ Object
722 723 724 725 726 727 728 729 730 731 732 733 |
# File 'sagemaker/cfn_monitoring_schedule.rb', line 722 def to_jsii result = {} result.merge!({ "dataCapturedDestinationS3Uri" => @data_captured_destination_s3_uri, "datasetFormat" => @dataset_format, "localPath" => @local_path, "excludeFeaturesAttribute" => @exclude_features_attribute, "s3DataDistributionType" => @s3_data_distribution_type, "s3InputMode" => @s3_input_mode, }) result.compact end |