ApiGatewayHttpMethod

class aws_cdk.aws_bedrock_agentcore_alpha.ApiGatewayHttpMethod(*values)

Bases: Enum

(experimental) HTTP methods supported by API Gateway.

Stability:

experimental

ExampleMetadata:

fixture=default infused

Example:

gateway = agentcore.Gateway(self, "MyGateway",
    gateway_name="my-gateway"
)

api = apigateway.RestApi(self, "MyApi",
    rest_api_name="my-api"
)

# Uses IAM authorization for outbound auth by default
api_gateway_target = gateway.add_api_gateway_target("MyApiGatewayTarget",
    rest_api=api,
    api_gateway_tool_configuration=agentcore.ApiGatewayToolConfiguration(
        tool_filters=[agentcore.ApiGatewayToolFilter(
            filter_path="/pets/*",
            methods=[agentcore.ApiGatewayHttpMethod.GET]
        )
        ]
    )
)

Attributes

DELETE

(experimental) DELETE method.

Stability:

experimental

GET

(experimental) GET method.

Stability:

experimental

HEAD

(experimental) HEAD method.

Stability:

experimental

OPTIONS

(experimental) OPTIONS method.

Stability:

experimental

PATCH

(experimental) PATCH method.

Stability:

experimental

POST

(experimental) POST method.

Stability:

experimental

PUT

(experimental) PUT method.

Stability:

experimental