s3:PutAccessPointPolicy

Permissions management

s3:PutAccessPointPolicy is a Permissions management access-level action in the s3 service. Grants permission to associate an access policy with a specified access point

Resource types

ARNs that s3:PutAccessPointPolicy can be scoped to in an IAM policy.

arn:${Partition}:s3:${Region}:${Account}:accesspoint/${AccessPointName}
accesspoint

Condition keys

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

aws:ResourceTag/${TagKey} String

Filters access by the tags associated with the resource

s3:AccessPointNetworkOrigin String

Filters access by the network origin (Internet or VPC)

s3:AccessPointTag/${TagKey} String

Filters access by existing access point tag key and value

s3:DataAccessPointAccount String

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

s3:DataAccessPointArn ARN

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

Example IAM policy

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

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

Related actions in s3

View all s3 actions →