Skip to content

GetAttributeGroup

Source: src/AWS/AppRegistry/GetAttributeGroup.ts

Runtime binding for servicecatalog:GetAttributeGroup.

Reads the bound attribute group’s user-defined JSON metadata (the attributes string) along with its description and tags — the primary way for a running function to consume AppRegistry metadata. Provide the implementation with Effect.provide(AWS.AppRegistry.GetAttributeGroupHttp).

// init — bind the operation to the attribute group
const getAttributeGroup = yield* AWS.AppRegistry.GetAttributeGroup(group);
// runtime
const details = yield* getAttributeGroup();
const attributes = JSON.parse(details.attributes ?? "{}");