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

**********************************************
enable_transit_gateway_route_table_propagation
**********************************************



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

  

  Enables the specified attachment to propagate routes to the specified propagation route table.

  

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


  **Request Syntax**
  ::

    response = client.enable_transit_gateway_route_table_propagation(
        TransitGatewayRouteTableId='string',
        TransitGatewayAttachmentId='string',
        DryRun=True|False,
        TransitGatewayRouteTableAnnouncementId='string'
    )
    
  :type TransitGatewayRouteTableId: string
  :param TransitGatewayRouteTableId: **[REQUIRED]** 

    The ID of the propagation route table.

    

  
  :type TransitGatewayAttachmentId: string
  :param TransitGatewayAttachmentId: 

    The ID of the attachment.

    

  
  :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``.

    

  
  :type TransitGatewayRouteTableAnnouncementId: string
  :param TransitGatewayRouteTableAnnouncementId: 

    The ID of the transit gateway route table announcement.

    

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

    
    ::

      {
          'Propagation': {
              'TransitGatewayAttachmentId': 'string',
              'ResourceId': 'string',
              'ResourceType': 'vpc'|'vpn'|'vpn-concentrator'|'direct-connect-gateway'|'connect'|'peering'|'tgw-peering'|'network-function',
              'TransitGatewayRouteTableId': 'string',
              'State': 'enabling'|'enabled'|'disabling'|'disabled',
              'TransitGatewayRouteTableAnnouncementId': 'string'
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **Propagation** *(dict) --* 

        Information about route propagation.

        
        

        - **TransitGatewayAttachmentId** *(string) --* 

          The ID of the attachment.

          
        

        - **ResourceId** *(string) --* 

          The ID of the resource.

          
        

        - **ResourceType** *(string) --* 

          The resource type. Note that the ``tgw-peering`` resource type has been deprecated.

          
        

        - **TransitGatewayRouteTableId** *(string) --* 

          The ID of the transit gateway route table.

          
        

        - **State** *(string) --* 

          The state.

          
        

        - **TransitGatewayRouteTableAnnouncementId** *(string) --* 

          The ID of the transit gateway route table announcement.

          
    
  