Class: AWSCDK::Sagemaker::CfnMonitoringSchedule::BaselineConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Sagemaker::CfnMonitoringSchedule::BaselineConfigProperty
- Defined in:
- sagemaker/cfn_monitoring_schedule.rb
Overview
Baseline configuration used to validate that the data conforms to the specified constraints and statistics.
Instance Attribute Summary collapse
-
#constraints_resource ⇒ AWSCDK::IResolvable, ...
readonly
The Amazon S3 URI for the constraints resource.
-
#statistics_resource ⇒ AWSCDK::IResolvable, ...
readonly
The baseline statistics file in Amazon S3 that the current monitoring job should be validated against.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(constraints_resource: nil, statistics_resource: nil) ⇒ BaselineConfigProperty
constructor
A new instance of BaselineConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(constraints_resource: nil, statistics_resource: nil) ⇒ BaselineConfigProperty
Returns a new instance of BaselineConfigProperty.
614 615 616 617 618 619 |
# File 'sagemaker/cfn_monitoring_schedule.rb', line 614 def initialize(constraints_resource: nil, statistics_resource: nil) @constraints_resource = constraints_resource.is_a?(Hash) ? ::AWSCDK::Sagemaker::CfnMonitoringSchedule::ConstraintsResourceProperty.new(**constraints_resource.transform_keys(&:to_sym)) : constraints_resource Jsii::Type.check_type(@constraints_resource, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19zYWdlbWFrZXIuQ2ZuTW9uaXRvcmluZ1NjaGVkdWxlLkNvbnN0cmFpbnRzUmVzb3VyY2VQcm9wZXJ0eSJ9XX19")), "constraintsResource") unless @constraints_resource.nil? @statistics_resource = statistics_resource.is_a?(Hash) ? ::AWSCDK::Sagemaker::CfnMonitoringSchedule::StatisticsResourceProperty.new(**statistics_resource.transform_keys(&:to_sym)) : statistics_resource Jsii::Type.check_type(@statistics_resource, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19zYWdlbWFrZXIuQ2ZuTW9uaXRvcmluZ1NjaGVkdWxlLlN0YXRpc3RpY3NSZXNvdXJjZVByb3BlcnR5In1dfX0=")), "statisticsResource") unless @statistics_resource.nil? end |
Instance Attribute Details
#constraints_resource ⇒ AWSCDK::IResolvable, ... (readonly)
The Amazon S3 URI for the constraints resource.
625 626 627 |
# File 'sagemaker/cfn_monitoring_schedule.rb', line 625 def constraints_resource @constraints_resource end |
#statistics_resource ⇒ AWSCDK::IResolvable, ... (readonly)
The baseline statistics file in Amazon S3 that the current monitoring job should be validated against.
630 631 632 |
# File 'sagemaker/cfn_monitoring_schedule.rb', line 630 def statistics_resource @statistics_resource end |
Class Method Details
.jsii_properties ⇒ Object
632 633 634 635 636 637 |
# File 'sagemaker/cfn_monitoring_schedule.rb', line 632 def self.jsii_properties { :constraints_resource => "constraintsResource", :statistics_resource => "statisticsResource", } end |
Instance Method Details
#to_jsii ⇒ Object
639 640 641 642 643 644 645 646 |
# File 'sagemaker/cfn_monitoring_schedule.rb', line 639 def to_jsii result = {} result.merge!({ "constraintsResource" => @constraints_resource, "statisticsResource" => @statistics_resource, }) result.compact end |