@Stability(value=Stable)
public static interface CfnReceiptFilter.IpFilterProperty
extends software.amazon.jsii.JsiiSerializable
For information about setting up IP address filters, see the Amazon SES Developer Guide .
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.*;
IpFilterProperty ipFilterProperty = IpFilterProperty.builder()
.cidr("cidr")
.policy("policy")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnReceiptFilter.IpFilterProperty.Builder
A builder for
CfnReceiptFilter.IpFilterProperty |
static class |
CfnReceiptFilter.IpFilterProperty.Jsii$Proxy
An implementation for
CfnReceiptFilter.IpFilterProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnReceiptFilter.IpFilterProperty.Builder |
builder() |
String |
getCidr()
A single IP address or a range of IP addresses to block or allow, specified in Classless Inter-Domain Routing (CIDR) notation.
|
String |
getPolicy()
Indicates whether to block or allow incoming mail from the specified IP addresses.
|
@Stability(value=Stable) @NotNull String getCidr()
An example of a single email address is 10.0.0.1. An example of a range of IP addresses is 10.0.0.1/24. For more information about CIDR notation, see RFC 2317 .
@Stability(value=Stable) @NotNull String getPolicy()
@Stability(value=Stable) static CfnReceiptFilter.IpFilterProperty.Builder builder()
Copyright © 2022. All rights reserved.