Module Values.EncryptionConfigurationSource

Configuration specifying how data should be encrypted. This structure defines the encryption algorithm and optional KMS key to be used for server-side encryption.

Sourcetype nonrec t = {
  1. sseAlgorithm : SSEAlgorithm.t;
    (*

    The server-side encryption algorithm to use. Valid values are AES256 for S3-managed encryption keys, or aws:kms for Amazon Web Services KMS-managed encryption keys. If you choose SSE-KMS encryption you must grant the S3 Tables maintenance principal access to your KMS key. For more information, see Permissions requirements for S3 Tables SSE-KMS encryption.

    *)
  2. kmsKeyArn : EncryptionConfigurationKmsKeyArnString.t option;
    (*

    The Amazon Resource Name (ARN) of the KMS key to use for encryption. This field is required only when sseAlgorithm is set to aws:kms.

    *)
}
Sourceval context_ : string
Sourceval make : ?kmsKeyArn:??? -> sseAlgorithm:SSEAlgorithm.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of EncryptionConfigurationKmsKeyArnString.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t