@Stability(value=Stable) public static final class EmailForwardingRuleProps.Builder extends Object implements software.amazon.jsii.Builder<EmailForwardingRuleProps>
EmailForwardingRuleProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public EmailForwardingRuleProps.Builder domainName(String domainName)
EmailForwardingRuleProps.getDomainName()domainName - The domain name of the email addresses, e.g. 'example.org'. It is used to connect the `fromPrefix` and `receivePrefix` properties with a proper domain. This parameter is required.this@Stability(value=Stable) public EmailForwardingRuleProps.Builder emailMapping(List<? extends EmailMapping> emailMapping)
EmailForwardingRuleProps.getEmailMapping()emailMapping - An email mapping similar to what the NPM library `aws-lambda-ses-forwarder` expects. This parameter is required.this@Stability(value=Stable) public EmailForwardingRuleProps.Builder fromPrefix(String fromPrefix)
EmailForwardingRuleProps.getFromPrefix()fromPrefix - A prefix that is used as the sender address of the forwarded mail, e.g. `noreply`. This parameter is required.this@Stability(value=Stable) public EmailForwardingRuleProps.Builder id(String id)
EmailForwardingRuleProps.getId()id - An id for the rule. This parameter is required.
This will mainly be used to provide a name to the underlying rule but may also be used as a prefix for other resources.this@Stability(value=Stable) public EmailForwardingRuleProps.Builder ruleSet(software.amazon.awscdk.services.ses.IReceiptRuleSet ruleSet)
EmailForwardingRuleProps.getRuleSet()ruleSet - The rule set this rule belongs to. This parameter is required.this@Stability(value=Stable) public EmailForwardingRuleProps.Builder bucket(software.amazon.awscdk.services.s3.Bucket bucket)
EmailForwardingRuleProps.getBucket()bucket - A bucket to store the email files to.
If no bucket is provided, a new one will be created using a managed KMS key to encrypt the bucket.this@Stability(value=Stable) public EmailForwardingRuleProps.Builder bucketPrefix(String bucketPrefix)
EmailForwardingRuleProps.getBucketPrefix()bucketPrefix - A prefix for the email files that are saved to the bucket.this@Stability(value=Stable) public EmailForwardingRuleProps.Builder enableLambdaLogging(Boolean enableLambdaLogging)
EmailForwardingRuleProps.getEnableLambdaLogging()enableLambdaLogging - Enable log messages in Lambda function which forwards emails.this@Stability(value=Stable) public EmailForwardingRuleProps build()
build in interface software.amazon.jsii.Builder<EmailForwardingRuleProps>EmailForwardingRulePropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.