:doc:`EC2 <../../ec2>` / Client / register_transit_gateway_multicast_group_sources

************************************************
register_transit_gateway_multicast_group_sources
************************************************



.. py:method:: EC2.Client.register_transit_gateway_multicast_group_sources(**kwargs)

  

  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 more information about supported instances, see `Multicast on transit gateways <https://docs.aws.amazon.com/vpc/latest/tgw/tgw-multicast-overview.html>`__ in the *Amazon Web Services Transit Gateways Guide*.

   

  After you add the source, use `SearchTransitGatewayMulticastGroups <https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SearchTransitGatewayMulticastGroups.html>`__ to verify that the source was added to the multicast group.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RegisterTransitGatewayMulticastGroupSources>`_  


  **Request Syntax**
  ::

    response = client.register_transit_gateway_multicast_group_sources(
        TransitGatewayMulticastDomainId='string',
        GroupIpAddress='string',
        NetworkInterfaceIds=[
            'string',
        ],
        DryRun=True|False
    )
    
  :type TransitGatewayMulticastDomainId: string
  :param TransitGatewayMulticastDomainId: **[REQUIRED]** 

    The ID of the transit gateway multicast domain.

    

  
  :type GroupIpAddress: string
  :param GroupIpAddress: 

    The IP address assigned to the transit gateway multicast group.

    

  
  :type NetworkInterfaceIds: list
  :param NetworkInterfaceIds: **[REQUIRED]** 

    The group sources' network interface IDs to register with the transit gateway multicast group.

    

  
    - *(string) --* 

    

  :type DryRun: boolean
  :param 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``.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'RegisteredMulticastGroupSources': {
              'TransitGatewayMulticastDomainId': 'string',
              'RegisteredNetworkInterfaceIds': [
                  'string',
              ],
              'GroupIpAddress': 'string'
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **RegisteredMulticastGroupSources** *(dict) --* 

        Information about the transit gateway multicast group sources.

        
        

        - **TransitGatewayMulticastDomainId** *(string) --* 

          The ID of the transit gateway multicast domain.

          
        

        - **RegisteredNetworkInterfaceIds** *(list) --* 

          The IDs of the network interfaces members registered with the transit gateway multicast group.

          
          

          - *(string) --* 
      
        

        - **GroupIpAddress** *(string) --* 

          The IP address assigned to the transit gateway multicast group.

          
    
  