ObjectEncryption

sealed class ObjectEncryption

The updated server-side encryption type for this object. The UpdateObjectEncryption operation supports the SSE-S3 and SSE-KMS encryption types.

Valid Values: SSES3 | SSEKMS

Inheritors

Types

Link copied to clipboard
Link copied to clipboard
data class Ssekms(val value: SsekmsEncryption) : ObjectEncryption

Specifies to update the object encryption type to server-side encryption with Key Management Service (KMS) keys (SSE-KMS).

Functions

Link copied to clipboard

Casts this ObjectEncryption as a Ssekms and retrieves its aws.sdk.kotlin.services.s3.model.SsekmsEncryption value. Throws an exception if the ObjectEncryption is not a Ssekms.

Link copied to clipboard

Casts this ObjectEncryption as a Ssekms and retrieves its aws.sdk.kotlin.services.s3.model.SsekmsEncryption value. Returns null if the ObjectEncryption is not a Ssekms.