"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.UserPoolIdentityProvider=void 0;const JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti");var core_1=()=>{var tmp=require("../../core");return core_1=()=>tmp,tmp},errors_1=()=>{var tmp=require("../../core/lib/errors");return errors_1=()=>tmp,tmp},literal_string_1=()=>{var tmp=require("../../core/lib/private/literal-string");return literal_string_1=()=>tmp,tmp};class UserPoolIdentityProvider{static[JSII_RTTI_SYMBOL_1]={fqn:"aws-cdk-lib.aws_cognito.UserPoolIdentityProvider",version:"2.256.1"};static fromProviderName(scope,id,providerName){class Import extends core_1().Resource{providerName=providerName;get userPoolIdentityProviderRef(){return{providerName,get userPoolId(){throw new(errors_1()).UnscopedValidationError((0,literal_string_1().lit)`UserPoolIdAvailableImported`,"userPoolId is not available on imported UserPoolIdentityProvider.")}}}}return new Import(scope,id)}constructor(){}}exports.UserPoolIdentityProvider=UserPoolIdentityProvider;
