Class EksClusterInput
Class that supports methods which return the EKS cluster name depending on input type.
Inheritance
Namespace: Amazon.CDK.AWS.StepFunctions.Tasks
Assembly: Amazon.CDK.AWS.StepFunctions.Tasks.dll
Syntax (csharp)
public class EksClusterInput : DeputyBase
Syntax (vb)
Public Class EksClusterInput
Inherits DeputyBase
Remarks
ExampleMetadata: infused
Examples
new EmrContainersCreateVirtualCluster(this, "Create a Virtual Cluster", new EmrContainersCreateVirtualClusterProps {
EksCluster = EksClusterInput.FromTaskInput(TaskInput.FromText("clusterId")),
EksNamespace = "specified-namespace"
});
Synopsis
Constructors
EksClusterInput(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
EksClusterInput(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
ClusterName | The name of the EKS Cluster. |
Methods
FromCluster(ICluster) | Specify an existing EKS Cluster as the name for this Cluster. |
FromTaskInput(TaskInput) | Specify a Task Input as the name for this Cluster. |
Constructors
EksClusterInput(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected EksClusterInput(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
EksClusterInput(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected EksClusterInput(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
ClusterName
The name of the EKS Cluster.
public virtual string ClusterName { get; }
Property Value
System.String
Methods
FromCluster(ICluster)
Specify an existing EKS Cluster as the name for this Cluster.
public static EksClusterInput FromCluster(ICluster cluster)
Parameters
- cluster ICluster
Returns
FromTaskInput(TaskInput)
Specify a Task Input as the name for this Cluster.
public static EksClusterInput FromTaskInput(TaskInput taskInput)
Parameters
- taskInput TaskInput
Returns