You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::S3Control::Types::S3ObjectMetadata
- Inherits:
-
Struct
- Object
- Struct
- Aws::S3Control::Types::S3ObjectMetadata
- Defined in:
- (unknown)
Overview
Note:
When passing S3ObjectMetadata as input to an Aws::Client method, you can use a vanilla Hash:
{
cache_control: "NonEmptyMaxLength1024String",
content_disposition: "NonEmptyMaxLength1024String",
content_encoding: "NonEmptyMaxLength1024String",
content_language: "NonEmptyMaxLength1024String",
user_metadata: {
"NonEmptyMaxLength1024String" => "MaxLength1024String",
},
content_length: 1,
content_md5: "NonEmptyMaxLength1024String",
content_type: "NonEmptyMaxLength1024String",
http_expires_date: Time.now,
requester_charged: false,
sse_algorithm: "AES256", # accepts AES256, KMS
}
Returned by:
Instance Attribute Summary collapse
-
#cache_control ⇒ String
-
#content_disposition ⇒ String
-
#content_encoding ⇒ String
-
#content_language ⇒ String
-
#content_length ⇒ Integer
-
#content_md5 ⇒ String
-
#content_type ⇒ String
-
#http_expires_date ⇒ Time
-
#requester_charged ⇒ Boolean
-
#sse_algorithm ⇒ String
Possible values:
- AES256
- KMS
.
-
#user_metadata ⇒ Hash<String,String>
Instance Attribute Details
#cache_control ⇒ String
#content_disposition ⇒ String
#content_encoding ⇒ String
#content_language ⇒ String
#content_length ⇒ Integer
#content_md5 ⇒ String
#content_type ⇒ String
#http_expires_date ⇒ Time
#requester_charged ⇒ Boolean
#sse_algorithm ⇒ String
Possible values:
- AES256
- KMS