UNPKG

@pulumi/aws

Version:

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

88 lines 2.73 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.getRoutingProfileOutput = exports.getRoutingProfile = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Provides details about a specific Amazon Connect Routing Profile. * * ## Example Usage * * By `name` * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.connect.getRoutingProfile({ * instanceId: "aaaaaaaa-bbbb-cccc-dddd-111111111111", * name: "Example", * }); * ``` * * By `routingProfileId` * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.connect.getRoutingProfile({ * instanceId: "aaaaaaaa-bbbb-cccc-dddd-111111111111", * routingProfileId: "cccccccc-bbbb-cccc-dddd-111111111111", * }); * ``` */ function getRoutingProfile(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws:connect/getRoutingProfile:getRoutingProfile", { "instanceId": args.instanceId, "name": args.name, "region": args.region, "routingProfileId": args.routingProfileId, "tags": args.tags, }, opts); } exports.getRoutingProfile = getRoutingProfile; /** * Provides details about a specific Amazon Connect Routing Profile. * * ## Example Usage * * By `name` * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.connect.getRoutingProfile({ * instanceId: "aaaaaaaa-bbbb-cccc-dddd-111111111111", * name: "Example", * }); * ``` * * By `routingProfileId` * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.connect.getRoutingProfile({ * instanceId: "aaaaaaaa-bbbb-cccc-dddd-111111111111", * routingProfileId: "cccccccc-bbbb-cccc-dddd-111111111111", * }); * ``` */ function getRoutingProfileOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("aws:connect/getRoutingProfile:getRoutingProfile", { "instanceId": args.instanceId, "name": args.name, "region": args.region, "routingProfileId": args.routingProfileId, "tags": args.tags, }, opts); } exports.getRoutingProfileOutput = getRoutingProfileOutput; //# sourceMappingURL=getRoutingProfile.js.map