UNPKG

@pulumi/aws

Version:

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

56 lines 2.33 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.getReceivedLicenseOutput = exports.getReceivedLicense = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * This resource can be used to get data on a received license using an ARN. This can be helpful for pulling in data on a license from the AWS marketplace and sharing that license with another account. * * ## Example Usage * * The following shows getting the received license data using and ARN. * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const test = aws.licensemanager.getReceivedLicense({ * licenseArn: "arn:aws:license-manager::111111111111:license:l-ecbaa94eb71a4830b6d7e49268fecaa0", * }); * ``` */ function getReceivedLicense(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws:licensemanager/getReceivedLicense:getReceivedLicense", { "licenseArn": args.licenseArn, "region": args.region, }, opts); } exports.getReceivedLicense = getReceivedLicense; /** * This resource can be used to get data on a received license using an ARN. This can be helpful for pulling in data on a license from the AWS marketplace and sharing that license with another account. * * ## Example Usage * * The following shows getting the received license data using and ARN. * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const test = aws.licensemanager.getReceivedLicense({ * licenseArn: "arn:aws:license-manager::111111111111:license:l-ecbaa94eb71a4830b6d7e49268fecaa0", * }); * ``` */ function getReceivedLicenseOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("aws:licensemanager/getReceivedLicense:getReceivedLicense", { "licenseArn": args.licenseArn, "region": args.region, }, opts); } exports.getReceivedLicenseOutput = getReceivedLicenseOutput; //# sourceMappingURL=getReceivedLicense.js.map