Creates a collection group within OpenSearch Serverless¶
Description¶
Creates a collection group within OpenSearch Serverless. Collection groups let you manage OpenSearch Compute Units (OCUs) at a group level, with multiple collections sharing the group's capacity limits.
For more information, see Managing collection groups.
Usage¶
opensearchserviceserverless_create_collection_group(name,
standbyReplicas, description, tags, capacityLimits, generation,
clientToken)
Arguments¶
-
name[required] The name of the collection group.
-
standbyReplicas[required] Indicates whether standby replicas should be used for a collection group.
-
descriptionA description of the collection group.
-
tagsAn arbitrary set of tags (key–value pairs) to associate with the OpenSearch Serverless collection group.
-
capacityLimitsThe capacity limits for the collection group, in OpenSearch Compute Units (OCUs). These limits control the maximum and minimum capacity for collections within the group.
-
generationThe generation of Amazon OpenSearch Serverless for the collection group. Valid values are
CLASSICandNEXTGEN. -
clientTokenUnique, case-sensitive identifier to ensure idempotency of the request.
Value¶
A list with the following syntax:
list(
createCollectionGroupDetail = list(
id = "string",
arn = "string",
name = "string",
standbyReplicas = "ENABLED"|"DISABLED",
description = "string",
tags = list(
list(
key = "string",
value = "string"
)
),
createdDate = 123,
capacityLimits = list(
maxIndexingCapacityInOCU = 123.0,
maxSearchCapacityInOCU = 123.0,
minIndexingCapacityInOCU = 123.0,
minSearchCapacityInOCU = 123.0
),
generation = "CLASSIC"|"NEXTGEN"
)
)
Request syntax¶
svc$create_collection_group(
name = "string",
standbyReplicas = "ENABLED"|"DISABLED",
description = "string",
tags = list(
list(
key = "string",
value = "string"
)
),
capacityLimits = list(
maxIndexingCapacityInOCU = 123.0,
maxSearchCapacityInOCU = 123.0,
minIndexingCapacityInOCU = 123.0,
minSearchCapacityInOCU = 123.0
),
generation = "CLASSIC"|"NEXTGEN",
clientToken = "string"
)