resource
Gets an individual resource
resource
Overview
Name | resource |
Type | Resource |
Description | resource |
Id | awscc.apigateway.resource |
Fields
Name | Datatype | Description |
---|---|---|
resource_id | string | |
rest_api_id | string | The string identifier of the associated RestApi. |
parent_id | string | The parent resource's identifier. |
path_part | string | The last path segment for this resource. |
region | string | AWS 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