class WorkMail
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.SES.Actions.WorkMail |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awssesactions#WorkMail |
![]() | software.amazon.awscdk.services.ses.actions.WorkMail |
![]() | aws_cdk.aws_ses_actions.WorkMail |
![]() | aws-cdk-lib » aws_ses_actions » WorkMail |
Implements
IReceipt
Integrates an Amazon WorkMail action into a receipt rule set, and optionally publishes a notification to Amazon SNS.
Beware that WorkMail should already set up an active INBOUND_MAIL
rule set
that includes a WorkMail rule action for this exact purpose.
This action should be used to customize the behavior of replacement rule set.
See also: https://docs.aws.amazon.com/ses/latest/dg/receiving-email-action-workmail.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ses_actions as ses_actions } from 'aws-cdk-lib';
import { aws_sns as sns } from 'aws-cdk-lib';
declare const topic: sns.Topic;
const workMail = new ses_actions.WorkMail({
organizationArn: 'organizationArn',
// the properties below are optional
topic: topic,
});
Initializer
new WorkMail(props: WorkMailProps)
Parameters
- props
Work
Mail Props
Methods
Name | Description |
---|---|
bind(_rule) | Returns the receipt rule action specification. |
bind(_rule)
public bind(_rule: IReceiptRule): ReceiptRuleActionConfig
Parameters
- _rule
IReceipt
Rule
Returns
Returns the receipt rule action specification.