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.

KeyUsage

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

type KeyUsage struct { Name *string `type:"string" enum:"KeyUsageName"` }

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

Name

Type: *string

A string value that contains a Key Usage extension name.

Method

GoString

func (s KeyUsage) GoString() string

GoString returns the string representation

SetName

func (s *KeyUsage) SetName(v string) *KeyUsage

SetName sets the Name field's value.

String

func (s KeyUsage) String() string

String returns the string representation

On this page: