# PrefixListOptions

Options to add a prefix list.

- Source: [`aws-ec2/lib/prefix-list.ts`](https://github.com/aws/aws-cdk/blob/v2.274.0/packages/aws-cdk-lib/aws-ec2/lib/prefix-list.ts#L36)
- Type last changed: v2.78.0 · 4 May 2023

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as ec2 } from 'aws-cdk-lib';
const prefixListOptions: ec2.PrefixListOptions = {
  maxEntries: 123,
};
```

## Properties

- `maxEntries`: number = Automatically-calculated — The maximum number of entries for the prefix list.
