Class: Aws::S3::Types::CreateSessionOutput

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[:ssekms_key_id, :ssekms_encryption_context]

Instance Attribute Summary collapse

Instance Attribute Details

#bucket_key_enabled ⇒ Boolean

Indicates whether to use an S3 Bucket Key for server-side encryption with KMS keys (SSE-KMS).

Returns:

  • (Boolean)


4653
4654
4655
4656
4657
4658
4659
4660
4661
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 4653

class CreateSessionOutput < Struct.new(
  :server_side_encryption,
  :ssekms_key_id,
  :ssekms_encryption_context,
  :bucket_key_enabled,
  :credentials)
  SENSITIVE = [:ssekms_key_id, :ssekms_encryption_context]
  include Aws::Structure
end

#credentials ⇒ Types::SessionCredentials

The established temporary security credentials for the created session.



4653
4654
4655
4656
4657
4658
4659
4660
4661
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 4653

class CreateSessionOutput < Struct.new(
  :server_side_encryption,
  :ssekms_key_id,
  :ssekms_encryption_context,
  :bucket_key_enabled,
  :credentials)
  SENSITIVE = [:ssekms_key_id, :ssekms_encryption_context]
  include Aws::Structure
end

#server_side_encryption ⇒ String

The server-side encryption algorithm used when you store objects in the directory bucket.

When accessing data stored in Amazon FSx file systems using S3 access points, the only valid server side encryption option is aws:fsx.

Returns:

  • (String)


4653
4654
4655
4656
4657
4658
4659
4660
4661
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 4653

class CreateSessionOutput < Struct.new(
  :server_side_encryption,
  :ssekms_key_id,
  :ssekms_encryption_context,
  :bucket_key_enabled,
  :credentials)
  SENSITIVE = [:ssekms_key_id, :ssekms_encryption_context]
  include Aws::Structure
end

#ssekms_encryption_context ⇒ String

If present, indicates the Amazon Web Services KMS 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 GetObject operations on this object.

Returns:

  • (String)


4653
4654
4655
4656
4657
4658
4659
4660
4661
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 4653

class CreateSessionOutput < Struct.new(
  :server_side_encryption,
  :ssekms_key_id,
  :ssekms_encryption_context,
  :bucket_key_enabled,
  :credentials)
  SENSITIVE = [:ssekms_key_id, :ssekms_encryption_context]
  include Aws::Structure
end

#ssekms_key_id ⇒ String

If you specify x-amz-server-side-encryption with aws:kms, this header indicates the ID of the KMS symmetric encryption customer managed key that was used for object encryption.

Returns:

  • (String)


4653
4654
4655
4656
4657
4658
4659
4660
4661
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 4653

class CreateSessionOutput < Struct.new(
  :server_side_encryption,
  :ssekms_key_id,
  :ssekms_encryption_context,
  :bucket_key_enabled,
  :credentials)
  SENSITIVE = [:ssekms_key_id, :ssekms_encryption_context]
  include Aws::Structure
end