UNPKG

@pulumi/aws

Version:

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

56 lines 1.86 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.getContactChannelOutput = exports.getContactChannel = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Data source for managing an AWS SSM Contacts Contact Channel. * * ## Example Usage * * ### Basic Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.ssmcontacts.getContactChannel({ * arn: "arn:aws:ssm-contacts:us-west-2:123456789012:contact-channel/example", * }); * ``` */ function getContactChannel(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws:ssmcontacts/getContactChannel:getContactChannel", { "arn": args.arn, "region": args.region, }, opts); } exports.getContactChannel = getContactChannel; /** * Data source for managing an AWS SSM Contacts Contact Channel. * * ## Example Usage * * ### Basic Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.ssmcontacts.getContactChannel({ * arn: "arn:aws:ssm-contacts:us-west-2:123456789012:contact-channel/example", * }); * ``` */ function getContactChannelOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("aws:ssmcontacts/getContactChannel:getContactChannel", { "arn": args.arn, "region": args.region, }, opts); } exports.getContactChannelOutput = getContactChannelOutput; //# sourceMappingURL=getContactChannel.js.map