Interface EksCallProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable,TaskStateBaseProps
- All Known Implementing Classes:
EksCallProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:47.967Z")
@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.*;
Cluster myEksCluster = Cluster.Builder.create(this, "my sample cluster")
.version(KubernetesVersion.V1_18)
.clusterName("myEksCluster")
.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.jsii.JsiiSerializable
$jsii$toJsonMethods inherited from interface software.amazon.awscdk.services.stepfunctions.TaskStateBaseProps
getComment, getHeartbeat, getInputPath, getIntegrationPattern, getOutputPath, getResultPath, getResultSelector, getTimeout
-
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
-