Skip to content
GitHubXDiscord

VdmAttributes

The VdmAttributes resource allows you to manage the AWS SES VdmAttributes, which are essential for configuring the Virtual Deliverability Manager (VDM) settings for your Amazon SES sending domains.

Create a basic VdmAttributes resource with required properties and some common optional settings.

import AWS from "alchemy/aws/control";
const vdmAttributes = await AWS.SES.VdmAttributes("myVdmAttributes", {
DashboardAttributes: {
DashboardId: "myDashboardId",
LastUpdated: new Date().toISOString()
},
GuardianAttributes: {
GuardianId: "myGuardianId",
IsEnabled: true
},
adopt: false // Default is false: Do not adopt existing resource
});

Configure VdmAttributes with additional settings for enhanced deliverability management.

const advancedVdmAttributes = await AWS.SES.VdmAttributes("advancedVdmAttributes", {
DashboardAttributes: {
DashboardId: "advancedDashboardId",
LastUpdated: new Date().toISOString(),
NotificationEmail: "notifications@mydomain.com"
},
GuardianAttributes: {
GuardianId: "advancedGuardianId",
IsEnabled: true,
AlertThreshold: 10
},
adopt: true // Adopt existing resource if it exists
});

Set up VdmAttributes specifically focusing on Guardian attributes for monitoring.

const guardianVdmAttributes = await AWS.SES.VdmAttributes("guardianVdmAttributes", {
GuardianAttributes: {
GuardianId: "guardianMonitorId",
IsEnabled: true,
AlertThreshold: 5,
NotificationEmail: "guardian-alerts@mydomain.com"
}
});

Create VdmAttributes emphasizing the dashboard settings for monitoring email deliverability.

const dashboardVdmAttributes = await AWS.SES.VdmAttributes("dashboardVdmAttributes", {
DashboardAttributes: {
DashboardId: "dashboardMonitorId",
LastUpdated: new Date().toISOString(),
NotificationEmail: "dashboard-notifications@mydomain.com",
InsightsEnabled: true
}
});