Interface EksCallProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable, TaskStateBaseProps
All Known Implementing Classes:
EksCallProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-10-31T19:13:06.562Z") @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();
 
  • Method Details

    • getCluster

      @Stability(Stable) @NotNull ICluster getCluster()
      The EKS cluster.
    • getHttpMethod

      @Stability(Stable) @NotNull HttpMethods getHttpMethod()
      HTTP method ("GET", "POST", "PUT", ...) part of HTTP request.
    • getHttpPath

      @Stability(Stable) @NotNull String getHttpPath()
      HTTP path of the Kubernetes REST API operation For example: /api/v1/namespaces/default/pods.
    • getQueryParameters

      @Stability(Stable) @Nullable default Map<String,List<String>> getQueryParameters()
      Query Parameters part of HTTP request.

      Default: - no query parameters

    • getRequestBody

      @Stability(Stable) @Nullable default TaskInput getRequestBody()
      Request body part of HTTP request.

      Default: - No request body

    • builder

      @Stability(Stable) static EksCallProps.Builder builder()
      Returns:
      a EksCallProps.Builder of EksCallProps