@pulumi/aws
Version:
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
60 lines • 1.94 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.getNotificationChannelOutput = exports.getNotificationChannel = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
* Data source for managing an AWS DevOps Guru Notification Channel.
*
* ## Example Usage
*
* ### Basic Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as aws from "@pulumi/aws";
*
* const example = aws.devopsguru.getNotificationChannel({
* id: "channel-1234",
* });
* ```
*/
function getNotificationChannel(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("aws:devopsguru/getNotificationChannel:getNotificationChannel", {
"filters": args.filters,
"id": args.id,
"region": args.region,
"sns": args.sns,
}, opts);
}
exports.getNotificationChannel = getNotificationChannel;
/**
* Data source for managing an AWS DevOps Guru Notification Channel.
*
* ## Example Usage
*
* ### Basic Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as aws from "@pulumi/aws";
*
* const example = aws.devopsguru.getNotificationChannel({
* id: "channel-1234",
* });
* ```
*/
function getNotificationChannelOutput(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("aws:devopsguru/getNotificationChannel:getNotificationChannel", {
"filters": args.filters,
"id": args.id,
"region": args.region,
"sns": args.sns,
}, opts);
}
exports.getNotificationChannelOutput = getNotificationChannelOutput;
//# sourceMappingURL=getNotificationChannel.js.map