Class: Aws::S3::Types::ObjectEncryption

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

Overview

Note:

ObjectEncryption is a union - when making an API calls you must set exactly one of the members.

The updated server-side encryption type for this object. The UpdateObjectEncryption operation supports the SSE-S3 and SSE-KMS encryption types.

Valid Values: SSES3 | SSEKMS

Defined Under Namespace

Classes: Ssekms, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#ssekms ⇒ Types::SSEKMSEncryption

Specifies to update the object encryption type to server-side encryption with Key Management Service (KMS) keys (SSE-KMS).



14939
14940
14941
14942
14943
14944
14945
14946
14947
14948
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 14939

class ObjectEncryption < Struct.new(
  :ssekms,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Ssekms < ObjectEncryption; end
  class Unknown < ObjectEncryption; end
end

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



14939
14940
14941
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 14939

def unknown
  @unknown
end