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'
)
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.
{
'tlsPolicies': [
{
'name': 'string',
'isDefault': True|False,
'description': 'string',
'protocols': [
'string',
],
'ciphers': [
'string',
]
},
],
'nextPageToken': 'string'
}
Response Structure
An array of objects that describe the TLS security policies that are available.
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 .
The name of the TLS security policy.
A Boolean value that indicates whether the TLS security policy is the default.
The description of the TLS security policy.
The protocols used in a given TLS security policy.
The ciphers used by the TLS security policy.
The ciphers are listed in order of preference.
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
Lightsail.Client.exceptions.ServiceException
Lightsail.Client.exceptions.AccessDeniedException
Lightsail.Client.exceptions.AccountSetupInProgressException
Lightsail.Client.exceptions.UnauthenticatedException
Lightsail.Client.exceptions.InvalidInputException