aws-cdk-lib.aws_ses.CfnConfigurationSetEventDestination.DimensionConfigurationProperty

interface DimensionConfigurationProperty

LanguageType name
.NETAmazon.CDK.AWS.SES.CfnConfigurationSetEventDestination.DimensionConfigurationProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsses#CfnConfigurationSetEventDestination_DimensionConfigurationProperty
Javasoftware.amazon.awscdk.services.ses.CfnConfigurationSetEventDestination.DimensionConfigurationProperty
Pythonaws_cdk.aws_ses.CfnConfigurationSetEventDestination.DimensionConfigurationProperty
TypeScript aws-cdk-lib » aws_ses » CfnConfigurationSetEventDestination » DimensionConfigurationProperty

Contains the dimension configuration to use when you publish email sending events to Amazon CloudWatch.

For information about publishing email sending events to Amazon CloudWatch, see the Amazon SES Developer Guide .

Example

// 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 dimensionConfigurationProperty: ses.CfnConfigurationSetEventDestination.DimensionConfigurationProperty = {
  defaultDimensionValue: 'defaultDimensionValue',
  dimensionName: 'dimensionName',
  dimensionValueSource: 'dimensionValueSource',
};

Properties

NameTypeDescription
defaultDimensionValuestringThe 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.
dimensionNamestringThe name of an Amazon CloudWatch dimension associated with an email sending metric.
dimensionValueSourcestringThe place where Amazon SES finds the value of a dimension to publish to Amazon CloudWatch.

defaultDimensionValue

Type: string

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.

The default value must meet the following requirements:

  • Contain only ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), dashes (-), at signs (@), or periods (.).
  • Contain 256 characters or fewer.

dimensionName

Type: string

The name of an Amazon CloudWatch dimension associated with an email sending metric.

The name must meet the following requirements:

  • Contain only ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), dashes (-), or colons (:).
  • Contain 256 characters or fewer.

dimensionValueSource

Type: string

The place where Amazon SES finds the value of a dimension to publish to Amazon CloudWatch.

To use the message tags that you specify using an X-SES-MESSAGE-TAGS header or a parameter to the SendEmail / SendRawEmail API, specify messageTag . To use your own email headers, specify emailHeader . To put a custom tag on any link included in your email, specify linkTag .