UNPKG

@pulumi/aws

Version:

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

52 lines 1.99 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.getDelegatedAdministratorsOutput = exports.getDelegatedAdministrators = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Get a list of AWS accounts that are designated as delegated administrators in this organization * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.organizations.getDelegatedAdministrators({ * servicePrincipal: "SERVICE PRINCIPAL", * }); * ``` */ function getDelegatedAdministrators(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws:organizations/getDelegatedAdministrators:getDelegatedAdministrators", { "servicePrincipal": args.servicePrincipal, }, opts); } exports.getDelegatedAdministrators = getDelegatedAdministrators; /** * Get a list of AWS accounts that are designated as delegated administrators in this organization * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.organizations.getDelegatedAdministrators({ * servicePrincipal: "SERVICE PRINCIPAL", * }); * ``` */ function getDelegatedAdministratorsOutput(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("aws:organizations/getDelegatedAdministrators:getDelegatedAdministrators", { "servicePrincipal": args.servicePrincipal, }, opts); } exports.getDelegatedAdministratorsOutput = getDelegatedAdministratorsOutput; //# sourceMappingURL=getDelegatedAdministrators.js.map