UNPKG

@pulumi/aws

Version:

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

32 lines 1.26 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.getEndpointOutput = exports.getEndpoint = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Returns a unique endpoint specific to the AWS account making the call. */ function getEndpoint(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws:iot/getEndpoint:getEndpoint", { "endpointType": args.endpointType, "region": args.region, }, opts); } exports.getEndpoint = getEndpoint; /** * Returns a unique endpoint specific to the AWS account making the call. */ function getEndpointOutput(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("aws:iot/getEndpoint:getEndpoint", { "endpointType": args.endpointType, "region": args.region, }, opts); } exports.getEndpointOutput = getEndpointOutput; //# sourceMappingURL=getEndpoint.js.map