interface EncryptionConfiguration
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.StepFunctions.Tasks.EncryptionConfiguration |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsstepfunctionstasks#EncryptionConfiguration |
Java | software.amazon.awscdk.services.stepfunctions.tasks.EncryptionConfiguration |
Python | aws_cdk.aws_stepfunctions_tasks.EncryptionConfiguration |
TypeScript (source) | aws-cdk-lib » aws_stepfunctions_tasks » EncryptionConfiguration |
Encryption Configuration of the S3 bucket.
Example
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'],
});
Properties
Name | Type | Description |
---|---|---|
encryption | Encryption | Type of S3 server-side encryption enabled. |
encryption | IKey | KMS key ARN or ID. |
encryptionOption
Type:
Encryption
Type of S3 server-side encryption enabled.
encryptionKey?
Type:
IKey
(optional, default: No KMS key for Encryption Option SSE_S3 and default master key for Encryption Option SSE_KMS and CSE_KMS)
KMS key ARN or ID.