Class: AWSCDK::Sagemaker::CfnCluster::ClusterNetworkInterfaceProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Sagemaker::CfnCluster::ClusterNetworkInterfaceProperty
- Defined in:
- sagemaker/cfn_cluster.rb
Overview
Specifies the network interface configuration for the instance group.
Instance Attribute Summary collapse
-
#interface_type ⇒ String
readonly
The type of network interface.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(interface_type:) ⇒ ClusterNetworkInterfaceProperty
constructor
A new instance of ClusterNetworkInterfaceProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(interface_type:) ⇒ ClusterNetworkInterfaceProperty
Returns a new instance of ClusterNetworkInterfaceProperty.
1460 1461 1462 1463 |
# File 'sagemaker/cfn_cluster.rb', line 1460 def initialize(interface_type:) @interface_type = interface_type Jsii::Type.check_type(@interface_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "interfaceType") end |
Instance Attribute Details
#interface_type ⇒ String (readonly)
The type of network interface.
1469 1470 1471 |
# File 'sagemaker/cfn_cluster.rb', line 1469 def interface_type @interface_type end |
Class Method Details
.jsii_properties ⇒ Object
1471 1472 1473 1474 1475 |
# File 'sagemaker/cfn_cluster.rb', line 1471 def self.jsii_properties { :interface_type => "interfaceType", } end |
Instance Method Details
#to_jsii ⇒ Object
1477 1478 1479 1480 1481 1482 1483 |
# File 'sagemaker/cfn_cluster.rb', line 1477 def to_jsii result = {} result.merge!({ "interfaceType" => @interface_type, }) result.compact end |