# CfnReceiptFilterProps

Properties for defining a `CfnReceiptFilter`.

Used as props by: [CfnReceiptFilter](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ses.CfnReceiptFilter.html)

- Source: Generated at build time

## Example

TypeScript:

```ts
// 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 cfnReceiptFilterProps: ses.CfnReceiptFilterProps = {
  filter: {
    ipFilter: {
      cidr: 'cidr',
      policy: 'policy',
    },

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

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_ses as ses

cfn_receipt_filter_props = ses.CfnReceiptFilterProps(
    filter=ses.CfnReceiptFilter.FilterProperty(
        ip_filter=ses.CfnReceiptFilter.IpFilterProperty(
            cidr="cidr",
            policy="policy"
        ),

        # the properties below are optional
        name="name"
    )
)
```

Java:

```java
// 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.*;

CfnReceiptFilterProps cfnReceiptFilterProps = CfnReceiptFilterProps.builder()
        .filter(FilterProperty.builder()
                .ipFilter(IpFilterProperty.builder()
                        .cidr("cidr")
                        .policy("policy")
                        .build())

                // the properties below are optional
                .name("name")
                .build())
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// 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 cfnReceiptFilterProps = new CfnReceiptFilterProps {
    Filter = new FilterProperty {
        IpFilter = new IpFilterProperty {
            Cidr = "cidr",
            Policy = "policy"
        },

        // the properties below are optional
        Name = "name"
    }
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

cfnReceiptFilterProps := &CfnReceiptFilterProps{
	Filter: &FilterProperty{
		IpFilter: &IpFilterProperty{
			Cidr: jsii.String("cidr"),
			Policy: jsii.String("policy"),
		},

		// the properties below are optional
		Name: jsii.String("name"),
	},
}
```

## Properties

- `filter`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnReceiptFilter.FilterProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ses.CfnReceiptFilter.FilterProperty.html) (required) — A data structure that describes the IP address filter to create, which consists of a name, an IP address range, and whether to allow or block mail from it.
