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.

CertificateAuthority

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

type CertificateAuthority struct { Arn *string `min:"5" type:"string"` CertificateAuthorityConfiguration *CertificateAuthorityConfiguration `type:"structure"` CreatedAt *time.Time `type:"timestamp"` FailureReason *string `type:"string" enum:"FailureReason"` LastStateChangeAt *time.Time `type:"timestamp"` NotAfter *time.Time `type:"timestamp"` NotBefore *time.Time `type:"timestamp"` RestorableUntil *time.Time `type:"timestamp"` RevocationConfiguration *RevocationConfiguration `type:"structure"` Serial *string `type:"string"` Status *string `type:"string" enum:"CertificateAuthorityStatus"` Type *string `type:"string" enum:"CertificateAuthorityType"` }

Contains information about your private certificate authority (CA). Your private CA can issue and revoke X.509 digital certificates. Digital certificates verify that the entity named in the certificate Subject field owns or controls the public key contained in the Subject Public Key Info field. Call the CreateCertificateAuthority operation to create your private CA. You must then call the GetCertificateAuthorityCertificate operation to retrieve a private CA certificate signing request (CSR). Take the CSR to your on-premises CA and sign it with the root CA certificate or a subordinate certificate. Call the ImportCertificateAuthorityCertificate operation to import the signed certificate into AWS Certificate Manager (ACM).

Arn

Type: *string

Amazon Resource Name (ARN) for your private certificate authority (CA). The format is 12345678-1234-1234-1234-123456789012.

CertificateAuthorityConfiguration

Contains configuration information for your private certificate authority (CA). This includes information about the class of public key algorithm and the key pair that your private CA creates when it issues a certificate, the signature algorithm it uses used when issuing certificates, and its X.500 distinguished name. You must specify this information when you call the CreateCertificateAuthority operation.

CreatedAt

Type: *time.Time

Date and time at which your private CA was created.

FailureReason

Type: *string

Reason the request to create your private CA failed.

LastStateChangeAt

Type: *time.Time

Date and time at which your private CA was last updated.

NotAfter

Type: *time.Time

Date and time after which your private CA certificate is not valid.

NotBefore

Type: *time.Time

Date and time before which your private CA certificate is not valid.

RestorableUntil

Type: *time.Time

The period during which a deleted CA can be restored. For more information, see the PermanentDeletionTimeInDays parameter of the DeleteCertificateAuthorityRequest operation.

RevocationConfiguration

Certificate revocation information used by the CreateCertificateAuthority and UpdateCertificateAuthority operations. Your private certificate authority (CA) can create and maintain a certificate revocation list (CRL). A CRL contains information about certificates revoked by your CA. For more information, see RevokeCertificate.

Serial

Type: *string

Serial number of your private CA.

Status

Type: *string

Status of your private CA.

Type

Type: *string

Type of your private CA.

Method

GoString

func (s CertificateAuthority) GoString() string

GoString returns the string representation

SetArn

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

SetArn sets the Arn field's value.

SetCertificateAuthorityConfiguration

func (s *CertificateAuthority) SetCertificateAuthorityConfiguration(v *CertificateAuthorityConfiguration) *CertificateAuthority

SetCertificateAuthorityConfiguration sets the CertificateAuthorityConfiguration field's value.

SetCreatedAt

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

SetCreatedAt sets the CreatedAt field's value.

SetFailureReason

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

SetFailureReason sets the FailureReason field's value.

SetLastStateChangeAt

func (s *CertificateAuthority) SetLastStateChangeAt(v time.Time) *CertificateAuthority

SetLastStateChangeAt sets the LastStateChangeAt field's value.

SetNotAfter

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

SetNotAfter sets the NotAfter field's value.

SetNotBefore

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

SetNotBefore sets the NotBefore field's value.

SetRestorableUntil

func (s *CertificateAuthority) SetRestorableUntil(v time.Time) *CertificateAuthority

SetRestorableUntil sets the RestorableUntil field's value.

SetRevocationConfiguration

func (s *CertificateAuthority) SetRevocationConfiguration(v *RevocationConfiguration) *CertificateAuthority

SetRevocationConfiguration sets the RevocationConfiguration field's value.

SetSerial

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

SetSerial sets the Serial field's value.

SetStatus

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

SetStatus sets the Status field's value.

SetType

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

SetType sets the Type field's value.

String

func (s CertificateAuthority) String() string

String returns the string representation

On this page: