Skip to content
v2.275.0

CloudWatchDimension Struct ​

A CloudWatch dimension upon which to categorize your emails.

Example ​

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 cloudWatchDimension: ses.CloudWatchDimension = {
  defaultValue: 'defaultValue',
  name: 'name',
  source: ses.CloudWatchDimensionSource.EMAIL_HEADER,
};

Properties ​

defaultValuestringdefault_valuestrdefaultValueStringDefaultValuestringDefaultValue*stringrequired#
The default value of the dimension that is published to Amazon CloudWatch if you do not provide the value of the dimension when you send an email.
namestringnamestrnameStringNamestringName*stringrequired#
The name of an Amazon CloudWatch dimension associated with an email sending metric.
The place where Amazon SES finds the value of a dimension to publish to Amazon CloudWatch.