ListResourcesInProtectionGroup
Source:
src/AWS/Shield/ListResourcesInProtectionGroup.ts
Runtime binding for shield:ListResourcesInProtectionGroup.
Enumerates the ARNs of the protected resources that are members of a
protection group. The group id is passed in the request — group membership
is often resolved dynamically at runtime (e.g. iterating the groups from a
ListProtectionGroups sweep), and a nonexistent group fails with the typed
ResourceNotFoundException.
Provide the implementation with
Effect.provide(AWS.Shield.ListResourcesInProtectionGroupHttp).
Grouping Protections
Section titled “Grouping Protections”// init — account-level binding, no resource argumentconst listResourcesInProtectionGroup = yield* AWS.Shield.ListResourcesInProtectionGroup();
// runtimeconst { ResourceArns } = yield* listResourcesInProtectionGroup({ ProtectionGroupId: group.protectionGroupId,});