CfnPrefixListProps
- class aws_cdk.aws_ec2.CfnPrefixListProps(*, address_family, max_entries, prefix_list_name, entries=None, tags=None)
Bases:
objectProperties for defining a
CfnPrefixList.- Parameters:
address_family (
str) – The IP address type. Valid Values:IPv4|IPv6max_entries (
Union[int,float]) – The maximum number of entries for the prefix list.prefix_list_name (
str) – A name for the prefix list. Constraints: Up to 255 characters in length. The name cannot start withcom.amazonaws.entries (
Union[IResolvable,Sequence[Union[IResolvable,EntryProperty,Dict[str,Any]]],None]) – One or more entries for the prefix list.tags (
Optional[Sequence[Union[CfnTag,Dict[str,Any]]]]) – The tags for the prefix list.
- Link:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-prefixlist.html
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_ec2 as ec2 cfn_prefix_list_props = ec2.CfnPrefixListProps( address_family="addressFamily", max_entries=123, prefix_list_name="prefixListName", # the properties below are optional entries=[ec2.CfnPrefixList.EntryProperty( cidr="cidr", # the properties below are optional description="description" )], tags=[CfnTag( key="key", value="value" )] )
Attributes
- address_family
The IP address type.
Valid Values:
IPv4|IPv6
- entries
One or more entries for the prefix list.
- max_entries
The maximum number of entries for the prefix list.
- prefix_list_name
A name for the prefix list.
Constraints: Up to 255 characters in length. The name cannot start with
com.amazonaws.
- tags
The tags for the prefix list.