aws-cdk-lib.aws_stepfunctions_tasks.EksClusterInput

class EksClusterInput

LanguageType name
.NETAmazon.CDK.AWS.StepFunctions.Tasks.EksClusterInput
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsstepfunctionstasks#EksClusterInput
Javasoftware.amazon.awscdk.services.stepfunctions.tasks.EksClusterInput
Pythonaws_cdk.aws_stepfunctions_tasks.EksClusterInput
TypeScript (source)aws-cdk-lib » aws_stepfunctions_tasks » EksClusterInput

Class that supports methods which return the EKS cluster name depending on input type.

Example

new tasks.EmrContainersCreateVirtualCluster(this, 'Create a Virtual Cluster', {
  eksCluster: tasks.EksClusterInput.fromTaskInput(sfn.TaskInput.fromText('clusterId')),
  eksNamespace: 'specified-namespace',
});

Properties

NameTypeDescription
clusterNamestringThe name of the EKS Cluster.

clusterName

Type: string

The name of the EKS Cluster.

Methods

NameDescription
static fromCluster(cluster)Specify an existing EKS Cluster as the name for this Cluster.
static fromTaskInput(taskInput)Specify a Task Input as the name for this Cluster.

static fromCluster(cluster)

public static fromCluster(cluster: ICluster): EksClusterInput

Parameters

  • cluster ICluster

Returns

  • EksClusterInput

Specify an existing EKS Cluster as the name for this Cluster.


static fromTaskInput(taskInput)

public static fromTaskInput(taskInput: TaskInput): EksClusterInput

Parameters

  • taskInput TaskInput

Returns

  • EksClusterInput

Specify a Task Input as the name for this Cluster.