EksClusterInput

class aws_cdk.aws_stepfunctions_tasks.EksClusterInput(*args: Any, **kwargs)

Bases: object

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

ExampleMetadata

infused

Example:

tasks.EmrContainersCreateVirtualCluster(self, "Create a Virtual Cluster",
    eks_cluster=tasks.EksClusterInput.from_task_input(sfn.TaskInput.from_text("clusterId")),
    eks_namespace="specified-namespace"
)

Attributes

cluster_name

The name of the EKS Cluster.

Return type

str

Static Methods

classmethod from_cluster(cluster)

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

Parameters

cluster (ICluster) –

Return type

EksClusterInput

classmethod from_task_input(task_input)

Specify a Task Input as the name for this Cluster.

Parameters

task_input (TaskInput) –

Return type

EksClusterInput