Class CfnMailManagerRuleSet.ArchiveActionProperty
The action to archive the email by delivering the email to an Amazon SES archive.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.SES
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnMailManagerRuleSet.ArchiveActionProperty : CfnMailManagerRuleSet.IArchiveActionProperty
Syntax (vb)
Public Class CfnMailManagerRuleSet.ArchiveActionProperty Implements CfnMailManagerRuleSet.IArchiveActionProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.SES;
var archiveActionProperty = new ArchiveActionProperty {
TargetArchive = "targetArchive",
// the properties below are optional
ActionFailurePolicy = "actionFailurePolicy"
};
Synopsis
Constructors
ArchiveActionProperty() | The action to archive the email by delivering the email to an Amazon SES archive. |
Properties
ActionFailurePolicy | A policy that states what to do in the case of failure. |
TargetArchive | The identifier of the archive to send the email to. |
Constructors
ArchiveActionProperty()
The action to archive the email by delivering the email to an Amazon SES archive.
public ArchiveActionProperty()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.SES;
var archiveActionProperty = new ArchiveActionProperty {
TargetArchive = "targetArchive",
// the properties below are optional
ActionFailurePolicy = "actionFailurePolicy"
};
Properties
ActionFailurePolicy
A policy that states what to do in the case of failure.
public string? ActionFailurePolicy { get; set; }
Property Value
Remarks
The action will fail if there are configuration errors. For example, the specified archive has been deleted.
TargetArchive
The identifier of the archive to send the email to.
public string TargetArchive { get; set; }