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.

CreateLoadBalancerTlsCertificateInput

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

type CreateLoadBalancerTlsCertificateInput struct { CertificateAlternativeNames []*string `locationName:"certificateAlternativeNames" type:"list"` CertificateDomainName *string `locationName:"certificateDomainName" type:"string" required:"true"` CertificateName *string `locationName:"certificateName" type:"string" required:"true"` LoadBalancerName *string `locationName:"loadBalancerName" type:"string" required:"true"` Tags []*Tag `locationName:"tags" type:"list"` }

CertificateAlternativeNames

Type: []*string

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).

CertificateDomainName

Type: *string

The domain name (e.g., example.com) for your SSL/TLS certificate.

CertificateDomainName is a required field

CertificateName

Type: *string

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 (https://docs.aws.amazon.com/acm/latest/userguide/acm-limits.html).

CertificateName is a required field

LoadBalancerName

Type: *string

The load balancer name where you want to create the SSL/TLS certificate.

LoadBalancerName is a required field

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 CreateLoadBalancerTlsCertificateInput) GoString() string

GoString returns the string representation

SetCertificateAlternativeNames

func (s *CreateLoadBalancerTlsCertificateInput) SetCertificateAlternativeNames(v []*string) *CreateLoadBalancerTlsCertificateInput

SetCertificateAlternativeNames sets the CertificateAlternativeNames field's value.

SetCertificateDomainName

func (s *CreateLoadBalancerTlsCertificateInput) SetCertificateDomainName(v string) *CreateLoadBalancerTlsCertificateInput

SetCertificateDomainName sets the CertificateDomainName field's value.

SetCertificateName

func (s *CreateLoadBalancerTlsCertificateInput) SetCertificateName(v string) *CreateLoadBalancerTlsCertificateInput

SetCertificateName sets the CertificateName field's value.

SetLoadBalancerName

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

SetLoadBalancerName sets the LoadBalancerName field's value.

SetTags

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

SetTags sets the Tags field's value.

String

func (s CreateLoadBalancerTlsCertificateInput) String() string

String returns the string representation

Validate

func (s *CreateLoadBalancerTlsCertificateInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: