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.84.0 (build 5404dcf)",
date="2023-06-19T16:30:48.082Z")
@Stability(Stable)
public enum EncryptionOption
extends Enum<EncryptionOption>
Encryption Options of the S3 bucket.
Example:
AthenaStartQueryExecution startQueryExecutionJob = AthenaStartQueryExecution.Builder.create(this, "Athena Start Query") .queryString(JsonPath.format("select contacts where year={};", JsonPath.stringAt("$.year"))) .queryExecutionContext(QueryExecutionContext.builder() .databaseName("interactions") .build()) .resultConfiguration(ResultConfiguration.builder() .encryptionConfiguration(EncryptionConfiguration.builder() .encryptionOption(EncryptionOption.S3_MANAGED) .build()) .outputLocation(Location.builder() .bucketName("mybucket") .objectKey("myprefix") .build()) .build()) .integrationPattern(IntegrationPattern.RUN_JOB) .build();
-
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. -
KMS
Server-side encryption (SSE) with an AWS KMS key managed by the account owner. -
CLIENT_SIDE_KMS
Client-side encryption (CSE) with an AWS KMS key managed by the account owner.
-
-
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
-