interface PrefixListProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.EC2.PrefixListProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsec2#PrefixListProps |
Java | software.amazon.awscdk.services.ec2.PrefixListProps |
Python | aws_cdk.aws_ec2.PrefixListProps |
TypeScript (source) | aws-cdk-lib » aws_ec2 » PrefixListProps |
Properties for creating a prefix list.
Example
new ec2.PrefixList(this, 'EmptyPrefixList', {
maxEntries: 100,
});
Properties
Name | Type | Description |
---|---|---|
address | Address | The address family of the prefix list. |
entries? | Entry [] | The list of entries for the prefix list. |
max | number | The maximum number of entries for the prefix list. |
prefix | string | The name of the prefix list. |
addressFamily?
Type:
Address
(optional, default: AddressFamily.IP_V4)
The address family of the prefix list.
entries?
Type:
Entry
[]
(optional, default: [])
The list of entries for the prefix list.
maxEntries?
Type:
number
(optional, default: Automatically-calculated)
The maximum number of entries for the prefix list.
prefixListName?
Type:
string
(optional, default: None)
The name of the prefix list.