# CfnCollectionGroupProps

Properties for defining a `CfnCollectionGroup`.

Extends: CfnCollectionGroupProps
Used as props by: CfnCollectionGroup

- Source: Generated code
- Type last changed: v2.260.0 · 16 Jun 2026

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_opensearchserverless as opensearchserverless } from 'aws-cdk-lib';
const cfnCollectionGroupProps: opensearchserverless.CfnCollectionGroupProps = {
  name: 'name',
  standbyReplicas: 'standbyReplicas',

  // the properties below are optional
  capacityLimits: {
    maxIndexingCapacityInOcu: 123,
    maxSearchCapacityInOcu: 123,
    minIndexingCapacityInOcu: 123,
    minSearchCapacityInOcu: 123,
  },
  description: 'description',
  generation: 'generation',
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
```

## Properties

- `capacityLimits`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnCollectionGroup.CapacityLimitsProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_opensearchserverless.CfnCollectionGroup.CapacityLimitsProperty.html)

- `description`: string — The description of the collection group.

- `generation`: string — The generation of Amazon OpenSearch Serverless for the collection group.

  Valid values are CLASSIC and NEXTGEN.

- `name`: string (required) — The name of the collection group.

- `standbyReplicas`: string (required) — Indicates whether standby replicas are used for the collection group.

- `tags`: [CfnTag](/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — An array of key-value pairs to apply to this resource.
