CfnTrafficMirrorFilterRuleProps

class aws_cdk.aws_ec2.CfnTrafficMirrorFilterRuleProps(*, destination_cidr_block, rule_action, rule_number, source_cidr_block, traffic_direction, traffic_mirror_filter_id, description=None, destination_port_range=None, protocol=None, source_port_range=None)

Bases: object

__init__(*, destination_cidr_block, rule_action, rule_number, source_cidr_block, traffic_direction, traffic_mirror_filter_id, description=None, destination_port_range=None, protocol=None, source_port_range=None)

Properties for defining a AWS::EC2::TrafficMirrorFilterRule.

Parameters
  • destination_cidr_block (str) – AWS::EC2::TrafficMirrorFilterRule.DestinationCidrBlock.

  • rule_action (str) – AWS::EC2::TrafficMirrorFilterRule.RuleAction.

  • rule_number (Union[int, float]) – AWS::EC2::TrafficMirrorFilterRule.RuleNumber.

  • source_cidr_block (str) – AWS::EC2::TrafficMirrorFilterRule.SourceCidrBlock.

  • traffic_direction (str) – AWS::EC2::TrafficMirrorFilterRule.TrafficDirection.

  • traffic_mirror_filter_id (str) – AWS::EC2::TrafficMirrorFilterRule.TrafficMirrorFilterId.

  • description (Optional[str]) – AWS::EC2::TrafficMirrorFilterRule.Description.

  • destination_port_range (Union[IResolvable, None, TrafficMirrorPortRangeProperty]) – AWS::EC2::TrafficMirrorFilterRule.DestinationPortRange.

  • protocol (Union[int, float, None]) – AWS::EC2::TrafficMirrorFilterRule.Protocol.

  • source_port_range (Union[IResolvable, None, TrafficMirrorPortRangeProperty]) – AWS::EC2::TrafficMirrorFilterRule.SourcePortRange.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-trafficmirrorfilterrule.html

Attributes

description

AWS::EC2::TrafficMirrorFilterRule.Description.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-trafficmirrorfilterrule.html#cfn-ec2-trafficmirrorfilterrule-description

Return type

Optional[str]

destination_cidr_block

AWS::EC2::TrafficMirrorFilterRule.DestinationCidrBlock.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-trafficmirrorfilterrule.html#cfn-ec2-trafficmirrorfilterrule-destinationcidrblock

Return type

str

destination_port_range

AWS::EC2::TrafficMirrorFilterRule.DestinationPortRange.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-trafficmirrorfilterrule.html#cfn-ec2-trafficmirrorfilterrule-destinationportrange

Return type

Union[IResolvable, None, TrafficMirrorPortRangeProperty]

protocol

AWS::EC2::TrafficMirrorFilterRule.Protocol.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-trafficmirrorfilterrule.html#cfn-ec2-trafficmirrorfilterrule-protocol

Return type

Union[int, float, None]

rule_action

AWS::EC2::TrafficMirrorFilterRule.RuleAction.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-trafficmirrorfilterrule.html#cfn-ec2-trafficmirrorfilterrule-ruleaction

Return type

str

rule_number

AWS::EC2::TrafficMirrorFilterRule.RuleNumber.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-trafficmirrorfilterrule.html#cfn-ec2-trafficmirrorfilterrule-rulenumber

Return type

Union[int, float]

source_cidr_block

AWS::EC2::TrafficMirrorFilterRule.SourceCidrBlock.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-trafficmirrorfilterrule.html#cfn-ec2-trafficmirrorfilterrule-sourcecidrblock

Return type

str

source_port_range

AWS::EC2::TrafficMirrorFilterRule.SourcePortRange.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-trafficmirrorfilterrule.html#cfn-ec2-trafficmirrorfilterrule-sourceportrange

Return type

Union[IResolvable, None, TrafficMirrorPortRangeProperty]

traffic_direction

AWS::EC2::TrafficMirrorFilterRule.TrafficDirection.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-trafficmirrorfilterrule.html#cfn-ec2-trafficmirrorfilterrule-trafficdirection

Return type

str

traffic_mirror_filter_id

AWS::EC2::TrafficMirrorFilterRule.TrafficMirrorFilterId.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-trafficmirrorfilterrule.html#cfn-ec2-trafficmirrorfilterrule-trafficmirrorfilterid

Return type

str