Copyright | (c) 2013-2021 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 |
Creates an SSL/TLS certificate for an Amazon Lightsail load balancer.
TLS is just an updated, more secure version of Secure Socket Layer (SSL).
The CreateLoadBalancerTlsCertificate
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
- data CreateLoadBalancerTlsCertificate = CreateLoadBalancerTlsCertificate' {}
- newCreateLoadBalancerTlsCertificate :: Text -> Text -> Text -> CreateLoadBalancerTlsCertificate
- createLoadBalancerTlsCertificate_certificateAlternativeNames :: Lens' CreateLoadBalancerTlsCertificate (Maybe [Text])
- createLoadBalancerTlsCertificate_tags :: Lens' CreateLoadBalancerTlsCertificate (Maybe [Tag])
- createLoadBalancerTlsCertificate_loadBalancerName :: Lens' CreateLoadBalancerTlsCertificate Text
- createLoadBalancerTlsCertificate_certificateName :: Lens' CreateLoadBalancerTlsCertificate Text
- createLoadBalancerTlsCertificate_certificateDomainName :: Lens' CreateLoadBalancerTlsCertificate Text
- data CreateLoadBalancerTlsCertificateResponse = CreateLoadBalancerTlsCertificateResponse' {
- operations :: Maybe [Operation]
- httpStatus :: Int
- newCreateLoadBalancerTlsCertificateResponse :: Int -> CreateLoadBalancerTlsCertificateResponse
- createLoadBalancerTlsCertificateResponse_operations :: Lens' CreateLoadBalancerTlsCertificateResponse (Maybe [Operation])
- createLoadBalancerTlsCertificateResponse_httpStatus :: Lens' CreateLoadBalancerTlsCertificateResponse Int
Creating a Request
data CreateLoadBalancerTlsCertificate Source #
See: newCreateLoadBalancerTlsCertificate
smart constructor.
CreateLoadBalancerTlsCertificate' | |
|
Instances
newCreateLoadBalancerTlsCertificate Source #
:: Text | |
-> Text | |
-> Text |
|
-> CreateLoadBalancerTlsCertificate |
Create a value of CreateLoadBalancerTlsCertificate
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:certificateAlternativeNames:CreateLoadBalancerTlsCertificate'
, createLoadBalancerTlsCertificate_certificateAlternativeNames
- An array of strings listing alternative domains and subdomains for your
SSL/TLS certificate. Lightsail will de-dupe the names for you. You can
have a maximum of 9 alternative names (in addition to the 1 primary
domain). We do not support wildcards (e.g., *.example.com
).
$sel:tags:CreateLoadBalancerTlsCertificate'
, createLoadBalancerTlsCertificate_tags
- The tag keys and optional values to add to the resource during create.
Use the TagResource
action to tag a resource after it's created.
$sel:loadBalancerName:CreateLoadBalancerTlsCertificate'
, createLoadBalancerTlsCertificate_loadBalancerName
- The load balancer name where you want to create the SSL/TLS
certificate.
$sel:certificateName:CreateLoadBalancerTlsCertificate'
, createLoadBalancerTlsCertificate_certificateName
- The SSL/TLS certificate name.
You can have up to 10 certificates in your account at one time. Each Lightsail load balancer can have up to 2 certificates associated with it at one time. There is also an overall limit to the number of certificates that can be issue in a 365-day period. For more information, see Limits.
$sel:certificateDomainName:CreateLoadBalancerTlsCertificate'
, createLoadBalancerTlsCertificate_certificateDomainName
- The domain name (e.g., example.com
) for your SSL/TLS certificate.
Request Lenses
createLoadBalancerTlsCertificate_certificateAlternativeNames :: Lens' CreateLoadBalancerTlsCertificate (Maybe [Text]) Source #
An array of strings listing alternative domains and subdomains for your
SSL/TLS certificate. Lightsail will de-dupe the names for you. You can
have a maximum of 9 alternative names (in addition to the 1 primary
domain). We do not support wildcards (e.g., *.example.com
).
createLoadBalancerTlsCertificate_tags :: Lens' CreateLoadBalancerTlsCertificate (Maybe [Tag]) Source #
The tag keys and optional values to add to the resource during create.
Use the TagResource
action to tag a resource after it's created.
createLoadBalancerTlsCertificate_loadBalancerName :: Lens' CreateLoadBalancerTlsCertificate Text Source #
The load balancer name where you want to create the SSL/TLS certificate.
createLoadBalancerTlsCertificate_certificateName :: Lens' CreateLoadBalancerTlsCertificate Text Source #
The SSL/TLS certificate name.
You can have up to 10 certificates in your account at one time. Each Lightsail load balancer can have up to 2 certificates associated with it at one time. There is also an overall limit to the number of certificates that can be issue in a 365-day period. For more information, see Limits.
createLoadBalancerTlsCertificate_certificateDomainName :: Lens' CreateLoadBalancerTlsCertificate Text Source #
The domain name (e.g., example.com
) for your SSL/TLS certificate.
Destructuring the Response
data CreateLoadBalancerTlsCertificateResponse Source #
See: newCreateLoadBalancerTlsCertificateResponse
smart constructor.
CreateLoadBalancerTlsCertificateResponse' | |
|
Instances
newCreateLoadBalancerTlsCertificateResponse Source #
Create a value of CreateLoadBalancerTlsCertificateResponse
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:CreateLoadBalancerTlsCertificateResponse'
, createLoadBalancerTlsCertificateResponse_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.
$sel:httpStatus:CreateLoadBalancerTlsCertificateResponse'
, createLoadBalancerTlsCertificateResponse_httpStatus
- The response's http status code.
Response Lenses
createLoadBalancerTlsCertificateResponse_operations :: Lens' CreateLoadBalancerTlsCertificateResponse (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.
createLoadBalancerTlsCertificateResponse_httpStatus :: Lens' CreateLoadBalancerTlsCertificateResponse Int Source #
The response's http status code.