UNPKG

pulumi-fusionauth

Version:

A Pulumi package for managing FusionAuth instances.

83 lines 5.04 kB
"use strict"; // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** Object.defineProperty(exports, "__esModule", { value: true }); exports.FusionAuthIdpSamlV2IdpInitiated = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); class FusionAuthIdpSamlV2IdpInitiated extends pulumi.CustomResource { /** * Get an existing FusionAuthIdpSamlV2IdpInitiated resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name, id, state, opts) { return new FusionAuthIdpSamlV2IdpInitiated(name, state, Object.assign(Object.assign({}, opts), { id: id })); } /** * Returns true if the given object is an instance of FusionAuthIdpSamlV2IdpInitiated. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj) { if (obj === undefined || obj === null) { return false; } return obj['__pulumiType'] === FusionAuthIdpSamlV2IdpInitiated.__pulumiType; } constructor(name, argsOrState, opts) { let resourceInputs = {}; opts = opts || {}; if (opts.id) { const state = argsOrState; resourceInputs["applicationConfigurations"] = state ? state.applicationConfigurations : undefined; resourceInputs["assertionConfiguration"] = state ? state.assertionConfiguration : undefined; resourceInputs["debug"] = state ? state.debug : undefined; resourceInputs["emailClaim"] = state ? state.emailClaim : undefined; resourceInputs["enabled"] = state ? state.enabled : undefined; resourceInputs["idpId"] = state ? state.idpId : undefined; resourceInputs["issuer"] = state ? state.issuer : undefined; resourceInputs["keyId"] = state ? state.keyId : undefined; resourceInputs["lambdaReconcileId"] = state ? state.lambdaReconcileId : undefined; resourceInputs["linkingStrategy"] = state ? state.linkingStrategy : undefined; resourceInputs["name"] = state ? state.name : undefined; resourceInputs["tenantConfigurations"] = state ? state.tenantConfigurations : undefined; resourceInputs["uniqueIdClaim"] = state ? state.uniqueIdClaim : undefined; resourceInputs["useNameForEmail"] = state ? state.useNameForEmail : undefined; resourceInputs["usernameClaim"] = state ? state.usernameClaim : undefined; } else { const args = argsOrState; if ((!args || args.issuer === undefined) && !opts.urn) { throw new Error("Missing required property 'issuer'"); } if ((!args || args.keyId === undefined) && !opts.urn) { throw new Error("Missing required property 'keyId'"); } resourceInputs["applicationConfigurations"] = args ? args.applicationConfigurations : undefined; resourceInputs["assertionConfiguration"] = args ? args.assertionConfiguration : undefined; resourceInputs["debug"] = args ? args.debug : undefined; resourceInputs["emailClaim"] = args ? args.emailClaim : undefined; resourceInputs["enabled"] = args ? args.enabled : undefined; resourceInputs["idpId"] = args ? args.idpId : undefined; resourceInputs["issuer"] = args ? args.issuer : undefined; resourceInputs["keyId"] = args ? args.keyId : undefined; resourceInputs["lambdaReconcileId"] = args ? args.lambdaReconcileId : undefined; resourceInputs["linkingStrategy"] = args ? args.linkingStrategy : undefined; resourceInputs["name"] = args ? args.name : undefined; resourceInputs["tenantConfigurations"] = args ? args.tenantConfigurations : undefined; resourceInputs["uniqueIdClaim"] = args ? args.uniqueIdClaim : undefined; resourceInputs["useNameForEmail"] = args ? args.useNameForEmail : undefined; resourceInputs["usernameClaim"] = args ? args.usernameClaim : undefined; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); super(FusionAuthIdpSamlV2IdpInitiated.__pulumiType, name, resourceInputs, opts); } } exports.FusionAuthIdpSamlV2IdpInitiated = FusionAuthIdpSamlV2IdpInitiated; /** @internal */ FusionAuthIdpSamlV2IdpInitiated.__pulumiType = 'fusionauth:index/fusionAuthIdpSamlV2IdpInitiated:FusionAuthIdpSamlV2IdpInitiated'; //# sourceMappingURL=fusionAuthIdpSamlV2IdpInitiated.js.map