Expand description
Resource ID and ETag generators.
CloudFront resource IDs are 14-character uppercase alphanumeric strings.
Distributions, OACs, cache policies, and most other resources start with
E; invalidations start with I.
Functionsยง
- deterministic_
id_ with_ prefix - Deterministically derive a 14-character ID from a seed string.
- distribution_
domain_ name - Produce the
d{lowercased-id}.{suffix}FQDN for a distribution. - is_
valid_ resource_ id - Shape of a CloudFront resource ID: 14 chars, uppercase alnum, optional prefix.
- new_
distribution_ id - Generate a new 14-character distribution ID starting with
E. - new_
etag - Generate an opaque ETag token.
- new_
id_ with_ prefix - Generate a new 14-character ID with an arbitrary type-prefix letter.
- new_
invalidation_ id - Generate a new 14-character invalidation ID starting with
I. - new_
s3_ canonical_ user_ id - S3 canonical user ID used for OAI responses. Matches AWS format: 64 hex chars.