@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-22T10:27:19.273Z") @Stability(value=Stable) public interface CfnReceiptRuleProps extends software.amazon.jsii.JsiiSerializable
Example:
// 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.*;
CfnReceiptRuleProps cfnReceiptRuleProps = CfnReceiptRuleProps.builder()
.rule(RuleProperty.builder()
.actions(List.of(ActionProperty.builder()
.addHeaderAction(AddHeaderActionProperty.builder()
.headerName("headerName")
.headerValue("headerValue")
.build())
.bounceAction(BounceActionProperty.builder()
.message("message")
.sender("sender")
.smtpReplyCode("smtpReplyCode")
// the properties below are optional
.statusCode("statusCode")
.topicArn("topicArn")
.build())
.lambdaAction(LambdaActionProperty.builder()
.functionArn("functionArn")
// the properties below are optional
.invocationType("invocationType")
.topicArn("topicArn")
.build())
.s3Action(S3ActionProperty.builder()
.bucketName("bucketName")
// the properties below are optional
.kmsKeyArn("kmsKeyArn")
.objectKeyPrefix("objectKeyPrefix")
.topicArn("topicArn")
.build())
.snsAction(SNSActionProperty.builder()
.encoding("encoding")
.topicArn("topicArn")
.build())
.stopAction(StopActionProperty.builder()
.scope("scope")
// the properties below are optional
.topicArn("topicArn")
.build())
.workmailAction(WorkmailActionProperty.builder()
.organizationArn("organizationArn")
// the properties below are optional
.topicArn("topicArn")
.build())
.build()))
.enabled(false)
.name("name")
.recipients(List.of("recipients"))
.scanEnabled(false)
.tlsPolicy("tlsPolicy")
.build())
.ruleSetName("ruleSetName")
// the properties below are optional
.after("after")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnReceiptRuleProps.Builder
A builder for
CfnReceiptRuleProps |
static class |
CfnReceiptRuleProps.Jsii$Proxy
An implementation for
CfnReceiptRuleProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnReceiptRuleProps.Builder |
builder() |
default String |
getAfter()
`AWS::SES::ReceiptRule.After`.
|
Object |
getRule()
`AWS::SES::ReceiptRule.Rule`.
|
String |
getRuleSetName()
`AWS::SES::ReceiptRule.RuleSetName`.
|
@Stability(value=Stable) @Nullable default String getAfter()
@Stability(value=Stable) @NotNull Object getRule()
@Stability(value=Stable) @NotNull String getRuleSetName()
@Stability(value=Stable) static CfnReceiptRuleProps.Builder builder()
CfnReceiptRuleProps.Builder of CfnReceiptRulePropsCopyright © 2021. All rights reserved.