Class EksCall
Call a EKS endpoint as a Task.
Inherited Members
Namespace: Amazon.CDK.AWS.StepFunctions.Tasks
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class EksCall : TaskStateBase, IChainable, INextable
Syntax (vb)
Public Class EksCall Inherits TaskStateBase Implements IChainable, INextable
Remarks
See: https://docs.aws.amazon.com/step-functions/latest/dg/connect-eks.html
ExampleMetadata: infused
Examples
using Amazon.CDK.AWS.EKS;
using Amazon.CDK.LambdaLayer.KubectlV35;
var myEksCluster = new Cluster(this, "my sample cluster", new ClusterProps {
Version = KubernetesVersion.V1_35,
ClusterName = "myEksCluster",
KubectlLayer = new KubectlV35Layer(this, "kubectl")
});
new EksCall(this, "Call a EKS Endpoint", new EksCallProps {
Cluster = myEksCluster,
HttpMethod = HttpMethods.GET,
HttpPath = "/api/v1/namespaces/default/pods"
});
Synopsis
Constructors
| EksCall(Construct, string, IEksCallProps) | Call a EKS endpoint as a Task. |
Properties
| TaskMetrics | No policies are required due to eks:call is an Http service integration and does not call and EKS API directly. |
| TaskPolicies | Call a EKS endpoint as a Task. |
Methods
| JsonPath(Construct, string, IEksCallJsonPathProps) | Call a EKS endpoint as a Task that using JSONPath. |
| Jsonata(Construct, string, IEksCallJsonataProps) | Call a EKS endpoint as a Task that using JSONata. |
Constructors
EksCall(Construct, string, IEksCallProps)
Call a EKS endpoint as a Task.
public EksCall(Construct scope, string id, IEksCallProps props)
Parameters
- scope Construct
- id string
Descriptive identifier for this chainable.
- props IEksCallProps
Remarks
See: https://docs.aws.amazon.com/step-functions/latest/dg/connect-eks.html
ExampleMetadata: infused
Properties
TaskMetrics
No policies are required due to eks:call is an Http service integration and does not call and EKS API directly.
protected override ITaskMetricsConfig? TaskMetrics { get; }
Property Value
Overrides
Remarks
TaskPolicies
Call a EKS endpoint as a Task.
protected override PolicyStatement[]? TaskPolicies { get; }
Property Value
Overrides
Remarks
See: https://docs.aws.amazon.com/step-functions/latest/dg/connect-eks.html
ExampleMetadata: infused
Methods
JsonPath(Construct, string, IEksCallJsonPathProps)
Call a EKS endpoint as a Task that using JSONPath.
public static EksCall JsonPath(Construct scope, string id, IEksCallJsonPathProps props)
Parameters
- scope Construct
- id string
- props IEksCallJsonPathProps
Returns
Remarks
Jsonata(Construct, string, IEksCallJsonataProps)
Call a EKS endpoint as a Task that using JSONata.
public static EksCall Jsonata(Construct scope, string id, IEksCallJsonataProps props)
Parameters
- scope Construct
- id string
- props IEksCallJsonataProps