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