Class EncryptionOption
Encryption Options of the S3 bucket.
Inheritance
System.Object
EncryptionOption
Namespace: Amazon.CDK.AWS.StepFunctions.Tasks
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public sealed class EncryptionOption : Enum
Syntax (vb)
Public NotInheritable Class EncryptionOption
Inherits
Enum
Remarks
ExampleMetadata: infused
Examples
var startQueryExecutionJob = new AthenaStartQueryExecution(this, "Start Athena Query", new AthenaStartQueryExecutionProps {
QueryString = JsonPath.StringAt("$.queryString"),
QueryExecutionContext = new QueryExecutionContext {
DatabaseName = "mydatabase"
},
ResultConfiguration = new ResultConfiguration {
EncryptionConfiguration = new EncryptionConfiguration {
EncryptionOption = EncryptionOption.S3_MANAGED
},
OutputLocation = new Location {
BucketName = "query-results-bucket",
ObjectKey = "folder"
}
},
ExecutionParameters = new [] { "param1", "param2" }
});
Synopsis
Fields
CLIENT_SIDE_KMS | Client-side encryption (CSE) with an AWS KMS key managed by the account owner. |
KMS | Server-side encryption (SSE) with an AWS KMS key managed by the account owner. |
S3_MANAGED | Server side encryption (SSE) with an Amazon S3-managed key. |
value__ |
Fields
CLIENT_SIDE_KMS
Client-side encryption (CSE) with an AWS KMS key managed by the account owner.
public const EncryptionOption CLIENT_SIDE_KMS
Field Value
Type | Description |
---|---|
EncryptionOption |
Remarks
KMS
Server-side encryption (SSE) with an AWS KMS key managed by the account owner.
public const EncryptionOption KMS
Field Value
Type | Description |
---|---|
EncryptionOption |
Remarks
S3_MANAGED
Server side encryption (SSE) with an Amazon S3-managed key.
public const EncryptionOption S3_MANAGED
Field Value
Type | Description |
---|---|
EncryptionOption |
Remarks
value__
public int value__
Field Value
Type | Description |
---|---|
System.Int32 |