class EksClusterInput
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.StepFunctions.Tasks.EksClusterInput |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsstepfunctionstasks#EksClusterInput |
Java | software.amazon.awscdk.services.stepfunctions.tasks.EksClusterInput |
Python | aws_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
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. |
Cluster(cluster)
static frompublic static fromCluster(cluster: ICluster): EksClusterInput
Parameters
- cluster
ICluster
Returns
Specify an existing EKS Cluster as the name for this Cluster.
TaskInput(taskInput)
static frompublic static fromTaskInput(taskInput: TaskInput): EksClusterInput
Parameters
- taskInput
Task
Input
Returns
Specify a Task Input as the name for this Cluster.