# AllowListReceiptFilterProps

Construction properties for am AllowListReceiptFilter.

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

- Source: [`aws-ses/lib/receipt-filter.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/aws-cdk-lib/aws-ses/lib/receipt-filter.ts#L79)

## Example

TypeScript:

```ts
new ses.AllowListReceiptFilter(this, 'AllowList', {
  ips: [
    '10.0.0.0/16',
    '1.2.3.4/16',
  ],
});
```

Python:

```python
ses.AllowListReceiptFilter(self, "AllowList",
    ips=["10.0.0.0/16", "1.2.3.4/16"
    ]
)
```

Java:

```java
AllowListReceiptFilter.Builder.create(this, "AllowList")
        .ips(List.of("10.0.0.0/16", "1.2.3.4/16"))
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
new AllowListReceiptFilter(this, "AllowList", new AllowListReceiptFilterProps {
    Ips = new [] { "10.0.0.0/16", "1.2.3.4/16" }
});
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
ses.NewAllowListReceiptFilter(this, jsii.String("AllowList"), &AllowListReceiptFilterProps{
	Ips: []*string{
		jsii.String("10.0.0.0/16"),
		jsii.String("1.2.3.4/16"),
	},
})
```

## Properties

- `ips`: string[] (required) — A list of ip addresses or ranges to allow list.
