enum ApiGatewayHttpMethod
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Bedrock.Agentcore.Alpha.ApiGatewayHttpMethod |
Go | github.com/aws/aws-cdk-go/awsbedrockagentcorealpha/v2#ApiGatewayHttpMethod |
Java | software.amazon.awscdk.services.bedrock.agentcore.alpha.ApiGatewayHttpMethod |
Python | aws_cdk.aws_bedrock_agentcore_alpha.ApiGatewayHttpMethod |
TypeScript (source) | @aws-cdk/aws-bedrock-agentcore-alpha ยป ApiGatewayHttpMethod |
HTTP methods supported by API Gateway.
Example
const gateway = new agentcore.Gateway(this, "MyGateway", {
gatewayName: "my-gateway",
});
const api = new apigateway.RestApi(this, 'MyApi', {
restApiName: 'my-api',
});
// Uses IAM authorization for outbound auth by default
const apiGatewayTarget = gateway.addApiGatewayTarget("MyApiGatewayTarget", {
restApi: api,
apiGatewayToolConfiguration: {
toolFilters: [
{
filterPath: "/pets/*",
methods: [agentcore.ApiGatewayHttpMethod.GET],
},
],
},
});
Members
| Name | Description |
|---|---|
| GET | GET method. |
| POST | POST method. |
| PUT | PUT method. |
| DELETE | DELETE method. |
| PATCH | PATCH method. |
| HEAD | HEAD method. |
| OPTIONS | OPTIONS method. |
GET
GET method.
POST
POST method.
PUT
PUT method.
DELETE
DELETE method.
PATCH
PATCH method.
HEAD
HEAD method.
OPTIONS
OPTIONS method.

.NET
Go
Java
Python
TypeScript (