aws-cdk-lib.aws_stepfunctions_tasks.HttpMethod

enum HttpMethod

LanguageType name
.NETAmazon.CDK.AWS.StepFunctions.Tasks.HttpMethod
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsstepfunctionstasks#HttpMethod
Javasoftware.amazon.awscdk.services.stepfunctions.tasks.HttpMethod
Pythonaws_cdk.aws_stepfunctions_tasks.HttpMethod
TypeScript (source)aws-cdk-lib » aws_stepfunctions_tasks » HttpMethod

Http Methods that API Gateway supports.

Example

import * as apigatewayv2 from '@aws-cdk/aws-apigatewayv2-alpha';
const httpApi = new apigatewayv2.HttpApi(this, 'MyHttpApi');

const invokeTask = new tasks.CallApiGatewayHttpApiEndpoint(this, 'Call HTTP API', {
  apiId: httpApi.apiId,
  apiStack: Stack.of(httpApi),
  method: tasks.HttpMethod.GET,
});

Members

NameDescription
GETRetreive data from a server at the specified resource.
POSTSend data to the API endpoint to create or udpate 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.
HEADRetreive data from a server at the specified resource without the response body.
OPTIONSReturn data describing what other methods and operations the server supports.

GET

Retreive data from a server at the specified resource.


POST

Send data to the API endpoint to create or udpate 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

Retreive data from a server at the specified resource without the response body.


OPTIONS

Return data describing what other methods and operations the server supports.