# CloudWatchDestinationProperty

An object that defines an Amazon CloudWatch destination for email events.

You can use Amazon CloudWatch to monitor and gain insights on your email sending metrics.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ses as ses } from 'aws-cdk-lib';
const cloudWatchDestinationProperty: ses.CfnConfigurationSetEventDestination.CloudWatchDestinationProperty = {
  dimensionConfigurations: [{
    defaultDimensionValue: 'defaultDimensionValue',
    dimensionName: 'dimensionName',
    dimensionValueSource: 'dimensionValueSource',
  }],
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_ses as ses

cloud_watch_destination_property = ses.CfnConfigurationSetEventDestination.CloudWatchDestinationProperty(
    dimension_configurations=[ses.CfnConfigurationSetEventDestination.DimensionConfigurationProperty(
        default_dimension_value="defaultDimensionValue",
        dimension_name="dimensionName",
        dimension_value_source="dimensionValueSource"
    )]
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ses.*;

CloudWatchDestinationProperty cloudWatchDestinationProperty = CloudWatchDestinationProperty.builder()
        .dimensionConfigurations(List.of(DimensionConfigurationProperty.builder()
                .defaultDimensionValue("defaultDimensionValue")
                .dimensionName("dimensionName")
                .dimensionValueSource("dimensionValueSource")
                .build()))
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.SES;

var cloudWatchDestinationProperty = new CloudWatchDestinationProperty {
    DimensionConfigurations = new [] { new DimensionConfigurationProperty {
        DefaultDimensionValue = "defaultDimensionValue",
        DimensionName = "dimensionName",
        DimensionValueSource = "dimensionValueSource"
    } }
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

cloudWatchDestinationProperty := &CloudWatchDestinationProperty{
	DimensionConfigurations: []interface{}{
		&DimensionConfigurationProperty{
			DefaultDimensionValue: jsii.String("defaultDimensionValue"),
			DimensionName: jsii.String("dimensionName"),
			DimensionValueSource: jsii.String("dimensionValueSource"),
		},
	},
}
```

## Properties

- `dimensionConfigurations`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnConfigurationSetEventDestination.DimensionConfigurationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ses.CfnConfigurationSetEventDestination.DimensionConfigurationProperty.html)[] — An array of objects that define the dimensions to use when you send email events to Amazon CloudWatch.
