AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

LoadBalancerTlsCertificate

import "github.com/aws/aws-sdk-go/service/lightsail"

type LoadBalancerTlsCertificate struct { Arn *string `locationName:"arn" type:"string"` CreatedAt *time.Time `locationName:"createdAt" type:"timestamp"` DomainName *string `locationName:"domainName" type:"string"` DomainValidationRecords []*LoadBalancerTlsCertificateDomainValidationRecord `locationName:"domainValidationRecords" type:"list"` FailureReason *string `locationName:"failureReason" type:"string" enum:"LoadBalancerTlsCertificateFailureReason"` IsAttached *bool `locationName:"isAttached" type:"boolean"` IssuedAt *time.Time `locationName:"issuedAt" type:"timestamp"` Issuer *string `locationName:"issuer" type:"string"` KeyAlgorithm *string `locationName:"keyAlgorithm" type:"string"` LoadBalancerName *string `locationName:"loadBalancerName" type:"string"` Location *ResourceLocation `locationName:"location" type:"structure"` Name *string `locationName:"name" type:"string"` NotAfter *time.Time `locationName:"notAfter" type:"timestamp"` NotBefore *time.Time `locationName:"notBefore" type:"timestamp"` RenewalSummary *LoadBalancerTlsCertificateRenewalSummary `locationName:"renewalSummary" type:"structure"` ResourceType *string `locationName:"resourceType" type:"string" enum:"ResourceType"` RevocationReason *string `locationName:"revocationReason" type:"string" enum:"LoadBalancerTlsCertificateRevocationReason"` RevokedAt *time.Time `locationName:"revokedAt" type:"timestamp"` Serial *string `locationName:"serial" type:"string"` SignatureAlgorithm *string `locationName:"signatureAlgorithm" type:"string"` Status *string `locationName:"status" type:"string" enum:"LoadBalancerTlsCertificateStatus"` Subject *string `locationName:"subject" type:"string"` SubjectAlternativeNames []*string `locationName:"subjectAlternativeNames" type:"list"` SupportCode *string `locationName:"supportCode" type:"string"` Tags []*Tag `locationName:"tags" type:"list"` }

Describes a load balancer SSL/TLS certificate.

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

Arn

Type: *string

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

CreatedAt

Type: *time.Time

The time when you created your SSL/TLS certificate.

DomainName

Type: *string

The domain name for your SSL/TLS certificate.

DomainValidationRecords

Describes the validation record of each domain name in the SSL/TLS certificate.

FailureReason

Type: *string

The reason for the SSL/TLS certificate validation failure.

IsAttached

Type: *bool

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

IssuedAt

Type: *time.Time

The time when the SSL/TLS certificate was issued.

Issuer

Type: *string

The issuer of the certificate.

KeyAlgorithm

Type: *string

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

LoadBalancerName

Type: *string

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

Location

Describes the resource location.

Name

Type: *string

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

NotAfter

Type: *time.Time

The timestamp when the SSL/TLS certificate expires.

NotBefore

Type: *time.Time

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

RenewalSummary

Contains information about the status of Lightsail's managed renewal for the certificate.

ResourceType

Type: *string

The resource type (e.g., 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

RevocationReason

Type: *string

The reason the certificate was revoked. Valid values are below.

RevokedAt

Type: *time.Time

The timestamp when the SSL/TLS certificate was revoked.

Serial

Type: *string

The serial number of the certificate.

SignatureAlgorithm

Type: *string

The algorithm that was used to sign the certificate.

Status

Type: *string

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

Subject

Type: *string

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

SubjectAlternativeNames

Type: []*string

One or more domains or subdomains included in the certificate. This list contains the domain names that are bound to the public key that is contained in the certificate. The subject alternative names include the canonical domain name (CNAME) of the certificate and additional domain names that can be used to connect to the website, such as example.com, www.example.com, or m.example.com.

SupportCode

Type: *string

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.

Tags

Describes a tag key and optional value assigned to an Amazon Lightsail resource.

For more information about tags in Lightsail, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-tags).

Method

GoString

func (s LoadBalancerTlsCertificate) GoString() string

GoString returns the string representation

SetArn

func (s *LoadBalancerTlsCertificate) SetArn(v string) *LoadBalancerTlsCertificate

SetArn sets the Arn field's value.

SetCreatedAt

func (s *LoadBalancerTlsCertificate) SetCreatedAt(v time.Time) *LoadBalancerTlsCertificate

SetCreatedAt sets the CreatedAt field's value.

SetDomainName

func (s *LoadBalancerTlsCertificate) SetDomainName(v string) *LoadBalancerTlsCertificate

