enum HttpMethods
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.StepFunctions.Tasks.HttpMethods |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsstepfunctionstasks#HttpMethods |
Java | software.amazon.awscdk.services.stepfunctions.tasks.HttpMethods |
Python | aws_cdk.aws_stepfunctions_tasks.HttpMethods |
TypeScript (source) | aws-cdk-lib » aws_stepfunctions_tasks » HttpMethods |
Method type of a EKS call.
Example
import * as eks from 'aws-cdk-lib/aws-eks';
const myEksCluster = new eks.Cluster(this, 'my sample cluster', {
version: eks.KubernetesVersion.V1_18,
clusterName: 'myEksCluster',
});
new tasks.EksCall(this, 'Call a EKS Endpoint', {
cluster: myEksCluster,
httpMethod: tasks.HttpMethods.GET,
httpPath: '/api/v1/namespaces/default/pods',
});
Members
Name | Description |
---|---|
GET | Retrieve data from a server at the specified resource. |
POST | Send data to the API endpoint to create or update a resource. |
PUT | Send data to the API endpoint to update or create a resource. |
DELETE | Delete the resource at the specified endpoint. |
PATCH | Apply partial modifications to the resource. |
HEAD | Retrieve data from a server at the specified resource without the response body. |
GET
Retrieve data from a server at the specified resource.
POST
Send data to the API endpoint to create or update a resource.
PUT
Send data to the API endpoint to update or create a resource.
DELETE
Delete the resource at the specified endpoint.
PATCH
Apply partial modifications to the resource.
HEAD
Retrieve data from a server at the specified resource without the response body.