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.
Container for the parameters to the CreateSession operation.
Namespace: Amazon.S3.Model
Assembly: AWSSDK.S3.dll
Version: 3.x.y.z
public class CreateSessionRequest : AmazonWebServiceRequest IAmazonWebServiceRequest
The CreateSessionRequest type exposes the following members
Name | Description | |
---|---|---|
CreateSessionRequest() |
Name | Type | Description | |
---|---|---|---|
BucketKeyEnabled | System.Boolean |
Specifies whether Amazon S3 should use an S3 Bucket Key for object encryption with server-side encryption using KMS keys (SSE-KMS).
S3 Bucket Keys are always enabled for |
|
BucketName | System.String |
The name of the bucket that you create a session for. |
|
ServerSideEncryption | Amazon.S3.ServerSideEncryptionMethod |
The server-side encryption algorithm to use when you store objects in the directory bucket.
For directory buckets, there are only two supported options for server-side encryption: server-side encryption with Amazon S3 managed keys (SSE-S3) ( |
|
SessionMode | Amazon.S3.SessionMode |
Specifies the mode of the session that will be created, either |
|
SSEKMSEncryptionContext | System.String |
Specifies the Amazon Web Services KMS Encryption Context as an additional encryption context to use for object encryption.
The value of this header is a Base64-encoded string of a UTF-8 encoded JSON, which contains the encryption context as key-value pairs.
This value is stored as object metadata and automatically gets passed on to Amazon Web Services KMS for future General purpose buckets - This value must be explicitly added during Directory buckets - You can optionally provide an explicit encryption context value. The value must match the default encryption context - the bucket Amazon Resource Name (ARN). An additional encryption context value is not supported. |
|
SSEKMSKeyId | System.String |
If you specify
Your SSE-KMS configuration can only support 1 customer managed key per directory bucket for the lifetime of the bucket. Amazon Web Services managed key ( |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5