Skip to content

AttributeGroup

Source: src/AWS/AppRegistry/AttributeGroup.ts

An AWS Service Catalog AppRegistry attribute group — a named container of user-defined JSON metadata that can be associated with applications to enrich them (owner, cost center, compliance posture, etc.).

Basic Attribute Group

import * as AppRegistry from "alchemy/AWS/AppRegistry";
const group = yield* AppRegistry.AttributeGroup("Ownership", {
attributes: {
owner: "commerce-team",
costCenter: "1234",
},
});

Attribute Group with Description and Tags

const group = yield* AppRegistry.AttributeGroup("Ownership", {
attributeGroupName: "storefront-ownership",
description: "Ownership metadata for the storefront",
attributes: { owner: "commerce-team" },
tags: { team: "commerce" },
});