libZSservicesZSamazonka-lightsailZSamazonka-lightsail
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Lightsail.AttachLoadBalancerTlsCertificate

Description

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 action with the non-attached certificate, and it will replace the existing one and become the attached certificate.

The AttachLoadBalancerTlsCertificate operation supports tag-based access control via resource tags applied to the resource identified by load balancer name. For more information, see the Amazon Lightsail Developer Guide.

Synopsis

Creating a Request

data AttachLoadBalancerTlsCertificate Source #

See: newAttachLoadBalancerTlsCertificate smart constructor.

Constructors

AttachLoadBalancerTlsCertificate' 

Fields

Instances

Instances details
Eq AttachLoadBalancerTlsCertificate Source # 
Instance details

Defined in Amazonka.Lightsail.AttachLoadBalancerTlsCertificate

Read AttachLoadBalancerTlsCertificate Source # 
Instance details

Defined in Amazonka.Lightsail.AttachLoadBalancerTlsCertificate

Show AttachLoadBalancerTlsCertificate Source # 
Instance details

Defined in Amazonka.Lightsail.AttachLoadBalancerTlsCertificate

Generic AttachLoadBalancerTlsCertificate Source # 
Instance details

Defined in Amazonka.Lightsail.AttachLoadBalancerTlsCertificate

Associated Types

type Rep AttachLoadBalancerTlsCertificate :: Type -> Type #

NFData AttachLoadBalancerTlsCertificate Source # 
Instance details

Defined in Amazonka.Lightsail.AttachLoadBalancerTlsCertificate

Hashable AttachLoadBalancerTlsCertificate Source # 
Instance details

Defined in Amazonka.Lightsail.AttachLoadBalancerTlsCertificate

ToJSON AttachLoadBalancerTlsCertificate Source # 
Instance details

Defined in Amazonka.Lightsail.AttachLoadBalancerTlsCertificate

AWSRequest AttachLoadBalancerTlsCertificate Source # 
Instance details

Defined in Amazonka.Lightsail.AttachLoadBalancerTlsCertificate

ToHeaders AttachLoadBalancerTlsCertificate Source # 
Instance details

Defined in Amazonka.Lightsail.AttachLoadBalancerTlsCertificate

ToPath AttachLoadBalancerTlsCertificate Source # 
Instance details

Defined in Amazonka.Lightsail.AttachLoadBalancerTlsCertificate

ToQuery AttachLoadBalancerTlsCertificate Source # 
Instance details

Defined in Amazonka.Lightsail.AttachLoadBalancerTlsCertificate

type Rep AttachLoadBalancerTlsCertificate Source # 
Instance details

Defined in Amazonka.Lightsail.AttachLoadBalancerTlsCertificate

type Rep AttachLoadBalancerTlsCertificate = D1 ('MetaData "AttachLoadBalancerTlsCertificate" "Amazonka.Lightsail.AttachLoadBalancerTlsCertificate" "libZSservicesZSamazonka-lightsailZSamazonka-lightsail" 'False) (C1 ('MetaCons "AttachLoadBalancerTlsCertificate'" 'PrefixI 'True) (S1 ('MetaSel ('Just "loadBalancerName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "certificateName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse AttachLoadBalancerTlsCertificate Source # 
Instance details

Defined in Amazonka.Lightsail.AttachLoadBalancerTlsCertificate

newAttachLoadBalancerTlsCertificate Source #

Create a value of AttachLoadBalancerTlsCertificate with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:loadBalancerName:AttachLoadBalancerTlsCertificate', attachLoadBalancerTlsCertificate_loadBalancerName - The name of the load balancer to which you want to associate the SSL/TLS certificate.

$sel:certificateName:AttachLoadBalancerTlsCertificate', attachLoadBalancerTlsCertificate_certificateName - The name of your SSL/TLS certificate.

Request Lenses

attachLoadBalancerTlsCertificate_loadBalancerName :: Lens' AttachLoadBalancerTlsCertificate Text Source #

The name of the load balancer to which you want to associate the SSL/TLS certificate.

Destructuring the Response

data AttachLoadBalancerTlsCertificateResponse Source #

Constructors

AttachLoadBalancerTlsCertificateResponse' 

Fields

  • operations :: Maybe [Operation]

    An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.

    These SSL/TLS certificates are only usable by Lightsail load balancers. You can't get the certificate and use it for another purpose.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq AttachLoadBalancerTlsCertificateResponse Source # 
Instance details

Defined in Amazonka.Lightsail.AttachLoadBalancerTlsCertificate

Read AttachLoadBalancerTlsCertificateResponse Source # 
Instance details

Defined in Amazonka.Lightsail.AttachLoadBalancerTlsCertificate

Show AttachLoadBalancerTlsCertificateResponse Source # 
Instance details

Defined in Amazonka.Lightsail.AttachLoadBalancerTlsCertificate

Generic AttachLoadBalancerTlsCertificateResponse Source # 
Instance details

Defined in Amazonka.Lightsail.AttachLoadBalancerTlsCertificate

NFData AttachLoadBalancerTlsCertificateResponse Source # 
Instance details

Defined in Amazonka.Lightsail.AttachLoadBalancerTlsCertificate

type Rep AttachLoadBalancerTlsCertificateResponse Source # 
Instance details

Defined in Amazonka.Lightsail.AttachLoadBalancerTlsCertificate

type Rep AttachLoadBalancerTlsCertificateResponse = D1 ('MetaData "AttachLoadBalancerTlsCertificateResponse" "Amazonka.Lightsail.AttachLoadBalancerTlsCertificate" "libZSservicesZSamazonka-lightsailZSamazonka-lightsail" 'False) (C1 ('MetaCons "AttachLoadBalancerTlsCertificateResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "operations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Operation])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newAttachLoadBalancerTlsCertificateResponse Source #

Create a value of AttachLoadBalancerTlsCertificateResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:operations:AttachLoadBalancerTlsCertificateResponse', attachLoadBalancerTlsCertificateResponse_operations - An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.

These SSL/TLS certificates are only usable by Lightsail load balancers. You can't get the certificate and use it for another purpose.

$sel:httpStatus:AttachLoadBalancerTlsCertificateResponse', attachLoadBalancerTlsCertificateResponse_httpStatus - The response's http status code.

Response Lenses

attachLoadBalancerTlsCertificateResponse_operations :: Lens' AttachLoadBalancerTlsCertificateResponse (Maybe [Operation]) Source #

An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.

These SSL/TLS certificates are only usable by Lightsail load balancers. You can't get the certificate and use it for another purpose.