API Gateway Resource

An API Gateway Resource in AWS represents a specific path segment within an API. It acts as a container for methods (such as GET, POST, PUT) that define how the API responds to requests on that path. Resources can be organized hierarchically to model RESTful APIs, allowing developers to structure endpoints and integrate them with backend services like Lambda, DynamoDB, or HTTP endpoints.

aws.apigateway_resource

Fields

TitleIDTypeData TypeDescription
_keycorestring
account_idcorestring
idcorestringThe resource's identifier.
parent_idcorestringThe parent resource's identifier.
pathcorestringThe full path for this resource.
path_partcorestringThe last path segment for this resource.
resource_arncorestring
resource_methodscorestringGets an API resource's method of a given HTTP verb.
tagscorehstore