PrefixListProps
- class aws_cdk.aws_ec2.PrefixListProps(*, max_entries=None, address_family=None, entries=None, prefix_list_name=None)
Bases:
PrefixListOptions
Properties for creating a prefix list.
- Parameters:
max_entries (
Union
[int
,float
,None
]) – The maximum number of entries for the prefix list. Default: Automatically-calculatedaddress_family (
Optional
[AddressFamily
]) – The address family of the prefix list. Default: AddressFamily.IP_V4entries (
Optional
[Sequence
[Union
[EntryProperty
,Dict
[str
,Any
]]]]) – The list of entries for the prefix list. Default: []prefix_list_name (
Optional
[str
]) – The name of the prefix list. Default: None
- ExampleMetadata:
infused
Example:
ec2.PrefixList(self, "EmptyPrefixList", max_entries=100 )
Attributes
- address_family
The address family of the prefix list.
- Default:
AddressFamily.IP_V4
- entries
The list of entries for the prefix list.
- Default:
[]
- max_entries
The maximum number of entries for the prefix list.
- Default:
Automatically-calculated
- prefix_list_name
The name of the prefix list.
- Default:
None
- Remarks:
It is not recommended to use an explicit name.