Enum EncryptionOption
java.lang.Object
java.lang.Enum<EncryptionOption>
software.amazon.awscdk.services.stepfunctions.tasks.EncryptionOption
- All Implemented Interfaces:
Serializable
,Comparable<EncryptionOption>
,java.lang.constant.Constable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-06T23:25:17.762Z")
@Stability(Stable)
public enum EncryptionOption
extends Enum<EncryptionOption>
Encryption Options of the S3 bucket.
Example:
AthenaStartQueryExecution startQueryExecutionJob = AthenaStartQueryExecution.Builder.create(this, "Start Athena Query") .queryString(JsonPath.stringAt("$.queryString")) .queryExecutionContext(QueryExecutionContext.builder() .databaseName("mydatabase") .build()) .resultConfiguration(ResultConfiguration.builder() .encryptionConfiguration(EncryptionConfiguration.builder() .encryptionOption(EncryptionOption.S3_MANAGED) .build()) .outputLocation(Location.builder() .bucketName("amzn-s3-demo-bucket") .objectKey("folder") .build()) .build()) .executionParameters(List.of("param1", "param2")) .build();
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionClient-side encryption (CSE) with an AWS KMS key managed by the account owner.Server-side encryption (SSE) with an AWS KMS key managed by the account owner.Server side encryption (SSE) with an Amazon S3-managed key. -
Method Summary
Modifier and TypeMethodDescriptionstatic EncryptionOption
Returns the enum constant of this type with the specified name.static EncryptionOption[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
S3_MANAGED
Server side encryption (SSE) with an Amazon S3-managed key.- See Also:
-
KMS
Server-side encryption (SSE) with an AWS KMS key managed by the account owner.- See Also:
-
CLIENT_SIDE_KMS
Client-side encryption (CSE) with an AWS KMS key managed by the account owner.- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-