Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Attaches a Transport Layer Security (TLS) certificate to your load balancer. TLS is just an updated, more secure version of Secure Socket Layer (SSL).
Once you create and validate your certificate, you can attach it to your load balancer. You can also use this API to rotate the certificates on your account. Use the AttachLoadBalancerTlsCertificate
operation with the non-attached certificate, and it will replace the existing one and become the attached certificate.
Synopsis
- attachLoadBalancerTLSCertificate :: Text -> Text -> AttachLoadBalancerTLSCertificate
- data AttachLoadBalancerTLSCertificate
- albtcLoadBalancerName :: Lens' AttachLoadBalancerTLSCertificate Text
- albtcCertificateName :: Lens' AttachLoadBalancerTLSCertificate Text
- attachLoadBalancerTLSCertificateResponse :: Int -> AttachLoadBalancerTLSCertificateResponse
- data AttachLoadBalancerTLSCertificateResponse
- albtcrsOperations :: Lens' AttachLoadBalancerTLSCertificateResponse [Operation]
- albtcrsResponseStatus :: Lens' AttachLoadBalancerTLSCertificateResponse Int
Creating a Request
attachLoadBalancerTLSCertificate Source #
Creates a value of AttachLoadBalancerTLSCertificate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
albtcLoadBalancerName
- The name of the load balancer to which you want to associate the SSL/TLS certificate.albtcCertificateName
- The name of your SSL/TLS certificate.
data AttachLoadBalancerTLSCertificate Source #
See: attachLoadBalancerTLSCertificate
smart constructor.
Instances
Request Lenses
albtcLoadBalancerName :: Lens' AttachLoadBalancerTLSCertificate Text Source #
The name of the load balancer to which you want to associate the SSL/TLS certificate.
albtcCertificateName :: Lens' AttachLoadBalancerTLSCertificate Text Source #
The name of your SSL/TLS certificate.
Destructuring the Response
attachLoadBalancerTLSCertificateResponse Source #
Creates a value of AttachLoadBalancerTLSCertificateResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
albtcrsOperations
- An object representing the API operations. These SSL/TLS certificates are only usable by Lightsail load balancers. You can't get the certificate and use it for another purpose.albtcrsResponseStatus
- -- | The response status code.
data AttachLoadBalancerTLSCertificateResponse Source #
See: attachLoadBalancerTLSCertificateResponse
smart constructor.
Instances
Response Lenses
albtcrsOperations :: Lens' AttachLoadBalancerTLSCertificateResponse [Operation] Source #
An object representing the API operations. These SSL/TLS certificates are only usable by Lightsail load balancers. You can't get the certificate and use it for another purpose.
albtcrsResponseStatus :: Lens' AttachLoadBalancerTLSCertificateResponse Int Source #
- - | The response status code.