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.

CertificateDetail

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

type CertificateDetail struct { CertificateArn *string `min:"20" type:"string"` CertificateAuthorityArn *string `min:"20" type:"string"` CreatedAt *time.Time `type:"timestamp"` DomainName *string `min:"1" type:"string"` DomainValidationOptions []*DomainValidation `min:"1" type:"list"` ExtendedKeyUsages []*ExtendedKeyUsage `type:"list"` FailureReason *string `type:"string" enum:"FailureReason"` ImportedAt *time.Time `type:"timestamp"` InUseBy []*string `type:"list"` IssuedAt *time.Time `type:"timestamp"` Issuer *string `type:"string"` KeyAlgorithm *string `type:"string" enum:"KeyAlgorithm"` KeyUsages []*KeyUsage `type:"list"` NotAfter *time.Time `type:"timestamp"` NotBefore *time.Time `type:"timestamp"` Options *CertificateOptions `type:"structure"` RenewalEligibility *string `type:"string" enum:"RenewalEligibility"` RenewalSummary *RenewalSummary `type:"structure"` RevocationReason *string `type:"string" enum:"RevocationReason"` RevokedAt *time.Time `type:"timestamp"` Serial *string `type:"string"` SignatureAlgorithm *string `type:"string"` Status *string `type:"string" enum:"CertificateStatus"` Subject *string `type:"string"` SubjectAlternativeNames []*string `min:"1" type:"list"` Type *string `type:"string" enum:"CertificateType"` }

Contains metadata about an ACM certificate. This structure is returned in the response to a DescribeCertificate request.

CertificateArn

Type: *string

The Amazon Resource Name (ARN) of the certificate. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) in the AWS General Reference.

CertificateAuthorityArn

Type: *string

The Amazon Resource Name (ARN) of the ACM PCA private certificate authority (CA) that issued the certificate. This has the following format:

arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012

CreatedAt

Type: *time.Time

The time at which the certificate was requested. This value exists only when the certificate type is AMAZON_ISSUED.

DomainName

Type: *string

The fully qualified domain name for the certificate, such as www.example.com or example.com.

DomainValidationOptions

Contains information about the validation of each domain name in the certificate.

ExtendedKeyUsages

The Extended Key Usage X.509 v3 extension defines one or more purposes for which the public key can be used. This is in addition to or in place of the basic purposes specified by the Key Usage extension.

FailureReason

Type: *string

