"use strict";var _a;Object.defineProperty(exports,"__esModule",{value:!0}),exports.VdmAttributes=void 0;var jsiiDeprecationWarnings=()=>{var tmp=require("../../.warnings.jsii.js");return jsiiDeprecationWarnings=()=>tmp,tmp};const JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti");var ses_generated_1=()=>{var tmp=require("./ses.generated");return ses_generated_1=()=>tmp,tmp},core_1=()=>{var tmp=require("../../core");return core_1=()=>tmp,tmp};class VdmAttributes extends core_1().Resource{static fromVdmAttributesName(scope,id,vdmAttributesName){class Import extends core_1().Resource{constructor(){super(...arguments),this.vdmAttributesName=vdmAttributesName}}return new Import(scope,id)}constructor(scope,id,props={}){super(scope,id);try{jsiiDeprecationWarnings().aws_cdk_lib_aws_ses_VdmAttributesProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,VdmAttributes),error}const resource=new(ses_generated_1()).CfnVdmAttributes(this,"Resource",{dashboardAttributes:{engagementMetrics:booleanToEnabledDisabled(props.engagementMetrics??!0)},guardianAttributes:{optimizedSharedDelivery:booleanToEnabledDisabled(props.optimizedSharedDelivery??!0)}});this.vdmAttributesName=resource.ref,this.vdmAttributesResourceId=resource.attrVdmAttributesResourceId}}exports.VdmAttributes=VdmAttributes,_a=JSII_RTTI_SYMBOL_1,VdmAttributes[_a]={fqn:"aws-cdk-lib.aws_ses.VdmAttributes",version:"2.159.0"};function booleanToEnabledDisabled(value){return value===!0?"ENABLED":"DISABLED"}
