Skip to content

CollectionGroup

Source: src/AWS/OpenSearchServerless/CollectionGroup.ts

An Amazon OpenSearch Serverless collection group. Collection groups manage OpenSearch Compute Units (OCUs) at a group level — multiple collections share the group’s capacity limits instead of each collection scaling independently.

import * as AWS from "alchemy/AWS";
const group = yield* AWS.OpenSearchServerless.CollectionGroup("Group", {
groupName: "analytics",
standbyReplicas: "DISABLED",
capacityLimits: {
maxIndexingCapacityInOCU: 4,
maxSearchCapacityInOCU: 4,
},
});