@pulumi/aws
Version:
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
58 lines • 1.84 kB
JavaScript
// *** 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.getStreamKeyOutput = exports.getStreamKey = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
* Data source for managing an AWS IVS (Interactive Video) Stream Key.
*
* ## Example Usage
*
* ### Basic Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as aws from "@pulumi/aws";
*
* const example = aws.ivs.getStreamKey({
* channelArn: "arn:aws:ivs:us-west-2:326937407773:channel/0Y1lcs4U7jk5",
* });
* ```
*/
function getStreamKey(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("aws:ivs/getStreamKey:getStreamKey", {
"channelArn": args.channelArn,
"region": args.region,
"tags": args.tags,
}, opts);
}
exports.getStreamKey = getStreamKey;
/**
* Data source for managing an AWS IVS (Interactive Video) Stream Key.
*
* ## Example Usage
*
* ### Basic Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as aws from "@pulumi/aws";
*
* const example = aws.ivs.getStreamKey({
* channelArn: "arn:aws:ivs:us-west-2:326937407773:channel/0Y1lcs4U7jk5",
* });
* ```
*/
function getStreamKeyOutput(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("aws:ivs/getStreamKey:getStreamKey", {
"channelArn": args.channelArn,
"region": args.region,
"tags": args.tags,
}, opts);
}
exports.getStreamKeyOutput = getStreamKeyOutput;
//# sourceMappingURL=getStreamKey.js.map
;