UNPKG

@pulumi/aws

Version:

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

58 lines 1.91 kB
"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.getGroupsOutput = exports.getGroups = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Data source for managing an AWS SSO Identity Store Groups. * * ## Example Usage * * ### Basic Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.ssoadmin.getInstances({}); * const exampleGetGroups = example.then(example => aws.identitystore.getGroups({ * identityStoreId: example.identityStoreIds?.[0], * })); * ``` */ function getGroups(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws:identitystore/getGroups:getGroups", { "identityStoreId": args.identityStoreId, "region": args.region, }, opts); } exports.getGroups = getGroups; /** * Data source for managing an AWS SSO Identity Store Groups. * * ## Example Usage * * ### Basic Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.ssoadmin.getInstances({}); * const exampleGetGroups = example.then(example => aws.identitystore.getGroups({ * identityStoreId: example.identityStoreIds?.[0], * })); * ``` */ function getGroupsOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("aws:identitystore/getGroups:getGroups", { "identityStoreId": args.identityStoreId, "region": args.region, }, opts); } exports.getGroupsOutput = getGroupsOutput; //# sourceMappingURL=getGroups.js.map