Peer

class aws_cdk.aws_ec2.Peer

Bases: object

Factories for static connection peer.

__init__()

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

Return type

None

Static Methods

classmethod any_ipv4()

Any IPv4 address.

Return type

IPeer

classmethod any_ipv6()

Any IPv6 address.

Return type

IPeer

classmethod ipv4(cidr_ip)

Create an IPv4 peer from a CIDR.

Parameters

cidr_ip (str) –

Return type

IPeer

classmethod ipv6(cidr_ip)

Create an IPv6 peer from a CIDR.

Parameters

cidr_ip (str) –

Return type

IPeer

classmethod prefix_list(prefix_list_id)

A prefix list.

Parameters

prefix_list_id (str) –

Return type

IPeer