"use strict";
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.getCollectionGroupOutput = exports.getCollectionGroup = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Resource Type definition for AWS::OpenSearchServerless::CollectionGroup
 */
function getCollectionGroup(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("aws-native:opensearchserverless:getCollectionGroup", {
        "id": args.id,
    }, opts);
}
exports.getCollectionGroup = getCollectionGroup;
/**
 * Resource Type definition for AWS::OpenSearchServerless::CollectionGroup
 */
function getCollectionGroupOutput(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invokeOutput("aws-native:opensearchserverless:getCollectionGroup", {
        "id": args.id,
    }, opts);
}
exports.getCollectionGroupOutput = getCollectionGroupOutput;
//# sourceMappingURL=getCollectionGroup.js.map