s3-outposts:PutObject

Write

s3-outposts:PutObject is a Write access-level action in the s3-outposts service. Grants permission to add an object to a bucket

Resource types

ARNs that s3-outposts:PutObject can be scoped to in an IAM policy.

arn:${Partition}:s3-outposts:${Region}:${Account}:outpost/${OutpostId}/bucket/${BucketName}/object/${ObjectName} required
object

Condition keys

Keys you can use in the Condition block of a policy that grants s3-outposts:PutObject.

s3-outposts:AccessPointNetworkOrigin String

Filters access by the network origin (Internet or VPC)

s3-outposts:DataAccessPointAccount String

Filters access by the AWS Account ID that owns the access point

s3-outposts:DataAccessPointArn ARN

Filters access by an access point Amazon Resource Name (ARN)

s3-outposts:RequestObjectTag/<key> String

Filters access by restricting the tag keys and values allowed on objects

s3-outposts:RequestObjectTagKeys String

Filters access by restricting the tag keys allowed on objects

s3-outposts:authType String

Filters access by restricting incoming requests to a specific authentication method

s3-outposts:signatureAge Numeric

Filters access by identifying the length of time, in milliseconds, that a signature is valid in an authenticated request

s3-outposts:signatureversion String

Filters access by identifying the version of AWS Signature that is supported for authenticated requests

s3-outposts:x-amz-acl String

Filters access by requiring the x-amz-acl header with a specific canned ACL in a request

s3-outposts:x-amz-content-sha256 String

Filters access by disallowing unsigned content in your bucket

s3-outposts:x-amz-copy-source String

Filters access by restricting the copy source to a specific bucket, prefix, or object

s3-outposts:x-amz-metadata-directive String

Filters access by enabling enforcement of object metadata behavior (COPY or REPLACE) when objects are copied

s3-outposts:x-amz-server-side-encryption String

Filters access by requiring server-side encryption

s3-outposts:x-amz-storage-class String

Filters access by storage class

Example IAM policy

A minimal policy that allows s3-outposts:PutObject. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowS3outpostsPutObject",
      "Effect": "Allow",
      "Action": "s3-outposts:PutObject",
      "Resource": "*"
    }
  ]
}

Related actions in s3-outposts

View all s3-outposts actions →