# VdmOptions

Properties for the Virtual Deliverability Manager (VDM) options that apply to the configuration set.

- Source: [`aws-ses/lib/configuration-set.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/aws-cdk-lib/aws-ses/lib/configuration-set.ts#L145)
- Type last changed: v2.147.0 · 20 Jun 2024

## Example

TypeScript:

```ts
new ses.ConfigurationSet(this, 'ConfigurationSetWithVdmOptions', {
  vdmOptions: {
    engagementMetrics: true,
    optimizedSharedDelivery: true,
  },
});
```

Python:

```python
ses.ConfigurationSet(self, "ConfigurationSetWithVdmOptions",
    vdm_options=ses.VdmOptions(
        engagement_metrics=True,
        optimized_shared_delivery=True
    )
)
```

Java:

```java
ConfigurationSet.Builder.create(this, "ConfigurationSetWithVdmOptions")
        .vdmOptions(VdmOptions.builder()
                .engagementMetrics(true)
                .optimizedSharedDelivery(true)
                .build())
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
new ConfigurationSet(this, "ConfigurationSetWithVdmOptions", new ConfigurationSetProps {
    VdmOptions = new VdmOptions {
        EngagementMetrics = true,
        OptimizedSharedDelivery = true
    }
});
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
ses.NewConfigurationSet(this, jsii.String("ConfigurationSetWithVdmOptions"), &ConfigurationSetProps{
	VdmOptions: &VdmOptions{
		EngagementMetrics: jsii.Boolean(true),
		OptimizedSharedDelivery: jsii.Boolean(true),
	},
})
```

## Properties

- `engagementMetrics`: boolean — If true, engagement metrics are enabled for the configuration set.

  **Default:** Engagement metrics not configured at the configuration set level. In this case, use account level settings.

- `optimizedSharedDelivery`: boolean — If true, optimized shared delivery is enabled for the configuration set.

  **Default:** Optimized shared delivery not configured at the configuration set level. In this case, use account level settings.
