Viewing docs for AWS v7.28.0
published on Thursday, Apr 30, 2026 by Pulumi
published on Thursday, Apr 30, 2026 by Pulumi
Viewing docs for AWS v7.28.0
published on Thursday, Apr 30, 2026 by Pulumi
published on Thursday, Apr 30, 2026 by Pulumi
Data source for managing an AWS OpenSearch Serverless Collection Group.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = aws.opensearch.getServerlessCollectionGroup({
name: "example-group",
});
import pulumi
import pulumi_aws as aws
example = aws.opensearch.get_serverless_collection_group(name="example-group")
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/opensearch"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := opensearch.LookupServerlessCollectionGroup(ctx, &opensearch.LookupServerlessCollectionGroupArgs{
Name: pulumi.StringRef("example-group"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = Aws.OpenSearch.GetServerlessCollectionGroup.Invoke(new()
{
Name = "example-group",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.opensearch.OpensearchFunctions;
import com.pulumi.aws.opensearch.inputs.GetServerlessCollectionGroupArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = OpensearchFunctions.getServerlessCollectionGroup(GetServerlessCollectionGroupArgs.builder()
.name("example-group")
.build());
}
}
variables:
example:
fn::invoke:
function: aws:opensearch:getServerlessCollectionGroup
arguments:
name: example-group
Using getServerlessCollectionGroup
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getServerlessCollectionGroup(args: GetServerlessCollectionGroupArgs, opts?: InvokeOptions): Promise<GetServerlessCollectionGroupResult>
function getServerlessCollectionGroupOutput(args: GetServerlessCollectionGroupOutputArgs, opts?: InvokeOptions): Output<GetServerlessCollectionGroupResult>def get_serverless_collection_group(id: Optional[str] = None,
name: Optional[str] = None,
region: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetServerlessCollectionGroupResult
def get_serverless_collection_group_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
region: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetServerlessCollectionGroupResult]func LookupServerlessCollectionGroup(ctx *Context, args *LookupServerlessCollectionGroupArgs, opts ...InvokeOption) (*LookupServerlessCollectionGroupResult, error)
func LookupServerlessCollectionGroupOutput(ctx *Context, args *LookupServerlessCollectionGroupOutputArgs, opts ...InvokeOption) LookupServerlessCollectionGroupResultOutput> Note: This function is named LookupServerlessCollectionGroup in the Go SDK.
public static class GetServerlessCollectionGroup
{
public static Task<GetServerlessCollectionGroupResult> InvokeAsync(GetServerlessCollectionGroupArgs args, InvokeOptions? opts = null)
public static Output<GetServerlessCollectionGroupResult> Invoke(GetServerlessCollectionGroupInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetServerlessCollectionGroupResult> getServerlessCollectionGroup(GetServerlessCollectionGroupArgs args, InvokeOptions options)
public static Output<GetServerlessCollectionGroupResult> getServerlessCollectionGroup(GetServerlessCollectionGroupArgs args, InvokeOptions options)
fn::invoke:
function: aws:opensearch/getServerlessCollectionGroup:getServerlessCollectionGroup
arguments:
# arguments dictionaryThe following arguments are supported:
getServerlessCollectionGroup Result
The following output properties are available:
- Arn string
- Amazon Resource Name (ARN) of the collection group.
- Capacity
Limits List<GetServerless Collection Group Capacity Limit> - Capacity limits configured for the collection group. See
capacityLimitsbelow for details. - Created
Date string - Date the collection group was created.
- Description string
- Description of the collection group.
- Id string
- Name string
- Region string
- Standby
Replicas string - Indicates whether standby replicas should be used for collections in this group.
- Dictionary<string, string>
- A map of tags assigned to the collection group.
- Arn string
- Amazon Resource Name (ARN) of the collection group.
- Capacity
Limits []GetServerless Collection Group Capacity Limit - Capacity limits configured for the collection group. See
capacityLimitsbelow for details. - Created
Date string - Date the collection group was created.
- Description string
- Description of the collection group.
- Id string
- Name string
- Region string
- Standby
Replicas string - Indicates whether standby replicas should be used for collections in this group.
- map[string]string
- A map of tags assigned to the collection group.
- arn String
- Amazon Resource Name (ARN) of the collection group.
- capacity
Limits List<GetServerless Collection Group Capacity Limit> - Capacity limits configured for the collection group. See
capacityLimitsbelow for details. - created
Date String - Date the collection group was created.
- description String
- Description of the collection group.
- id String
- name String
- region String
- standby
Replicas String - Indicates whether standby replicas should be used for collections in this group.
- Map<String,String>
- A map of tags assigned to the collection group.
- arn string
- Amazon Resource Name (ARN) of the collection group.
- capacity
Limits GetServerless Collection Group Capacity Limit[] - Capacity limits configured for the collection group. See
capacityLimitsbelow for details. - created
Date string - Date the collection group was created.
- description string
- Description of the collection group.
- id string
- name string
- region string
- standby
Replicas string - Indicates whether standby replicas should be used for collections in this group.
- {[key: string]: string}
- A map of tags assigned to the collection group.
- arn str
- Amazon Resource Name (ARN) of the collection group.
- capacity_
limits Sequence[GetServerless Collection Group Capacity Limit] - Capacity limits configured for the collection group. See
capacityLimitsbelow for details. - created_
date str - Date the collection group was created.
- description str
- Description of the collection group.
- id str
- name str
- region str
- standby_
replicas str - Indicates whether standby replicas should be used for collections in this group.
- Mapping[str, str]
- A map of tags assigned to the collection group.
- arn String
- Amazon Resource Name (ARN) of the collection group.
- capacity
Limits List<Property Map> - Capacity limits configured for the collection group. See
capacityLimitsbelow for details. - created
Date String - Date the collection group was created.
- description String
- Description of the collection group.
- id String
- name String
- region String
- standby
Replicas String - Indicates whether standby replicas should be used for collections in this group.
- Map<String>
- A map of tags assigned to the collection group.
Supporting Types
GetServerlessCollectionGroupCapacityLimit
- Max
Indexing doubleCapacity In Ocu - Maximum indexing capacity, in OpenSearch Compute Units (OCUs), for the collection group.
- Max
Search doubleCapacity In Ocu - Maximum search capacity, in OpenSearch Compute Units (OCUs), for the collection group.
- Min
Indexing doubleCapacity In Ocu - Minimum indexing capacity, in OpenSearch Compute Units (OCUs), for the collection group.
- Min
Search doubleCapacity In Ocu - Minimum search capacity, in OpenSearch Compute Units (OCUs), for the collection group.
- Max
Indexing float64Capacity In Ocu - Maximum indexing capacity, in OpenSearch Compute Units (OCUs), for the collection group.
- Max
Search float64Capacity In Ocu - Maximum search capacity, in OpenSearch Compute Units (OCUs), for the collection group.
- Min
Indexing float64Capacity In Ocu - Minimum indexing capacity, in OpenSearch Compute Units (OCUs), for the collection group.
- Min
Search float64Capacity In Ocu - Minimum search capacity, in OpenSearch Compute Units (OCUs), for the collection group.
- max
Indexing DoubleCapacity In Ocu - Maximum indexing capacity, in OpenSearch Compute Units (OCUs), for the collection group.
- max
Search DoubleCapacity In Ocu - Maximum search capacity, in OpenSearch Compute Units (OCUs), for the collection group.
- min
Indexing DoubleCapacity In Ocu - Minimum indexing capacity, in OpenSearch Compute Units (OCUs), for the collection group.
- min
Search DoubleCapacity In Ocu - Minimum search capacity, in OpenSearch Compute Units (OCUs), for the collection group.
- max
Indexing numberCapacity In Ocu - Maximum indexing capacity, in OpenSearch Compute Units (OCUs), for the collection group.
- max
Search numberCapacity In Ocu - Maximum search capacity, in OpenSearch Compute Units (OCUs), for the collection group.
- min
Indexing numberCapacity In Ocu - Minimum indexing capacity, in OpenSearch Compute Units (OCUs), for the collection group.
- min
Search numberCapacity In Ocu - Minimum search capacity, in OpenSearch Compute Units (OCUs), for the collection group.
- max_
indexing_ floatcapacity_ in_ ocu - Maximum indexing capacity, in OpenSearch Compute Units (OCUs), for the collection group.
- max_
search_ floatcapacity_ in_ ocu - Maximum search capacity, in OpenSearch Compute Units (OCUs), for the collection group.
- min_
indexing_ floatcapacity_ in_ ocu - Minimum indexing capacity, in OpenSearch Compute Units (OCUs), for the collection group.
- min_
search_ floatcapacity_ in_ ocu - Minimum search capacity, in OpenSearch Compute Units (OCUs), for the collection group.
- max
Indexing NumberCapacity In Ocu - Maximum indexing capacity, in OpenSearch Compute Units (OCUs), for the collection group.
- max
Search NumberCapacity In Ocu - Maximum search capacity, in OpenSearch Compute Units (OCUs), for the collection group.
- min
Indexing NumberCapacity In Ocu - Minimum indexing capacity, in OpenSearch Compute Units (OCUs), for the collection group.
- min
Search NumberCapacity In Ocu - Minimum search capacity, in OpenSearch Compute Units (OCUs), for the collection group.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
awsTerraform Provider.
Viewing docs for AWS v7.28.0
published on Thursday, Apr 30, 2026 by Pulumi
published on Thursday, Apr 30, 2026 by Pulumi
