NatTrafficDirection

class aws_cdk.aws_ec2.NatTrafficDirection(value)

Bases: enum.Enum

Direction of traffic to allow all by default.

Attributes

INBOUND_AND_OUTBOUND

Allow all outbound and inbound traffic.

NONE

Disallow all outbound and inbound traffic.

OUTBOUND_ONLY

Allow all outbound traffic and disallow all inbound traffic.