ReplaceRecipientActionProperty Struct
This action replaces the email envelope recipients with the given list of recipients.
If the condition of this action applies only to a subset of recipients, only those recipients are replaced with the recipients specified in the action. The message contents and headers are unaffected by this action, only the envelope recipients are updated.
| Source | |
|---|---|
| Type last changed |
Example
ts
// 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 replaceRecipientActionProperty: ses.CfnMailManagerRuleSet.ReplaceRecipientActionProperty = {
replaceWith: ['replaceWith'],
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_ses as ses
replace_recipient_action_property = ses.CfnMailManagerRuleSet.ReplaceRecipientActionProperty(
replace_with=["replaceWith"]
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ses.*;
ReplaceRecipientActionProperty replaceRecipientActionProperty = ReplaceRecipientActionProperty.builder()
.replaceWith(List.of("replaceWith"))
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// 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 replaceRecipientActionProperty = new ReplaceRecipientActionProperty {
ReplaceWith = new [] { "replaceWith" }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
replaceRecipientActionProperty := &ReplaceRecipientActionProperty{
ReplaceWith: []*string{
jsii.String("replaceWith"),
},
}
Properties
replaceWithoptionalstring[]replace_withoptionaltyping.List[str]replaceWithoptionalList<String>ReplaceWithoptionalstring[]ReplaceWithoptional*[]*string #This action specifies the replacement recipient email addresses to insert.