UNPKG

@pulumi/aws

Version:

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

52 lines 1.72 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.getResourceTagsOutput = exports.getResourceTags = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Get tags attached to the specified AWS Organizations resource. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const account = aws.organizations.getResourceTags({ * resourceId: "123456123846", * }); * ``` */ function getResourceTags(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws:organizations/getResourceTags:getResourceTags", { "resourceId": args.resourceId, "tags": args.tags, }, opts); } exports.getResourceTags = getResourceTags; /** * Get tags attached to the specified AWS Organizations resource. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const account = aws.organizations.getResourceTags({ * resourceId: "123456123846", * }); * ``` */ function getResourceTagsOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("aws:organizations/getResourceTags:getResourceTags", { "resourceId": args.resourceId, "tags": args.tags, }, opts); } exports.getResourceTagsOutput = getResourceTagsOutput; //# sourceMappingURL=getResourceTags.js.map