aws-cdk-lib.aws_ses.CfnReceiptFilter.FilterProperty

interface FilterProperty

LanguageType name
.NETAmazon.CDK.AWS.SES.CfnReceiptFilter.FilterProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsses#CfnReceiptFilter_FilterProperty
Javasoftware.amazon.awscdk.services.ses.CfnReceiptFilter.FilterProperty
Pythonaws_cdk.aws_ses.CfnReceiptFilter.FilterProperty
TypeScript aws-cdk-lib » aws_ses » CfnReceiptFilter » FilterProperty

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 { aws_ses as ses } from 'aws-cdk-lib';
const filterProperty: ses.CfnReceiptFilter.FilterProperty = {
  ipFilter: {
    cidr: 'cidr',
    policy: 'policy',
  },

  // the properties below are optional
  name: 'name',
};

Properties

NameTypeDescription
ipFilterIResolvable | IpFilterPropertyA structure that provides the IP addresses to block or allow, and whether to block or allow incoming mail from them.
name?stringThe name of the IP address filter. The name must meet the following requirements:.

ipFilter

Type: IResolvable | IpFilterProperty

A structure that provides the IP addresses to block or allow, and whether to block or allow incoming mail from them.


name?

Type: string (optional)

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.