AclCidr

class aws_cdk.aws_ec2.AclCidr

Bases: object

(experimental) Either an IPv4 or an IPv6 CIDR.

Stability

experimental

Methods

abstract to_cidr_config()
Stability

experimental

Return type

AclCidrConfig

Static Methods

classmethod any_ipv4()

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

Stability

experimental

Return type

AclCidr

classmethod any_ipv6()

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

Stability

experimental

Return type

AclCidr

classmethod ipv4(ipv4_cidr)

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

Parameters

ipv4_cidr (str) –

Stability

experimental

Return type

AclCidr

classmethod ipv6(ipv6_cidr)

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

Parameters

ipv6_cidr (str) –

Stability

experimental

Return type

AclCidr