Class CfnReceiptFilter.IpFilterProperty
A receipt IP address filter enables you to specify whether to accept or reject mail originating from an IP address or range of IP addresses.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.SES
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnReceiptFilter.IpFilterProperty : CfnReceiptFilter.IIpFilterProperty
Syntax (vb)
Public Class CfnReceiptFilter.IpFilterProperty Implements CfnReceiptFilter.IIpFilterProperty
Remarks
For information about setting up IP address filters, see the Amazon SES Developer Guide .
ExampleMetadata: fixture=_generated
Examples
// 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 ipFilterProperty = new IpFilterProperty {
Cidr = "cidr",
Policy = "policy"
};
Synopsis
Constructors
IpFilterProperty() | A receipt IP address filter enables you to specify whether to accept or reject mail originating from an IP address or range of IP addresses. |
Properties
Cidr | A single IP address or a range of IP addresses to block or allow, specified in Classless Inter-Domain Routing (CIDR) notation. |
Policy | Indicates whether to block or allow incoming mail from the specified IP addresses. |
Constructors
IpFilterProperty()
A receipt IP address filter enables you to specify whether to accept or reject mail originating from an IP address or range of IP addresses.
public IpFilterProperty()
Remarks
For information about setting up IP address filters, see the Amazon SES Developer Guide .
ExampleMetadata: fixture=_generated
Examples
// 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 ipFilterProperty = new IpFilterProperty {
Cidr = "cidr",
Policy = "policy"
};
Properties
Cidr
A single IP address or a range of IP addresses to block or allow, specified in Classless Inter-Domain Routing (CIDR) notation.
public string Cidr { get; set; }
Property Value
Remarks
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 .
Policy
Indicates whether to block or allow incoming mail from the specified IP addresses.
public string Policy { get; set; }