Skip to content
v2.273.0

EncryptionOption Enum ​

Encryption Options of the S3 bucket.

Example ​

ts
const startQueryExecutionJob = new tasks.AthenaStartQueryExecution(this, 'Start Athena Query', {
  queryString: sfn.JsonPath.stringAt('$.queryString'),
  queryExecutionContext: {
    databaseName: 'mydatabase',
  },
  resultConfiguration: {
    encryptionConfiguration: {
      encryptionOption: tasks.EncryptionOption.S3_MANAGED,
    },
    outputLocation: {
      bucketName: 'amzn-s3-demo-bucket',
      objectKey: 'folder',
    },
  },
  executionParameters: ['param1', 'param2'],
});

Members ​

MemberDescription
S3_MANAGEDServer side encryption (SSE) with an Amazon S3-managed key.
KMSServer-side encryption (SSE) with an AWS KMS key managed by the account owner.
CLIENT_SIDE_KMSClient-side encryption (CSE) with an AWS KMS key managed by the account owner.

Referenced by ​