CfnPrefixListMixinProps

class aws_cdk.mixins_preview.aws_ec2.mixins.CfnPrefixListMixinProps(*, address_family=None, entries=None, max_entries=None, prefix_list_name=None, tags=None)

Bases: object

Properties for CfnPrefixListPropsMixin.

Parameters:
  • address_family (Optional[str]) – The IP address type. Valid Values: IPv4 | IPv6

  • entries (Union[IResolvable, Sequence[Union[IResolvable, EntryProperty, Dict[str, Any]]], None]) – The entries for the prefix list.

  • max_entries (Union[int, float, None]) – The 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.

  • prefix_list_name (Optional[str]) – A name for the prefix list. Constraints: Up to 255 characters in length. The name cannot start with com.amazonaws .

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – The tags for the prefix list.

See:

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.
from aws_cdk.mixins_preview.aws_ec2 import mixins as ec2_mixins

cfn_prefix_list_mixin_props = ec2_mixins.CfnPrefixListMixinProps(
    address_family="addressFamily",
    entries=[ec2_mixins.CfnPrefixListPropsMixin.EntryProperty(
        cidr="cidr",
        description="description"
    )],
    max_entries=123,
    prefix_list_name="prefixListName",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

address_family

The IP address type.

Valid Values: IPv4 | IPv6

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-prefixlist.html#cfn-ec2-prefixlist-addressfamily

entries

The entries for the prefix list.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-prefixlist.html#cfn-ec2-prefixlist-entries

max_entries

The 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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-prefixlist.html#cfn-ec2-prefixlist-maxentries

prefix_list_name

A name for the prefix list.

Constraints: Up to 255 characters in length. The name cannot start with com.amazonaws .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-prefixlist.html#cfn-ec2-prefixlist-prefixlistname

tags

The tags for the prefix list.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-prefixlist.html#cfn-ec2-prefixlist-tags