ListGroupResources
Source:
src/AWS/ResourceGroups/ListGroupResources.ts
Runtime binding for resource-groups:ListGroupResources.
Enumerates the member resources of the bound Group — for a
tag-based group the resources currently matching the query, for an
application or configuration group the explicitly grouped members. The
group name is injected from the binding; the grant also includes the
tag:GetResources / CloudFormation read-through permissions the
enumeration fans out to. Provide the implementation with
Effect.provide(AWS.ResourceGroups.ListGroupResourcesHttp).
Enumerating Group Members
Section titled “Enumerating Group Members”// init — bind the operation to the groupconst listGroupResources = yield* AWS.ResourceGroups.ListGroupResources(group);
// runtimeconst { Resources } = yield* listGroupResources();const arns = (Resources ?? []).map((r) => r.Identifier?.ResourceArn);