AclCidr

class aws_cdk.aws_ec2.AclCidr

Bases: object

Either an IPv4 or an IPv6 CIDR.

stability :stability: experimental

__init__()

Initialize self. See help(type(self)) for accurate signature.

Return type

None

Methods

to_cidr_config()

stability :stability: experimental

Return type

AclCidrConfig

Static Methods

classmethod any_ipv4()

The CIDR containing all IPv4 addresses (i.e., 0.0.0.0/0).

stability :stability: experimental

Return type

AclCidr

classmethod any_ipv6()

The CIDR containing all IPv6 addresses (i.e., ::/0).

stability :stability: experimental

Return type

AclCidr

classmethod ipv4(ipv4_cidr)

An IP network range in CIDR notation (for example, 172.16.0.0/24).

Parameters

ipv4_cidr (str) –

stability :stability: experimental

Return type

AclCidr

classmethod ipv6(ipv6_cidr)

An IPv6 network range in CIDR notation (for example, 2001:db8::/48).

Parameters

ipv6_cidr (str) –

stability :stability: experimental

Return type

AclCidr