TrafficMirrorFilterRuleState class
Input properties used for looking up and filtering TrafficMirrorFilterRule resources.
Constructors
-
TrafficMirrorFilterRuleState({Input<
String?> ? arn, Input<String?> ? description, Input<String?> ? destinationCidrBlock, Input<TrafficMirrorFilterRuleDestinationPortRange?> ? destinationPortRange, Input<int?> ? protocol, Input<String?> ? region, Input<String?> ? ruleAction, Input<int?> ? ruleNumber, Input<String?> ? sourceCidrBlock, Input<TrafficMirrorFilterRuleSourcePortRange?> ? sourcePortRange, Input<String?> ? trafficDirection, Input<String?> ? trafficMirrorFilterId}) -
Creates a new TrafficMirrorFilterRuleState.
arnARN of the traffic mirror filter rule.descriptionDescription of the traffic mirror filter rule.destinationCidrBlockDestination CIDR block to assign to the Traffic Mirror rule.destinationPortRangeDestination port range. Supported only when the protocol is set to TCP(6) or UDP(17). See Traffic mirror port range documented belowprotocolProtocol number, for example 17 (UDP), to assign to the Traffic Mirror rule. For information about the protocol value, see Protocol Numbers on the Internet Assigned Numbers Authority (IANA) website.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.ruleActionAction to take (accept | reject) on the filtered traffic. Valid values areacceptandrejectruleNumberNumber of the Traffic Mirror rule. This number must be unique for each Traffic Mirror rule in a given direction. The rules are processed in ascending order by rule number.sourceCidrBlockSource CIDR block to assign to the Traffic Mirror rule.sourcePortRangeSource port range. Supported only when the protocol is set to TCP(6) or UDP(17). See Traffic mirror port range documented belowtrafficDirectionDirection of traffic to be captured. Valid values areingressandegresstrafficMirrorFilterIdID of the traffic mirror filter to which this rule should be addedconst -
TrafficMirrorFilterRuleState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
arn
→ Input<
String?> ? -
ARN of the traffic mirror filter rule.
final
-
description
→ Input<
String?> ? -
Description of the traffic mirror filter rule.
final
-
destinationCidrBlock
→ Input<
String?> ? -
Destination CIDR block to assign to the Traffic Mirror rule.
final
-
destinationPortRange
→ Input<
TrafficMirrorFilterRuleDestinationPortRange?> ? -
Destination port range. Supported only when the protocol is set to TCP(6) or UDP(17). See Traffic mirror port range documented below
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
protocol
→ Input<
int?> ? -
Protocol number, for example 17 (UDP), to assign to the Traffic Mirror rule. For information about the protocol value, see Protocol Numbers on the Internet Assigned Numbers Authority (IANA) website.
final
-
region
→ Input<
String?> ? -
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
-
ruleAction
→ Input<
String?> ? -
Action to take (accept | reject) on the filtered traffic. Valid values are
acceptandrejectfinal -
ruleNumber
→ Input<
int?> ? -
Number of the Traffic Mirror rule. This number must be unique for each Traffic Mirror rule in a given direction. The rules are processed in ascending order by rule number.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
sourceCidrBlock
→ Input<
String?> ? -
Source CIDR block to assign to the Traffic Mirror rule.
final
-
sourcePortRange
→ Input<
TrafficMirrorFilterRuleSourcePortRange?> ? -
Source port range. Supported only when the protocol is set to TCP(6) or UDP(17). See Traffic mirror port range documented below
final
-
trafficDirection
→ Input<
String?> ? -
Direction of traffic to be captured. Valid values are
ingressandegressfinal -
trafficMirrorFilterId
→ Input<
String?> ? -
ID of the traffic mirror filter to which this rule should be added
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited