Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ModifyTrafficMirrorFilterNetworkServicesCommand

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.

example

Use a bare-bones client and the command you need to make an API call.

import { EC2Client, ModifyTrafficMirrorFilterNetworkServicesCommand } from "@aws-sdk/client-ec2"; // ES Modules import
// const { EC2Client, ModifyTrafficMirrorFilterNetworkServicesCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
const client = new EC2Client(config);
const command = new ModifyTrafficMirrorFilterNetworkServicesCommand(input);
const response = await client.send(command);
see

ModifyTrafficMirrorFilterNetworkServicesCommandInput for command's input shape.

see

ModifyTrafficMirrorFilterNetworkServicesCommandOutput for command's response shape.

see

config for EC2Client's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: ModifyTrafficMirrorFilterNetworkServicesCommandInput

Readonly middlewareStack

Methods

Static getEndpointParameterInstructions

  • Returns EndpointParameterInstructions