UNPKG

@pulumi/aws

Version:

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

56 lines 1.95 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.getSamlProviderOutput = exports.getSamlProvider = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * This data source can be used to fetch information about a specific * IAM SAML provider. This will allow you to easily retrieve the metadata * document of an existing SAML provider. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.iam.getSamlProvider({ * arn: "arn:aws:iam::123456789:saml-provider/myprovider", * }); * ``` */ function getSamlProvider(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws:iam/getSamlProvider:getSamlProvider", { "arn": args.arn, "tags": args.tags, }, opts); } exports.getSamlProvider = getSamlProvider; /** * This data source can be used to fetch information about a specific * IAM SAML provider. This will allow you to easily retrieve the metadata * document of an existing SAML provider. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.iam.getSamlProvider({ * arn: "arn:aws:iam::123456789:saml-provider/myprovider", * }); * ``` */ function getSamlProviderOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("aws:iam/getSamlProvider:getSamlProvider", { "arn": args.arn, "tags": args.tags, }, opts); } exports.getSamlProviderOutput = getSamlProviderOutput; //# sourceMappingURL=getSamlProvider.js.map