integrated_resources
Creates, updates, deletes, gets or lists an integrated_resources resource.
Overview
| Name | integrated_resources |
| Type | Resource |
| Id | aws.securityagent.integrated_resources |
Fields
The following fields are returned by SELECT queries:
- list_integrated_resources
| Name | Datatype | Description |
|---|---|---|
capabilities | object | The capabilities enabled for the integrated resource. |
integration_id | string | Unique identifier for an integration. |
resource | object | The metadata for the integrated resource. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_integrated_resources | select | region | Lists the integrated resources for an agent space, optionally filtered by integration or resource type. | |
update_integrated_resources | update | region, agentSpaceId, integrationId, items | Updates the integrated resources for an agent space, including their capabilities. |
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_integrated_resources
Lists the integrated resources for an agent space, optionally filtered by integration or resource type.
SELECT
capabilities,
integration_id,
resource
FROM aws.securityagent.integrated_resources
WHERE region = '{{ region }}' -- required
;
UPDATE examples
- update_integrated_resources
Updates the integrated resources for an agent space, including their capabilities.
UPDATE aws.securityagent.integrated_resources
SET
agentSpaceId = '{{ agentSpaceId }}',
integrationId = '{{ integrationId }}',
items = '{{ items }}'
WHERE
region = '{{ region }}' --required
AND agentSpaceId = '{{ agentSpaceId }}' --required
AND integrationId = '{{ integrationId }}' --required
AND items = '{{ items }}' --required;