SetDomainName sets the DomainName field's value.

SetDomainValidationRecords

func (s *LoadBalancerTlsCertificate) SetDomainValidationRecords(v []*LoadBalancerTlsCertificateDomainValidationRecord) *LoadBalancerTlsCertificate

SetDomainValidationRecords sets the DomainValidationRecords field's value.

SetFailureReason

func (s *LoadBalancerTlsCertificate) SetFailureReason(v string) *LoadBalancerTlsCertificate

SetFailureReason sets the FailureReason field's value.

SetIsAttached

func (s *LoadBalancerTlsCertificate) SetIsAttached(v bool) *LoadBalancerTlsCertificate

SetIsAttached sets the IsAttached field's value.

SetIssuedAt

func (s *LoadBalancerTlsCertificate) SetIssuedAt(v time.Time) *LoadBalancerTlsCertificate

SetIssuedAt sets the IssuedAt field's value.

SetIssuer

func (s *LoadBalancerTlsCertificate) SetIssuer(v string) *LoadBalancerTlsCertificate

SetIssuer sets the Issuer field's value.

SetKeyAlgorithm

func (s *LoadBalancerTlsCertificate) SetKeyAlgorithm(v string) *LoadBalancerTlsCertificate

SetKeyAlgorithm sets the KeyAlgorithm field's value.

SetLoadBalancerName

func (s *LoadBalancerTlsCertificate) SetLoadBalancerName(v string) *LoadBalancerTlsCertificate

SetLoadBalancerName sets the LoadBalancerName field's value.

SetLocation

func (s *LoadBalancerTlsCertificate) SetLocation(v *ResourceLocation) *LoadBalancerTlsCertificate

SetLocation sets the Location field's value.

SetName

func (s *LoadBalancerTlsCertificate) SetName(v string) *LoadBalancerTlsCertificate

SetName sets the Name field's value.

SetNotAfter

func (s *LoadBalancerTlsCertificate) SetNotAfter(v time.Time) *LoadBalancerTlsCertificate

SetNotAfter sets the NotAfter field's value.

SetNotBefore

func (s *LoadBalancerTlsCertificate) SetNotBefore(v time.Time) *LoadBalancerTlsCertificate

SetNotBefore sets the NotBefore field's value.

SetRenewalSummary

func (s *LoadBalancerTlsCertificate) SetRenewalSummary(v *LoadBalancerTlsCertificateRenewalSummary) *LoadBalancerTlsCertificate

SetRenewalSummary sets the RenewalSummary field's value.

SetResourceType

func (s *LoadBalancerTlsCertificate) SetResourceType(v string) *LoadBalancerTlsCertificate

SetResourceType sets the ResourceType field's value.

SetRevocationReason

func (s *LoadBalancerTlsCertificate) SetRevocationReason(v string) *LoadBalancerTlsCertificate

SetRevocationReason sets the RevocationReason field's value.

SetRevokedAt

func (s *LoadBalancerTlsCertificate) SetRevokedAt(v time.Time) *LoadBalancerTlsCertificate

SetRevokedAt sets the RevokedAt field's value.

SetSerial

func (s *LoadBalancerTlsCertificate) SetSerial(v string) *LoadBalancerTlsCertificate

SetSerial sets the Serial field's value.

SetSignatureAlgorithm

func (s *LoadBalancerTlsCertificate) SetSignatureAlgorithm(v string) *LoadBalancerTlsCertificate

SetSignatureAlgorithm sets the SignatureAlgorithm field's value.

SetStatus

func (s *LoadBalancerTlsCertificate) SetStatus(v string) *LoadBalancerTlsCertificate

SetStatus sets the Status field's value.

SetSubject

func (s *LoadBalancerTlsCertificate) SetSubject(v string) *LoadBalancerTlsCertificate

SetSubject sets the Subject field's value.

SetSubjectAlternativeNames

func (s *LoadBalancerTlsCertificate) SetSubjectAlternativeNames(v []*string) *LoadBalancerTlsCertificate

SetSubjectAlternativeNames sets the SubjectAlternativeNames field's value.

SetSupportCode

func (s *LoadBalancerTlsCertificate) SetSupportCode(v string) *LoadBalancerTlsCertificate

SetSupportCode sets the SupportCode field's value.

SetTags

func (s *LoadBalancerTlsCertificate) SetTags(v []*Tag) *LoadBalancerTlsCertificate

SetTags sets the Tags field's value.

String

func (s LoadBalancerTlsCertificate) String() string

String returns the string representation

On this page: