Interface EksCallProps
- All Superinterfaces:
AssignableStateOptions,software.amazon.jsii.JsiiSerializable,JsonataCommonOptions,JsonPathCommonOptions,StateBaseProps,TaskStateBaseOptions,TaskStateBaseProps
- All Known Implementing Classes:
EksCallProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)",
date="2025-11-10T13:40:16.152Z")
@Stability(Stable)
public interface EksCallProps
extends software.amazon.jsii.JsiiSerializable, TaskStateBaseProps
Properties for calling a EKS endpoint with EksCall.
Example:
import software.amazon.awscdk.services.eks.*;
import software.amazon.awscdk.cdk.lambdalayer.kubectl.v33.KubectlV33Layer;
Cluster myEksCluster = Cluster.Builder.create(this, "my sample cluster")
.version(KubernetesVersion.V1_32)
.clusterName("myEksCluster")
.kubectlLayer(new KubectlV33Layer(this, "kubectl"))
.build();
EksCall.Builder.create(this, "Call a EKS Endpoint")
.cluster(myEksCluster)
.httpMethod(HttpMethods.GET)
.httpPath("/api/v1/namespaces/default/pods")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forEksCallPropsstatic final classAn implementation forEksCallProps -
Method Summary
Modifier and TypeMethodDescriptionstatic EksCallProps.Builderbuilder()The EKS cluster.HTTP method ("GET", "POST", "PUT", ...) part of HTTP request.HTTP path of the Kubernetes REST API operation For example: /api/v1/namespaces/default/pods.Query Parameters part of HTTP request.default TaskInputRequest body part of HTTP request.Methods inherited from interface software.amazon.awscdk.services.stepfunctions.AssignableStateOptions
getAssignMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJsonMethods inherited from interface software.amazon.awscdk.services.stepfunctions.JsonataCommonOptions
getOutputsMethods inherited from interface software.amazon.awscdk.services.stepfunctions.JsonPathCommonOptions
getInputPath, getOutputPathMethods inherited from interface software.amazon.awscdk.services.stepfunctions.StateBaseProps
getComment, getQueryLanguage, getStateNameMethods inherited from interface software.amazon.awscdk.services.stepfunctions.TaskStateBaseOptions
getCredentials, getHeartbeat, getHeartbeatTimeout, getIntegrationPattern, getTaskTimeout, getTimeoutMethods inherited from interface software.amazon.awscdk.services.stepfunctions.TaskStateBaseProps
getResultPath, getResultSelector
-
Method Details
-
getCluster
The EKS cluster. -
getHttpMethod
HTTP method ("GET", "POST", "PUT", ...) part of HTTP request. -
getHttpPath
HTTP path of the Kubernetes REST API operation For example: /api/v1/namespaces/default/pods. -
getQueryParameters
Query Parameters part of HTTP request.Default: - no query parameters
-
getRequestBody
Request body part of HTTP request.Default: - No request body
-
builder
- Returns:
- a
EksCallProps.BuilderofEksCallProps
-