Sets the server side encryption method for the S3 Object's Version to the value
specified.
Declaration Syntax
C# |
public static void SetServerSideEncryption( string bucketName, string key, string version, ServerSideEncryptionMethod method, AmazonS3 s3Client )
Parameters
- bucketName (String)
- The name of the bucket in which the key is stored
- key (String)
- The key of the S3 Object
- version (String)
- The version of the S3 Object
- method (ServerSideEncryptionMethod)
- The server side encryption method
- s3Client (AmazonS3)
- The Amazon S3 Client to use for S3 specific operations.