Skip to main content

resource

Gets an individual resource resource

Overview

Nameresource
TypeResource
Descriptionresource
Idawscc.apigateway.resource

Fields

NameDatatypeDescription
resource_idstring
rest_api_idstringThe string identifier of the associated RestApi.
parent_idstringThe parent resource's identifier.
path_partstringThe last path segment for this resource.
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
resource_id,
rest_api_id,
parent_id,
path_part
FROM awscc.apigateway.resource
WHERE data__Identifier = '<RestApiId>|<ResourceId>';

Permissions

To operate on the resource resource, the following permissions are required:

Read

apigateway:GET

Update

apigateway:GET,
apigateway:PATCH

Delete

apigateway:DELETE