acm

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 31, 2017 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateAlias

func ValidateAlias(domainName string) error

func ValidateDomainName

func ValidateDomainName(domainName string) error

Types

type ACM

type ACM struct {
	// contains filtered or unexported fields
}

func New

func New(sess *session.Session) ACM

func (*ACM) DeleteCertificate

func (acm *ACM) DeleteCertificate(domainName string)

func (*ACM) DescribeCertificate

func (acm *ACM) DescribeCertificate(domainName string) *Certificate

func (*ACM) ImportCertificate

func (acm *ACM) ImportCertificate(certificate, privateKey, certificateChain []byte)

func (*ACM) ListCertificateDomainNames

func (acm *ACM) ListCertificateDomainNames(certificateArns []string) []string

func (*ACM) ListCertificates

func (acm *ACM) ListCertificates() []*Certificate

func (*ACM) RequestCertificate

func (acm *ACM) RequestCertificate(domainName string, aliases []string)

type Certificate

type Certificate struct {
	Arn                     string
	Status                  string
	SubjectAlternativeNames []string
	DomainName              string
	Validations             []CertificateValidation
	Type                    string
}

func (*Certificate) AddValidation

func (c *Certificate) AddValidation(v CertificateValidation)

func (*Certificate) Inflate

func (*Certificate) IsIssued

func (c *Certificate) IsIssued() bool

func (*Certificate) IsPendingValidation

func (c *Certificate) IsPendingValidation() bool

type CertificateResourceRecord

type CertificateResourceRecord struct {
	Type  string
	Name  string
	Value string
}

type CertificateValidation

type CertificateValidation struct {
	Status         string
	DomainName     string
	ResourceRecord CertificateResourceRecord
}

func (*CertificateValidation) IsFailed

func (v *CertificateValidation) IsFailed() bool

func (*CertificateValidation) IsPendingValidation

func (v *CertificateValidation) IsPendingValidation() bool

func (*CertificateValidation) IsSuccess

func (v *CertificateValidation) IsSuccess() bool

func (*CertificateValidation) ResourceRecordString added in v0.2.0

func (v *CertificateValidation) ResourceRecordString() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL