"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.WorkMail=void 0;var jsiiDeprecationWarnings=()=>{var tmp=require("../../.warnings.jsii.js");return jsiiDeprecationWarnings=()=>tmp,tmp};const JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti");class WorkMail{props;static[JSII_RTTI_SYMBOL_1]={fqn:"aws-cdk-lib.aws_ses_actions.WorkMail",version:"2.256.1"};constructor(props){this.props=props;try{jsiiDeprecationWarnings().aws_cdk_lib_aws_ses_actions_WorkMailProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,WorkMail),error}}bind(_rule){try{jsiiDeprecationWarnings().aws_cdk_lib_interfaces_aws_ses_IReceiptRuleRef(_rule)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.bind),error}return{workmailAction:{organizationArn:this.props.organizationArn,topicArn:this.props.topic?.topicArn}}}}exports.WorkMail=WorkMail;
