Interface CfnReceiptFilter.FilterProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnReceiptFilter.FilterProperty.Jsii$Proxy
Enclosing class:
CfnReceiptFilter

@Stability(Stable) public static interface CfnReceiptFilter.FilterProperty extends software.amazon.jsii.JsiiSerializable
Specifies an IP address filter.

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.*;
 FilterProperty filterProperty = FilterProperty.builder()
         .ipFilter(IpFilterProperty.builder()
                 .cidr("cidr")
                 .policy("policy")
                 .build())
         // the properties below are optional
         .name("name")
         .build();
 
  • Method Details

    • getIpFilter

      @Stability(Stable) @NotNull Object getIpFilter()
      A structure that provides the IP addresses to block or allow, and whether to block or allow incoming mail from them.
    • getName

      @Stability(Stable) @Nullable default String getName()
      The name of the IP address filter. The name must meet the following requirements:.

      • Contain only ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
      • Start and end with a letter or number.
      • Contain 64 characters or fewer.
    • builder

      @Stability(Stable) static CfnReceiptFilter.FilterProperty.Builder builder()
      Returns:
      a CfnReceiptFilter.FilterProperty.Builder of CfnReceiptFilter.FilterProperty