Class TrafficMirrorFilterRuleState


  • public final class TrafficMirrorFilterRuleState
    extends com.pulumi.resources.ResourceArgs
    • Method Detail

      • arn

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> arn()
        Returns:
        ARN of the traffic mirror filter rule.
      • description

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> description()
        Returns:
        Description of the traffic mirror filter rule.
      • destinationCidrBlock

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> destinationCidrBlock()
        Returns:
        Destination CIDR block to assign to the Traffic Mirror rule.
      • destinationPortRange

        public java.util.Optional<com.pulumi.core.Output<TrafficMirrorFilterRuleDestinationPortRangeArgs>> destinationPortRange()
        Returns:
        Destination port range. Supported only when the protocol is set to TCP(6) or UDP(17). See Traffic mirror port range documented below
      • protocol

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> protocol()
        Returns:
        Protocol number, for example 17 (UDP), to assign to the Traffic Mirror rule. For information about the protocol value, see [Protocol Numbers](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml) on the Internet Assigned Numbers Authority (IANA) website.
      • region

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> region()
        Returns:
        Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
      • ruleAction

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> ruleAction()
        Returns:
        Action to take (accept | reject) on the filtered traffic. Valid values are `accept` and `reject`
      • ruleNumber

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> ruleNumber()
        Returns:
        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.
      • sourceCidrBlock

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> sourceCidrBlock()
        Returns:
        Source CIDR block to assign to the Traffic Mirror rule.
      • sourcePortRange

        public java.util.Optional<com.pulumi.core.Output<TrafficMirrorFilterRuleSourcePortRangeArgs>> sourcePortRange()
        Returns:
        Source port range. Supported only when the protocol is set to TCP(6) or UDP(17). See Traffic mirror port range documented below
      • trafficDirection

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> trafficDirection()
        Returns:
        Direction of traffic to be captured. Valid values are `ingress` and `egress` Traffic mirror port range support following attributes:
      • trafficMirrorFilterId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> trafficMirrorFilterId()
        Returns:
        ID of the traffic mirror filter to which this rule should be added