UNPKG

@pulumi/aws

Version:

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

50 lines 1.79 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.getDelegatedServicesOutput = exports.getDelegatedServices = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Get a list the AWS services for which the specified account is a delegated administrator * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.organizations.getDelegatedServices({ * accountId: "AWS ACCOUNT ID", * }); * ``` */ function getDelegatedServices(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws:organizations/getDelegatedServices:getDelegatedServices", { "accountId": args.accountId, }, opts); } exports.getDelegatedServices = getDelegatedServices; /** * Get a list the AWS services for which the specified account is a delegated administrator * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.organizations.getDelegatedServices({ * accountId: "AWS ACCOUNT ID", * }); * ``` */ function getDelegatedServicesOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("aws:organizations/getDelegatedServices:getDelegatedServices", { "accountId": args.accountId, }, opts); } exports.getDelegatedServicesOutput = getDelegatedServicesOutput; //# sourceMappingURL=getDelegatedServices.js.map