Skip to main content

IS3ObjectPutAttributes

Interface in AWS.S3

Base interface for setting object attributes.

Properties

Acl

property Acl: string

The canned ACL to apply to the object.

Not supported on Amazon S3 on Outposts. Valid values: </code>(private<code>( | public-read | public-read-write | authenticated-read | aws-exec-read | bucket-owner-read | bucket-owner-full-control.

Body

property Body: TStream

Specifies the object's content.

CacheControl

property CacheControl: string

Specifies the caching behaviour.

ContentDisposition

property ContentDisposition: string

Specifies presentational information for the object.

ContentEncoding

property ContentEncoding: string

Specifies what content encodings have been applied to the object.

ContentLanguage

property ContentLanguage: string

The language the content is in.

ContentType

property ContentType: string

The MIME type for the content.

Expires

property Expires: TOptional<TDateTime>

The date and time at which the object is no longer cacheable.

GrantFullControl

property GrantFullControl: string

Allows the grantee READ, READ_ACP, and WRITE_ACP permissions on the object.

GrantRead

property GrantRead: string

Allows the grantee read access to the object and its metadata.

GrantReadAcp

property GrantReadAcp: string

Allows the grantee read access to the objects ACL.

GrantWriteAcp

property GrantWriteAcp: string

Allows the grantee write access to the objects ACL.

ObjectLockLegalHold

property ObjectLockLegalHold: string

Specifies whether you want to apply Legal Hold on to the copied object.

Valid values: ON | OFF.

ObjectLockMode

property ObjectLockMode: string

Valid values: GOVERNANCE | COMPLIANCE.

ObjectLockRetainUntilDate

property ObjectLockRetainUntilDate: TOptional<TDateTime>

Specifies a date and time you want the Object Lock to expire.

RequestPayer

property RequestPayer: string

Confirms that the requester knows that they will be charged for the request.

Valid values: requester.

ServerSideEncryption

property ServerSideEncryption: string

Specifies the server-side encryption algorithm to use when storing the object on Amazon S3.

Valid values: AES256 | aws:kms.

SseAwsKmsKeyId

property SseAwsKmsKeyId: string

Specifies the AWS KMS key ID to use for object encryption.

SseBucketKeyEnabled

property SseBucketKeyEnabled: TOptional<Boolean>

Specifies whether Amazon S3 should use an S3 Bucket Key for object encryption with server-side encryption using AWS KMS (SSE-KMS).

SseContext

property SseContext: string

Specifies the AWS KMS Encryption Context to use for object encryption.

SseCustomerAlgorithm

property SseCustomerAlgorithm: string

Specifies the algorithm to use when encrypting the object.

SseCustomerKey

property SseCustomerKey: string

Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data.

SseCustomerKeyMD5

property SseCustomerKeyMD5: string

Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321.

StorageClass

property StorageClass: string

Specifies the storage class to use for newly created objects.

By default Amazon S3 uses the STANDARD storage class. Valid values are: STANDARD | REDUCED_REDUNDANCY | STANDARD_IA | ONEZONE_IA | INTELLIGENT_TIERING | GLACIER | DEEP_ARCHIVE | OUTPOSTS.

Tags

property Tags: IAWSTags

Tag-set to apply to the object.

Must be used in conjunction with TaggingDirective.

WebsiteRedirectLocation

property WebsiteRedirectLocation: string

If the bucket is configured as a website, specifying this redirects requests for this object to another object in the same bucket or to an external URL.