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.

EncryptionConfiguration

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

type EncryptionConfiguration struct { EncryptionOption *string `type:"string" required:"true" enum:"EncryptionOption"` KmsKey *string `type:"string"` }

If query results are encrypted in Amazon S3, indicates the encryption option used (for example, SSE-KMS or CSE-KMS) and key information.

EncryptionOption

Type: *string

Indicates whether Amazon S3 server-side encryption with Amazon S3-managed keys (SSE-S3), server-side encryption with KMS-managed keys (SSE-KMS), or client-side encryption with KMS-managed keys (CSE-KMS) is used.

If a query runs in a workgroup and the workgroup overrides client-side settings, then the workgroup's setting for encryption is used. It specifies whether query results must be encrypted, for all queries that run in this workgroup.

EncryptionOption is a required field

KmsKey

Type: *string

For SSE-KMS and CSE-KMS, this is the KMS key ARN or ID.

Method

GoString

func (s EncryptionConfiguration) GoString() string

GoString returns the string representation

SetEncryptionOption

func (s *EncryptionConfiguration) SetEncryptionOption(v string) *EncryptionConfiguration

SetEncryptionOption sets the EncryptionOption field's value.

SetKmsKey

func (s *EncryptionConfiguration) SetKmsKey(v string) *EncryptionConfiguration

SetKmsKey sets the KmsKey field's value.

String

func (s EncryptionConfiguration) String() string

String returns the string representation

Validate

func (s *EncryptionConfiguration) Validate() error

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

On this page: