Class: AWSCDK::Interfaces::AWSSagemaker::InferenceExperimentReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSSagemaker::InferenceExperimentReference
- Defined in:
- interfaces/aws_sagemaker/inference_experiment_reference.rb
Overview
A reference to a InferenceExperiment resource.
Instance Attribute Summary collapse
-
#inference_experiment_arn ⇒ String
readonly
The ARN of the InferenceExperiment resource.
-
#inference_experiment_name ⇒ String
readonly
The Name of the InferenceExperiment resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(inference_experiment_arn:, inference_experiment_name:) ⇒ InferenceExperimentReference
constructor
A new instance of InferenceExperimentReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(inference_experiment_arn:, inference_experiment_name:) ⇒ InferenceExperimentReference
Returns a new instance of InferenceExperimentReference.
9 10 11 12 13 14 |
# File 'interfaces/aws_sagemaker/inference_experiment_reference.rb', line 9 def initialize(inference_experiment_arn:, inference_experiment_name:) @inference_experiment_arn = inference_experiment_arn Jsii::Type.check_type(@inference_experiment_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "inferenceExperimentArn") @inference_experiment_name = inference_experiment_name Jsii::Type.check_type(@inference_experiment_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "inferenceExperimentName") end |
Instance Attribute Details
#inference_experiment_arn ⇒ String (readonly)
The ARN of the InferenceExperiment resource.
19 20 21 |
# File 'interfaces/aws_sagemaker/inference_experiment_reference.rb', line 19 def inference_experiment_arn @inference_experiment_arn end |
#inference_experiment_name ⇒ String (readonly)
The Name of the InferenceExperiment resource.
23 24 25 |
# File 'interfaces/aws_sagemaker/inference_experiment_reference.rb', line 23 def inference_experiment_name @inference_experiment_name end |
Class Method Details
.jsii_properties ⇒ Object
25 26 27 28 29 30 |
# File 'interfaces/aws_sagemaker/inference_experiment_reference.rb', line 25 def self.jsii_properties { :inference_experiment_arn => "inferenceExperimentArn", :inference_experiment_name => "inferenceExperimentName", } end |
Instance Method Details
#to_jsii ⇒ Object
32 33 34 35 36 37 38 39 |
# File 'interfaces/aws_sagemaker/inference_experiment_reference.rb', line 32 def to_jsii result = {} result.merge!({ "inferenceExperimentArn" => @inference_experiment_arn, "inferenceExperimentName" => @inference_experiment_name, }) result.compact end |