Lightsail / Client / get_load_balancer_tls_policies

get_load_balancer_tls_policies#

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 in the Amazon Lightsail Developer Guide.

See also: AWS API Documentation

Request Syntax

response = client.get_load_balancer_tls_policies(
    pageToken='string'
)
Parameters:

pageToken (string) –

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.

Return type:

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 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