AWS::EC2::PrefixListSpecifies a managed prefix list. You can add one or more entries to the prefix list. Each entry consists of a CIDR block and an optional description.
import { CfnPrefixList } from 'aws-cdk-lib/aws-ec2';Or use the module namespace:
import * as ec2 from 'aws-cdk-lib/aws-ec2';
// ec2.CfnPrefixListConfiguration passed to the constructor as CfnPrefixListProps.
addressFamilyRequiredstringThe IP address type. Valid Values: `IPv4` | `IPv6`
prefixListNameRequiredstringA name for the prefix list. Constraints: Up to 255 characters in length. The name cannot start with `com.amazonaws` .
entriesOptionalIResolvable | IResolvable | EntryProperty[]The entries for the prefix list.
maxEntriesOptionalnumberThe maximum number of entries for the prefix list. You can't modify the entries and the size of a prefix list at the same time. This property is required when you create a prefix list.
tagsOptionalCfnTag[]The tags for the prefix list.
This L1 construct maps directly to the following CloudFormation resource type.
Everything you need to know about Amazon EC2 on one page. HD quality, print-friendly.
Download Free Infographicaws-ec2AWS::EC2::PrefixList