The action for a rule to take. Only one of the contained actions can be set.
Important
This data type is a UNION, so only one of the following members can be specified when used or returned.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{
"AddHeader" : AddHeaderAction
,
"Archive" : ArchiveAction
,
"DeliverToMailbox" : DeliverToMailboxAction
,
"DeliverToQBusiness" : DeliverToQBusinessAction
,
"Drop" : Json
,
"Relay" : RelayAction
,
"ReplaceRecipient" : ReplaceRecipientAction
,
"Send" : SendAction
,
"WriteToS3" : S3Action
}
YAML
AddHeader:
AddHeaderAction
Archive:
ArchiveAction
DeliverToMailbox:
DeliverToMailboxAction
DeliverToQBusiness:
DeliverToQBusinessAction
Drop: Json
Relay:
RelayAction
ReplaceRecipient:
ReplaceRecipientAction
Send:
SendAction
WriteToS3:
S3Action
Properties
AddHeader
-
This action adds a header. This can be used to add arbitrary email headers.
Required: No
Type: AddHeaderAction
Update requires: No interruption
Archive
-
This action archives the email. This can be used to deliver an email to an archive.
Required: No
Type: ArchiveAction
Update requires: No interruption
DeliverToMailbox
-
This action delivers an email to a WorkMail mailbox.
Required: No
Type: DeliverToMailboxAction
Update requires: No interruption
DeliverToQBusiness
-
This action delivers an email to an Amazon Q Business application for ingestion into its knowledge base.
Required: No
Type: DeliverToQBusinessAction
Update requires: No interruption
Drop
-
This action terminates the evaluation of rules in the rule set.
Required: No
Type: Json
Update requires: No interruption
Relay
-
This action relays the email to another SMTP server.
Required: No
Type: RelayAction
Update requires: No interruption
ReplaceRecipient
-
The action replaces certain or all recipients with a different set of recipients.
Required: No
Type: ReplaceRecipientAction
Update requires: No interruption
Send
-
This action sends the email to the internet.
Required: No
Type: SendAction
Update requires: No interruption
WriteToS3
-
This action writes the MIME content of the email to an S3 bucket.
Required: No
Type: S3Action
Update requires: No interruption