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.

ImportCertificateInput

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

type ImportCertificateInput struct { Certificate []byte `min:"1" type:"blob" required:"true"` CertificateArn *string `min:"20" type:"string"` CertificateChain []byte `min:"1" type:"blob"` PrivateKey []byte `min:"1" type:"blob" required:"true" sensitive:"true"` }

Certificate

Type: []byte

The certificate to import.

Certificate is automatically base64 encoded/decoded by the SDK.

Certificate is a required field

CertificateArn

Type: *string

The Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) of an imported certificate to replace. To import a new certificate, omit this field.

CertificateChain

Type: []byte

The PEM encoded certificate chain.

CertificateChain is automatically base64 encoded/decoded by the SDK.

PrivateKey

Type: []byte

The private key that matches the public key in the certificate.

PrivateKey is automatically base64 encoded/decoded by the SDK.

PrivateKey is a required field

Method

GoString

func (s ImportCertificateInput) GoString() string

GoString returns the string representation

SetCertificate

func (s *ImportCertificateInput) SetCertificate(v []byte) *ImportCertificateInput

SetCertificate sets the Certificate field's value.

SetCertificateArn

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

SetCertificateArn sets the CertificateArn field's value.

SetCertificateChain

func (s *ImportCertificateInput) SetCertificateChain(v []byte) *ImportCertificateInput

SetCertificateChain sets the CertificateChain field's value.

SetPrivateKey

func (s *ImportCertificateInput) SetPrivateKey(v []byte) *ImportCertificateInput

SetPrivateKey sets the PrivateKey field's value.

String

func (s ImportCertificateInput) String() string

String returns the string representation

Validate

func (s *ImportCertificateInput) Validate() error

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

On this page: