Class: AWSCDK::Sagemaker::CfnCluster::ClusterOrchestratorEKSConfigProperty

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

Overview

The configuration for the Amazon EKS cluster that is used as the orchestrator for the SageMaker HyperPod cluster.

This includes the Amazon Resource Name (ARN) of the EKS cluster

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(cluster_arn:) ⇒ ClusterOrchestratorEKSConfigProperty

Returns a new instance of ClusterOrchestratorEKSConfigProperty.

Parameters:

  • cluster_arn (String)

    The Amazon Resource Name (ARN) of the SageMaker HyperPod cluster.



1495
1496
1497
1498
# File 'sagemaker/cfn_cluster.rb', line 1495

def initialize(cluster_arn:)
  @cluster_arn = cluster_arn
  Jsii::Type.check_type(@cluster_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "clusterArn")
end

Instance Attribute Details

#cluster_arnString (readonly)

The Amazon Resource Name (ARN) of the SageMaker HyperPod cluster.



1504
1505
1506
# File 'sagemaker/cfn_cluster.rb', line 1504

def cluster_arn
  @cluster_arn
end

Class Method Details

.jsii_propertiesObject



1506
1507
1508
1509
1510
# File 'sagemaker/cfn_cluster.rb', line 1506

def self.jsii_properties
  {
    :cluster_arn => "clusterArn",
  }
end

Instance Method Details

#to_jsiiObject



1512
1513
1514
1515
1516
1517
1518
# File 'sagemaker/cfn_cluster.rb', line 1512

def to_jsii
  result = {}
  result.merge!({
    "clusterArn" => @cluster_arn,
  })
  result.compact
end