CloudWatchDimensionSource

class aws_cdk.aws_ses.CloudWatchDimensionSource(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)

Bases: Enum

Source for CloudWatch dimension.

Attributes

EMAIL_HEADER

Amazon SES retrieves the dimension name and value from a header in the email.

Note: You can’t use any of the following email headers as the Dimension Name: Received, To, From, DKIM-Signature, CC, message-id, or Return-Path.

Amazon SES retrieves the dimension name and value from a tag that you specified in a link.

See:

https://docs.aws.amazon.com/ses/latest/dg/faqs-metrics.html#sending-metric-faqs-clicks-q5

MESSAGE_TAG

Amazon SES retrieves the dimension name and value from a tag that you specify by using the X-SES-MESSAGE-TAGS header or the Tags API parameter.

You can also use the Message Tag value source to create dimensions based on Amazon SES auto-tags. To use an auto-tag, type the complete name of the auto-tag as the Dimension Name. For example, to create a dimension based on the configuration set auto-tag, use ses:configuration-set for the Dimension Name, and the name of the configuration set for the Default Value.

See:

https://docs.aws.amazon.com/ses/latest/dg/monitor-using-event-publishing.html#event-publishing-how-works