The reason the certificate request failed. This value exists only when the certificate status is FAILED. For more information, see Certificate Request Failed (https://docs.aws.amazon.com/acm/latest/userguide/troubleshooting.html#troubleshooting-failed) in the AWS Certificate Manager User Guide.

ImportedAt

Type: *time.Time

The date and time at which the certificate was imported. This value exists only when the certificate type is IMPORTED.

InUseBy

Type: []*string

A list of ARNs for the AWS resources that are using the certificate. A certificate can be used by multiple AWS resources.

IssuedAt

Type: *time.Time

The time at which the certificate was issued. This value exists only when the certificate type is AMAZON_ISSUED.

Issuer

Type: *string

The name of the certificate authority that issued and signed the certificate.

KeyAlgorithm

Type: *string

The algorithm that was used to generate the public-private key pair.

KeyUsages

The Key Usage X.509 v3 extension defines the purpose of the public key contained in the certificate.

NotAfter

Type: *time.Time

The time after which the certificate is not valid.

NotBefore

Type: *time.Time

The time before which the certificate is not valid.

Options

Structure that contains options for your certificate. Currently, you can use this only to specify whether to opt in to or out of certificate transparency logging. Some browsers require that public certificates issued for your domain be recorded in a log. Certificates that are not logged typically generate a browser error. Transparency makes it possible for you to detect SSL/TLS certificates that have been mistakenly or maliciously issued for your domain. For general information, see Certificate Transparency Logging (https://docs.aws.amazon.com/acm/latest/userguide/acm-concepts.html#concept-transparency).

RenewalEligibility

Type: *string

Specifies whether the certificate is eligible for renewal.

RenewalSummary

Contains information about the status of ACM's managed renewal (https://docs.aws.amazon.com/acm/latest/userguide/acm-renewal.html) for the certificate. This structure exists only when the certificate type is AMAZON_ISSUED.

RevocationReason

Type: *string

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

RevokedAt

Type: *time.Time

The time at which the certificate was revoked. This value exists only when the certificate status is 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 certificate.

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 domain names (subject alternative names) 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 (CN) of the certificate and additional domain names that can be used to connect to the website.

Type

Type: *string

The source of the certificate. For certificates provided by ACM, this value is AMAZON_ISSUED. For certificates that you imported with ImportCertificate, this value is IMPORTED. ACM does not provide managed renewal (https://docs.aws.amazon.com/acm/latest/userguide/acm-renewal.html) for imported certificates. For more information about the differences between certificates that you import and those that ACM provides, see Importing Certificates (https://docs.aws.amazon.com/acm/latest/userguide/import-certificate.html) in the AWS Certificate Manager User Guide.

Method

GoString

func (s CertificateDetail) GoString() string

GoString returns the string representation

SetCertificateArn

func (s *CertificateDetail) SetCertificateArn(v string) *CertificateDetail

SetCertificateArn sets the CertificateArn field's value.

SetCertificateAuthorityArn

func (s *CertificateDetail) SetCertificateAuthorityArn(v string) *CertificateDetail

SetCertificateAuthorityArn sets the CertificateAuthorityArn field's value.

SetCreatedAt

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

SetCreatedAt sets the CreatedAt field's value.

SetDomainName

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

SetDomainName sets the DomainName field's value.

SetDomainValidationOptions

func (s *CertificateDetail) SetDomainValidationOptions(v []*DomainValidation) *CertificateDetail

SetDomainValidationOptions sets the DomainValidationOptions field's value.

SetExtendedKeyUsages

func (s *CertificateDetail) SetExtendedKeyUsages(v []*ExtendedKeyUsage) *CertificateDetail

SetExtendedKeyUsages sets the ExtendedKeyUsages field's value.

SetFailureReason

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

SetFailureReason sets the FailureReason field's value.

SetImportedAt

func (s *CertificateDetail) SetImportedAt(v time.Time) *CertificateDetail

SetImportedAt sets the ImportedAt field's value.

SetInUseBy

func (s *CertificateDetail) SetInUseBy(v []*string) *CertificateDetail

SetInUseBy sets the InUseBy field's value.

SetIssuedAt

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

SetIssuedAt sets the IssuedAt field's value.

SetIssuer

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

SetIssuer sets the Issuer field's value.

SetKeyAlgorithm

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

SetKeyAlgorithm sets the KeyAlgorithm field's value.

SetKeyUsages

func (s *CertificateDetail) SetKeyUsages(v []*KeyUsage) *CertificateDetail

SetKeyUsages sets the KeyUsages field's value.

SetNotAfter

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

SetNotAfter sets the NotAfter field's value.

SetNotBefore

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

SetNotBefore sets the NotBefore field's value.

SetOptions

func (s *CertificateDetail) SetOptions(v *CertificateOptions) *CertificateDetail

SetOptions sets the Options field's value.

SetRenewalEligibility

func (s *CertificateDetail) SetRenewalEligibility(v string) *CertificateDetail

SetRenewalEligibility sets the RenewalEligibility field's value.

SetRenewalSummary

func (s *CertificateDetail) SetRenewalSummary(v *RenewalSummary) *CertificateDetail

SetRenewalSummary sets the RenewalSummary field's value.

SetRevocationReason

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

SetRevocationReason sets the RevocationReason field's value.

SetRevokedAt

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

SetRevokedAt sets the RevokedAt field's value.

SetSerial

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

SetSerial sets the Serial field's value.

SetSignatureAlgorithm

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

SetSignatureAlgorithm sets the SignatureAlgorithm field's value.

SetStatus

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

SetStatus sets the Status field's value.

SetSubject

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

SetSubject sets the Subject field's value.

SetSubjectAlternativeNames

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

SetSubjectAlternativeNames sets the SubjectAlternativeNames field's value.

SetType

func (s *CertificateDetail) SetType(v string) *CertificateDetail

SetType sets the Type field's value.

String

func (s CertificateDetail) String() string

String returns the string representation

On this page: