AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

ServerSideEncryptionRule class

Inheritance Hierarchy

System.Object
  Amazon.S3.Model.ServerSideEncryptionRule

Namespace: Amazon.S3.Model
Assembly: AWSSDK.S3.dll
Version: 3.x.y.z

Syntax

C#
public class ServerSideEncryptionRule

The ServerSideEncryptionRule type exposes the following members

Constructors

NameDescription
Public Method ServerSideEncryptionRule()

Properties

NameTypeDescription
Public Property BucketKeyEnabled System.Boolean

Specifies whether Amazon S3 should use bucket key with server-side encryption using KMS (SSE-KMS) for new objects in the bucket. Existing objects are not affected. Setting the BucketKeyEnabled element to true causes Amazon S3 to use bucket key. By default, bucket key is not enabled.

For more information, see Bucket key in the Amazon Simple Storage Service Developer Guide.

",

Public Property ServerSideEncryptionByDefault Amazon.S3.Model.ServerSideEncryptionByDefault

Describes the default server-side encryption to apply to new objects in the bucket. If Put Object request does not specify any server-side encryption, this default encryption will be applied.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5