Datatypes

Amazon S3 URI

ID aws_s3_uri

DatatypeNot PIIidentifierDraft

This record is a draft: it has not been reviewed yet and may be incomplete or wrong. Do not rely on it for compliance decisions. Help improve it (see CONTRIBUTING.md).

Location of an Amazon S3 bucket, prefix or object written as s3://bucket/key, as the AWS CLI and many tools accept it. The regexp checks the general purpose bucket naming rules for the length (3 to 63 characters) and the characters (lowercase letters, digits, periods and hyphens, starting and ending with a letter or digit); it does not check the reserved prefixes and suffixes.

Categories
Internet
Countries
Global (not tied to a country)
Languages
Common to most languages
Quality
85/100 · missing: mapping (Wikidata, Schema.org, ...), translation
Metacrafter rules
no detection rule yet
Supported by tools
Pydantic and pydantic-extra-types, pyWhat

Regular expression

^s3://[a-z0-9][a-z0-9.-]{1,61}[a-z0-9](?:/\S*)?$

Python re syntax.

Examples

ValueDescription
s3://amzn-s3-demo-bucketBucket name from the AWS documentation
s3://amzn-s3-demo-bucket/Development/Prefix in the example bucket
s3://AmznS3DemoBucket invalidUppercase letters, not allowed in bucket names

Sources

Use this record