class EksClusterInput
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.StepFunctions.Tasks.EksClusterInput |
![]() | software.amazon.awscdk.services.stepfunctions.tasks.EksClusterInput |
![]() | aws_cdk.aws_stepfunctions_tasks.EksClusterInput |
![]() | @aws-cdk/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
Name | Type | Description |
---|---|---|
cluster | string | The name of the EKS Cluster. |
clusterName
Type:
string
The name of the EKS Cluster.
Methods
Name | Description |
---|---|
static from | Specify an existing EKS Cluster as the name for this Cluster. |
static from | Specify a Task Input as the name for this Cluster. |
static fromCluster(cluster)
public static fromCluster(cluster: ICluster): EksClusterInput
Parameters
- cluster
ICluster
Returns
Specify an existing EKS Cluster as the name for this Cluster.
static fromTaskInput(taskInput)
public static fromTaskInput(taskInput: TaskInput): EksClusterInput
Parameters
- taskInput
Task
Input
Returns
Specify a Task Input as the name for this Cluster.