:doc:`Lightsail <../../lightsail>` / Client / get_load_balancer_tls_policies

******************************
get_load_balancer_tls_policies
******************************



.. py:method:: Lightsail.Client.get_load_balancer_tls_policies(**kwargs)

  

  Returns a list of TLS security policies that you can apply to Lightsail load balancers.

   

  For more information about load balancer TLS security policies, see `Configuring TLS security policies on your Amazon Lightsail load balancers <https://docs.aws.amazon.com/lightsail/latest/userguide/amazon-lightsail-configure-load-balancer-tls-security-policy>`__ in the *Amazon Lightsail Developer Guide*.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetLoadBalancerTlsPolicies>`_  


  **Request Syntax**
  ::

    response = client.get_load_balancer_tls_policies(
        pageToken='string'
    )
    
  :type pageToken: string
  :param pageToken: 

    The token to advance to the next page of results from your request.

     

    To get a page token, perform an initial ``GetLoadBalancerTlsPolicies`` request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.

    

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

    
    ::

      {
          'tlsPolicies': [
              {
                  'name': 'string',
                  'isDefault': True|False,
                  'description': 'string',
                  'protocols': [
                      'string',
                  ],
                  'ciphers': [
                      'string',
                  ]
              },
          ],
          'nextPageToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **tlsPolicies** *(list) --* 

        An array of objects that describe the TLS security policies that are available.

        
        

        - *(dict) --* 

          Describes the TLS security policies that are available for Lightsail load balancers.

           

          For more information about load balancer TLS security policies, see `Configuring TLS security policies on your Amazon Lightsail load balancers <https://docs.aws.amazon.com/lightsail/latest/userguide/amazon-lightsail-configure-load-balancer-tls-security-policy>`__ in the *Amazon Lightsail Developer Guide*.

          
          

          - **name** *(string) --* 

            The name of the TLS security policy.

            
          

          - **isDefault** *(boolean) --* 

            A Boolean value that indicates whether the TLS security policy is the default.

            
          

          - **description** *(string) --* 

            The description of the TLS security policy.

            
          

          - **protocols** *(list) --* 

            The protocols used in a given TLS security policy.

            
            

            - *(string) --* 
        
          

          - **ciphers** *(list) --* 

            The ciphers used by the TLS security policy.

             

            The ciphers are listed in order of preference.

            
            

            - *(string) --* 
        
      
    
      

      - **nextPageToken** *(string) --* 

        The token to advance to the next page of results from your request.

         

        A next page token is not returned if there are no more results to display.

         

        To get the next page of results, perform another ``GetLoadBalancerTlsPolicies`` request and specify the next page token using the ``pageToken`` parameter.

        
  
  **Exceptions**
  
  *   :py:class:`Lightsail.Client.exceptions.ServiceException`

  
  *   :py:class:`Lightsail.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`Lightsail.Client.exceptions.AccountSetupInProgressException`

  
  *   :py:class:`Lightsail.Client.exceptions.RegionSetupInProgressException`

  
  *   :py:class:`Lightsail.Client.exceptions.UnauthenticatedException`

  
  *   :py:class:`Lightsail.Client.exceptions.InvalidInputException`

  