@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:42.465Z") @Stability(value=Stable) public interface EksCallProps extends software.amazon.jsii.JsiiSerializable, TaskStateBaseProps
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
EksCallProps.Builder
A builder for
EksCallProps |
static class |
EksCallProps.Jsii$Proxy
An implementation for
EksCallProps |
| Modifier and Type | Method and Description |
|---|---|
static EksCallProps.Builder |
builder() |
ICluster |
getCluster()
The EKS cluster.
|
HttpMethods |
getHttpMethod()
HTTP method ("GET", "POST", "PUT", ...) part of HTTP request.
|
String |
getHttpPath()
HTTP path of the Kubernetes REST API operation For example: /api/v1/namespaces/default/pods.
|
default Map<String,List<String>> |
getQueryParameters()
Query Parameters part of HTTP request.
|
default TaskInput |
getRequestBody()
Request body part of HTTP request.
|
getComment, getHeartbeat, getInputPath, getIntegrationPattern, getOutputPath, getResultPath, getResultSelector, getTimeout@Stability(value=Stable) @NotNull ICluster getCluster()
@Stability(value=Stable) @NotNull HttpMethods getHttpMethod()
@Stability(value=Stable) @NotNull String getHttpPath()
@Stability(value=Stable) @Nullable default Map<String,List<String>> getQueryParameters()
Default: - no query parameters
@Stability(value=Stable) @Nullable default TaskInput getRequestBody()
Default: - No request body
@Stability(value=Stable) static EksCallProps.Builder builder()
builder in interface TaskStateBasePropsEksCallProps.Builder of EksCallPropsCopyright © 2022. All rights reserved.