"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){var _b;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:(_b=options.sessionTimeout)===null||_b===void 0?void 0:_b.toSeconds().toString()}},options.next);jsiiDeprecationWarnings.aws_cdk_lib_aws_elasticloadbalancingv2_actions_AuthenticateCognitoActionProps(options)}}exports.AuthenticateCognitoAction=AuthenticateCognitoAction,_a=JSII_RTTI_SYMBOL_1,AuthenticateCognitoAction[_a]={fqn:"aws-cdk-lib.aws_elasticloadbalancingv2_actions.AuthenticateCognitoAction",version:"2.13.0"};
//# sourceMappingURL=cognito-action.js.map
