Modify Traffic Mirror Filter Network Services
| ec2_modify_traffic_mirror_filter_network_services | R Documentation |
Allows or restricts mirroring network services¶
Description¶
Allows or restricts mirroring network services.
By default, Amazon DNS network services are not eligible for Traffic
Mirror. Use AddNetworkServices to add network services to a Traffic
Mirror filter. When a network service is added to the Traffic Mirror
filter, all traffic related to that network service will be mirrored.
When you no longer want to mirror network services, use
RemoveNetworkServices to remove the network services from the Traffic
Mirror filter.
Usage¶
ec2_modify_traffic_mirror_filter_network_services(TrafficMirrorFilterId,
AddNetworkServices, RemoveNetworkServices, DryRun)
Arguments¶
TrafficMirrorFilterId |
[required] The ID of the Traffic Mirror filter. |
AddNetworkServices |
The network service, for example Amazon DNS, that you want to mirror. |
RemoveNetworkServices |
The network service, for example Amazon DNS, that you no longer want to mirror. |
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
|
Value¶
A list with the following syntax:
list(
TrafficMirrorFilter = list(
TrafficMirrorFilterId = "string",
IngressFilterRules = list(
list(
TrafficMirrorFilterRuleId = "string",
TrafficMirrorFilterId = "string",
TrafficDirection = "ingress"|"egress",
RuleNumber = 123,
RuleAction = "accept"|"reject",
Protocol = 123,
DestinationPortRange = list(
FromPort = 123,
ToPort = 123
),
SourcePortRange = list(
FromPort = 123,
ToPort = 123
),
DestinationCidrBlock = "string",
SourceCidrBlock = "string",
Description = "string",
Tags = list(
list(
Key = "string",
Value = "string"
)
)
)
),
EgressFilterRules = list(
list(
TrafficMirrorFilterRuleId = "string",
TrafficMirrorFilterId = "string",
TrafficDirection = "ingress"|"egress",
RuleNumber = 123,
RuleAction = "accept"|"reject",
Protocol = 123,
DestinationPortRange = list(
FromPort = 123,
ToPort = 123
),
SourcePortRange = list(
FromPort = 123,
ToPort = 123
),
DestinationCidrBlock = "string",
SourceCidrBlock = "string",
Description = "string",
Tags = list(
list(
Key = "string",
Value = "string"
)
)
)
),
NetworkServices = list(
"amazon-dns"
),
Description = "string",
Tags = list(
list(
Key = "string",
Value = "string"
)
)
)
)
Request syntax¶
svc$modify_traffic_mirror_filter_network_services(
TrafficMirrorFilterId = "string",
AddNetworkServices = list(
"amazon-dns"
),
RemoveNetworkServices = list(
"amazon-dns"
),
DryRun = TRUE|FALSE
)