CmdID

CmdID / aws / aws ec2

aws ec2 describe-traffic-mirror-targets

Information about one or more Traffic Mirror targets. AWS CLI reference

1 example 5 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To describe a traffic mirror target

The following describe-traffic-mirror-targets example displays information about the specified traffic mirror target.

aws ec2 describe-traffic-mirror-targets --traffic-mirror-target-ids tmt-0dabe9b0a6EXAMPLEIdentify
--traffic-mirror-target-idsThe ID of the Traffic Mirror targets.
Its output
{
    "TrafficMirrorTargets": [
        {
            "TrafficMirrorTargetId": "tmt-0dabe9b0a6EXAMPLE",
            "NetworkLoadBalancerArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/net/NLB/7cdec873fEXAMPLE",
            "Type": "network-load-balancer",
            "Description": "Example Network Load Balancer target",
            "OwnerId": "123456789012",
            "Tags": []
        }
    ]
}

For more information, see View traffic mirror targets and modify target tags in the Amazon VPC Traffic Mirroring Guide.

Options

5 in the AWS CLI reference
--dry-runChecks whether you have the required permissions for the action, without actually making the request, and provides an error response.
--filtersOne or more filters.
--max-resultsThe maximum number of results to return with a single call.
--next-tokenThe token for the next page of results.
--traffic-mirror-target-idsThe ID of the Traffic Mirror targets.