Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RegisterTransitGatewayMulticastGroupSourcesCommand

Registers sources (network interfaces) with the specified transit gateway multicast group.

A multicast source is a network interface attached to a supported instance that sends multicast traffic. For information about supported instances, see Multicast Considerations in Amazon VPC Transit Gateways.

After you add the source, use SearchTransitGatewayMulticastGroups to verify that the source was added to the multicast group.

example

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

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

RegisterTransitGatewayMulticastGroupSourcesCommandInput for command's input shape.

see

RegisterTransitGatewayMulticastGroupSourcesCommandOutput for command's response shape.

see

config for EC2Client's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: RegisterTransitGatewayMulticastGroupSourcesCommandInput

Readonly middlewareStack

Methods

Static getEndpointParameterInstructions

  • Returns EndpointParameterInstructions