received_grants
Creates, updates, deletes, gets or lists a received_grants resource.
Overview
| Name | received_grants |
| Type | Resource |
| Id | aws.license_manager.received_grants |
Fields
The following fields are returned by SELECT queries:
- list_received_grants
| Name | Datatype | Description |
|---|---|---|
grants | array | Received grant details. |
next_token | string | Token for the next set of results. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_received_grants | select | region | Lists grants that are received. Received grants are grants created while specifying the recipient as this Amazon Web Services account, your organization, or an organizational unit (OU) to which this member account belongs. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- list_received_grants
Lists grants that are received. Received grants are grants created while specifying the recipient as this Amazon Web Services account, your organization, or an organizational unit (OU) to which this member account belongs.
SELECT
grants,
next_token
FROM aws.license_manager.received_grants
WHERE region = '{{ region }}' -- required
;