aws-cdk-lib.aws_stepfunctions_tasks.HttpMethods

enum HttpMethods

LanguageType name
.NETAmazon.CDK.AWS.StepFunctions.Tasks.HttpMethods
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsstepfunctionstasks#HttpMethods
Javasoftware.amazon.awscdk.services.stepfunctions.tasks.HttpMethods
Pythonaws_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

NameDescription
GETRetrieve data from a server at the specified resource.
POSTSend data to the API endpoint to create or update a resource.
PUTSend data to the API endpoint to update or create a resource.
DELETEDelete the resource at the specified endpoint.
PATCHApply partial modifications to the resource.
HEADRetrieve 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.