"use strict";var _a,_b;Object.defineProperty(exports,"__esModule",{value:!0}),exports.Bounce=exports.BounceTemplate=void 0;const jsiiDeprecationWarnings=require("../../.warnings.jsii.js"),JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti");class BounceTemplate{constructor(props){this.props=props,jsiiDeprecationWarnings.aws_cdk_lib_aws_ses_actions_BounceTemplateProps(props)}}exports.BounceTemplate=BounceTemplate,_a=JSII_RTTI_SYMBOL_1,BounceTemplate[_a]={fqn:"aws-cdk-lib.aws_ses_actions.BounceTemplate",version:"2.13.0"},BounceTemplate.MAILBOX_DOES_NOT_EXIST=new BounceTemplate({message:"Mailbox does not exist",smtpReplyCode:"550",statusCode:"5.1.1"}),BounceTemplate.MESSAGE_TOO_LARGE=new BounceTemplate({message:"Message too large",smtpReplyCode:"552",statusCode:"5.3.4"}),BounceTemplate.MAILBOX_FULL=new BounceTemplate({message:"Mailbox full",smtpReplyCode:"552",statusCode:"5.2.2"}),BounceTemplate.MESSAGE_CONTENT_REJECTED=new BounceTemplate({message:"Message content rejected",smtpReplyCode:"500",statusCode:"5.6.1"}),BounceTemplate.TEMPORARY_FAILURE=new BounceTemplate({message:"Temporary failure",smtpReplyCode:"450",statusCode:"4.0.0"});class Bounce{constructor(props){this.props=props,jsiiDeprecationWarnings.aws_cdk_lib_aws_ses_actions_BounceProps(props)}bind(_rule){var _c;return jsiiDeprecationWarnings.aws_cdk_lib_aws_ses_IReceiptRule(_rule),{bounceAction:{sender:this.props.sender,smtpReplyCode:this.props.template.props.smtpReplyCode,message:this.props.template.props.message,topicArn:(_c=this.props.topic)===null||_c===void 0?void 0:_c.topicArn,statusCode:this.props.template.props.statusCode}}}}exports.Bounce=Bounce,_b=JSII_RTTI_SYMBOL_1,Bounce[_b]={fqn:"aws-cdk-lib.aws_ses_actions.Bounce",version:"2.13.0"};
//# sourceMappingURL=bounce.js.map
