s3express:CreateSession

Write

s3express:CreateSession is a Write access-level action in the s3express service. Grants permission to Create Session token which is used for object APIs such as PutObject, GetObject, etc

Resource types

ARNs that s3express:CreateSession can be scoped to in an IAM policy.

arn:${Partition}:s3express:${Region}:${Account}:accesspoint/${AccessPointName}
accesspoint
arn:${Partition}:s3express:${Region}:${Account}:bucket/${BucketName} required
bucket

Condition keys

Keys you can use in the Condition block of a policy that grants s3express:CreateSession.

s3express:AllAccessRestrictedToLocalZoneGroup String

Filters access by AWS Local Zone network border group(s) provided in this condition key

s3express:Permissions ArrayOfString

Filters access by the permission requested by Access Point Scope configuration, such as GetObject, PutObject

s3express:ResourceAccount String

Filters access by the resource owner AWS account ID

s3express:SessionMode String

Filters access by the permission requested by CreateSession API, such as ReadOnly and ReadWrite

s3express:TlsVersion Numeric

Filters access by the TLS version used by the client

s3express:authType String

Filters access by authentication method

s3express:signatureAge Numeric

Filters access by the age in milliseconds of the request signature

s3express:signatureversion String

Filters access by the AWS Signature Version used on the request

s3express:x-amz-content-sha256 String

Filters access by unsigned content in your bucket

s3express:x-amz-server-side-encryption String

Filters access by server-side encryption

s3express:x-amz-server-side-encryption-aws-kms-key-id ARN

Filters access by AWS KMS customer managed key for server-side encryption

aws:ResourceTag/${TagKey} String

Filters access by the tags associated with the resource

s3express:BucketTag/${TagKey} String

Filters access by tag key-value pairs attached to the bucket

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowS3expressCreateSession",
      "Effect": "Allow",
      "Action": "s3express:CreateSession",
      "Resource": "*"
    }
  ]
}

Related actions in s3express

View all s3express actions →