Interface IEksCallProps
Properties for calling a EKS endpoint with EksCall.
Inherited Members
Namespace: Amazon.CDK.AWS.StepFunctions.Tasks
Assembly: Amazon.CDK.AWS.StepFunctions.Tasks.dll
Syntax (csharp)
public interface IEksCallProps : ITaskStateBaseProps
Syntax (vb)
Public Interface IEksCallProps
Inherits ITaskStateBaseProps
Remarks
ExampleMetadata: infused
Examples
using Amazon.CDK.AWS.EKS;
var myEksCluster = new Cluster(this, "my sample cluster", new ClusterProps {
Version = KubernetesVersion.V1_18,
ClusterName = "myEksCluster"
});
new EksCall(this, "Call a EKS Endpoint", new EksCallProps {
Cluster = myEksCluster,
HttpMethod = HttpMethods.GET,
HttpPath = "/api/v1/namespaces/default/pods"
});
Synopsis
Properties
Cluster | The EKS cluster. |
HttpMethod | HTTP method ("GET", "POST", "PUT", ...) part of HTTP request. |
HttpPath | HTTP path of the Kubernetes REST API operation For example: /api/v1/namespaces/default/pods. |
QueryParameters | Query Parameters part of HTTP request. |
RequestBody | Request body part of HTTP request. |
Properties
Cluster
HttpMethod
HTTP method ("GET", "POST", "PUT", ...) part of HTTP request.
HttpMethods HttpMethod { get; }
Property Value
HttpPath
HTTP path of the Kubernetes REST API operation For example: /api/v1/namespaces/default/pods.
string HttpPath { get; }
Property Value
System.String
QueryParameters
Query Parameters part of HTTP request.
virtual IDictionary<string, string[]> QueryParameters { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.String[]>
Remarks
Default: - no query parameters
RequestBody
Request body part of HTTP request.
virtual TaskInput RequestBody { get; }
Property Value
Remarks
Default: - No request body