AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Describes a load balancer SSL/TLS certificate.

TLS is just an updated, more secure version of Secure Socket Layer (SSL).

Inheritance Hierarchy

System.Object
  Amazon.Lightsail.Model.LoadBalancerTlsCertificate

Namespace: Amazon.Lightsail.Model
Assembly: AWSSDK.Lightsail.dll
Version: 3.x.y.z

Syntax

C#
public class LoadBalancerTlsCertificate

The LoadBalancerTlsCertificate type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property Arn System.String

Gets and sets the property Arn.

The Amazon Resource Name (ARN) of the SSL/TLS certificate.

Public Property CreatedAt System.DateTime

Gets and sets the property CreatedAt.

The time when you created your SSL/TLS certificate.

Public Property DomainName System.String

Gets and sets the property DomainName.

The domain name for your SSL/TLS certificate.

Public Property DomainValidationRecords System.Collections.Generic.List<Amazon.Lightsail.Model.LoadBalancerTlsCertificateDomainValidationRecord>

Gets and sets the property DomainValidationRecords.

An array of LoadBalancerTlsCertificateDomainValidationRecord objects describing the records.

Public Property FailureReason Amazon.Lightsail.LoadBalancerTlsCertificateFailureReason

Gets and sets the property FailureReason.

The validation failure reason, if any, of the certificate.

The following failure reasons are possible:

  • NO_AVAILABLE_CONTACTS - This failure applies to email validation, which is not available for Lightsail certificates.

  • ADDITIONAL_VERIFICATION_REQUIRED - Lightsail requires additional information to process this certificate request. This can happen as a fraud-protection measure, such as when the domain ranks within the Alexa top 1000 websites. To provide the required information, use the AWS Support Center to contact AWS Support.

    You cannot request a certificate for Amazon-owned domain names such as those ending in amazonaws.com, cloudfront.net, or elasticbeanstalk.com.

  • DOMAIN_NOT_ALLOWED - One or more of the domain names in the certificate request was reported as an unsafe domain by VirusTotal. To correct the problem, search for your domain name on the VirusTotal website. If your domain is reported as suspicious, see Google Help for Hacked Websites to learn what you can do.

    If you believe that the result is a false positive, notify the organization that is reporting the domain. VirusTotal is an aggregate of several antivirus and URL scanners and cannot remove your domain from a block list itself. After you correct the problem and the VirusTotal registry has been updated, request a new certificate.

    If you see this error and your domain is not included in the VirusTotal list, visit the AWS Support Center and create a case.

  • INVALID_PUBLIC_DOMAIN - One or more of the domain names in the certificate request is not valid. Typically, this is because a domain name in the request is not a valid top-level domain. Try to request a certificate again, correcting any spelling errors or typos that were in the failed request, and ensure that all domain names in the request are for valid top-level domains. For example, you cannot request a certificate for example.invalidpublicdomain because invalidpublicdomain is not a valid top-level domain.

  • OTHER - Typically, this failure occurs when there is a typographical error in one or more of the domain names in the certificate request. Try to request a certificate again, correcting any spelling errors or typos that were in the failed request.

Public Property IsAttached System.Boolean

Gets and sets the property IsAttached.

When true, the SSL/TLS certificate is attached to the Lightsail load balancer.

Public Property IssuedAt System.DateTime

Gets and sets the property IssuedAt.

The time when the SSL/TLS certificate was issued.

Public Property Issuer System.String

Gets and sets the property Issuer.

The issuer of the certificate.

Public Property KeyAlgorithm System.String

Gets and sets the property KeyAlgorithm.

The algorithm used to generate the key pair (the public and private key).

Public Property LoadBalancerName System.String

Gets and sets the property LoadBalancerName.

The load balancer name where your SSL/TLS certificate is attached.

Public Property Location Amazon.Lightsail.Model.ResourceLocation

Gets and sets the property Location.

The Amazon Web Services Region and Availability Zone where you created your certificate.

Public Property Name System.String

Gets and sets the property Name.

The name of the SSL/TLS certificate (my-certificate).

Public Property NotAfter System.DateTime

Gets and sets the property NotAfter.

The timestamp when the SSL/TLS certificate expires.

Public Property NotBefore System.DateTime

Gets and sets the property NotBefore.

The timestamp when the SSL/TLS certificate is first valid.

Public Property RenewalSummary Amazon.Lightsail.Model.LoadBalancerTlsCertificateRenewalSummary

Gets and sets the property RenewalSummary.

An object that describes the status of the certificate renewal managed by Lightsail.

Public Property ResourceType Amazon.Lightsail.ResourceType

Gets and sets the property ResourceType.

The resource type (LoadBalancerTlsCertificate).

  • Instance - A Lightsail instance (a virtual private server)

  • StaticIp - A static IP address

  • KeyPair - The key pair used to connect to a Lightsail instance

  • InstanceSnapshot - A Lightsail instance snapshot

  • Domain - A DNS zone

  • PeeredVpc - A peered VPC

  • LoadBalancer - A Lightsail load balancer

  • LoadBalancerTlsCertificate - An SSL/TLS certificate associated with a Lightsail load balancer

  • Disk - A Lightsail block storage disk

  • DiskSnapshot - A block storage disk snapshot

Public Property RevocationReason Amazon.Lightsail.LoadBalancerTlsCertificateRevocationReason

Gets and sets the property RevocationReason.

The reason the certificate was revoked. This value is present only when the certificate status is REVOKED.

Public Property RevokedAt System.DateTime

Gets and sets the property RevokedAt.

The timestamp when the certificate was revoked. This value is present only when the certificate status is REVOKED.

Public Property Serial System.String

Gets and sets the property Serial.

The serial number of the certificate.

Public Property SignatureAlgorithm System.String

Gets and sets the property SignatureAlgorithm.

The algorithm that was used to sign the certificate.

Public Property Status Amazon.Lightsail.LoadBalancerTlsCertificateStatus

Gets and sets the property Status.

The validation status of the SSL/TLS certificate. Valid values are below.

Public Property Subject System.String

Gets and sets the property Subject.

The name of the entity that is associated with the public key contained in the certificate.

Public Property SubjectAlternativeNames System.Collections.Generic.List<System.String>

Gets and sets the property SubjectAlternativeNames.

An array of strings that specify the alternate domains (example2.com) and subdomains (blog.example.com) for the certificate.

Public Property SupportCode System.String

Gets and sets the property SupportCode.

The support code. Include this code in your email to support when you have questions about your Lightsail load balancer or SSL/TLS certificate. This code enables our support team to look up your Lightsail information more easily.

Public Property Tags System.Collections.Generic.List<Amazon.Lightsail.Model.Tag>

Gets and sets the property Tags.

The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5