resources_in_protection_groups
Creates, updates, deletes, gets or lists a resources_in_protection_groups resource.
Overview
| Name | resources_in_protection_groups |
| Type | Resource |
| Id | aws.shield.resources_in_protection_groups |
Fields
The following fields are returned by SELECT queries:
- list_resources_in_protection_group
| Name | Datatype | Description |
|---|---|---|
resource_arn | string | The Amazon Resource Names (ARNs) of the resources that are included in the protection group. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_resources_in_protection_group | select | region | Retrieves the resources that are included in the protection group. |
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_resources_in_protection_group
Retrieves the resources that are included in the protection group.
SELECT
resource_arn
FROM aws.shield.resources_in_protection_groups
WHERE region = '{{ region }}' -- required
;