DescribeSSLPolicies - Elastic Load Balancing

DescribeSSLPolicies

Describes the specified policies or all policies used for SSL negotiation.

For more information, see Security policies in the Application Load Balancers Guide or Security policies in the Network Load Balancers Guide.

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

LoadBalancerType

The type of load balancer. The default lists the SSL policies for all load balancers.

Type: String

Valid Values: application | network | gateway

Required: No

Marker

The marker for the next set of results. (You received this marker from a previous call.)

Type: String

Required: No

Names.member.N

The names of the policies.

Type: Array of strings

Required: No

PageSize

The maximum number of results to return with this call.

Type: Integer

Valid Range: Minimum value of 1. Maximum value of 400.

Required: No

Response Elements

The following elements are returned by the service.

NextMarker

If there are additional results, this is the marker for the next set of results. Otherwise, this is null.

Type: String

SslPolicies.member.N

Information about the security policies.

Type: Array of SslPolicy objects

Errors

For information about the errors that are common to all actions, see Common Errors.

SSLPolicyNotFound

The specified SSL policy does not exist.

HTTP Status Code: 400

Examples

Describe the specified policy used for SSL negotiation

This example describes the specified policy used for SSL negotiation.

Sample Request

https://elasticloadbalancing.amazonaws.com/?Action=DescribeSSLPolicies &Names.member.1=ELBSecurityPolicy-2016-08 &Version=2015-12-01 &AUTHPARAMS

Sample Response

<DescribeSSLPoliciesResponse xmlns="http://elasticloadbalancing.amazonaws.com/doc/2015-12-01/"> <DescribeSSLPoliciesResult> <SslPolicies> <member> <Ciphers> <member> <Name>ECDHE-ECDSA-AES128-GCM-SHA256</Name> <Priority>1</Priority> </member> <member> <Name>ECDHE-RSA-AES128-GCM-SHA256</Name> <Priority>2</Priority> </member> <member> <Name>ECDHE-ECDSA-AES128-SHA256</Name> <Priority>3</Priority> </member> ... <member> <Name>AES256-SHA</Name> <Priority>19</Priority> </member> </Ciphers> <Name>ELBSecurityPolicy-2016-08</Name> <SslProtocols> <member>TLSv1</member> <member>TLSv1.1</member> <member>TLSv1.2</member> </SslProtocols> </member> </SslPolicies> </DescribeSSLPoliciesResult> <ResponseMetadata> <RequestId>a78c9aee-f2aa-11e5-8a24-ffe2bf8623ae</RequestId> </ResponseMetadata> </DescribeSSLPoliciesResponse>

Describe all policies used for SSL negotiation

This example describes all the policies that you can use for SSL negotiation.

Sample Request

https://elasticloadbalancing.amazonaws.com/?Action=DescribeSSLPolicies &Version=2015-12-01 &AUTHPARAMS

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: