"use strict";var _a;Object.defineProperty(exports,"__esModule",{value:!0}),exports.VdmAttributes=void 0;const jsiiDeprecationWarnings=require("../../.warnings.jsii.js"),JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti"),ses_generated_1=require("./ses.generated"),core_1=require("../../core");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.96.1"};function booleanToEnabledDisabled(value){return value===!0?"ENABLED":"DISABLED"}
