UNPKG

@pulumi/aws

Version:

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

56 lines 1.63 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.getInputOutput = exports.getInput = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Data source for managing an AWS Elemental MediaLive Input. * * ## Example Usage * * ### Basic Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.medialive.getInput({ * id: exampleAwsMedialiveInput.id, * }); * ``` */ function getInput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws:medialive/getInput:getInput", { "id": args.id, "region": args.region, }, opts); } exports.getInput = getInput; /** * Data source for managing an AWS Elemental MediaLive Input. * * ## Example Usage * * ### Basic Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.medialive.getInput({ * id: exampleAwsMedialiveInput.id, * }); * ``` */ function getInputOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("aws:medialive/getInput:getInput", { "id": args.id, "region": args.region, }, opts); } exports.getInputOutput = getInputOutput; //# sourceMappingURL=getInput.js.map