Class: AWSCDK::Sagemaker::CfnCluster::ClusterNetworkInterfaceProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
sagemaker/cfn_cluster.rb

Overview

Specifies the network interface configuration for the instance group.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(interface_type:) ⇒ ClusterNetworkInterfaceProperty

Returns a new instance of ClusterNetworkInterfaceProperty.

Parameters:

  • interface_type (String)

    The type of network interface.



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_typeString (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_propertiesObject



1471
1472
1473
1474
1475
# File 'sagemaker/cfn_cluster.rb', line 1471

def self.jsii_properties
  {
    :interface_type => "interfaceType",
  }
end

Instance Method Details

#to_jsiiObject



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