Skip to content

Delete Traffic Mirror Target

ec2_delete_traffic_mirror_target R Documentation

Deletes the specified Traffic Mirror target

Description

Deletes the specified Traffic Mirror target.

You cannot delete a Traffic Mirror target that is in use by a Traffic Mirror session.

Usage

ec2_delete_traffic_mirror_target(TrafficMirrorTargetId, DryRun)

Arguments

TrafficMirrorTargetId

[required] The ID of the Traffic Mirror target.

DryRun

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Value

A list with the following syntax:

list(
  TrafficMirrorTargetId = "string"
)

Request syntax

svc$delete_traffic_mirror_target(
  TrafficMirrorTargetId = "string",
  DryRun = TRUE|FALSE
)