Class CfnWorkGroup.EncryptionConfigurationProperty
If query results are encrypted in Amazon S3, indicates the encryption option used (for example, SSE_KMS
or CSE_KMS
) and key information.
Inheritance
Namespace: Amazon.CDK.AWS.Athena
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class EncryptionConfigurationProperty : Object, CfnWorkGroup.IEncryptionConfigurationProperty
Syntax (vb)
Public Class EncryptionConfigurationProperty
Inherits Object
Implements CfnWorkGroup.IEncryptionConfigurationProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Athena;
var encryptionConfigurationProperty = new EncryptionConfigurationProperty {
EncryptionOption = "encryptionOption",
// the properties below are optional
KmsKey = "kmsKey"
};
Synopsis
Constructors
EncryptionConfigurationProperty() |
Properties
EncryptionOption | Indicates whether Amazon S3 server-side encryption with Amazon S3-managed keys ( |
KmsKey | For |
Constructors
EncryptionConfigurationProperty()
public EncryptionConfigurationProperty()
Properties
EncryptionOption
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.
public string EncryptionOption { get; set; }
Property Value
System.String
Remarks
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.
KmsKey
For SSE_KMS
and CSE_KMS
, this is the KMS key ARN or ID.
public string KmsKey { get; set; }
Property Value
System.String