Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Class: Aws::Athena::Types::EncryptionConfiguration

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb

Overview

If query and calculation results are encrypted in Amazon S3, indicates the encryption option used (for example, SSE_KMS or CSE_KMS) and key information.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#encryption_optionString

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.

Returns:

  • (String)

1374
1375
1376
1377
1378
1379
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 1374

class EncryptionConfiguration < Struct.new(
  :encryption_option,
  :kms_key)
  SENSITIVE = []
  include Aws::Structure
end

#kms_keyString

For SSE_KMS and CSE_KMS, this is the KMS key ARN or ID.

Returns:

  • (String)

1374
1375
1376
1377
1378
1379
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 1374

class EncryptionConfiguration < Struct.new(
  :encryption_option,
  :kms_key)
  SENSITIVE = []
  include Aws::Structure
end