Class TrafficMirrorSessionArgs


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

      • description

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> description()
        Returns:
        A description of the traffic mirror session.
      • networkInterfaceId

        public com.pulumi.core.Output<java.lang.String> networkInterfaceId()
        Returns:
        ID of the source network interface. Not all network interfaces are eligible as mirror sources. On EC2 instances only nitro based instances support mirroring.
      • packetLength

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> packetLength()
        Returns:
        The number of bytes in each packet to mirror. These are bytes after the VXLAN header. Do not specify this parameter when you want to mirror the entire packet. To mirror a subset of the packet, set this to the length (in bytes) that you want to mirror.
      • 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.
      • sessionNumber

        public com.pulumi.core.Output<java.lang.Integer> sessionNumber()
        Returns:
        The session number determines the order in which sessions are evaluated when an interface is used by multiple sessions. The first session with a matching filter is the one that mirrors the packets.
      • tags

        public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> tags()
        Returns:
        Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
      • trafficMirrorFilterId

        public com.pulumi.core.Output<java.lang.String> trafficMirrorFilterId()
        Returns:
        ID of the traffic mirror filter to be used
      • trafficMirrorTargetId

        public com.pulumi.core.Output<java.lang.String> trafficMirrorTargetId()
        Returns:
        ID of the traffic mirror target to be used
      • virtualNetworkId

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> virtualNetworkId()
        Returns:
        The VXLAN ID for the Traffic Mirror session. For more information about the VXLAN protocol, see RFC 7348. If you do not specify a VirtualNetworkId, an account-wide unique ID is chosen at random.