"use strict";var _a;Object.defineProperty(exports,"__esModule",{value:!0}),exports.AuthenticateCognitoAction=void 0;const jsiiDeprecationWarnings=require("../../.warnings.jsii.js"),JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti"),elbv2=require("../../aws-elasticloadbalancingv2");class AuthenticateCognitoAction extends elbv2.ListenerAction{constructor(options){super({type:"authenticate-cognito",authenticateCognitoConfig:{userPoolArn:options.userPool.userPoolArn,userPoolClientId:options.userPoolClient.userPoolClientId,userPoolDomain:options.userPoolDomain.domainName,authenticationRequestExtraParams:options.authenticationRequestExtraParams,onUnauthenticatedRequest:options.onUnauthenticatedRequest,scope:options.scope,sessionCookieName:options.sessionCookieName,sessionTimeout:options.sessionTimeout?.toSeconds().toString()}},options.next);try{jsiiDeprecationWarnings.aws_cdk_lib_aws_elasticloadbalancingv2_actions_AuthenticateCognitoActionProps(options)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,AuthenticateCognitoAction),error}}}exports.AuthenticateCognitoAction=AuthenticateCognitoAction,_a=JSII_RTTI_SYMBOL_1,AuthenticateCognitoAction[_a]={fqn:"aws-cdk-lib.aws_elasticloadbalancingv2_actions.AuthenticateCognitoAction",version:"2.46.0"};
//# sourceMappingURL=cognito-action.js.map
