s3:PutObject is a Write access-level action in the s3 service. Grants permission to add an object to a bucket
ARNs that s3:PutObject can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants s3:PutObject.
Filters access by access grants instance ARN
Filters access by whether or not the operation creates an object
Filters access by the tag keys and values to be added to objects
Filters access by the tag keys to be added to objects
Filters access by the resource owner AWS account ID
Filters access by the TLS version used by the client
Filters access by authentication method
Filters access by the request's 'If-Match' conditional header
Filters access by the request's 'If-None-Match' conditional header
Filters access by object event hold status (ON or OFF)
Filters access by object event hold duration in days
Filters access by object legal hold status
Filters access by object retention mode (COMPLIANCE or GOVERNANCE)
Filters access by remaining object retention days
Filters access by object retain-until date
Filters access by the age in milliseconds of the request signature
Filters access by the version of AWS Signature used on the request
Filters access by canned ACL in the request's x-amz-acl header
Filters access by unsigned content in your bucket
Filters access by copy source bucket, prefix, or object in the copy object requests
Filters access by x-amz-grant-full-control (full control) header
Filters access by x-amz-grant-read (read access) header
Filters access by the x-amz-grant-read-acp (read permissions for the ACL) header
Filters access by the x-amz-grant-write (write access) header
Filters access by the x-amz-grant-write-acp (write permissions for the ACL) header
Filters access by object metadata behavior (COPY or REPLACE) when objects are copied
Filters access by the annotation copy directive specified in the request
Filters access by server-side encryption
Filters access by AWS KMS customer managed CMK for server-side encryption
Filters access by customer specified algorithm for server-side encryption
Filters access by storage class
Filters access by a specific website redirect location for buckets that are configured as static websites
Filters access by the tags associated with the resource
Filters access by the network origin (Internet or VPC)
Filters access by existing access point tag key and value
Filters access by the tags associated with the bucket
Filters access by the AWS Account ID that owns the access point
Filters access by an access point Amazon Resource Name (ARN)
A minimal policy that allows s3:PutObject. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowS3PutObject",
"Effect": "Allow",
"Action": "s3:PutObject",
"Resource": "*"
}
]
}