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.

Encryption

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

type Encryption struct { EncryptionType *string `type:"string" enum:"EncryptionType"` KMSContext *string `type:"string"` KMSKeyId *string `type:"string"` }

Contains information about the encryption used to store the job results in Amazon S3.

EncryptionType

Type: *string

The server-side encryption algorithm used when storing job results in Amazon S3, for example AES256 or aws:kms.

KMSContext

Type: *string

Optional. If the encryption type is aws:kms, you can use this value to specify the encryption context for the job results.

KMSKeyId

Type: *string

The AWS KMS key ID to use for object encryption. All GET and PUT requests for an object protected by AWS KMS fail if not made by using Secure Sockets Layer (SSL) or Signature Version 4.

Method

GoString

func (s Encryption) GoString() string

GoString returns the string representation

SetEncryptionType

func (s *Encryption) SetEncryptionType(v string) *Encryption

SetEncryptionType sets the EncryptionType field's value.

SetKMSContext

func (s *Encryption) SetKMSContext(v string) *Encryption

SetKMSContext sets the KMSContext field's value.

SetKMSKeyId

func (s *Encryption) SetKMSKeyId(v string) *Encryption

SetKMSKeyId sets the KMSKeyId field's value.

String

func (s Encryption) String() string

String returns the string representation

On this page: