def __init__(__self__, *, cidr_ranges: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]=None, direction: Optional[pulumi.Input['PacketMirroringFilterDirection']]=None, ip_protocols: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]=None):
    "\n        :param pulumi.Input[Sequence[pulumi.Input[str]]] cidr_ranges: IP CIDR ranges that apply as filter on the source (ingress) or destination (egress) IP in the IP header. Only IPv4 is supported. If no ranges are specified, all traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all traffic is mirrored.\n        :param pulumi.Input['PacketMirroringFilterDirection'] direction: Direction of traffic to mirror, either INGRESS, EGRESS, or BOTH. The default is BOTH.\n        :param pulumi.Input[Sequence[pulumi.Input[str]]] ip_protocols: Protocols that apply as filter on mirrored traffic. If no protocols are specified, all traffic that matches the specified CIDR ranges is mirrored. If neither cidrRanges nor IPProtocols is specified, all traffic is mirrored.\n        "
    if (cidr_ranges is not None):
        pulumi.set(__self__, 'cidr_ranges', cidr_ranges)
    if (direction is not None):
        pulumi.set(__self__, 'direction', direction)
    if (ip_protocols is not None):
        pulumi.set(__self__, 'ip_protocols', ip_protocols)
:param pulumi.Input[Sequence[pulumi.Input[str]]] cidr_ranges: IP CIDR ranges that apply as filter on the source (ingress) or destination (egress) IP in the IP header. Only IPv4 is supported. If no ranges are specified, all traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all traffic is mirrored.
:param pulumi.Input['PacketMirroringFilterDirection'] direction: Direction of traffic to mirror, either INGRESS, EGRESS, or BOTH. The default is BOTH.
:param pulumi.Input[Sequence[pulumi.Input[str]]] ip_protocols: Protocols that apply as filter on mirrored traffic. If no protocols are specified, all traffic that matches the specified CIDR ranges is mirrored. If neither cidrRanges nor IPProtocols is specified, all traffic is mirrored.
def __init__(__self__, *, cidr_ranges: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]=None, direction: Optional[pulumi.Input['PacketMirroringFilterDirection']]=None, ip_protocols: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]=None):
    "\n        :param pulumi.Input[Sequence[pulumi.Input[str]]] cidr_ranges: IP CIDR ranges that apply as filter on the source (ingress) or destination (egress) IP in the IP header. Only IPv4 is supported. If no ranges are specified, all traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all traffic is mirrored.\n        :param pulumi.Input['PacketMirroringFilterDirection'] direction: Direction of traffic to mirror, either INGRESS, EGRESS, or BOTH. The default is BOTH.\n        :param pulumi.Input[Sequence[pulumi.Input[str]]] ip_protocols: Protocols that apply as filter on mirrored traffic. If no protocols are specified, all traffic that matches the specified CIDR ranges is mirrored. If neither cidrRanges nor IPProtocols is specified, all traffic is mirrored.\n        "
    if (cidr_ranges is not None):
        pulumi.set(__self__, 'cidr_ranges', cidr_ranges)
    if (direction is not None):
        pulumi.set(__self__, 'direction', direction)
    if (ip_protocols is not None):
        pulumi.set(__self__, 'ip_protocols', ip_protocols)